FFmpeg
Data Structures | Macros | Enumerations | Functions
defs.h File Reference
#include <stdint.h>
#include <stdlib.h>

Go to the source code of this file.

Data Structures

struct  AVPanScan
 Pan Scan area. More...
 
struct  AVCPBProperties
 This structure describes the bitrate properties of an encoded bitstream. More...
 
struct  AVProducerReferenceTime
 This structure supplies correlation between a packet timestamp and a wall clock production time. More...
 

Macros

#define AV_INPUT_BUFFER_PADDING_SIZE   64
 
#define AV_EF_CRCCHECK   (1<<0)
 Verify checksums embedded in the bitstream (could be of either encoded or decoded data, depending on the format) and print an error message on mismatch. More...
 
#define AV_EF_BITSTREAM   (1<<1)
 detect bitstream specification deviations More...
 
#define AV_EF_BUFFER   (1<<2)
 detect improper bitstream length More...
 
#define AV_EF_EXPLODE   (1<<3)
 abort decoding on minor error detection More...
 
#define AV_EF_IGNORE_ERR   (1<<15)
 ignore errors and continue More...
 
#define AV_EF_CAREFUL   (1<<16)
 consider things that violate the spec, are fast to calculate and have not been seen in the wild as errors More...
 
#define AV_EF_COMPLIANT   (1<<17)
 consider all spec non compliances as errors More...
 
#define AV_EF_AGGRESSIVE   (1<<18)
 consider things that a sane encoder/muxer should not do as an error More...
 
#define FF_COMPLIANCE_VERY_STRICT   2
 Strictly conform to an older more strict version of the spec or reference software. More...
 
#define FF_COMPLIANCE_STRICT   1
 Strictly conform to all the things in the spec no matter what consequences. More...
 
#define FF_COMPLIANCE_NORMAL   0
 
#define FF_COMPLIANCE_UNOFFICIAL   -1
 Allow unofficial extensions. More...
 
#define FF_COMPLIANCE_EXPERIMENTAL   -2
 Allow nonstandardized experimental things. More...
 
#define AV_PROFILE_UNKNOWN   -99
 
#define AV_PROFILE_RESERVED   -100
 
#define AV_PROFILE_AAC_MAIN   0
 
#define AV_PROFILE_AAC_LOW   1
 
#define AV_PROFILE_AAC_SSR   2
 
#define AV_PROFILE_AAC_LTP   3
 
#define AV_PROFILE_AAC_HE   4
 
#define AV_PROFILE_AAC_HE_V2   28
 
#define AV_PROFILE_AAC_LD   22
 
#define AV_PROFILE_AAC_ELD   38
 
#define AV_PROFILE_MPEG2_AAC_LOW   128
 
#define AV_PROFILE_MPEG2_AAC_HE   131
 
#define AV_PROFILE_DNXHD   0
 
#define AV_PROFILE_DNXHR_LB   1
 
#define AV_PROFILE_DNXHR_SQ   2
 
#define AV_PROFILE_DNXHR_HQ   3
 
#define AV_PROFILE_DNXHR_HQX   4
 
#define AV_PROFILE_DNXHR_444   5
 
#define AV_PROFILE_DTS   20
 
#define AV_PROFILE_DTS_ES   30
 
#define AV_PROFILE_DTS_96_24   40
 
#define AV_PROFILE_DTS_HD_HRA   50
 
#define AV_PROFILE_DTS_HD_MA   60
 
#define AV_PROFILE_DTS_EXPRESS   70
 
#define AV_PROFILE_DTS_HD_MA_X   61
 
#define AV_PROFILE_DTS_HD_MA_X_IMAX   62
 
#define AV_PROFILE_EAC3_DDP_ATMOS   30
 
#define AV_PROFILE_TRUEHD_ATMOS   30
 
#define AV_PROFILE_MPEG2_422   0
 
#define AV_PROFILE_MPEG2_HIGH   1
 
#define AV_PROFILE_MPEG2_SS   2
 
#define AV_PROFILE_MPEG2_SNR_SCALABLE   3
 
#define AV_PROFILE_MPEG2_MAIN   4
 
