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

Pages: 1

Naibo
Reged: 10/17/07
Posts: 148
Send PM


YUV->RGB hardware support in MAME?
#193866 - 06/21/09 03:57 PM


Hi, Again for some MPEG games. These games play MPEG Video as background, with a sprite layer in front of the video.

What is unusual from normal hardware, the Palette for Sprites is not in RGB format, but in YUV. I suppose the sprite layer shares with MPEG layer the same YUV->RGB converter in a REAL arcade board.

Since most present VGA cards can do color space convertion. Does MAME support this?

:-)



Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4462
Loc: Melbourne, Australia
Send PM


Re: YUV->RGB hardware support in MAME? new [Re: Naibo]
#193913 - 06/22/09 12:48 AM


SDLMAME does. I don't know about Windows MAME.



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: YUV->RGB hardware support in MAME? new [Re: Vas Crabb]
#193977 - 06/22/09 11:22 PM


> SDLMAME does. I don't know about Windows MAME.

MAME supports YUV-format framebuffers. Baseline can use the video card to do the final RGB conversion, SDLMAME can't until someone writes me a pixel shader under an appropriate license.



Naibo
Reged: 10/17/07
Posts: 148
Send PM


Re: YUV->RGB hardware support in MAME? new [Re: R. Belmont]
#194069 - 06/23/09 07:01 PM


Thanks, Belmont.

Could you show how to define a UYVY frame buffer/Palette in MAME?
Some code example will be very helpful.

:-)


Pages: 1

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

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