Assigned
Status Update
Comments
ra...@google.com <ra...@google.com> #2
Thanks for the report. I will route this to the appropriate internal team and update this when I hear back from them.
No update yet.
Thanks for the report. I will route this to the appropriate internal team and update this when I hear back from them.
Description
When decoding h264 stream on an ARM board from Texas Instruments with an AM62P SoC (https://www.ti.com/tool/PROCESSOR-SDK-AM62P ), we see the following error:
This happens because
v4l2_codec2
associates each input (OUTPUT
) buffer with a single output (CAPTURE
) buffer usingbitstreamId
.bitstreamId
is passed to the kernel via the timestamp. This is the recommended way according to the v4l2 spec:See:https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/dev-decoder.html#decoding
By only allowing 1 output (
CAPTURE
) buffer per input (OUTPUT
) buffer, thev4l2_codec2
HAL violates the following v4l2 spec:Reworking the buffer tracking in
v4l2_codec2
might be a difficult task. Are there any plans to address this?