#define AV_PROFILE_MPEG2_SIMPLE   5
 
#define AV_PROFILE_H264_CONSTRAINED   (1<<9)
 
#define AV_PROFILE_H264_INTRA   (1<<11)
 
#define AV_PROFILE_H264_BASELINE   66
 
#define AV_PROFILE_H264_CONSTRAINED_BASELINE   (66|AV_PROFILE_H264_CONSTRAINED)
 
#define AV_PROFILE_H264_MAIN   77
 
#define AV_PROFILE_H264_EXTENDED   88
 
#define AV_PROFILE_H264_HIGH   100
 
#define AV_PROFILE_H264_HIGH_10   110
 
#define AV_PROFILE_H264_HIGH_10_INTRA   (110|AV_PROFILE_H264_INTRA)
 
#define AV_PROFILE_H264_MULTIVIEW_HIGH   118
 
#define AV_PROFILE_H264_HIGH_422   122
 
#define AV_PROFILE_H264_HIGH_422_INTRA   (122|AV_PROFILE_H264_INTRA)
 
#define AV_PROFILE_H264_STEREO_HIGH   128
 
#define AV_PROFILE_H264_HIGH_444   144
 
#define AV_PROFILE_H264_HIGH_444_PREDICTIVE   244
 
#define AV_PROFILE_H264_HIGH_444_INTRA   (244|AV_PROFILE_H264_INTRA)
 
#define AV_PROFILE_H264_CAVLC_444   44
 
#define AV_PROFILE_VC1_SIMPLE   0
 
#define AV_PROFILE_VC1_MAIN   1
 
#define AV_PROFILE_VC1_COMPLEX   2
 
#define AV_PROFILE_VC1_ADVANCED   3
 
#define AV_PROFILE_MPEG4_SIMPLE   0
 
#define AV_PROFILE_MPEG4_SIMPLE_SCALABLE   1
 
#define AV_PROFILE_MPEG4_CORE   2
 
#define AV_PROFILE_MPEG4_MAIN   3
 
#define AV_PROFILE_MPEG4_N_BIT   4
 
#define AV_PROFILE_MPEG4_SCALABLE_TEXTURE   5
 
#define AV_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION   6
 
#define AV_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE   7
 
#define AV_PROFILE_MPEG4_HYBRID   8
 
#define AV_PROFILE_MPEG4_ADVANCED_REAL_TIME   9
 
#define AV_PROFILE_MPEG4_CORE_SCALABLE   10
 
#define AV_PROFILE_MPEG4_ADVANCED_CODING   11
 
#define AV_PROFILE_MPEG4_ADVANCED_CORE   12
 
#define AV_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE   13
 
#define AV_PROFILE_MPEG4_SIMPLE_STUDIO   14
 
#define AV_PROFILE_MPEG4_ADVANCED_SIMPLE   15
 
#define AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0   1
 
#define AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1   2
 
#define AV_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION   32768
 
#define AV_PROFILE_JPEG2000_DCINEMA_2K   3
 
#define AV_PROFILE_JPEG2000_DCINEMA_4K   4
 
#define AV_PROFILE_VP9_0   0
 
#define AV_PROFILE_VP9_1   1
 
#define AV_PROFILE_VP9_2   2
 
#define AV_PROFILE_VP9_3   3
 
#define AV_PROFILE_HEVC_MAIN   1
 
#define AV_PROFILE_HEVC_MAIN_10   2
 
#define AV_PROFILE_HEVC_MAIN_STILL_PICTURE   3
 
#define AV_PROFILE_HEVC_REXT   4
 
#define AV_PROFILE_HEVC_SCC   9
 
#define AV_PROFILE_VVC_MAIN_10   1
 
#define AV_PROFILE_VVC_MAIN_10_444   33
 
#define AV_PROFILE_AV1_MAIN   0
 
#define AV_PROFILE_AV1_HIGH   1
 
#define AV_PROFILE_AV1_PROFESSIONAL   2
 
#define AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT   0xc0
 
#define AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT   0xc1
 
#define AV_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT   0xc2
 
