[FFmpeg-devel] [PATCH] fate: add test for colorchannelmixer filter

Clément Bœsch ubitux at gmail.com
Mon May 13 01:28:16 CEST 2013


On Sun, May 12, 2013 at 10:42:26PM +0000, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  tests/fate/filter-video.mak                     |  3 +++
>  tests/ref/fate/filter-pixfmts-colorchannelmixer | 13 +++++++++++++
>  2 files changed, 16 insertions(+)
>  create mode 100644 tests/ref/fate/filter-pixfmts-colorchannelmixer
> 
> diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
> index 9ac21f4..1bb43c0 100644
> --- a/tests/fate/filter-video.mak
> +++ b/tests/fate/filter-video.mak
> @@ -194,6 +194,9 @@ FATE_FILTER_VSYNTH-$(CONFIG_FORMAT_FILTER) += fate-filter-pixdesc
>  fate-filter-pixdesc: CMD = pixdesc
>  
>  
> +FATE_FILTER_PIXFMTS-$(CONFIG_COLORCHANNELMIXER_FILTER) += fate-filter-pixfmts-colorchannelmixer
> +fate-filter-pixfmts-colorchannelmixer:  CMD = pixfmts ".3:.4:.3:0:.1:.8:.1:0:.2:.6:.2:0"
> +
>  FATE_FILTER_PIXFMTS-$(CONFIG_COPY_FILTER) += fate-filter-pixfmts-copy
>  fate-filter-pixfmts-copy:  CMD = pixfmts
>  
> diff --git a/tests/ref/fate/filter-pixfmts-colorchannelmixer b/tests/ref/fate/filter-pixfmts-colorchannelmixer
> new file mode 100644
> index 0000000..4e7b6d1
> --- /dev/null
> +++ b/tests/ref/fate/filter-pixfmts-colorchannelmixer
> @@ -0,0 +1,13 @@
> +0bgr                c0c2360e57b906bf48ded2f816bf1fd4
> +0rgb                6413f22e096b01ff7622da96b83376a2
> +abgr                797bccfed0d6c87c6221d5ab4ef36991
> +argb                e938e6d18d0a5525044895c193a480ae
> +bgr0                9114d36341b7dfd9e7c83edd136e4df6
> +bgr24               27d2c00311caaaad3b9112ba75d137a9
> +bgr48le             cf1adde72f45a8764a313161817b2819
> +bgra                495b7536aa097bf757700595e4fc4c25
> +rgb0                d66b466fd5a99c817d62ac00582e79f6
> +rgb24               f453f802c9cbf1461e7bbd911942e431
> +rgb48le             b0bdb2b7d929dbb6b4ed2e76eee1df2a
> +rgba                2f1560ee8d21164ab002089f7b7265e7
> +rgba64le            e46e5beb6188573fef12c16c1adf8475

LGTM, assuming the filter only supports the little endian versions.

-- 
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/20130513/2969c5b9/attachment.asc>


More information about the ffmpeg-devel mailing list