Skip to content
Snippets Groups Projects
Commit 622a5812 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

access/shm: use default 15-bit/16-bit chroma without a mask

These correspond to the format with the "fixed" mask depending on endianness.

SHM was always using the native endianness and the default masks for each
bit depth.
parent 0e2f75ea
No related branches found
No related tags found
1 merge request!4335access/shm: use default 15-bit/16-bit chroma without a mask
Pipeline #391889 passed with stages
in 26 minutes and 3 seconds
......@@ -158,10 +158,10 @@ static int Open (vlc_object_t *obj)
chroma = VLC_CODEC_RGB24; bpp = 24;
break;
case 16:
chroma = VLC_CODEC_RGB16; bpp = 16;
chroma = VLC_CODEC_RGB565; bpp = 16;
break;
case 15:
chroma = VLC_CODEC_RGB15; bpp = 16;
chroma = VLC_CODEC_RGB555; bpp = 16;
break;
case 8:
chroma = VLC_CODEC_RGB233; bpp = 8;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment