[FFmpeg-devel] [PATCH] tests: add overlay rgb and yuv444 tests
Paul B Mahol
onemda at gmail.com
Tue Mar 5 10:38:13 CET 2013
On 3/5/13, Stefano Sabatini <stefasab at gmail.com> wrote:
> Also rename overlay test to overlay_yuv420 accordingly.
> ---
> tests/fate/avfilter.mak | 4 +++-
> tests/lavfi-regression.sh | 4 +++-
> tests/ref/lavfi/overlay | 1 -
> tests/ref/lavfi/overlay_rgb | 1 +
> tests/ref/lavfi/overlay_yuv420 | 1 +
> tests/ref/lavfi/overlay_yuv444 | 1 +
> 6 files changed, 9 insertions(+), 3 deletions(-)
> delete mode 100644 tests/ref/lavfi/overlay
> create mode 100644 tests/ref/lavfi/overlay_rgb
> create mode 100644 tests/ref/lavfi/overlay_yuv420
> create mode 100644 tests/ref/lavfi/overlay_yuv444
>
> diff --git a/tests/fate/avfilter.mak b/tests/fate/avfilter.mak
> index 15c8595..8ac8d41 100644
> --- a/tests/fate/avfilter.mak
> +++ b/tests/fate/avfilter.mak
> @@ -14,7 +14,9 @@ FATE_LAVFI = fate-lavfi-alphaextract_rgb
> \
> fate-lavfi-il \
> fate-lavfi-life \
> fate-lavfi-null \
> - fate-lavfi-overlay \
> + fate-lavfi-overlay_rgb \
> + fate-lavfi-overlay_yuv420 \
> + fate-lavfi-overlay_yuv444 \
> fate-lavfi-pad \
> fate-lavfi-pixfmts_copy \
> fate-lavfi-pixfmts_crop \
> diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh
> index d6aba4c..9335124 100755
> --- a/tests/lavfi-regression.sh
> +++ b/tests/lavfi-regression.sh
> @@ -47,7 +47,9 @@ do_lavfi "fade"
> "fade=in:5:15,fade=out:30:15"
> do_lavfi "hue" "hue=s=sin(2*PI*t)+1"
> do_lavfi "idet" "idet"
> do_lavfi "null" "null"
> -do_lavfi "overlay"
> "split[m],scale=88:72,pad=96:80:4:4[o2];[m]fifo[o1],[o1][o2]overlay=240:16"
> +do_lavfi "overlay_rgb"
> "split[m],scale=88:72,pad=96:80:4:4[o2];[m]fifo[o1],[o1][o2]overlay=240:16:format=rgb"
> +do_lavfi "overlay_yuv420"
> "split[m],scale=88:72,pad=96:80:4:4[o2];[m]fifo[o1],[o1][o2]overlay=240:16:format=yuv420"
> +do_lavfi "overlay_yuv444"
> "split[m],scale=88:72,pad=96:80:4:4[o2];[m]fifo[o1],[o1][o2]overlay=240:16:format=yuv444"
> do_lavfi "pad" "pad=iw*1.5:ih*1.5:iw*0.3:ih*0.2"
> do_lavfi "pp" "pp=be/hb/vb/tn/l5/al"
> do_lavfi "pp2" "pp=be/fq:16/h1/v1/lb"
> diff --git a/tests/ref/lavfi/overlay b/tests/ref/lavfi/overlay
> deleted file mode 100644
> index ca70370..0000000
> --- a/tests/ref/lavfi/overlay
> +++ /dev/null
> @@ -1 +0,0 @@
> -overlay 4e85d551db9e56e8faddc1fc70fd6a00
> diff --git a/tests/ref/lavfi/overlay_rgb b/tests/ref/lavfi/overlay_rgb
> new file mode 100644
> index 0000000..ce4e30b
> --- /dev/null
> +++ b/tests/ref/lavfi/overlay_rgb
> @@ -0,0 +1 @@
> +overlay_rgb abea47d9e61d7eab40c4734294519524
> diff --git a/tests/ref/lavfi/overlay_yuv420
> b/tests/ref/lavfi/overlay_yuv420
> new file mode 100644
> index 0000000..3d12251
> --- /dev/null
> +++ b/tests/ref/lavfi/overlay_yuv420
> @@ -0,0 +1 @@
> +overlay_yuv420 4e85d551db9e56e8faddc1fc70fd6a00
> diff --git a/tests/ref/lavfi/overlay_yuv444
> b/tests/ref/lavfi/overlay_yuv444
> new file mode 100644
> index 0000000..b83e605
> --- /dev/null
> +++ b/tests/ref/lavfi/overlay_yuv444
> @@ -0,0 +1 @@
> +overlay_yuv444 16215d0b4054a44bbe7f6c46bd97d235
> --
> 1.7.9.5
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
I guess it should be ok.
More information about the ffmpeg-devel
mailing list