From: Wu-Cheng Li
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
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 33 +-
drivers/media/platform/mtk
From: Wu-Cheng Li
v2: also check the result of vdec_if_decode in mtk_vdec_worker.
v3: set buffer status to VB2_BUF_STATE_ERROR. Move printk out of lock.
Wu-Cheng Li (1):
mtk-vcodec: check the vp9 decoder buffer index from VPU.
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 33
From: Wu-Cheng Li
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
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 23 ++-
drivers/media/platform/mtk-vcodec
From: Wu-Cheng Li
This patch guards against the invalid buffer index from
VPU firmware.
v2: also check the result of vdec_if_decode in mtk_vdec_worker.
Wu-Cheng Li (1):
mtk-vcodec: check the vp9 decoder buffer index from VPU.
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 23
From: Wu-Cheng Li
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
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 6 +
.../media/platform/mtk-vcodec/vdec
From: Wu-Cheng Li
This patch guards against the invalid buffer index from
VPU firmware.
Wu-Cheng Li (1):
mtk-vcodec: check the vp9 decoder buffer index from VPU.
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 6 +
.../media/platform/mtk-vcodec/vdec/vdec_vp9_if.c | 26
From: Wu-Cheng Li
This patch uses V4L2_DEC_CMD_STOP to implement flush -- requesting
the remaining images to be returned to userspace. The old unofficial
way was to use a size-0 input buffer and the code is removed.
Tiffany Lin (1):
mtk-vcodec: use V4L2_DEC_CMD_STOP to implement flush
From: Tiffany Lin
Also remove the code using size-0 OUTPUT buffer to flush.
Singed-off-by: Tiffany Lin
Signed-off-by: Wu-Cheng Li
Reviewed-by: Kuang-che Wu
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 151 ++---
.../media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c
From: Wu-Cheng Li
vb2_qbuf will check the buffer index. If a driver overrides
vidioc_qbuf and use the buffer index, the driver needs to check
the index.
Signed-off-by: Wu-Cheng Li
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 4
1 file changed, 4 insertions(+)
diff --git a
From: Wu-Cheng Li
This patch adds a buffer index check in decoder vidioc_qbuf.
Wu-Cheng Li (1):
mtk-vcodec: add index check in decoder vidioc_qbuf.
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 4
1 file changed, 4 insertions(+)
--
2.8.0.rc3.226.g39d4020
This adds VP9 video coding format, a successor to VP8.
Signed-off-by: Wu-Cheng Li
---
include/uapi/linux/videodev2.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 8f95191..a95f940 100644
--- a/include/uapi/linux
Add documentation for V4L2_PIX_FMT_VP9.
Signed-off-by: Wu-Cheng Li
---
Documentation/DocBook/media/v4l/pixfmt.xml | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/DocBook/media/v4l/pixfmt.xml
b/Documentation/DocBook/media/v4l/pixfmt.xml
index 5a08aee..ab915c3 100644
--- a
This patch series add V4L2_PIX_FMT_VP9 and the documentation.
Wu-Cheng Li (3):
videodev2.h: add V4L2_PIX_FMT_VP9 format.
v4l2-ioctl: add VP9 format description.
V4L: add VP9 format documentation
Documentation/DocBook/media/v4l/pixfmt.xml | 5 +
drivers/media/v4l2-core/v4l2-ioctl.c
VP9 is a video coding format and a successor to VP8.
Signed-off-by: Wu-Cheng Li
---
drivers/media/v4l2-core/v4l2-ioctl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c
b/drivers/media/v4l2-core/v4l2-ioctl.c
index 28e5be2..8f3e631 100644
--- a/drivers
14 matches
Mail list logo