[vlc-commits] filter: remove dead CYUV support

Rémi Denis-Courmont git at videolan.org
Thu Jan 29 19:11:43 CET 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jan 29 20:09:56 2015 +0200| [3fb798b8f8fd408a502a9b78878ae1656cd7e946] | committer: Rémi Denis-Courmont

filter: remove dead CYUV support

CYUV is not a pixel format, at least it is not treated as such in VLC
outputs and encoders. CYUV is decoded to YUV 4:1:1 by libavcodec.

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

 modules/video_filter/filter_picture.h |    2 --
 modules/video_filter/mirror.c         |    3 ---
 2 files changed, 5 deletions(-)

diff --git a/modules/video_filter/filter_picture.h b/modules/video_filter/filter_picture.h
index b2be090..215f1c9 100644
--- a/modules/video_filter/filter_picture.h
+++ b/modules/video_filter/filter_picture.h
@@ -42,7 +42,6 @@
 
 #define CASE_PACKED_YUV_422                 \
         case VLC_CODEC_UYVY:   \
-        case VLC_CODEC_CYUV:   \
         case VLC_CODEC_YUYV:   \
         case VLC_CODEC_YVYU:
 
@@ -52,7 +51,6 @@ static inline int GetPackedYuvOffsets( vlc_fourcc_t i_chroma,
     switch( i_chroma )
     {
         case VLC_CODEC_UYVY:
-        case VLC_CODEC_CYUV: /* <-- FIXME: reverted, whatever that means */
             /* UYVY */
             *i_y_offset = 1;
             *i_u_offset = 0;
diff --git a/modules/video_filter/mirror.c b/modules/video_filter/mirror.c
index 3c0344c..748e23c 100644
--- a/modules/video_filter/mirror.c
+++ b/modules/video_filter/mirror.c
@@ -233,9 +233,6 @@ static void VerticalMirror( picture_t *p_pic, picture_t *p_outpic, int i_plane,
                                  true );
             break;
         case VLC_CODEC_UYVY:
-        case VLC_CODEC_CYUV:
-            YUV422VerticalMirror( p_pic, p_outpic, i_plane, b_left_to_right,
-                                 false );
             break;
         case VLC_CODEC_RGB24:
             RV24VerticalMirror( p_pic, p_outpic, i_plane, b_left_to_right );



More information about the vlc-commits mailing list