[FFmpeg-devel] [PATCH 2/2] lavfi: add testsrc2 test source.

Paul B Mahol onemda at gmail.com
Fri Nov 6 21:02:18 CET 2015


On 10/25/15, Nicolas George <george at nsup.org> wrote:
> Similar to testsrc, but using drawutils and therefore
> supporting a lot of pixel formats instead of just rgb24.
> This allows using it as input for other tests without
> requiring a format conversion.
> It is also slightly faster than testsrc for some reason.
>
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
>  libavfilter/Makefile                   |   1 +
>  libavfilter/allfilters.c               |   1 +
>  libavfilter/vsrc_testsrc.c             | 271
> +++++++++++++++++++++++++++++++++
>  tests/fate/filter-video.mak            |   9 ++
>  tests/ref/fate/filter-testsrc2-rgb24   |  71 +++++++++
>  tests/ref/fate/filter-testsrc2-yuv420p |  71 +++++++++
>  tests/ref/fate/filter-testsrc2-yuv444p |  71 +++++++++
>  7 files changed, 495 insertions(+)
>  create mode 100644 tests/ref/fate/filter-testsrc2-rgb24
>  create mode 100644 tests/ref/fate/filter-testsrc2-yuv420p
>  create mode 100644 tests/ref/fate/filter-testsrc2-yuv444p


Should be fine.


More information about the ffmpeg-devel mailing list