[vlc-commits] codec: vpx: don't map pixel formats that are never used

Steve Lhomme git at videolan.org
Mon Mar 18 08:07:58 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Mar 18 08:07:48 2019 +0100| [c9cfd780f5d557b50966d5b502fff97608af9e94] | committer: Steve Lhomme

codec: vpx: don't map pixel formats that are never used

They will be removed in the next release of libvpx:
https://chromium-review.googlesource.com/c/webm/libvpx/+/1003515

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c9cfd780f5d557b50966d5b502fff97608af9e94
---

 modules/codec/vpx.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/modules/codec/vpx.c b/modules/codec/vpx.c
index 59b3acdef7..cb29f4428d 100644
--- a/modules/codec/vpx.c
+++ b/modules/codec/vpx.c
@@ -117,20 +117,7 @@ static const struct
     { VLC_CODEC_I440, VPX_IMG_FMT_I440, 8, 0 },
 
     { VLC_CODEC_YV12, VPX_IMG_FMT_YV12, 8, 0 },
-#if VPX_IMAGE_ABI_VERSION < 5
-    { VLC_CODEC_YUVA, VPX_IMG_FMT_444A, 8, 0 },
-    { VLC_CODEC_YUYV, VPX_IMG_FMT_YUY2, 8, 0 },
-    { VLC_CODEC_UYVY, VPX_IMG_FMT_UYVY, 8, 0 },
-    { VLC_CODEC_YVYU, VPX_IMG_FMT_YVYU, 8, 0 },
-
-    { VLC_CODEC_RGB15, VPX_IMG_FMT_RGB555, 8, 0 },
-    { VLC_CODEC_RGB16, VPX_IMG_FMT_RGB565, 8, 0 },
-    { VLC_CODEC_RGB24, VPX_IMG_FMT_RGB24, 8, 0 },
-    { VLC_CODEC_RGB32, VPX_IMG_FMT_RGB32, 8, 0 },
-
-    { VLC_CODEC_ARGB, VPX_IMG_FMT_ARGB, 8, 0 },
-    { VLC_CODEC_BGRA, VPX_IMG_FMT_ARGB_LE, 8, 0 },
-#endif
+
     { VLC_CODEC_GBR_PLANAR, VPX_IMG_FMT_I444, 8, 1 },
     { VLC_CODEC_GBR_PLANAR_10L, VPX_IMG_FMT_I44416, 10, 1 },
 



More information about the vlc-commits mailing list