Skip to content

Draft: cedrus: add support for dynamic arrays in H264

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

media: cedrus: add support for dynamic arrays in H264

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 control 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