Re: [FFmpeg-devel] [PATCH v3 1/2] libavcodec/libaomenc.c: Support gray input

2020-04-07 Thread Ryo Hirafuji
James, thank you for your review! > You can merge these with the AV_PIX_FMT_YUV420P* cases below, doing > something like > enccfg->monochrome = avctx->pix_fmt == AV_PIX_FMT_GRAY8; > and > enccfg->monochrome = avctx->pix_fmt == AV_PIX_FMT_GRAY10 || > avctx->pix_fmt == AV_PIX_F

Re: [FFmpeg-devel] [PATCH v3 1/2] libavcodec/libaomenc.c: Support gray input

2020-04-07 Thread James Almer
On 4/7/2020 3:11 PM, Ryo Hirafuji wrote: > From: Ryo Hirafuji > > AV1 decoders, libaomdec and libdav1d, both support grayscale image. > However, libaomenc does not support it yet. > In this patch, I add a grayscale image support also to libaomenc. > > Fixes ticket #7599 > --- > libavcodec/libao

[FFmpeg-devel] [PATCH v3 1/2] libavcodec/libaomenc.c: Support gray input

2020-04-07 Thread Ryo Hirafuji
From: Ryo Hirafuji AV1 decoders, libaomdec and libdav1d, both support grayscale image. However, libaomenc does not support it yet. In this patch, I add a grayscale image support also to libaomenc. Fixes ticket #7599 --- libavcodec/libaomenc.c | 51 -- 1 f