Skip to content

v4l2codecs: h265: Minimize memory allocation

Be smarter when allocating sink and source memory pools to reduce the memory footprint.

Use gst_v4l2_decoder_get_render_delay() to know the need number of buffers for downstream element.

Improve error logs in case of memory issue.

Tested with fluster on IMX8MQ and the score is unchanged.

Merge request reports

Loading