diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2018-10-18 13:37:05 -0700 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2019-05-20 11:58:12 -0700 |
commit | b401a4ab8aa85c536bd9eee0da8f51551b66c70e (patch) | |
tree | 6729052eaf7dee845d09c82c7b6c469b193b189e /libavformat/avc.h | |
parent | 3c0bfa7d1a90a22d5fe8daa415cc689c111562f1 (diff) | |
download | ffmpeg-b401a4ab8aa85c536bd9eee0da8f51551b66c70e.tar.gz |
avformat/mxfenc: support XAVC long gop
Diffstat (limited to 'libavformat/avc.h')
-rw-r--r-- | libavformat/avc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libavformat/avc.h b/libavformat/avc.h index c5e80ff650..a79bf9b2db 100644 --- a/libavformat/avc.h +++ b/libavformat/avc.h @@ -33,5 +33,20 @@ int ff_avc_write_annexb_extradata(const uint8_t *in, uint8_t **buf, int *size); const uint8_t *ff_avc_mp4_find_startcode(const uint8_t *start, const uint8_t *end, int nal_length_size); +uint8_t *ff_nal_unit_extract_rbsp(const uint8_t *src, uint32_t src_len, + uint32_t *dst_len, int header_len); + +typedef struct { + uint8_t id; + uint8_t profile_idc; + uint8_t level_idc; + uint8_t constraint_set_flags; + uint8_t chroma_format_idc; + uint8_t bit_depth_luma; + uint8_t frame_mbs_only_flag; + AVRational sar; +} H264SequenceParameterSet; + +H264SequenceParameterSet *ff_avc_decode_sps(const uint8_t *src, int src_len); #endif /* AVFORMAT_AVC_H */ |