#define AV_PROFILE_MJPEG_HUFFMAN_LOSSLESS   0xc3
 
#define AV_PROFILE_MJPEG_JPEG_LS   0xf7
 
#define AV_PROFILE_SBC_MSBC   1
 
#define AV_PROFILE_PRORES_PROXY   0
 
#define AV_PROFILE_PRORES_LT   1
 
#define AV_PROFILE_PRORES_STANDARD   2
 
#define AV_PROFILE_PRORES_HQ   3
 
#define AV_PROFILE_PRORES_4444   4
 
#define AV_PROFILE_PRORES_XQ   5
 
#define AV_PROFILE_ARIB_PROFILE_A   0
 
#define AV_PROFILE_ARIB_PROFILE_C   1
 
#define AV_PROFILE_KLVA_SYNC   0
 
#define AV_PROFILE_KLVA_ASYNC   1
 
#define AV_PROFILE_EVC_BASELINE   0
 
#define AV_PROFILE_EVC_MAIN   1
 
#define AV_LEVEL_UNKNOWN   -99
 

Enumerations

enum  AVFieldOrder {
  AV_FIELD_UNKNOWN, AV_FIELD_PROGRESSIVE, AV_FIELD_TT, AV_FIELD_BB,
  AV_FIELD_TB, AV_FIELD_BT
}
 
enum  AVDiscard {
  AVDISCARD_NONE =-16, AVDISCARD_DEFAULT = 0, AVDISCARD_NONREF = 8, AVDISCARD_BIDIR = 16,
  AVDISCARD_NONINTRA = 24, AVDISCARD_NONKEY = 32, AVDISCARD_ALL = 48
}
 
enum  AVAudioServiceType {
  AV_AUDIO_SERVICE_TYPE_MAIN = 0, AV_AUDIO_SERVICE_TYPE_EFFECTS = 1, AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED = 2, AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED = 3,
  AV_AUDIO_SERVICE_TYPE_DIALOGUE = 4, AV_AUDIO_SERVICE_TYPE_COMMENTARY = 5, AV_AUDIO_SERVICE_TYPE_EMERGENCY = 6, AV_AUDIO_SERVICE_TYPE_VOICE_OVER = 7,
  AV_AUDIO_SERVICE_TYPE_KARAOKE = 8, AV_AUDIO_SERVICE_TYPE_NB
}
 

Functions

AVCPBPropertiesav_cpb_properties_alloc (size_t *size)
 Allocate a CPB properties structure and initialize its fields to default values. More...
 
unsigned int av_xiphlacing (unsigned char *s, unsigned int v)
 Encode extradata length to a buffer. More...
 

Detailed Description

Misc types and constants that do not belong anywhere else.

Definition in file defs.h.

Macro Definition Documentation

◆ AV_EF_CRCCHECK

#define AV_EF_CRCCHECK   (1<<0)

Verify checksums embedded in the bitstream (could be of either encoded or decoded data, depending on the format) and print an error message on mismatch.

If AV_EF_EXPLODE is also set, a mismatching checksum will result in the decoder/demuxer returning an error.

Definition at line 48 of file defs.h.

◆ AV_EF_BITSTREAM

#define AV_EF_BITSTREAM   (1<<1)

detect bitstream specification deviations

Definition at line 49 of file defs.h.

◆ AV_EF_BUFFER

#define AV_EF_BUFFER   (1<<2)

detect improper bitstream length

Definition at line 50 of file defs.h.

◆ AV_EF_EXPLODE

#define AV_EF_EXPLODE   (1<<3)

abort decoding on minor error detection

Definition at line 51 of file defs.h.

◆ AV_EF_IGNORE_ERR

#define AV_EF_IGNORE_ERR   (1<<15)

ignore errors and continue

Definition at line 53 of file defs.h.

◆ AV_EF_CAREFUL

#define AV_EF_CAREFUL   (1<<16)

consider things that violate the spec, are fast to calculate and have not been seen in the wild as errors

Definition at line 54 of file defs.h.

◆ AV_EF_COMPLIANT

#define AV_EF_COMPLIANT   (1<<17)

consider all spec non compliances as errors

