MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM
Re: About Full Motion Video and YUV->RGB
08/18/10 05:15 PM


> In MAME, is it possible to define YUV format Palette-bitmap, and use modern VGA
> card's hardware color-space converting?

MAME can output YUV surfaces to the OSD layer for possible hardware conversion, but it requires that *all* of the game's graphics be YUV and I'm not sure if it's possible for a driver to specify at the moment. Modern GPUs actually have dropped dedicated YUV conversion hardware, by the way. The modern method is to use a pixel shader, although neither OSD layer does so at the moment. (I'm hoping to get SDL OSD doing it soon, as it will be a decent speedup for laserdisc games).

> Another, is there any ready-made MPEG decoding code, which can be integreted into
> MAME?

No, and you need to be *very* careful here. Only MPEG-1 video with layer 1 or 2 audio is now free from patents (and the devs are likely to be nervous about even that). You must not include layer 3 audio decoding (aka MP3 audio, which is patented until at least 2016).







Entire thread
Subject Posted by Posted on
* About Full Motion Video and YUV->RGB Naibo 07/29/10 01:55 AM
. * Re: About Full Motion Video and YUV->RGB R. Belmont  08/18/10 05:15 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 67 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3319