mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avfilter/vf_mpdecimate: support more pixel formats, including GBRP
Add some planar formats we can handle without distorting the meaning of hi and lo. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
50f112c915
commit
6590acf0fd
1 changed files with 9 additions and 0 deletions
|
|
@ -162,6 +162,15 @@ static int query_formats(AVFilterContext *ctx)
|
|||
AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ422P,
|
||||
AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ440P,
|
||||
AV_PIX_FMT_YUVA420P,
|
||||
|
||||
AV_PIX_FMT_GRAY8A,
|
||||
AV_PIX_FMT_YA8,
|
||||
|
||||
AV_PIX_FMT_GBRP,
|
||||
|
||||
AV_PIX_FMT_YUVA444P,
|
||||
AV_PIX_FMT_YUVA422P,
|
||||
|
||||
AV_PIX_FMT_NONE
|
||||
};
|
||||
AVFilterFormats *fmts_list = ff_make_format_list(pix_fmts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue