21#ifndef AVCODEC_CODEC_PAR_H
22#define AVCODEC_CODEC_PAR_H
158#if FF_API_OLD_CHANNEL_LAYOUT
166 uint64_t channel_layout;
#define attribute_deprecated
Convenience header that includes libavutil's core.
audio channel layout utility functions
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...
AVCodecParameters * avcodec_parameters_alloc(void)
Allocate a new AVCodecParameters and set its fields to default values (unknown/invalid/0).
int avcodec_parameters_copy(AVCodecParameters *dst, const AVCodecParameters *src)
Copy the contents of src to dst.
void avcodec_parameters_free(AVCodecParameters **par)
Free an AVCodecParameters instance and everything associated with it and write NULL to the supplied p...
AVCodecID
Identify the syntax and semantics of the bitstream.
AVChromaLocation
Location of chroma samples.
AVColorRange
Visual content value range.
AVColorPrimaries
Chromaticity coordinates of the source primaries.
AVColorTransferCharacteristic
Color Transfer Characteristic.
AVColorSpace
YUV colorspace type.
Utilties for rational number calculation.
An AVChannelLayout holds information about the channel layout of audio data.
This struct describes the properties of an encoded stream.
enum AVColorSpace color_space
int extradata_size
Size of the extradata content in bytes.
int frame_size
Audio only.
enum AVFieldOrder field_order
Video only.
int bits_per_coded_sample
The number of bits per sample in the codedwords.
AVChannelLayout ch_layout
Audio only.
int64_t bit_rate
The average bitrate of the encoded data (in bits per second).
int seek_preroll
Audio only.
enum AVMediaType codec_type
General type of the encoded data.
int trailing_padding
Audio only.
int profile
Codec-specific bitstream restrictions that the stream conforms to.
int block_align
Audio only.
int bits_per_raw_sample
This is the number of valid bits in each output sample.
AVRational sample_aspect_ratio
Video only.
int video_delay
Video only.
uint32_t codec_tag
Additional information about the codec (corresponds to the AVI FOURCC).
uint8_t * extradata
Extra binary data needed for initializing the decoder, codec-dependent.
enum AVCodecID codec_id
Specific type of the encoded data (the codec used).
enum AVColorPrimaries color_primaries
int sample_rate
Audio only.
enum AVColorTransferCharacteristic color_trc
int initial_padding
Audio only.
enum AVChromaLocation chroma_location
enum AVColorRange color_range
Video only.
Rational number (pair of numerator and denominator).