Commit 3fb798b8 authored by Rémi Denis-Courmont's avatar 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.
parent b5a43deb
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#define CASE_PACKED_YUV_422 \ #define CASE_PACKED_YUV_422 \
case VLC_CODEC_UYVY: \ case VLC_CODEC_UYVY: \
case VLC_CODEC_CYUV: \
case VLC_CODEC_YUYV: \ case VLC_CODEC_YUYV: \
case VLC_CODEC_YVYU: case VLC_CODEC_YVYU:
...@@ -52,7 +51,6 @@ static inline int GetPackedYuvOffsets( vlc_fourcc_t i_chroma, ...@@ -52,7 +51,6 @@ static inline int GetPackedYuvOffsets( vlc_fourcc_t i_chroma,
switch( i_chroma ) switch( i_chroma )
{ {
case VLC_CODEC_UYVY: case VLC_CODEC_UYVY:
case VLC_CODEC_CYUV: /* <-- FIXME: reverted, whatever that means */
/* UYVY */ /* UYVY */
*i_y_offset = 1; *i_y_offset = 1;
*i_u_offset = 0; *i_u_offset = 0;
......
...@@ -233,9 +233,6 @@ static void VerticalMirror( picture_t *p_pic, picture_t *p_outpic, int i_plane, ...@@ -233,9 +233,6 @@ static void VerticalMirror( picture_t *p_pic, picture_t *p_outpic, int i_plane,
true ); true );
break; break;
case VLC_CODEC_UYVY: case VLC_CODEC_UYVY:
case VLC_CODEC_CYUV:
YUV422VerticalMirror( p_pic, p_outpic, i_plane, b_left_to_right,
false );
break; break;
case VLC_CODEC_RGB24: case VLC_CODEC_RGB24:
RV24VerticalMirror( p_pic, p_outpic, i_plane, b_left_to_right ); RV24VerticalMirror( p_pic, p_outpic, i_plane, b_left_to_right );
......
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