[FFmpeg-cvslog] sws: enable xyz12, this for now is just for swaping between le and be

Michael Niedermayer git at videolan.org
Sun Apr 28 15:59:52 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Apr 28 15:53:20 2013 +0200| [2fa08abdb636ed54877c7c82a4813005315b8308] | committer: Michael Niedermayer

sws: enable xyz12, this for now is just for swaping between le and be

Needed for fixing fate

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2fa08abdb636ed54877c7c82a4813005315b8308
---

 libswscale/utils.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libswscale/utils.c b/libswscale/utils.c
index ca7c2c4..94a43a2 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -196,6 +196,8 @@ static const FormatEntry format_entries[AV_PIX_FMT_NB] = {
     [AV_PIX_FMT_GBRP14BE]    = { 1, 1 },
     [AV_PIX_FMT_GBRP16LE]    = { 1, 0 },
     [AV_PIX_FMT_GBRP16BE]    = { 1, 0 },
+    [AV_PIX_FMT_XYZ12BE]     = { 1, 0 },
+    [AV_PIX_FMT_XYZ12LE]     = { 0, 1 },
 };
 
 int sws_isSupportedInput(enum AVPixelFormat pix_fmt)



More information about the ffmpeg-cvslog mailing list