Skip to content

Draft: v2: Cedrus: add support for dynamic arrays in H264

Daniel Almeida requested to merge cedrus-dynamic-arrays-v2 into master

So far the Cedrus driver is able to decode a slice at a time in slice mode.

Use the new flag "V4L2_CTRL_FLAG_DYNAMIC_ARRAY" and the new h264 slice decode mode to support passing an array with all the slices at once from userspace.

The device will process all slices in this array before calling v4l2_m2m_buf_done_and_job_finish, significantly reducing the amount of back and forth of data

Edited by Daniel Almeida

Merge request reports