Definition at line 55 of file defs.h.

◆ AV_EF_AGGRESSIVE

#define AV_EF_AGGRESSIVE   (1<<18)

consider things that a sane encoder/muxer should not do as an error

Definition at line 56 of file defs.h.

◆ FF_COMPLIANCE_VERY_STRICT

#define FF_COMPLIANCE_VERY_STRICT   2

Strictly conform to an older more strict version of the spec or reference software.

Definition at line 58 of file defs.h.

◆ FF_COMPLIANCE_STRICT

#define FF_COMPLIANCE_STRICT   1

Strictly conform to all the things in the spec no matter what consequences.

Definition at line 59 of file defs.h.

◆ FF_COMPLIANCE_NORMAL

#define FF_COMPLIANCE_NORMAL   0

Definition at line 60 of file defs.h.

◆ FF_COMPLIANCE_UNOFFICIAL

#define FF_COMPLIANCE_UNOFFICIAL   -1

Allow unofficial extensions.

Definition at line 61 of file defs.h.

◆ FF_COMPLIANCE_EXPERIMENTAL

#define FF_COMPLIANCE_EXPERIMENTAL   -2

Allow nonstandardized experimental things.

Definition at line 62 of file defs.h.

◆ AV_PROFILE_UNKNOWN

#define AV_PROFILE_UNKNOWN   -99

Definition at line 65 of file defs.h.

◆ AV_PROFILE_RESERVED

#define AV_PROFILE_RESERVED   -100

Definition at line 66 of file defs.h.

◆ AV_PROFILE_AAC_MAIN

#define AV_PROFILE_AAC_MAIN   0

Definition at line 68 of file defs.h.

◆ AV_PROFILE_AAC_LOW

#define AV_PROFILE_AAC_LOW   1

Definition at line 69 of file defs.h.

◆ AV_PROFILE_AAC_SSR

#define AV_PROFILE_AAC_SSR   2

Definition at line 70 of file defs.h.

◆ AV_PROFILE_AAC_LTP

#define AV_PROFILE_AAC_LTP   3

Definition at line 71 of file defs.h.

◆ AV_PROFILE_AAC_HE

#define AV_PROFILE_AAC_HE   4

Definition at line 72 of file defs.h.

◆ AV_PROFILE_AAC_HE_V2

#define AV_PROFILE_AAC_HE_V2   28

Definition at line 73 of file defs.h.

◆ AV_PROFILE_AAC_LD

#define AV_PROFILE_AAC_LD   22

Definition at line 74 of file defs.h.

◆ AV_PROFILE_AAC_ELD

#define AV_PROFILE_AAC_ELD   38

Definition at line 75 of file defs.h.

◆ AV_PROFILE_MPEG2_AAC_LOW

#define AV_PROFILE_MPEG2_AAC_LOW   128

Definition at line 76 of file defs.h.

◆ AV_PROFILE_MPEG2_AAC_HE

#define AV_PROFILE_MPEG2_AAC_HE   131

Definition at line 77 of file defs.h.

◆ AV_PROFILE_DNXHD

#define AV_PROFILE_DNXHD   0

Definition at line 79 of file defs.h.

◆ AV_PROFILE_DNXHR_LB

#define AV_PROFILE_DNXHR_LB   1

Definition at line 80 of file defs.h.

◆ AV_PROFILE_DNXHR_SQ

#define AV_PROFILE_DNXHR_SQ   2

Definition at line 81 of file defs.h.

◆ AV_PROFILE_DNXHR_HQ

#define AV_PROFILE_DNXHR_HQ   3

Definition at line 82 of file defs.h.

◆ AV_PROFILE_DNXHR_HQX

#define AV_PROFILE_DNXHR_HQX   4

Definition at line 83 of file defs.h.

◆ AV_PROFILE_DNXHR_444

#define AV_PROFILE_DNXHR_444   5

Definition at line 84 of file defs.h.

◆ AV_PROFILE_DTS

#define AV_PROFILE_DTS   20

Definition at line 86 of file defs.h.

◆ AV_PROFILE_DTS_ES

#define AV_PROFILE_DTS_ES   30

