The H264 decoder follows the Stateful Decoder API
The HEVC decoder follows the Stateless Decoder API.
I'm suspecting you've realised some of that by using S265 (aka V4L2_PIX_FMT_HEVC_SLICE) as your format.
The stateless API has no resolution changed event as all the bitstream parsing has to be done by the client.
STREAMOFF returns all buffers from the driver to videobuf2. It does not deallocate them.
vb2_is_busy checks q->num_buffers, which is the number of buffers allocated.
The normal route to free the buffers is VIDIOC_REQBUFS(0)
The HEVC decoder follows the Stateless Decoder API.
I'm suspecting you've realised some of that by using S265 (aka V4L2_PIX_FMT_HEVC_SLICE) as your format.
The stateless API has no resolution changed event as all the bitstream parsing has to be done by the client.
STREAMOFF returns all buffers from the driver to videobuf2. It does not deallocate them.
vb2_is_busy checks q->num_buffers, which is the number of buffers allocated.
The normal route to free the buffers is VIDIOC_REQBUFS(0)
Statistics: Posted by 6by9 — Thu Feb 29, 2024 4:35 pm