[FFmpeg-cvslog] avfilter/vf_tinterlace: add yuv411p, yuv440p, yuva422p and yuva444p
Paul B Mahol
git at videolan.org
Sat Sep 21 14:48:59 CEST 2013
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Sep 20 10:35:01 2013 +0000| [8ac0eb2cd7ce2f9cd16be56bf979d8c9a7e49131] | committer: Paul B Mahol
avfilter/vf_tinterlace: add yuv411p, yuv440p, yuva422p and yuva444p
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8ac0eb2cd7ce2f9cd16be56bf979d8c9a7e49131
---
libavfilter/vf_tinterlace.c | 6 ++++--
tests/ref/fate/filter-pixfmts-tinterlace_merge | 4 ++++
tests/ref/fate/filter-pixfmts-tinterlace_pad | 4 ++++
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c
index 60655f2..538e05c 100644
--- a/libavfilter/vf_tinterlace.c
+++ b/libavfilter/vf_tinterlace.c
@@ -87,8 +87,10 @@ static enum AVPixelFormat full_scale_yuvj_pix_fmts[] = {
static int query_formats(AVFilterContext *ctx)
{
static const enum AVPixelFormat pix_fmts[] = {
- AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV444P,
- AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUV410P, AV_PIX_FMT_YUVA420P,
+ AV_PIX_FMT_YUV410P, AV_PIX_FMT_YUV411P,
+ AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV422P,
+ AV_PIX_FMT_YUV440P, AV_PIX_FMT_YUV444P,
+ AV_PIX_FMT_YUVA420P, AV_PIX_FMT_YUVA422P, AV_PIX_FMT_YUVA444P,
AV_PIX_FMT_GRAY8, FULL_SCALE_YUVJ_FORMATS,
AV_PIX_FMT_NONE
};
diff --git a/tests/ref/fate/filter-pixfmts-tinterlace_merge b/tests/ref/fate/filter-pixfmts-tinterlace_merge
index 07bd5cf..2dba4ce 100644
--- a/tests/ref/fate/filter-pixfmts-tinterlace_merge
+++ b/tests/ref/fate/filter-pixfmts-tinterlace_merge
@@ -1,9 +1,13 @@
gray 6575994300fa6c32755e68a9c7398247
yuv410p c9bad1317b496071d6d895238638e07d
+yuv411p aeab23fbe2fa1a509fb45d873759819b
yuv420p 9794d11e59ec7bcdf9e30a433e4137b1
yuv422p e852e61e455db8ee3981ea942d510b0f
+yuv440p 7d74a024260b8676492cec372293c64a
yuv444p a38a3f65d2f358cde5e9547c897cfcd5
yuva420p c1dc15d6ee78587d9f825acd795673d7
+yuva422p efba80640dc04e9cbb27078ce084d397
+yuva444p 3e4158d682df2da3d07134946d082f67
yuvj420p 3ee7014727ee64b45292a4f15ba028d8
yuvj422p 4f990d5473f15571276adb5770b3b773
yuvj440p 9a005e8b8431aaa762fde8d942fd11a9
diff --git a/tests/ref/fate/filter-pixfmts-tinterlace_pad b/tests/ref/fate/filter-pixfmts-tinterlace_pad
index 81152a3..f642e3d 100644
--- a/tests/ref/fate/filter-pixfmts-tinterlace_pad
+++ b/tests/ref/fate/filter-pixfmts-tinterlace_pad
@@ -1,9 +1,13 @@
gray 28646014a43963751d1862332972f60d
yuv410p 17163d1b4f21d894598fc62e6aeb8141
+yuv411p f4d71c30c21d6a6f99079f7dd83abc6b
yuv420p f8bbae33295741c1c17d33ff8ee16f7f
yuv422p 4fa67d1580d3453942bb0950c5784f6e
+yuv440p e0ee9b11a8cb7b95f82d91235593d49d
yuv444p f0558305fb7ca65b5b86d3ee88c4201e
yuva420p 7c76c0ca03a62275d25e8140c68da2b9
+yuva422p 0e4295715852540e26188a4452d5d215
+yuva444p 59d5236aeac03a6bbef7c536a22d18b6
yuvj420p b5b7baf11946a2265fc56e48be5b0436
yuvj422p 2e70ab700851d12a773f926bb1785235
yuvj440p 93319f9c8a02ee793966fae40f7e42fd
More information about the ffmpeg-cvslog
mailing list