Go to the documentation of this file.
   21 #ifndef AVCODEC_CODEC_PAR_H 
   22 #define AVCODEC_CODEC_PAR_H 
  248 #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
 
This structure stores auxiliary information for decoding, presenting, or otherwise processing the cod...
 
int seek_preroll
Audio only.
 
AVRational framerate
Video 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.
 
int nb_coded_side_data
Amount of entries in coded_side_data.
 
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.
 
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.
 
AVPacketSideData * coded_side_data
Additional data associated with the entire stream.
 
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).
 
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.
 
int avcodec_parameters_copy(AVCodecParameters *dst, const AVCodecParameters *src)
Copy the contents of src to dst.