[SCM] libav/experimental: Declare support for the pixel formats: PIX_FMT_YUVJ420P PIX_FMT_YUVJ422P PIX_FMT_YUVJ440P PIX_FMT_YUVJ444P

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:59:08 UTC 2013


The following commit has been merged in the experimental branch:
commit af0e66216952c170c0acb28398f1c543b6f3d8d2
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Sun Jan 31 10:16:05 2010 +0000

    Declare support for the pixel formats:
    PIX_FMT_YUVJ420P
    PIX_FMT_YUVJ422P
    PIX_FMT_YUVJ440P
    PIX_FMT_YUVJ444P
    
    in the isSupported{In,Out} macros.
    
    These pixel formats are not true pixel formats but hacks specific to
    JPEG in libavcodec. They are deprecated and should be removed (that is
    from libavcodec first and libswscale second)...  but they must be
    tested by swscale-test.
    
    See thread:
    Subject: [FFmpeg-devel] [PATCH] Extend show_pix_fmts() to make it print the input/output support
    Date: 2010-01-30 15:54:08 GMT
    
    Originally committed as revision 30474 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

diff --git a/libswscale/utils.c b/libswscale/utils.c
index 95edcb4..928a5fd 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -92,6 +92,10 @@ const char *swscale_license(void)
         || (x)==PIX_FMT_YUV444P     \
         || (x)==PIX_FMT_YUV422P     \
         || (x)==PIX_FMT_YUV411P     \
+        || (x)==PIX_FMT_YUVJ420P    \
+        || (x)==PIX_FMT_YUVJ422P    \
+        || (x)==PIX_FMT_YUVJ440P    \
+        || (x)==PIX_FMT_YUVJ444P    \
         || (x)==PIX_FMT_PAL8        \
         || (x)==PIX_FMT_BGR8        \
         || (x)==PIX_FMT_RGB8        \
@@ -121,6 +125,10 @@ int sws_isSupportedInput(enum PixelFormat pix_fmt)
         || (x)==PIX_FMT_YUV444P     \
         || (x)==PIX_FMT_YUV422P     \
         || (x)==PIX_FMT_YUV411P     \
+        || (x)==PIX_FMT_YUVJ420P    \
+        || (x)==PIX_FMT_YUVJ422P    \
+        || (x)==PIX_FMT_YUVJ440P    \
+        || (x)==PIX_FMT_YUVJ444P    \
         || isAnyRGB(x)              \
         || (x)==PIX_FMT_NV12        \
         || (x)==PIX_FMT_NV21        \

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list