summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/v4l/dev-mem2mem.rst
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@siol.net>2019-10-11 12:32:45 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-21 13:43:04 +0300
commiteabf10e5e3009e0c7e9a9b98a7f8299e690bcc55 (patch)
treebe07fb650edf24c9fe34a3715c126cf4a68b7bf0 /Documentation/media/uapi/v4l/dev-mem2mem.rst
parentf07602ac388723233e9e3c5a05b54baf34e0a3e9 (diff)
downloadlinux-eabf10e5e3009e0c7e9a9b98a7f8299e690bcc55.tar.xz
media: cedrus: h264: Support multiple slices per frame
With recent changes, support for decoding multi-slice frames can be easily added now. Signal VPU if current slice is first in frame or not and add information about first macroblock coordinates. When frame contains multiple slices and driver works in slice mode, it's more efficient to hold capture buffer in queue until all slices of a same frame are decoded. Add support for that to Cedrus driver by exposing and implementing V4L2_BUF_CAP_SUPPORTS_M2M_HOLD_CAPTURE_BUF capability. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> [hverkuil-cisco@xs4all.nl: rewritten to use v4l2_m2m_buf_done_and_job_finish] [hverkuil-cisco@xs4all.nl: removed unnecessary (u32) cast] [hverkuil-cisco@xs4all.nl: use new_frame v4l2_m2m_ctx bool] Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'Documentation/media/uapi/v4l/dev-mem2mem.rst')
0 files changed, 0 insertions, 0 deletions