Go to the documentation of this file.
88 else if (
data[0] == 0x01)
103 char constraints[8] =
"";
117 uint32_t profile_compatibility_flags = 0;
118 uint8_t high_nibble = 0;
126 if (rbsp_size < 13) {
137 tier = (rbsp_buf[1] & 0x20) == 0 ?
'L' :
'H';
142 profile_compatibility_flags =
AV_RB32(rbsp_buf + 2);
144 profile_compatibility_flags = ((profile_compatibility_flags & 0x55555555
U) << 1) | ((profile_compatibility_flags >> 1) & 0x55555555U);
145 profile_compatibility_flags = ((profile_compatibility_flags & 0x33333333
U) << 2) | ((profile_compatibility_flags >> 2) & 0x33333333U);
146 profile_compatibility_flags = ((profile_compatibility_flags & 0x0F0F0F0F
U) << 4) | ((profile_compatibility_flags >> 4) & 0x0F0F0F0FU);
147 profile_compatibility_flags = ((profile_compatibility_flags & 0x00FF00FF
U) << 8) | ((profile_compatibility_flags >> 8) & 0x00FF00FFU);
148 profile_compatibility = (profile_compatibility_flags << 16) | (profile_compatibility_flags >> 16);
154 high_nibble = rbsp_buf[7] >> 4;
155 snprintf(constraints,
sizeof(constraints),
156 high_nibble ?
"%02x.%x" :
"%02x",
157 rbsp_buf[6], high_nibble);
159 level = rbsp_buf[12];
170 constraints[0] !=
'\0') {
173 profile_compatibility,
tier,
level, constraints);
#define AV_LOG_WARNING
Something somehow does not look correct.
uint8_t * extradata
Extra binary data needed for initializing the decoder, codec-dependent.
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining all references to the list are updated That means that if a filter requires that its input and output have the same format amongst a supported all it has to do is use a reference to the same list of formats query_formats can leave some formats unset and return AVERROR(EAGAIN) to cause the negotiation mechanism toagain later. That can be used by filters with complex requirements to use the format negotiated on one link to set the formats supported on another. Frame references ownership and permissions
This struct describes the properties of an encoded stream.
static void set_vp9_codec_str(void *logctx, const AVCodecParameters *par, const AVRational *frame_rate, AVBPrint *out)
uint32_t codec_tag
Additional information about the codec (corresponds to the AVI FOURCC).
uint8_t chroma_subsampling_y
@ AV_CODEC_ID_MP3
preferred ID for decoding MPEG audio layer 1, 2 or 3
uint8_t color_description_present_flag
#define AV_PROFILE_UNKNOWN
uint8_t chroma_sample_position
Rational number (pair of numerator and denominator).
uint8_t * ff_nal_unit_extract_rbsp(const uint8_t *src, uint32_t src_len, uint32_t *dst_len, int header_len)
uint8_t transfer_characteristics
AVCodecID
Identify the syntax and semantics of the bitstream.
int extradata_size
Size of the extradata content in bytes.
int ff_isom_get_vpcc_features(void *logctx, const AVCodecParameters *par, const uint8_t *data, int len, const AVRational *frame_rate, VPCC *vpcc)
uint8_t matrix_coefficients
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_RB32
int profile
Codec-specific bitstream restrictions that the stream conforms to.
static const struct codec_string codecs[]
int ff_make_codec_str(void *logctx, const AVCodecParameters *par, const AVRational *frame_rate, struct AVBPrint *out)
Make a RFC 4281/6381 like string describing a codec.
#define i(width, name, range_min, range_max)
int ff_av1_parse_seq_header(AV1SequenceParameters *seq, const uint8_t *buf, int size)
Parses a Sequence Header from the the provided buffer.
void av_bprintf(AVBPrint *buf, const char *fmt,...)
uint8_t chroma_subsampling_x
IDirect3DDxgiInterfaceAccess _COM_Outptr_ void ** p
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
#define MKTAG(a, b, c, d)
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_WB32 unsigned int_TMPL AV_RB24
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_WB32 unsigned int_TMPL AV_WB24 unsigned int_TMPL AV_RB16
#define av_fourcc2str(fourcc)