|
About Full Motion Video and YUV->RGB
#228501 - 07/29/10 01:55 AM
|
|
|
Hi, I'm currently working on some arcade music boards, with MPEG-1 full motion video, and Sprites Overlay Layer.
These boards, their Sprite layer also uses YUV format palette. I believe they use some analogue circuits to output RGB signal.
In MAME, is it possible to define YUV format Palette-bitmap, and use modern VGA card's hardware color-space converting?
Another, is there any ready-made MPEG decoding code, which can be integreted into MAME?
Thanks
|
|
|
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
[Re: Naibo]
#230189 - 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).
|
|
|
|