summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>2023-05-03 09:34:38 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-06-09 16:20:21 +0100
commit80c7373a456e71a41e40f0cfb32e32b9572262ce (patch)
tree36815bdf6ecb63a70c911a71c9fb094d74efe2c8 /drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c
parent003afda97c6510f33d1ebcd96ca39661f3bf922f (diff)
downloadlinux-stable-80c7373a456e71a41e40f0cfb32e32b9572262ce.tar.gz
linux-stable-80c7373a456e71a41e40f0cfb32e32b9572262ce.tar.bz2
linux-stable-80c7373a456e71a41e40f0cfb32e32b9572262ce.zip
media: verisilicon: Conditionally ignore native formats
AV1 film grain feature requires to use the postprocessor to produce valid frames. In such case the driver shouldn't propose native pixels format but only post-processed pixels format. Additionally if when setting a control a value could change capture queue pixels formats it is needed to call hantro_reset_raw_fmt(). Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c')
0 files changed, 0 insertions, 0 deletions