aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-ioctl.c
diff options
context:
space:
mode:
authorJernej Skrabec <[email protected]>2019-10-11 06:32:45 -0300
committerMauro Carvalho Chehab <[email protected]>2019-10-21 07:43:04 -0300
commiteabf10e5e3009e0c7e9a9b98a7f8299e690bcc55 (patch)
treebe07fb650edf24c9fe34a3715c126cf4a68b7bf0 /drivers/media/v4l2-core/v4l2-ioctl.c
parentf07602ac388723233e9e3c5a05b54baf34e0a3e9 (diff)
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 <[email protected]> [[email protected]: rewritten to use v4l2_m2m_buf_done_and_job_finish] [[email protected]: removed unnecessary (u32) cast] [[email protected]: use new_frame v4l2_m2m_ctx bool] Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions