You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
Support deinterlacing of YUVJ422P in old deinterlacer.
Patch by Maksym Veremeyenko verem at m1stereo tv. Originally committed as revision 25195 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Benjamin Larsson
parent
1afab33857
commit
b299c4e4d3
@@ -1177,6 +1177,7 @@ int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
|
|||||||
if (pix_fmt != PIX_FMT_YUV420P &&
|
if (pix_fmt != PIX_FMT_YUV420P &&
|
||||||
pix_fmt != PIX_FMT_YUVJ420P &&
|
pix_fmt != PIX_FMT_YUVJ420P &&
|
||||||
pix_fmt != PIX_FMT_YUV422P &&
|
pix_fmt != PIX_FMT_YUV422P &&
|
||||||
|
pix_fmt != PIX_FMT_YUVJ422P &&
|
||||||
pix_fmt != PIX_FMT_YUV444P &&
|
pix_fmt != PIX_FMT_YUV444P &&
|
||||||
pix_fmt != PIX_FMT_YUV411P &&
|
pix_fmt != PIX_FMT_YUV411P &&
|
||||||
pix_fmt != PIX_FMT_GRAY8)
|
pix_fmt != PIX_FMT_GRAY8)
|
||||||
@@ -1193,6 +1194,7 @@ int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
|
|||||||
height >>= 1;
|
height >>= 1;
|
||||||
break;
|
break;
|
||||||
case PIX_FMT_YUV422P:
|
case PIX_FMT_YUV422P:
|
||||||
|
case PIX_FMT_YUVJ422P:
|
||||||
width >>= 1;
|
width >>= 1;
|
||||||
break;
|
break;
|
||||||
case PIX_FMT_YUV411P:
|
case PIX_FMT_YUV411P:
|
||||||
|
Reference in New Issue
Block a user