diff options
author | James Almer <jamrial@gmail.com> | 2019-03-25 06:11:39 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-04-14 20:51:51 +0300 |
commit | 1f260d7285c841f9e13c1d76158949a5d3c73a06 (patch) | |
tree | 4688d31cf37b0d51b6ae6abfbe831fa793a95e27 /libavcodec/cbs_av1.h | |
parent | 62074b8f85e083212abdf09c849e148e7634f5a2 (diff) |
avcodec/cbs_av1: add support for Padding OBUs
Based on itut_t35 Matadata OBU parsing code.
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/cbs_av1.h')
-rw-r--r-- | libavcodec/cbs_av1.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/cbs_av1.h b/libavcodec/cbs_av1.h index 71ceff9427..e799964b72 100644 --- a/libavcodec/cbs_av1.h +++ b/libavcodec/cbs_av1.h @@ -364,6 +364,12 @@ typedef struct AV1RawMetadata { } metadata; } AV1RawMetadata; +typedef struct AV1RawPadding { + uint8_t *payload; + size_t payload_size; + AVBufferRef *payload_ref; +} AV1RawPadding; + typedef struct AV1RawOBU { AV1RawOBUHeader header; @@ -377,6 +383,7 @@ typedef struct AV1RawOBU { AV1RawTileGroup tile_group; AV1RawTileList tile_list; AV1RawMetadata metadata; + AV1RawPadding padding; } obu; } AV1RawOBU; |