OpenCloudOS-Kernel/drivers/media/platform/mtk-vcodec
Wu-Cheng Li e8a2a41ee2 [media] mtk-vcodec: check the vp9 decoder buffer index from VPU
VPU firmware has a bug and may return invalid buffer index for
some vp9 videos. Check the buffer indexes before accessing the
buffer.

Signed-off-by: Wu-Cheng Li <wuchengli@chromium.org>
Acked-by: Tiffany Lin <Tiffany.lin@mediatek.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-03-22 11:26:47 -03:00
..
vdec [media] mtk-vcodec: check the vp9 decoder buffer index from VPU 2017-03-22 11:26:47 -03:00
venc [media] mtk-vcodec: use designated initializers 2017-01-31 07:42:56 -02:00
Makefile [media] vcodec: mediatek: Add Mediatek VP9 Video Decoder Driver 2016-10-21 12:09:32 -02:00
mtk_vcodec_dec.c [media] mtk-vcodec: check the vp9 decoder buffer index from VPU 2017-03-22 11:26:47 -03:00
mtk_vcodec_dec.h [media] mtk-vcodec: check the vp9 decoder buffer index from VPU 2017-03-22 11:26:47 -03:00
mtk_vcodec_dec_drv.c [media] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush 2017-02-03 07:49:24 -02:00
mtk_vcodec_dec_pm.c [media] mtk-vcodec: fix some smatch warnings 2016-10-21 12:09:23 -02:00
mtk_vcodec_dec_pm.h [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
mtk_vcodec_drv.h [media] mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush 2017-02-03 07:49:24 -02:00
mtk_vcodec_enc.c Linux 4.8 2016-10-05 16:43:53 -03:00
mtk_vcodec_enc.h
mtk_vcodec_enc_drv.c [media] mtk-vcodec: remove redundant return value check of platform_get_resource() 2017-03-22 11:23:20 -03:00
mtk_vcodec_enc_pm.c [media] vcodec: mediatek: Fix return value check in mtk_vcodec_init_enc_pm() 2016-07-13 08:00:57 -03:00
mtk_vcodec_enc_pm.h
mtk_vcodec_intr.c [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
mtk_vcodec_intr.h [media] vcodec:mediatek:code refine for v4l2 Encoder driver 2016-08-24 11:20:50 -03:00
mtk_vcodec_util.c [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
mtk_vcodec_util.h [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
vdec_drv_base.h [media] vcodec: mediatek: Add Mediatek VP9 Video Decoder Driver 2016-10-21 12:09:32 -02:00
vdec_drv_if.c [media] vcodec: mediatek: Add Mediatek VP9 Video Decoder Driver 2016-10-21 12:09:32 -02:00
vdec_drv_if.h [media] mtk-vcodec: check the vp9 decoder buffer index from VPU 2017-03-22 11:26:47 -03:00
vdec_ipi_msg.h [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
vdec_vpu_if.c [media] mtk-vcodec: fix build warnings without DEBUG 2017-02-08 12:08:20 -02:00
vdec_vpu_if.h [media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver 2016-10-21 10:49:26 -02:00
venc_drv_base.h
venc_drv_if.c [media] mtk-vcodec: constify venc_common_if structures 2016-08-24 08:46:19 -03:00
venc_drv_if.h
venc_ipi_msg.h
venc_vpu_if.c [media] mtk-vcodec: fix build warnings without DEBUG 2017-02-08 12:08:20 -02:00
venc_vpu_if.h