[FFmpeg-cvslog] swscale: mark YUV422P10(LE, BE) as supported for output

Joseph Artsimovich git at videolan.org
Thu Jul 21 16:54:42 CEST 2011


ffmpeg | branch: master | Joseph Artsimovich <joseph at mirriad.com> | Mon Jul 18 11:22:15 2011 +0100| [eedb1f2034e18d4a292167aef5efea6606874a7b] | committer: Mans Rullgard

swscale: mark YUV422P10(LE,BE) as supported for output

Signed-off-by: Mans Rullgard <mans at mansr.com>

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

 libswscale/utils.c            |    2 ++
 tests/ref/lavfi/pixdesc       |    2 ++
 tests/ref/lavfi/pixfmts_copy  |    2 ++
 tests/ref/lavfi/pixfmts_null  |    2 ++
 tests/ref/lavfi/pixfmts_scale |    2 ++
 tests/ref/lavfi/pixfmts_vflip |    2 ++
 6 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/libswscale/utils.c b/libswscale/utils.c
index 0bde820..c6abb6b 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -176,10 +176,12 @@ int sws_isSupportedInput(enum PixelFormat pix_fmt)
         || (x)==PIX_FMT_YUV420P9LE    \
         || (x)==PIX_FMT_YUV420P10LE   \
         || (x)==PIX_FMT_YUV420P16LE   \
+        || (x)==PIX_FMT_YUV422P10LE   \
         || (x)==PIX_FMT_YUV422P16LE   \
         || (x)==PIX_FMT_YUV444P16LE   \
         || (x)==PIX_FMT_YUV420P9BE    \
         || (x)==PIX_FMT_YUV420P10BE   \
+        || (x)==PIX_FMT_YUV422P10BE   \
         || (x)==PIX_FMT_YUV420P16BE   \
         || (x)==PIX_FMT_YUV422P16BE   \
         || (x)==PIX_FMT_YUV444P16BE   \
diff --git a/tests/ref/lavfi/pixdesc b/tests/ref/lavfi/pixdesc
index a82f8ed..3730988 100644
--- a/tests/ref/lavfi/pixdesc
+++ b/tests/ref/lavfi/pixdesc
@@ -38,6 +38,8 @@ yuv420p16le         2d59c4f1d0314a5a957a7cfc4b6fabcc
 yuv420p9be          ce880fa07830e5297c22acf6e20555ce
 yuv420p9le          16543fda8f87d94a6cf857d2e8d4461a
 yuv422p             c9bba4529821d796a6ab09f6a5fd355a
+yuv422p10be         107c6e31a3d4d598bca1d8426aaa54f5
+yuv422p10le         3f478be644add24b6cc77e718a6e2afa
 yuv422p16be         dc9886f2fccf87cc54b27e071a2c251e
 yuv422p16le         f181c8d8436f1233ba566d9bc88005ec
 yuv440p             5a064afe2b453bb52cdb3f176b1aa1cf
diff --git a/tests/ref/lavfi/pixfmts_copy b/tests/ref/lavfi/pixfmts_copy
index a82f8ed..3730988 100644
--- a/tests/ref/lavfi/pixfmts_copy
+++ b/tests/ref/lavfi/pixfmts_copy
@@ -38,6 +38,8 @@ yuv420p16le         2d59c4f1d0314a5a957a7cfc4b6fabcc
 yuv420p9be          ce880fa07830e5297c22acf6e20555ce
 yuv420p9le          16543fda8f87d94a6cf857d2e8d4461a
 yuv422p             c9bba4529821d796a6ab09f6a5fd355a
+yuv422p10be         107c6e31a3d4d598bca1d8426aaa54f5
+yuv422p10le         3f478be644add24b6cc77e718a6e2afa
 yuv422p16be         dc9886f2fccf87cc54b27e071a2c251e
 yuv422p16le         f181c8d8436f1233ba566d9bc88005ec
 yuv440p             5a064afe2b453bb52cdb3f176b1aa1cf
diff --git a/tests/ref/lavfi/pixfmts_null b/tests/ref/lavfi/pixfmts_null
index a82f8ed..3730988 100644
--- a/tests/ref/lavfi/pixfmts_null
+++ b/tests/ref/lavfi/pixfmts_null
@@ -38,6 +38,8 @@ yuv420p16le         2d59c4f1d0314a5a957a7cfc4b6fabcc
 yuv420p9be          ce880fa07830e5297c22acf6e20555ce
 yuv420p9le          16543fda8f87d94a6cf857d2e8d4461a
 yuv422p             c9bba4529821d796a6ab09f6a5fd355a
+yuv422p10be         107c6e31a3d4d598bca1d8426aaa54f5
+yuv422p10le         3f478be644add24b6cc77e718a6e2afa
 yuv422p16be         dc9886f2fccf87cc54b27e071a2c251e
 yuv422p16le         f181c8d8436f1233ba566d9bc88005ec
 yuv440p             5a064afe2b453bb52cdb3f176b1aa1cf
diff --git a/tests/ref/lavfi/pixfmts_scale b/tests/ref/lavfi/pixfmts_scale
index 094e524..392b9ce 100644
--- a/tests/ref/lavfi/pixfmts_scale
+++ b/tests/ref/lavfi/pixfmts_scale
@@ -38,6 +38,8 @@ yuv420p16le         cba8b390ad5e7b8678e419b8ce79c008
 yuv420p9be          a073b2d93b2a7dce2069ba252bc43175
 yuv420p9le          b67233c3c7d93763d07d88f697c145e1
 yuv422p             918e37701ee7377d16a8a6c119c56a40
+yuv422p10be         533fd21e7943c20a1026b19069b3b867
+yuv422p10le         59b20a4a8609f5da2dc54c78aea11e6c
 yuv422p16be         2cf502d7d386db1f1b3b946679d897b1
 yuv422p16le         3002a4e47520731dcee5929aff49eb74
 yuv440p             461503fdb9b90451020aa3b25ddf041c
diff --git a/tests/ref/lavfi/pixfmts_vflip b/tests/ref/lavfi/pixfmts_vflip
index 8702eca..2b62518 100644
--- a/tests/ref/lavfi/pixfmts_vflip
+++ b/tests/ref/lavfi/pixfmts_vflip
@@ -38,6 +38,8 @@ yuv420p16le         0f609e588e5a258644ef85170d70e030
 yuv420p9be          be40ec975fb2873891643cbbbddbc3b0
 yuv420p9le          7e606310d3f5ff12badf911e8f333471
 yuv422p             d7f5cb44d9b0210d66d6a8762640ab34
+yuv422p10be         a28b051168af49435c04af5f58dce47b
+yuv422p10le         35936ffff30df2697f47b9b8d2cb7dea
 yuv422p16be         51d9aa4e78d121c226d919ce97976fe4
 yuv422p16le         12965c54bda8932ca72da194419a9908
 yuv440p             876385e96165acf51271b20e5d85a416



More information about the ffmpeg-cvslog mailing list