[FFmpeg-devel] [PATCH] avfilter: add yuvtestsrc source filter

Moritz Barsnick barsnick at gmx.net
Wed Aug 24 23:40:02 EEST 2016


On Wed, Aug 24, 2016 at 18:57:57 +0200, Paul B Mahol wrote:

> +The @code{yuvtestsrc} source generates an YUV test pattern. You should
                                          ^ a
> +see a y, cb and cr stripe from top to bottom.

This makes it sound like the stripes go from top to bottom, i.e.
they're vertical stripes. But they're horizontal, right? Perhaps write:
"see vertical y, cb and cr stripes".

+static void yuvtest_fill_picture8(AVFilterContext *ctx, AVFrame *frame)
+static void yuvtest_fill_picture16(AVFilterContext *ctx, AVFrame *frame)

This *almost* calls for a function macro. ;)

Are the 8-bit functions actually faster? Just wondering.

Moritz


More information about the ffmpeg-devel mailing list