linux/drivers/media/platform/mtk-vcodec
Alexandre Courbot 42f401e751 media: mtk-vcodec: venc: fix invalid time per frame in S_PARM
v4l2-compliance expects the driver to adjust the time per frame if it is
invalid (numerator or denominator set to 0). Adjust it to the default
value in these cases.

Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
Acked-by: Tiffany Lin <tiffany.lin@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-09-26 10:11:26 +02:00
..
vdec media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
venc media: mtk-vcodec: venc: support SCP firmware 2020-09-26 10:03:39 +02:00
Makefile media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
mtk_vcodec_dec_drv.c media: mtk-vcodec: add SCP firmware ops 2020-09-26 09:54:44 +02:00
mtk_vcodec_dec_pm.c media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
mtk_vcodec_dec_pm.h Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mtk_vcodec_dec.c media: mtk-vcodec: mtk_vcodec_dec.c: fix comparison to bool 2020-08-29 07:47:54 +02:00
mtk_vcodec_dec.h media: mtk-vcodec: use v4l2_m2m_buffer where appropriate 2020-01-09 14:46:41 +01:00
mtk_vcodec_drv.h media: mtk-vcodec: add support for MT8183 encoder 2020-09-26 10:07:05 +02:00
mtk_vcodec_enc_drv.c media: mtk-vcodec: add support for MT8183 encoder 2020-09-26 10:07:05 +02:00
mtk_vcodec_enc_pm.c media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
mtk_vcodec_enc_pm.h Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mtk_vcodec_enc.c media: mtk-vcodec: venc: fix invalid time per frame in S_PARM 2020-09-26 10:11:26 +02:00
mtk_vcodec_enc.h media: mtk-vcodec: use v4l2_m2m_buffer where appropriate 2020-01-09 14:46:41 +01:00
mtk_vcodec_fw.c media: mtk-vcodec: add SCP firmware ops 2020-09-26 09:54:44 +02:00
mtk_vcodec_fw.h media: mtk-vcodec: add SCP firmware ops 2020-09-26 09:54:44 +02:00
mtk_vcodec_intr.c Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mtk_vcodec_intr.h Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mtk_vcodec_util.c media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
mtk_vcodec_util.h Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
vdec_drv_base.h media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
vdec_drv_if.c media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
vdec_drv_if.h media: mtk-vcodec: remove unneeded proxy functions 2019-06-21 17:10:20 -04:00
vdec_ipi_msg.h Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
vdec_vpu_if.c media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
vdec_vpu_if.h media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
venc_drv_base.h media: mtk-vcodec: avoid unneeded pointer-to-long conversions 2019-06-21 17:09:30 -04:00
venc_drv_if.c media: mtk-vcodec: abstract firmware interface 2020-09-26 09:53:52 +02:00
venc_drv_if.h media: mtk-vcodec: venc: support SCP firmware 2020-09-26 10:03:39 +02:00
venc_ipi_msg.h media: mtk-vcodec: venc: handle firmware version field 2020-09-26 10:04:39 +02:00
venc_vpu_if.c media: mtk-vcodec: venc: handle firmware version field 2020-09-26 10:04:39 +02:00
venc_vpu_if.h media: mtk-vcodec: venc: support SCP firmware 2020-09-26 10:03:39 +02:00