Commit fa033ac3 authored by Christophe Massiot's avatar Christophe Massiot

Correction de l'YUV en 15 bpp.

parent f6cca5c7
...@@ -411,7 +411,7 @@ static void SetTables( vout_thread_t *p_vout ) ...@@ -411,7 +411,7 @@ static void SetTables( vout_thread_t *p_vout )
switch( p_vout->i_screen_depth ) switch( p_vout->i_screen_depth )
{ {
case 15: case 15:
MaskToShift( &i_red_right, &i_red_left, 0xf800 ); MaskToShift( &i_red_right, &i_red_left, 0x7c00 );
MaskToShift( &i_green_right, &i_green_left, 0x03e0 ); MaskToShift( &i_green_right, &i_green_left, 0x03e0 );
MaskToShift( &i_blue_right, &i_blue_left, 0x001f ); MaskToShift( &i_blue_right, &i_blue_left, 0x001f );
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment