Go to the documentation of this file.
21 #ifndef AVCODEC_CODEC_PAR_H
22 #define AVCODEC_CODEC_PAR_H
234 #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.
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...
enum AVColorPrimaries color_primaries
void avcodec_parameters_free(AVCodecParameters **par)
Free an AVCodecParameters instance and everything associated with it and write NULL to the supplied p...
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.
Rational number (pair of numerator and denominator).
int sample_rate
Audio only.
AVCodecID
Identify the syntax and semantics of the bitstream.
int extradata_size
Size of the extradata content in bytes.
int profile
Codec-specific bitstream restrictions that the stream conforms to.
AVChromaLocation
Location of chroma samples.
int block_align
Audio only.
AVColorSpace
YUV colorspace type.
enum AVColorRange color_range
Video only.
enum AVFieldOrder field_order
Video only.
AVCodecParameters * avcodec_parameters_alloc(void)
Allocate a new AVCodecParameters and set its fields to default values (unknown/invalid/0).
enum AVChromaLocation chroma_location
int trailing_padding
Audio only.
int avcodec_parameters_copy(AVCodecParameters *dst, const AVCodecParameters *src)
Copy the contents of src to dst.
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).
uint64_t channel_layout
Audio only.
int64_t bit_rate
The average bitrate of the encoded data (in bits per second).
AVColorRange
Visual content value range.
int initial_padding
Audio only.