Definition at line 87 of file defs.h.

◆ AV_PROFILE_DTS_96_24

#define AV_PROFILE_DTS_96_24   40

Definition at line 88 of file defs.h.

◆ AV_PROFILE_DTS_HD_HRA

#define AV_PROFILE_DTS_HD_HRA   50

Definition at line 89 of file defs.h.

◆ AV_PROFILE_DTS_HD_MA

#define AV_PROFILE_DTS_HD_MA   60

Definition at line 90 of file defs.h.

◆ AV_PROFILE_DTS_EXPRESS

#define AV_PROFILE_DTS_EXPRESS   70

Definition at line 91 of file defs.h.

◆ AV_PROFILE_DTS_HD_MA_X

#define AV_PROFILE_DTS_HD_MA_X   61

Definition at line 92 of file defs.h.

◆ AV_PROFILE_DTS_HD_MA_X_IMAX

#define AV_PROFILE_DTS_HD_MA_X_IMAX   62

Definition at line 93 of file defs.h.

◆ AV_PROFILE_EAC3_DDP_ATMOS

#define AV_PROFILE_EAC3_DDP_ATMOS   30

Definition at line 95 of file defs.h.

◆ AV_PROFILE_TRUEHD_ATMOS

#define AV_PROFILE_TRUEHD_ATMOS   30

Definition at line 97 of file defs.h.

◆ AV_PROFILE_MPEG2_422

#define AV_PROFILE_MPEG2_422   0

Definition at line 99 of file defs.h.

◆ AV_PROFILE_MPEG2_HIGH

#define AV_PROFILE_MPEG2_HIGH   1

Definition at line 100 of file defs.h.

◆ AV_PROFILE_MPEG2_SS

#define AV_PROFILE_MPEG2_SS   2

Definition at line 101 of file defs.h.

◆ AV_PROFILE_MPEG2_SNR_SCALABLE

#define AV_PROFILE_MPEG2_SNR_SCALABLE   3

Definition at line 102 of file defs.h.

◆ AV_PROFILE_MPEG2_MAIN

#define AV_PROFILE_MPEG2_MAIN   4

Definition at line 103 of file defs.h.

◆ AV_PROFILE_MPEG2_SIMPLE

#define AV_PROFILE_MPEG2_SIMPLE   5

Definition at line 104 of file defs.h.

◆ AV_PROFILE_H264_CONSTRAINED

#define AV_PROFILE_H264_CONSTRAINED   (1<<9)

Definition at line 106 of file defs.h.

◆ AV_PROFILE_H264_INTRA

#define AV_PROFILE_H264_INTRA   (1<<11)

Definition at line 107 of file defs.h.

◆ AV_PROFILE_H264_BASELINE

#define AV_PROFILE_H264_BASELINE   66

Definition at line 109 of file defs.h.

◆ AV_PROFILE_H264_CONSTRAINED_BASELINE

#define AV_PROFILE_H264_CONSTRAINED_BASELINE   (66|AV_PROFILE_H264_CONSTRAINED)

Definition at line 110 of file defs.h.

◆ AV_PROFILE_H264_MAIN

#define AV_PROFILE_H264_MAIN   77

Definition at line 111 of file defs.h.

◆ AV_PROFILE_H264_EXTENDED

#define AV_PROFILE_H264_EXTENDED   88

Definition at line 112 of file defs.h.

◆ AV_PROFILE_H264_HIGH

#define AV_PROFILE_H264_HIGH   100

Definition at line 113 of file defs.h.

◆ AV_PROFILE_H264_HIGH_10

#define AV_PROFILE_H264_HIGH_10   110

Definition at line 114 of file defs.h.

◆ AV_PROFILE_H264_HIGH_10_INTRA

#define AV_PROFILE_H264_HIGH_10_INTRA   (110|AV_PROFILE_H264_INTRA)

Definition at line 115 of file defs.h.

◆ AV_PROFILE_H264_MULTIVIEW_HIGH

#define AV_PROFILE_H264_MULTIVIEW_HIGH   118

Definition at line 116 of file defs.h.

◆ AV_PROFILE_H264_HIGH_422

