diff options
author | James Almer <jamrial@gmail.com> | 2023-06-17 18:44:12 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-06-19 12:57:31 -0300 |
commit | 5cb9ef93000048afe29ce1c67f151ad3fffcd83a (patch) | |
tree | d078abf83a1b8caae9c610726e15e48c906c075e /libavcodec/evc_parse.h | |
parent | 56e52e870d3c71a1bde753f2f535316f80a9bbec (diff) | |
download | ffmpeg-5cb9ef93000048afe29ce1c67f151ad3fffcd83a.tar.gz |
avcodec/evc_parse: remove ff_evc_parse_nal_unit()
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/evc_parse.h')
-rw-r--r-- | libavcodec/evc_parse.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/libavcodec/evc_parse.h b/libavcodec/evc_parse.h index f31075ff9c..a1fbbc643d 100644 --- a/libavcodec/evc_parse.h +++ b/libavcodec/evc_parse.h @@ -81,46 +81,6 @@ typedef struct EVCParserPoc { int DocOffset; // the decoding order count of the previous picture } EVCParserPoc; -typedef struct EVCParserContext { - EVCParamSets ps; - EVCParserPoc poc; - - int nuh_temporal_id; // the value of TemporalId (shall be the same for all VCL NAL units of an Access Unit) - int nalu_type; // the current NALU type - - // Dimensions of the decoded video intended for presentation. - int width; - int height; - - // Dimensions of the coded video. - int coded_width; - int coded_height; - - // The format of the coded data, corresponds to enum AVPixelFormat - int format; - - // AV_PICTURE_TYPE_I, EVC_SLICE_TYPE_P, AV_PICTURE_TYPE_B - int pict_type; - - // Set by parser to 1 for key frames and 0 for non-key frames - int key_frame; - - // Picture number incremented in presentation or output order. - // This corresponds to EVCEVCParserPoc::PicOrderCntVal - int output_picture_number; - - // profile - // 0: FF_PROFILE_EVC_BASELINE - // 1: FF_PROFILE_EVC_MAIN - int profile; - - // Framerate value in the compressed bitstream - AVRational framerate; - - int parsed_extradata; - -} EVCParserContext; - static inline int evc_get_nalu_type(const uint8_t *bits, int bits_size, void *logctx) { int unit_type_plus1 = 0; @@ -157,8 +117,6 @@ static inline uint32_t evc_read_nal_unit_length(const uint8_t *bits, int bits_si // nuh_temporal_id specifies a temporal identifier for the NAL unit int ff_evc_get_temporal_id(const uint8_t *bits, int bits_size, void *logctx); -int ff_evc_parse_nal_unit(EVCParserContext *ctx, const uint8_t *buf, int buf_size, void *logctx); - int ff_evc_parse_slice_header(EVCParserSliceHeader *sh, const EVCParamSets *ps, enum EVCNALUnitType nalu_type, const uint8_t *buf, int buf_size); |