Go to the documentation of this file.
21 #ifndef AVCODEC_CODEC_PAR_H
22 #define AVCODEC_CODEC_PAR_H
159 #if FF_API_OLD_CHANNEL_LAYOUT
167 uint64_t channel_layout;
247 #endif // AVCODEC_CODEC_PAR_H
uint8_t * extradata
Extra binary data needed for initializing the decoder, codec-dependent.
enum AVMediaType codec_type
General type of the encoded data.
AVColorTransferCharacteristic
Color Transfer Characteristic.
This struct describes the properties of an encoded stream.
enum AVColorSpace color_space
int seek_preroll
Audio only.
uint32_t codec_tag
Additional information about the codec (corresponds to the AVI FOURCC).
AVColorPrimaries
Chromaticity coordinates of the source primaries.
enum AVColorPrimaries color_primaries
int bits_per_raw_sample
This is the number of valid bits in each output sample.
enum AVColorTransferCharacteristic color_trc
int frame_size
Audio only.
AVRational sample_aspect_ratio
Video only.
void avcodec_parameters_free(AVCodecParameters **par)
Free an AVCodecParameters instance and everything associated with it and write NULL to the supplied p...
Rational number (pair of numerator and denominator).
AVChannelLayout ch_layout
Audio only.
int sample_rate
Audio only.
AVCodecID
Identify the syntax and semantics of the bitstream.
int extradata_size
Size of the extradata content in bytes.
An AVChannelLayout holds information about the channel layout of audio data.
int av_get_audio_frame_duration2(AVCodecParameters *par, int frame_bytes)
This function is the same as av_get_audio_frame_duration(), except it works with AVCodecParameters in...
int profile
Codec-specific bitstream restrictions that the stream conforms to.
#define attribute_deprecated
@ AV_FIELD_TT
Top coded_first, top displayed first.
AVChromaLocation
Location of chroma samples.
AVCodecParameters * avcodec_parameters_alloc(void)
Allocate a new AVCodecParameters and set its fields to default values (unknown/invalid/0).
int block_align
Audio only.
AVColorSpace
YUV colorspace type.
enum AVColorRange color_range
Video only.
enum AVFieldOrder field_order
Video only.
enum AVChromaLocation chroma_location
int trailing_padding
Audio only.
int bits_per_coded_sample
The number of bits per sample in the codedwords.
int video_delay
Video only.
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
@ AV_FIELD_TB
Top coded first, bottom displayed first.
@ AV_FIELD_BB
Bottom coded first, bottom displayed first.
int64_t bit_rate
The average bitrate of the encoded data (in bits per second).
AVColorRange
Visual content value range.
@ AV_FIELD_BT
Bottom coded first, top displayed first.
int initial_padding
Audio only.
int avcodec_parameters_copy(AVCodecParameters *dst, const AVCodecParameters *src)
Copy the contents of src to dst.