#define AV_PROFILE_H264_HIGH_422   122

Definition at line 117 of file defs.h.

◆ AV_PROFILE_H264_HIGH_422_INTRA

#define AV_PROFILE_H264_HIGH_422_INTRA   (122|AV_PROFILE_H264_INTRA)

Definition at line 118 of file defs.h.

◆ AV_PROFILE_H264_STEREO_HIGH

#define AV_PROFILE_H264_STEREO_HIGH   128

Definition at line 119 of file defs.h.

◆ AV_PROFILE_H264_HIGH_444

#define AV_PROFILE_H264_HIGH_444   144

Definition at line 120 of file defs.h.

◆ AV_PROFILE_H264_HIGH_444_PREDICTIVE

#define AV_PROFILE_H264_HIGH_444_PREDICTIVE   244

Definition at line 121 of file defs.h.

◆ AV_PROFILE_H264_HIGH_444_INTRA

#define AV_PROFILE_H264_HIGH_444_INTRA   (244|AV_PROFILE_H264_INTRA)

Definition at line 122 of file defs.h.

◆ AV_PROFILE_H264_CAVLC_444

#define AV_PROFILE_H264_CAVLC_444   44

Definition at line 123 of file defs.h.

◆ AV_PROFILE_VC1_SIMPLE

#define AV_PROFILE_VC1_SIMPLE   0

Definition at line 125 of file defs.h.

◆ AV_PROFILE_VC1_MAIN

#define AV_PROFILE_VC1_MAIN   1

Definition at line 126 of file defs.h.

◆ AV_PROFILE_VC1_COMPLEX

#define AV_PROFILE_VC1_COMPLEX   2

Definition at line 127 of file defs.h.

◆ AV_PROFILE_VC1_ADVANCED

#define AV_PROFILE_VC1_ADVANCED   3

Definition at line 128 of file defs.h.

◆ AV_PROFILE_MPEG4_SIMPLE

#define AV_PROFILE_MPEG4_SIMPLE   0

Definition at line 130 of file defs.h.

◆ AV_PROFILE_MPEG4_SIMPLE_SCALABLE

#define AV_PROFILE_MPEG4_SIMPLE_SCALABLE   1

Definition at line 131 of file defs.h.

◆ AV_PROFILE_MPEG4_CORE

#define AV_PROFILE_MPEG4_CORE   2

Definition at line 132 of file defs.h.

◆ AV_PROFILE_MPEG4_MAIN

#define AV_PROFILE_MPEG4_MAIN   3

Definition at line 133 of file defs.h.

◆ AV_PROFILE_MPEG4_N_BIT

#define AV_PROFILE_MPEG4_N_BIT   4

Definition at line 134 of file defs.h.

◆ AV_PROFILE_MPEG4_SCALABLE_TEXTURE

#define AV_PROFILE_MPEG4_SCALABLE_TEXTURE   5

Definition at line 135 of file defs.h.

◆ AV_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION

#define AV_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION   6

Definition at line 136 of file defs.h.

◆ AV_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE

#define AV_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE   7

Definition at line 137 of file defs.h.

◆ AV_PROFILE_MPEG4_HYBRID

#define AV_PROFILE_MPEG4_HYBRID   8

Definition at line 138 of file defs.h.

◆ AV_PROFILE_MPEG4_ADVANCED_REAL_TIME

#define AV_PROFILE_MPEG4_ADVANCED_REAL_TIME   9

Definition at line 139 of file defs.h.

◆ AV_PROFILE_MPEG4_CORE_SCALABLE

#define AV_PROFILE_MPEG4_CORE_SCALABLE   10

Definition at line 140 of file defs.h.

◆ AV_PROFILE_MPEG4_ADVANCED_CODING

#define AV_PROFILE_MPEG4_ADVANCED_CODING   11

Definition at line 141 of file defs.h.

◆ AV_PROFILE_MPEG4_ADVANCED_CORE

#define AV_PROFILE_MPEG4_ADVANCED_CORE   12

Definition at line 142 of file defs.h.

◆ AV_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE

#define AV_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE   13

Definition at line 143 of file defs.h.

