[FFmpeg-devel] [PATCH] fate: add tests for stereo3d filter
Clément Bœsch
ubitux at gmail.com
Fri May 17 18:28:20 CEST 2013
On Fri, May 17, 2013 at 04:17:16PM +0000, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
> tests/fate/filter-video.mak | 26 ++++++++++++++++++++++++++
> tests/ref/fate/filter-stereo3d-abr-ml | 6 ++++++
> tests/ref/fate/filter-stereo3d-abr-mr | 6 ++++++
> tests/ref/fate/filter-stereo3d-al-sbsl | 6 ++++++
> tests/ref/fate/filter-stereo3d-ar-abl | 6 ++++++
> tests/ref/fate/filter-stereo3d-sbsl-abl | 6 ++++++
> tests/ref/fate/filter-stereo3d-sbsl-abr | 6 ++++++
> tests/ref/fate/filter-stereo3d-sbsl-al | 6 ++++++
> tests/ref/fate/filter-stereo3d-sbsl-sbsr | 6 ++++++
> 9 files changed, 74 insertions(+)
> create mode 100644 tests/ref/fate/filter-stereo3d-abr-ml
> create mode 100644 tests/ref/fate/filter-stereo3d-abr-mr
> create mode 100644 tests/ref/fate/filter-stereo3d-al-sbsl
> create mode 100644 tests/ref/fate/filter-stereo3d-ar-abl
> create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-abl
> create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-abr
> create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-al
> create mode 100644 tests/ref/fate/filter-stereo3d-sbsl-sbsr
>
> diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
> index 2df9cc8..c2296e9 100644
> --- a/tests/fate/filter-video.mak
> +++ b/tests/fate/filter-video.mak
> @@ -186,6 +186,32 @@ fate-filter-setdar: CMD = video_filter "setdar=dar=16/9"
> FATE_FILTER_VSYNTH-$(CONFIG_SETSAR_FILTER) += fate-filter-setsar
> fate-filter-setsar: CMD = video_filter "setsar=sar=16/11"
>
> +FATE_STEREO3D += fate-filter-stereo3d-al-sbsl
> +fate-filter-stereo3d-al-sbsl: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=al:sbsl
> +
> +FATE_STEREO3D += fate-filter-stereo3d-ar-abl
> +fate-filter-stereo3d-ar-abl: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=ar:abl
> +
> +FATE_STEREO3D += fate-filter-stereo3d-abr-mr
> +fate-filter-stereo3d-abr-mr: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=abr:mr
> +
> +FATE_STEREO3D += fate-filter-stereo3d-abr-ml
> +fate-filter-stereo3d-abr-ml: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=abr:ml
> +
> +FATE_STEREO3D += fate-filter-stereo3d-sbsl-abl
> +fate-filter-stereo3d-sbsl-abl: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=sbsl:abl
> +
> +FATE_STEREO3D += fate-filter-stereo3d-sbsl-abr
> +fate-filter-stereo3d-sbsl-abr: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=sbsl:abr
> +
> +FATE_STEREO3D += fate-filter-stereo3d-sbsl-al
> +fate-filter-stereo3d-sbsl-al: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=sbsl:al
> +
> +FATE_STEREO3D += fate-filter-stereo3d-sbsl-sbsr
> +fate-filter-stereo3d-sbsl-sbsr: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -vf stereo3d=sbsl:sbsr
> +
> +FATE_FILTER_VSYNTH-$(CONFIG_STEREO3D_FILTER) += $(FATE_STEREO3D)
> +
You could factorize this. See how it's done in
3d786591b814baef324eab3a7fc8ba9d257d67ed for instance.
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130517/71b5e4de/attachment.asc>
More information about the ffmpeg-devel
mailing list