search for: sdl_maprgb

Displaying 1 result from an estimated 1 matches for "sdl_maprgb".

2007 Nov 20
5
yuv - rgb conversion without contrast decrease.
...vert an yuv pixel into rgb using the recipies in http://www.fourcc.org/fccyvrgb.php I get an accurate color conversion but the contrast seems to be decreased. If i write, e.g., the pixel directly into an sdl yuv_overlay, I get a well-contrasted frame, however, if I convert the pixel to rgb and call SDL_MapRGB, I get a contrast-decreased frame. Thanks, Ribamar