[x264-devel] Fix intermediate conversion for YUVJ* pixfmts with 4:4:4 encoding

Anton Mitrofanov git at videolan.org
Wed Aug 24 22:40:16 CEST 2011


x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Mon Aug 15 12:03:09 2011 +0400| [83326434ca9a60b831cd4c7f15cf7bbc764b3200] | committer: Jason Garrett-Glaser

Fix intermediate conversion for YUVJ* pixfmts with 4:4:4 encoding

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=83326434ca9a60b831cd4c7f15cf7bbc764b3200
---

 filters/video/resize.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/filters/video/resize.c b/filters/video/resize.c
index 68a6df0..878a4d7 100644
--- a/filters/video/resize.c
+++ b/filters/video/resize.c
@@ -160,11 +160,13 @@ static int pick_closest_supported_csp( int csp )
         case PIX_FMT_YUV422P:
         case PIX_FMT_YUYV422:
         case PIX_FMT_UYVY422:
+        case PIX_FMT_YUVJ422P:
             return X264_CSP_I422;
         case PIX_FMT_YUV422P16LE:
         case PIX_FMT_YUV422P16BE:
             return X264_CSP_I422 | X264_CSP_HIGH_DEPTH;
         case PIX_FMT_YUV444P:
+        case PIX_FMT_YUVJ444P:
             return X264_CSP_I444;
         case PIX_FMT_YUV444P16LE:
         case PIX_FMT_YUV444P16BE:



More information about the x264-devel mailing list