]> git.sesse.net Git - vlc/commitdiff
fourcc: remove unsupported RGBT and RGBA16
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 9 Jun 2014 16:21:21 +0000 (19:21 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 9 Jun 2014 16:58:00 +0000 (19:58 +0300)
This was found on some versions of OMAP XV but never truly supported
by VLC (no decoder and no conversion...).

include/vlc_fourcc.h
modules/video_output/xcb/xvideo.c
src/misc/fourcc.c

index 5821f42d4d8b50d0a09d7cf6b5bdf12b0cd4a468..debb5c97d7d74c6591943104a4fb2afc15a1aa49 100644 (file)
 #define VLC_CODEC_RGB8            VLC_FOURCC('R','G','B','8')
 /* 12 bits RGB padded to 16 bits */
 #define VLC_CODEC_RGB12           VLC_FOURCC('R','V','1','2')
-/* 16 bits RGBA (12 bits RGB + 4 bits alpha) */
-#define VLC_CODEC_RGBA16          VLC_FOURCC('A','V','1','6')
 /* 15 bits RGB padded to 16 bits */
 #define VLC_CODEC_RGB15           VLC_FOURCC('R','V','1','5')
-/* 16 bits RGBA (15 bits RGB + 1 bit alpha)  */
-#define VLC_CODEC_RGBT            VLC_FOURCC('R','G','B','T')
 /* 16 bits RGB */
 #define VLC_CODEC_RGB16           VLC_FOURCC('R','V','1','6')
 /* 24 bits RGB */
index 2f3c16a71ca0dce5825863567caea98a1d047ebe..cf1353fae3c481d499f8bdb9b33ed2194c957d71 100644 (file)
@@ -162,14 +162,10 @@ static vlc_fourcc_t ParseFormat (vlc_object_t *obj,
               case 15:
                 if (f->byte_order != ORDER)
                     return 0; /* Mixed endian! */
-                if (f->bpp == 16 && f->depth == 16)
-                    return VLC_CODEC_RGBT;
                 if (f->bpp == 16 && f->depth == 15)
                     return VLC_CODEC_RGB15;
                 break;
               case 12:
-                if (f->bpp == 16 && f->depth == 16)
-                    return VLC_CODEC_RGBA16;
                 if (f->bpp == 16 && f->depth == 12)
                     return VLC_CODEC_RGB12;
                 break;
index 9adefca3c97a5f31b7b294a26e4df8c67dc467b6..da948a5dc411e7382785af0d0db19bd52ce86b6c 100644 (file)
@@ -799,12 +799,8 @@ static const staticentry_t p_list_video[] = {
         A("RGB2"),
     B(VLC_CODEC_RGB12, "12 bits RGB"),
         A("RV12"),
-    B(VLC_CODEC_RGBA16, "16 bits RGBA"),
-        A("AV16"),
     B(VLC_CODEC_RGB15, "15 bits RGB"),
         A("RV15"),
-    B(VLC_CODEC_RGBT, "16 bits RGBT"),
-        A("RGBT"),
     B(VLC_CODEC_RGB16, "16 bits RGB"),
         A("RV16"),
     B(VLC_CODEC_RGB24, "24 bits RGB"),
@@ -2086,8 +2082,7 @@ static const struct
 
     { { VLC_CODEC_RGB15, 0 },                  PACKED_FMT(2, 15) },
     { { VLC_CODEC_RGB12, 0 },                  PACKED_FMT(2, 12) },
-    { { VLC_CODEC_RGB16, VLC_CODEC_RGBT,
-        VLC_CODEC_RGBA16, 0 },                 PACKED_FMT(2, 16) },
+    { { VLC_CODEC_RGB16, 0 },                  PACKED_FMT(2, 16) },
     { { VLC_CODEC_RGB24, 0 },                  PACKED_FMT(3, 24) },
     { { VLC_CODEC_RGB32, 0 },                  PACKED_FMT(4, 24) },
     { { VLC_CODEC_RGBA, VLC_CODEC_ARGB,