Skip to content

va: Recommend packed header submission in bitstream order - #902

Open
XinfengZhang wants to merge 1 commit into
intel:masterfrom
XinfengZhang:docs/h264-packed-header-order
Open

XinfengZhang wants to merge 1 commit into
intel:masterfrom
XinfengZhang:docs/h264-packed-header-order

Conversation

@XinfengZhang

@XinfengZhang XinfengZhang commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Applications that submit packed headers in a different order from the final bitstream can receive invalid header ordering from backends that insert each header as submitted.

Add common guidance to VAEncPackedHeaderParameterBuffer in va.h: applications should submit packed header parameter/data pairs in final bitstream order, consistent with the codec specification's syntax and semantics. Preserve this order across vaRenderPicture() calls for the same picture and avoid relying on backend-specific reordering. This is a recommendation applicable to all codecs.

Related: #901

Validation: git diff --check passed. Documentation-only change; no runtime tests performed.

@XinfengZhang XinfengZhang changed the title va: Recommend H.264 packed header submission in bitstream order va: Recommend packed header submission in bitstream order Nov 16, 2026
Recommend submitting packed header parameter/data pairs in final
bitstream order, consistent with codec syntax and semantics, including
across vaRenderPicture() calls for the same picture.

This allows compatibility with backends that insert headers in
submission order without relying on driver-specific reordering.

Related: intel#901
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
@XinfengZhang
XinfengZhang force-pushed the docs/h264-packed-header-order branch from c2d23b5 to 2b16f80 Compare November 16, 2026 06:58

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant