[FFmpeg-devel] [PATCH] avfilter: add amplify filter

Paul B Mahol onemda at gmail.com
Sat Apr 28 10:24:40 EEST 2018


On 4/28/18, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 2018-04-28 0:56 GMT+02:00, Paul B Mahol <onemda at gmail.com>:
>
>> +static int query_formats(AVFilterContext *ctx)
>> +{
>> +    static const enum AVPixelFormat pixel_fmts[] = {
>> +        AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY9,
>> +        AV_PIX_FMT_GRAY10, AV_PIX_FMT_GRAY12,
>> +        AV_PIX_FMT_GRAY16,
>> +        AV_PIX_FMT_YUV410P, AV_PIX_FMT_YUV411P,
>> +        AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV422P,
>> +        AV_PIX_FMT_YUV440P, AV_PIX_FMT_YUV444P,
>> +        AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P,
>> +        AV_PIX_FMT_YUVJ440P, AV_PIX_FMT_YUVJ444P,
>> +        AV_PIX_FMT_YUVJ411P,
>> +        AV_PIX_FMT_YUV420P9, AV_PIX_FMT_YUV422P9, AV_PIX_FMT_YUV444P9,
>> +        AV_PIX_FMT_YUV420P10, AV_PIX_FMT_YUV422P10, AV_PIX_FMT_YUV444P10,
>> +        AV_PIX_FMT_YUV440P10,
>> +        AV_PIX_FMT_YUV444P12, AV_PIX_FMT_YUV422P12, AV_PIX_FMT_YUV420P12,
>> +        AV_PIX_FMT_YUV440P12,
>> +        AV_PIX_FMT_YUV444P14, AV_PIX_FMT_YUV422P14, AV_PIX_FMT_YUV420P14,
>> +        AV_PIX_FMT_YUV420P16, AV_PIX_FMT_YUV422P16, AV_PIX_FMT_YUV444P16,
>> +        AV_PIX_FMT_GBRP, AV_PIX_FMT_GBRP9, AV_PIX_FMT_GBRP10,
>> +        AV_PIX_FMT_GBRP12, AV_PIX_FMT_GBRP14, AV_PIX_FMT_GBRP16,
>
> Just curious:
> Why is this necessary / why did the original code not work?

Added planes parameter.


More information about the ffmpeg-devel mailing list