The libva states the offset values of VAEncPictureParameterBufferAV1 are ignored in CQP mode.
However, the produced bitstream is corrupted in fact if they are not filled in CQP mode.
As far as we talked with media-driver folks, byte_offset_frame_hdr_obu_size needs to be filled even in CQP mode.
Indeed, a driver can read the offset from the packed headers, but it seems to be reasonable for an app to fill it.
So I think it would be better to correct the API; byte_offset_frame_hdr_obu_size needs to be filled regardless bitrate modes.
The libva states the offset values of VAEncPictureParameterBufferAV1 are ignored in CQP mode. However, the produced bitstream is corrupted in fact if they are not filled in CQP mode.
As far as we talked with media-driver folks, byte_offset_frame_hdr_obu_size needs to be filled even in CQP mode. Indeed, a driver can read the offset from the packed headers, but it seems to be reasonable for an app to fill it.
So I think it would be better to correct the API; byte_offset_frame_hdr_obu_size needs to be filled regardless bitrate modes.