diff options
author | Sven Gothel <[email protected]> | 2020-07-21 06:43:51 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-07-21 06:43:51 +0200 |
commit | 5e10db6f3f22a7d687ad7eeded3bbf0866978628 (patch) | |
tree | da24772ffb4eb826f26ee3cd0945cd8373954144 /src/freedreno/computerator/a6xx.c | |
parent | 41c7bb6ec0444221ed4330529e0c0664699b56c7 (diff) |
gallium/va/encpackedheader 01: Boldly claim VA_ENC_PACKED_HEADER_* SEQUENCE|SLICE|MISC capabilties (ffmpeg -> matroska)gallium_va_encpackedheader01
Return config for VAConfigAttribEncPackedHeaders:
+ value = VA_ENC_PACKED_HEADER_SEQUENCE | // SPS and PPS.
+ VA_ENC_PACKED_HEADER_SLICE | // Slice headers.
+ VA_ENC_PACKED_HEADER_MISC; // SEI.
This enables h264 encoding having conforming frame header and hence
allows validating muxer like Matroska (e.g. ffmpeg).
See <https://trac.ffmpeg.org/ticket/8042>
FIXME: Query whether VA driver actually supports
writing/consuming these packed header!
Seems to work on
VAAPI driver: Mesa Gallium driver 20.2.0-devel for AMD Radeon RX 5700 XT (NAVI10, DRM 3.37.0, 5.7.0-1-amd64, LLVM 9.0.1)
Diffstat (limited to 'src/freedreno/computerator/a6xx.c')
0 files changed, 0 insertions, 0 deletions