From: Wu-Cheng Li <wuchen...@google.com>
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 <wuchen...@chromium.org>
---
drivers/media/platform/mtk-vcodec/mtk_vcode
From: Wu-Cheng Li <wuchen...@google.com>
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-
From: Wu-Cheng Li <wuchen...@google.com>
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 <wuchen...@chromium.org>
---
drivers/media/platform/mtk-vcodec/mtk_vcode
From: Wu-Cheng Li <wuchen...@google.com>
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-
From: Wu-Cheng Li <wuchen...@google.com>
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 <wuchen...@chromium.org>
---
drivers/media/platform/mtk-vcodec/mtk_vcode
From: Wu-Cheng Li <wuchen...@google.com>
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-vcode
From: Tiffany Lin <tiffany@mediatek.com>
Also remove the code using size-0 OUTPUT buffer to flush.
Singed-off-by: Tiffany Lin <tiffany@mediatek.com>
Signed-off-by: Wu-Cheng Li <wuchen...@chromium.org>
Reviewed-by: Kuang-che Wu <k...@chromium.org>
---
drivers/m
From: Wu-Cheng Li <wuchen...@google.com>
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_CM
From: Wu-Cheng Li <wuchen...@google.com>
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 <wuchen...@chromium.org>
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c
From: Wu-Cheng Li <wuchen...@google.com>
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.g3
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
This adds VP9 video coding format, a successor to VP8.
Signed-off-by: Wu-Cheng Li <wuchen...@chromium.org>
---
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
Add documentation for V4L2_PIX_FMT_VP9.
Signed-off-by: Wu-Cheng Li <wuchen...@chromium.org>
---
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
VP9 is a video coding format and a successor to VP8.
Signed-off-by: Wu-Cheng Li <wuchen...@chromium.org>
---
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 2
14 matches
Mail list logo