◆ AV_PROFILE_MPEG4_SIMPLE_STUDIO

#define AV_PROFILE_MPEG4_SIMPLE_STUDIO   14

Definition at line 144 of file defs.h.

◆ AV_PROFILE_MPEG4_ADVANCED_SIMPLE

#define AV_PROFILE_MPEG4_ADVANCED_SIMPLE   15

Definition at line 145 of file defs.h.

◆ AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0

#define AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0   1

Definition at line 147 of file defs.h.

◆ AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1

#define AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1   2

Definition at line 148 of file defs.h.

◆ AV_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION

#define AV_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION   32768

Definition at line 149 of file defs.h.

◆ AV_PROFILE_JPEG2000_DCINEMA_2K

#define AV_PROFILE_JPEG2000_DCINEMA_2K   3

Definition at line 150 of file defs.h.

◆ AV_PROFILE_JPEG2000_DCINEMA_4K

#define AV_PROFILE_JPEG2000_DCINEMA_4K   4

Definition at line 151 of file defs.h.

◆ AV_PROFILE_VP9_0

#define AV_PROFILE_VP9_0   0

Definition at line 153 of file defs.h.

◆ AV_PROFILE_VP9_1

#define AV_PROFILE_VP9_1   1

Definition at line 154 of file defs.h.

◆ AV_PROFILE_VP9_2

#define AV_PROFILE_VP9_2   2

Definition at line 155 of file defs.h.

◆ AV_PROFILE_VP9_3

#define AV_PROFILE_VP9_3   3

Definition at line 156 of file defs.h.

◆ AV_PROFILE_HEVC_MAIN

#define AV_PROFILE_HEVC_MAIN   1

Definition at line 158 of file defs.h.

◆ AV_PROFILE_HEVC_MAIN_10

#define AV_PROFILE_HEVC_MAIN_10   2

Definition at line 159 of file defs.h.

◆ AV_PROFILE_HEVC_MAIN_STILL_PICTURE

#define AV_PROFILE_HEVC_MAIN_STILL_PICTURE   3

Definition at line 160 of file defs.h.

◆ AV_PROFILE_HEVC_REXT

#define AV_PROFILE_HEVC_REXT   4

Definition at line 161 of file defs.h.

◆ AV_PROFILE_HEVC_SCC

#define AV_PROFILE_HEVC_SCC   9

Definition at line 162 of file defs.h.

◆ AV_PROFILE_VVC_MAIN_10

#define AV_PROFILE_VVC_MAIN_10   1

Definition at line 164 of file defs.h.

◆ AV_PROFILE_VVC_MAIN_10_444

#define AV_PROFILE_VVC_MAIN_10_444   33

Definition at line 165 of file defs.h.

◆ AV_PROFILE_AV1_MAIN

#define AV_PROFILE_AV1_MAIN   0

Definition at line 167 of file defs.h.

◆ AV_PROFILE_AV1_HIGH

#define AV_PROFILE_AV1_HIGH   1

Definition at line 168 of file defs.h.

◆ AV_PROFILE_AV1_PROFESSIONAL

#define AV_PROFILE_AV1_PROFESSIONAL   2

Definition at line 169 of file defs.h.

◆ AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT

#define AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT   0xc0

Definition at line 171 of file defs.h.

◆ AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT

#define AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT   0xc1

Definition at line 172 of file defs.h.

◆ AV_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT

#define AV_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT   0xc2

Definition at line 173 of file defs.h.

◆ AV_PROFILE_MJPEG_HUFFMAN_LOSSLESS

#define AV_PROFILE_MJPEG_HUFFMAN_LOSSLESS   0xc3

Definition at line 174 of file defs.h.

◆ AV_PROFILE_MJPEG_JPEG_LS

#define AV_PROFILE_MJPEG_JPEG_LS   0xf7

Definition at line 175 of file defs.h.

◆ AV_PROFILE_SBC_MSBC

#define AV_PROFILE_SBC_MSBC   1

Definition at line 177 of file defs.h.

◆ AV_PROFILE_PRORES_PROXY

#define AV_PROFILE_PRORES_PROXY   0

