Dear Tamas,
Using the flag ringBufferEnable, from the EncOpenParam structure you can select the mode of the streaming Here are the details from the VPU API Reference Manual:
ringBufferEnable
where 0 = disable, 1 = enable.
This flag enables the streaming mode for the current encoder instance.
Two streaming modes, packet-based streaming with ring-buffer (buffer-reset mode), and frame-based streaming with line buffer (buffer-flush mode) can be configured using this flag. When this field is set, packet-based streaming with ring-buffer is used. When this field is not set, frame-based streaming with line-buffer is used.
Have a great day,
Jaime
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------