Definition at line 179 of file defs.h.

◆ AV_PROFILE_PRORES_LT

#define AV_PROFILE_PRORES_LT   1

Definition at line 180 of file defs.h.

◆ AV_PROFILE_PRORES_STANDARD

#define AV_PROFILE_PRORES_STANDARD   2

Definition at line 181 of file defs.h.

◆ AV_PROFILE_PRORES_HQ

#define AV_PROFILE_PRORES_HQ   3

Definition at line 182 of file defs.h.

◆ AV_PROFILE_PRORES_4444

#define AV_PROFILE_PRORES_4444   4

Definition at line 183 of file defs.h.

◆ AV_PROFILE_PRORES_XQ

#define AV_PROFILE_PRORES_XQ   5

Definition at line 184 of file defs.h.

◆ AV_PROFILE_ARIB_PROFILE_A

#define AV_PROFILE_ARIB_PROFILE_A   0

Definition at line 186 of file defs.h.

◆ AV_PROFILE_ARIB_PROFILE_C

#define AV_PROFILE_ARIB_PROFILE_C   1

Definition at line 187 of file defs.h.

◆ AV_PROFILE_KLVA_SYNC

#define AV_PROFILE_KLVA_SYNC   0

Definition at line 189 of file defs.h.

◆ AV_PROFILE_KLVA_ASYNC

#define AV_PROFILE_KLVA_ASYNC   1

Definition at line 190 of file defs.h.

◆ AV_PROFILE_EVC_BASELINE

#define AV_PROFILE_EVC_BASELINE   0

Definition at line 192 of file defs.h.

◆ AV_PROFILE_EVC_MAIN

#define AV_PROFILE_EVC_MAIN   1

Definition at line 193 of file defs.h.

◆ AV_LEVEL_UNKNOWN

#define AV_LEVEL_UNKNOWN   -99

Definition at line 196 of file defs.h.

Enumeration Type Documentation

◆ AVFieldOrder

Enumerator
AV_FIELD_UNKNOWN 
AV_FIELD_PROGRESSIVE 
AV_FIELD_TT 

Top coded_first, top displayed first.

AV_FIELD_BB 

Bottom coded first, bottom displayed first.

AV_FIELD_TB 

Top coded first, bottom displayed first.

AV_FIELD_BT 

Bottom coded first, top displayed first.

Definition at line 198 of file defs.h.

◆ AVAudioServiceType

Enumerator
AV_AUDIO_SERVICE_TYPE_MAIN 
AV_AUDIO_SERVICE_TYPE_EFFECTS 
AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED 
AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED 
AV_AUDIO_SERVICE_TYPE_DIALOGUE 
AV_AUDIO_SERVICE_TYPE_COMMENTARY 
AV_AUDIO_SERVICE_TYPE_EMERGENCY 
AV_AUDIO_SERVICE_TYPE_VOICE_OVER 
AV_AUDIO_SERVICE_TYPE_KARAOKE 
AV_AUDIO_SERVICE_TYPE_NB 

Not part of ABI.

Definition at line 222 of file defs.h.

Function Documentation

◆ av_cpb_properties_alloc()

AVCPBProperties* av_cpb_properties_alloc ( size_t *  size)

Allocate a CPB properties structure and initialize its fields to default values.

Parameters
sizeif non-NULL, the size of the allocated struct will be written here. This is useful for embedding it in side data.
Returns
the newly allocated struct or NULL on failure

Definition at line 978 of file utils.c.

Referenced by avformat_find_stream_info(), ff_encode_add_cpb_side_data(), and ff_mpv_encode_picture().

◆ av_xiphlacing()

unsigned int av_xiphlacing ( unsigned char *  s,
unsigned int  v 
)

Encode extradata length to a buffer.

Used by xiph codecs.

Parameters
sbuffer to write to; must be at least (v/255+1) bytes long
vsize of extradata in bytes
Returns
number of bytes written to the buffer.

Definition at line 820 of file utils.c.

Referenced by fixup_vorbis_headers(), libvorbis_encode_init(), parse_packed_headers(), put_main_header(), and track_header().