FFmpeg
Data Structures | Macros | Enumerations | Functions
avcodec.h File Reference
#include <errno.h>
#include "libavutil/samplefmt.h"
#include "libavutil/attributes.h"
#include "libavutil/avutil.h"
#include "libavutil/buffer.h"
#include "libavutil/cpu.h"
#include "libavutil/channel_layout.h"
#include "libavutil/dict.h"
#include "libavutil/frame.h"
#include "libavutil/hwcontext.h"
#include "libavutil/log.h"
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"
#include "version.h"

Go to the source code of this file.

Data Structures

struct  AVCodecDescriptor
 This struct describes the properties of a single codec described by an AVCodecID. More...
 
struct  RcOverride
 
struct  AVPanScan
 Pan Scan area. More...
 
struct  AVCPBProperties
 This structure describes the bitrate properties of an encoded bitstream. More...
 
struct  AVPacketSideData
 
struct  AVPacket
 This structure stores compressed data. More...
 
struct  AVCodecContext
 main external API structure. More...
 
struct  AVProfile
 AVProfile. More...
 
struct  AVCodecHWConfig
 
struct  AVCodec
 AVCodec. More...
 
struct  AVHWAccel
 
struct  AVPicture
 Picture data structure. More...
 
struct  AVSubtitleRect
 
struct  AVSubtitle
 
struct  AVCodecParameters
 This struct describes the properties of an encoded stream. More...
 
struct  AVCodecParserContext
 
struct  AVCodecParser
 
struct  AVBitStreamFilterContext
 
struct  AVBSFContext
 The bitstream filter state. More...
 
struct  AVBitStreamFilter
 

Macros

#define AV_CODEC_ID_IFF_BYTERUN1   AV_CODEC_ID_IFF_ILBM
 
#define AV_CODEC_ID_H265   AV_CODEC_ID_HEVC
 
#define AV_CODEC_PROP_INTRA_ONLY   (1 << 0)
 Codec uses only intra compression. More...
 
#define AV_CODEC_PROP_LOSSY   (1 << 1)
 Codec supports lossy compression. More...
 
#define AV_CODEC_PROP_LOSSLESS   (1 << 2)
 Codec supports lossless compression. More...
 
#define AV_CODEC_PROP_REORDER   (1 << 3)
 Codec supports frame reordering. More...
 
#define AV_CODEC_PROP_BITMAP_SUB   (1 << 16)
 Subtitle codec is bitmap based Decoded AVSubtitle data can be read from the AVSubtitleRect->pict field. More...
 
#define AV_CODEC_PROP_TEXT_SUB   (1 << 17)
 Subtitle codec is text based. More...
 
#define AV_INPUT_BUFFER_PADDING_SIZE   64
 
#define AV_INPUT_BUFFER_MIN_SIZE   16384
 
#define AV_CODEC_FLAG_UNALIGNED   (1 << 0)
 Allow decoders to produce frames with data planes that are not aligned to CPU requirements (e.g. More...
 
#define AV_CODEC_FLAG_QSCALE   (1 << 1)
 Use fixed qscale. More...
 
#define AV_CODEC_FLAG_4MV   (1 << 2)
 4 MV per MB allowed / advanced prediction for H.263. More...
 
#define AV_CODEC_FLAG_OUTPUT_CORRUPT   (1 << 3)
 Output even those frames that might be corrupted. More...
 
#define AV_CODEC_FLAG_QPEL   (1 << 4)
 Use qpel MC. More...
 
#define AV_CODEC_FLAG_DROPCHANGED   (1 << 5)
 Don't output frames whose parameters differ from first decoded frame in stream. More...
 
#define AV_CODEC_FLAG_PASS1   (1 << 9)
 Use internal 2pass ratecontrol in first pass mode. More...
 
#define AV_CODEC_FLAG_PASS2   (1 << 10)
 Use internal 2pass ratecontrol in second pass mode. More...
 
#define AV_CODEC_FLAG_LOOP_FILTER   (1 << 11)
 loop filter. More...
 
#define AV_CODEC_FLAG_GRAY   (1 << 13)
 Only decode/encode grayscale. More...
 
#define AV_CODEC_FLAG_PSNR   (1 << 15)
 error[?] variables will be set during encoding. More...
 
#define AV_CODEC_FLAG_TRUNCATED   (1 << 16)
 Input bitstream might be truncated at a random location instead of only at frame boundaries. More...
 
#define AV_CODEC_FLAG_INTERLACED_DCT   (1 << 18)
 Use interlaced DCT. More...
 
#define AV_CODEC_FLAG_LOW_DELAY   (1 << 19)
 Force low delay. More...
 
#define AV_CODEC_FLAG_GLOBAL_HEADER   (1 << 22)
 Place global headers in extradata instead of every keyframe. More...
 
#define AV_CODEC_FLAG_BITEXACT   (1 << 23)
 Use only bitexact stuff (except (I)DCT). More...
 
#define AV_CODEC_FLAG_AC_PRED   (1 << 24)
 H.263 advanced intra coding / MPEG-4 AC prediction. More...
 
#define AV_CODEC_FLAG_INTERLACED_ME   (1 << 29)
 interlaced motion estimation More...
 
#define AV_CODEC_FLAG_CLOSED_GOP   (1U << 31)
 
#define AV_CODEC_FLAG2_FAST   (1 << 0)
 Allow non spec compliant speedup tricks. More...
 
#define AV_CODEC_FLAG2_NO_OUTPUT   (1 << 2)
 Skip bitstream encoding. More...
 
#define AV_CODEC_FLAG2_LOCAL_HEADER   (1 << 3)
 Place global headers at every keyframe instead of in extradata. More...
 
#define AV_CODEC_FLAG2_DROP_FRAME_TIMECODE   (1 << 13)
 timecode is in drop frame format. More...
 
#define AV_CODEC_FLAG2_CHUNKS   (1 << 15)
 Input bitstream might be truncated at a packet boundaries instead of only at frame boundaries. More...
 
#define AV_CODEC_FLAG2_IGNORE_CROP   (1 << 16)
 Discard cropping information from SPS. More...
 
#define AV_CODEC_FLAG2_SHOW_ALL   (1 << 22)
 Show all frames before the first keyframe. More...
 
#define AV_CODEC_FLAG2_EXPORT_MVS   (1 << 28)
 Export motion vectors through frame side data. More...
 
#define AV_CODEC_FLAG2_SKIP_MANUAL   (1 << 29)
 Do not skip samples and export skip information as frame side data. More...
 
#define AV_CODEC_FLAG2_RO_FLUSH_NOOP   (1 << 30)
 Do not reset ASS ReadOrder field on flush (subtitles decoding) More...
 
#define AV_CODEC_CAP_DRAW_HORIZ_BAND   (1 << 0)
 Decoder can use draw_horiz_band callback. More...
 
#define AV_CODEC_CAP_DR1   (1 << 1)
 Codec uses get_buffer() for allocating buffers and supports custom allocators. More...
 
#define AV_CODEC_CAP_TRUNCATED   (1 << 3)
 
#define AV_CODEC_CAP_DELAY   (1 << 5)
 Encoder or decoder requires flushing with NULL input at the end in order to give the complete and correct output. More...
 
#define AV_CODEC_CAP_SMALL_LAST_FRAME   (1 << 6)
 Codec can be fed a final frame with a smaller size. More...
 
#define AV_CODEC_CAP_SUBFRAMES   (1 << 8)
 Codec can output multiple frames per AVPacket Normally demuxers return one frame at a time, demuxers which do not do are connected to a parser to split what they return into proper frames. More...
 
#define AV_CODEC_CAP_EXPERIMENTAL   (1 << 9)
 Codec is experimental and is thus avoided in favor of non experimental encoders. More...
 
#define AV_CODEC_CAP_CHANNEL_CONF   (1 << 10)
 Codec should fill in channel configuration and samplerate instead of container. More...
 
#define AV_CODEC_CAP_FRAME_THREADS   (1 << 12)
 Codec supports frame-level multithreading. More...
 
#define AV_CODEC_CAP_SLICE_THREADS   (1 << 13)
 Codec supports slice-based (or partition-based) multithreading. More...
 
#define AV_CODEC_CAP_PARAM_CHANGE   (1 << 14)
 Codec supports changed parameters at any point. More...
 
#define AV_CODEC_CAP_AUTO_THREADS   (1 << 15)
 Codec supports avctx->thread_count == 0 (auto). More...
 
#define AV_CODEC_CAP_VARIABLE_FRAME_SIZE   (1 << 16)
 Audio encoder supports receiving a different number of samples in each call. More...
 
#define AV_CODEC_CAP_AVOID_PROBING   (1 << 17)
 Decoder is not a preferred choice for probing. More...
 
#define AV_CODEC_CAP_INTRA_ONLY   0x40000000
 Codec is intra only. More...
 
#define AV_CODEC_CAP_LOSSLESS   0x80000000
 Codec is lossless. More...
 
#define AV_CODEC_CAP_HARDWARE   (1 << 18)
 Codec is backed by a hardware implementation. More...
 
#define AV_CODEC_CAP_HYBRID   (1 << 19)
 Codec is potentially backed by a hardware implementation, but not necessarily. More...
 
#define AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE   (1 << 20)
 This codec takes the reordered_opaque field from input AVFrames and returns it in the corresponding field in AVCodecContext after encoding. More...
 
#define AV_GET_BUFFER_FLAG_REF   (1 << 0)
 The decoder will keep a reference to the frame and may reuse it later. More...
 
#define AV_PKT_DATA_QUALITY_FACTOR   AV_PKT_DATA_QUALITY_STATS
 
#define AV_PKT_FLAG_KEY   0x0001
 The packet contains a keyframe. More...
 
#define AV_PKT_FLAG_CORRUPT   0x0002
 The packet content is corrupted. More...
 
#define AV_PKT_FLAG_DISCARD   0x0004
 Flag is used to discard packets which are required to maintain valid decoder state but are not required for output and should be dropped after decoding. More...
 
#define AV_PKT_FLAG_TRUSTED   0x0008
 The packet comes from a trusted source. More...
 
#define AV_PKT_FLAG_DISPOSABLE   0x0010
 Flag is used to indicate packets that contain frames that can be discarded by the decoder. More...
 
#define FF_COMPRESSION_DEFAULT   -1
 
#define FF_PRED_LEFT   0
 
#define FF_PRED_PLANE   1
 
#define FF_PRED_MEDIAN   2
 
#define FF_CMP_SAD   0
 
#define FF_CMP_SSE   1
 
#define FF_CMP_SATD   2
 
#define FF_CMP_DCT   3
 
#define FF_CMP_PSNR   4
 
#define FF_CMP_BIT   5
 
#define FF_CMP_RD   6
 
#define FF_CMP_ZERO   7
 
#define FF_CMP_VSAD   8
 
#define FF_CMP_VSSE   9
 
#define FF_CMP_NSSE   10
 
#define FF_CMP_W53   11
 
#define FF_CMP_W97   12
 
#define FF_CMP_DCTMAX   13
 
#define FF_CMP_DCT264   14
 
#define FF_CMP_MEDIAN_SAD   15
 
#define FF_CMP_CHROMA   256
 
#define SLICE_FLAG_CODED_ORDER   0x0001
 draw_horiz_band() is called in coded order instead of display More...
 
#define SLICE_FLAG_ALLOW_FIELD   0x0002
 allow draw_horiz_band() with field slices (MPEG-2 field pics) More...
 
#define SLICE_FLAG_ALLOW_PLANE   0x0004
 allow draw_horiz_band() with 1 component at a time (SVQ1) More...
 
#define FF_MB_DECISION_SIMPLE   0
 uses mb_cmp More...
 
#define FF_MB_DECISION_BITS   1
 chooses the one which needs the fewest bits More...
 
#define FF_MB_DECISION_RD   2
 rate distortion More...
 
#define FF_CODER_TYPE_VLC   0
 
#define FF_CODER_TYPE_AC   1
 
#define FF_CODER_TYPE_RAW   2
 
#define FF_CODER_TYPE_RLE   3
 
#define FF_BUG_AUTODETECT   1
 autodetection More...
 
#define FF_BUG_XVID_ILACE   4
 
#define FF_BUG_UMP4   8
 
#define FF_BUG_NO_PADDING   16
 
#define FF_BUG_AMV   32
 
#define FF_BUG_QPEL_CHROMA   64
 
#define FF_BUG_STD_QPEL   128
 
#define FF_BUG_QPEL_CHROMA2   256
 
#define FF_BUG_DIRECT_BLOCKSIZE   512
 
#define FF_BUG_EDGE   1024
 
#define FF_BUG_HPEL_CHROMA   2048
 
#define FF_BUG_DC_CLIP   4096
 
#define FF_BUG_MS   8192
 Work around various bugs in Microsoft's broken decoders. More...
 
#define FF_BUG_TRUNCATED   16384
 
#define FF_BUG_IEDGE   32768
 
#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 FF_EC_GUESS_MVS   1
 
#define FF_EC_DEBLOCK   2
 
#define FF_EC_FAVOR_INTER   256
 
#define FF_DEBUG_PICT_INFO   1
 
#define FF_DEBUG_RC   2
 
#define FF_DEBUG_BITSTREAM   4
 
#define FF_DEBUG_MB_TYPE   8
 
#define FF_DEBUG_QP   16
 
#define FF_DEBUG_DCT_COEFF   0x00000040
 
#define FF_DEBUG_SKIP   0x00000080
 
#define FF_DEBUG_STARTCODE   0x00000100
 
#define FF_DEBUG_ER   0x00000400
 
#define FF_DEBUG_MMCO   0x00000800
 
#define FF_DEBUG_BUGS   0x00001000
 
#define FF_DEBUG_BUFFERS   0x00008000
 
#define FF_DEBUG_THREADS   0x00010000
 
#define FF_DEBUG_GREEN_MD   0x00800000
 
#define FF_DEBUG_NOMC   0x01000000
 
#define AV_EF_CRCCHECK   (1<<0)
 Verify checksums embedded in the bitstream (could be of either encoded or decoded data, depending on the codec) 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 should not do as an error More...
 
#define FF_DCT_AUTO   0
 
#define FF_DCT_FASTINT   1
 
#define FF_DCT_INT   2
 
#define FF_DCT_MMX   3
 
#define FF_DCT_ALTIVEC   5
 
#define FF_DCT_FAAN   6
 
#define FF_IDCT_AUTO   0
 
#define FF_IDCT_INT   1
 
#define FF_IDCT_SIMPLE   2
 
#define FF_IDCT_SIMPLEMMX   3
 
#define FF_IDCT_ARM   7
 
#define FF_IDCT_ALTIVEC   8
 
#define FF_IDCT_SIMPLEARM   10
 
#define FF_IDCT_XVID   14
 
#define FF_IDCT_SIMPLEARMV5TE   16
 
#define FF_IDCT_SIMPLEARMV6   17
 
#define FF_IDCT_FAAN   20
 
#define FF_IDCT_SIMPLENEON   22
 
#define FF_IDCT_NONE   24 /* Used by XvMC to extract IDCT coefficients with FF_IDCT_PERM_NONE */
 
#define FF_IDCT_SIMPLEAUTO   128
 
#define FF_THREAD_FRAME   1
 Decode more than one frame at once. More...
 
#define FF_THREAD_SLICE   2
 Decode more than one part of a single frame at once. More...
 
#define FF_PROFILE_UNKNOWN   -99
 
#define FF_PROFILE_RESERVED   -100
 
#define FF_PROFILE_AAC_MAIN   0
 
#define FF_PROFILE_AAC_LOW   1
 
#define FF_PROFILE_AAC_SSR   2
 
#define FF_PROFILE_AAC_LTP   3
 
#define FF_PROFILE_AAC_HE   4
 
#define FF_PROFILE_AAC_HE_V2   28
 
#define FF_PROFILE_AAC_LD   22
 
#define FF_PROFILE_AAC_ELD   38
 
#define FF_PROFILE_MPEG2_AAC_LOW   128
 
#define FF_PROFILE_MPEG2_AAC_HE   131
 
#define FF_PROFILE_DNXHD   0
 
#define FF_PROFILE_DNXHR_LB   1
 
#define FF_PROFILE_DNXHR_SQ   2
 
#define FF_PROFILE_DNXHR_HQ   3
 
#define FF_PROFILE_DNXHR_HQX   4
 
#define FF_PROFILE_DNXHR_444   5
 
#define FF_PROFILE_DTS   20
 
#define FF_PROFILE_DTS_ES   30
 
#define FF_PROFILE_DTS_96_24   40
 
#define FF_PROFILE_DTS_HD_HRA   50
 
#define FF_PROFILE_DTS_HD_MA   60
 
#define FF_PROFILE_DTS_EXPRESS   70
 
#define FF_PROFILE_MPEG2_422   0
 
#define FF_PROFILE_MPEG2_HIGH   1
 
#define FF_PROFILE_MPEG2_SS   2
 
#define FF_PROFILE_MPEG2_SNR_SCALABLE   3
 
#define FF_PROFILE_MPEG2_MAIN   4
 
#define FF_PROFILE_MPEG2_SIMPLE   5
 
#define FF_PROFILE_H264_CONSTRAINED   (1<<9)
 
#define FF_PROFILE_H264_INTRA   (1<<11)
 
#define FF_PROFILE_H264_BASELINE   66
 
#define FF_PROFILE_H264_CONSTRAINED_BASELINE   (66|FF_PROFILE_H264_CONSTRAINED)
 
#define FF_PROFILE_H264_MAIN   77
 
#define FF_PROFILE_H264_EXTENDED   88
 
#define FF_PROFILE_H264_HIGH   100
 
#define FF_PROFILE_H264_HIGH_10   110
 
#define FF_PROFILE_H264_HIGH_10_INTRA   (110|FF_PROFILE_H264_INTRA)
 
#define FF_PROFILE_H264_MULTIVIEW_HIGH   118
 
#define FF_PROFILE_H264_HIGH_422   122
 
#define FF_PROFILE_H264_HIGH_422_INTRA   (122|FF_PROFILE_H264_INTRA)
 
#define FF_PROFILE_H264_STEREO_HIGH   128
 
#define FF_PROFILE_H264_HIGH_444   144
 
#define FF_PROFILE_H264_HIGH_444_PREDICTIVE   244
 
#define FF_PROFILE_H264_HIGH_444_INTRA   (244|FF_PROFILE_H264_INTRA)
 
#define FF_PROFILE_H264_CAVLC_444   44
 
#define FF_PROFILE_VC1_SIMPLE   0
 
#define FF_PROFILE_VC1_MAIN   1
 
#define FF_PROFILE_VC1_COMPLEX   2
 
#define FF_PROFILE_VC1_ADVANCED   3
 
#define FF_PROFILE_MPEG4_SIMPLE   0
 
#define FF_PROFILE_MPEG4_SIMPLE_SCALABLE   1
 
#define FF_PROFILE_MPEG4_CORE   2
 
#define FF_PROFILE_MPEG4_MAIN   3
 
#define FF_PROFILE_MPEG4_N_BIT   4
 
#define FF_PROFILE_MPEG4_SCALABLE_TEXTURE   5
 
#define FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION   6
 
#define FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE   7
 
#define FF_PROFILE_MPEG4_HYBRID   8
 
#define FF_PROFILE_MPEG4_ADVANCED_REAL_TIME   9
 
#define FF_PROFILE_MPEG4_CORE_SCALABLE   10
 
#define FF_PROFILE_MPEG4_ADVANCED_CODING   11
 
#define FF_PROFILE_MPEG4_ADVANCED_CORE   12
 
#define FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE   13
 
#define FF_PROFILE_MPEG4_SIMPLE_STUDIO   14
 
#define FF_PROFILE_MPEG4_ADVANCED_SIMPLE   15
 
#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0   1
 
#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1   2
 
#define FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION   32768
 
#define FF_PROFILE_JPEG2000_DCINEMA_2K   3
 
#define FF_PROFILE_JPEG2000_DCINEMA_4K   4
 
#define FF_PROFILE_VP9_0   0
 
#define FF_PROFILE_VP9_1   1
 
#define FF_PROFILE_VP9_2   2
 
#define FF_PROFILE_VP9_3   3
 
#define FF_PROFILE_HEVC_MAIN   1
 
#define FF_PROFILE_HEVC_MAIN_10   2
 
#define FF_PROFILE_HEVC_MAIN_STILL_PICTURE   3
 
#define FF_PROFILE_HEVC_REXT   4
 
#define FF_PROFILE_AV1_MAIN   0
 
#define FF_PROFILE_AV1_HIGH   1
 
#define FF_PROFILE_AV1_PROFESSIONAL   2
 
#define FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT   0xc0
 
#define FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT   0xc1
 
#define FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT   0xc2
 
#define FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS   0xc3
 
#define FF_PROFILE_MJPEG_JPEG_LS   0xf7
 
#define FF_PROFILE_SBC_MSBC   1
 
#define FF_PROFILE_PRORES_PROXY   0
 
#define FF_PROFILE_PRORES_LT   1
 
#define FF_PROFILE_PRORES_STANDARD   2
 
#define FF_PROFILE_PRORES_HQ   3
 
#define FF_PROFILE_PRORES_4444   4
 
#define FF_PROFILE_PRORES_XQ   5
 
#define FF_PROFILE_ARIB_PROFILE_A   0
 
#define FF_PROFILE_ARIB_PROFILE_C   1
 
#define FF_LEVEL_UNKNOWN   -99
 
#define FF_SUB_CHARENC_MODE_DO_NOTHING   -1
 do nothing (demuxer outputs a stream supposed to be already in UTF-8, or the codec is bitmap for instance) More...
 
#define FF_SUB_CHARENC_MODE_AUTOMATIC   0
 libavcodec will select the mode itself More...
 
#define FF_SUB_CHARENC_MODE_PRE_DECODER   1
 the AVPacket data needs to be recoded to UTF-8 before being fed to the decoder, requires iconv More...
 
#define FF_SUB_CHARENC_MODE_IGNORE   2
 neither convert the subtitles, nor check them for valid UTF-8 More...
 
#define FF_DEBUG_VIS_MV_P_FOR   0x00000001
 
#define FF_DEBUG_VIS_MV_B_FOR   0x00000002
 
#define FF_DEBUG_VIS_MV_B_BACK   0x00000004
 
#define FF_CODEC_PROPERTY_LOSSLESS   0x00000001
 
#define FF_CODEC_PROPERTY_CLOSED_CAPTIONS   0x00000002
 
#define FF_SUB_TEXT_FMT_ASS   0
 
#define FF_SUB_TEXT_FMT_ASS_WITH_TIMINGS   1
 
#define AV_HWACCEL_CODEC_CAP_EXPERIMENTAL   0x0200
 HWAccel is experimental and is thus avoided in favor of non experimental codecs. More...
 
#define AV_HWACCEL_FLAG_IGNORE_LEVEL   (1 << 0)
 Hardware acceleration should be used for decoding even if the codec level used is unknown or higher than the maximum supported level reported by the hardware driver. More...
 
#define AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH   (1 << 1)
 Hardware acceleration can output YUV pixel formats with a different chroma sampling than 4:2:0 and/or other than 8 bits per component. More...
 
#define AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH   (1 << 2)
 Hardware acceleration should still be attempted for decoding when the codec profile does not match the reported capabilities of the hardware. More...
 
#define AV_SUBTITLE_FLAG_FORCED   0x00000001
 
#define AV_PARSER_PTS_NB   4
 
#define PARSER_FLAG_COMPLETE_FRAMES   0x0001
 
#define PARSER_FLAG_ONCE   0x0002
 
#define PARSER_FLAG_FETCHED_OFFSET   0x0004
 Set if the parser has a valid file offset. More...
 
#define PARSER_FLAG_USE_CODEC_TS   0x1000
 

Enumerations

enum  AVCodecID {
  AV_CODEC_ID_NONE, AV_CODEC_ID_MPEG1VIDEO, AV_CODEC_ID_MPEG2VIDEO, AV_CODEC_ID_H261,
  AV_CODEC_ID_H263, AV_CODEC_ID_RV10, AV_CODEC_ID_RV20, AV_CODEC_ID_MJPEG,
  AV_CODEC_ID_MJPEGB, AV_CODEC_ID_LJPEG, AV_CODEC_ID_SP5X, AV_CODEC_ID_JPEGLS,
  AV_CODEC_ID_MPEG4, AV_CODEC_ID_RAWVIDEO, AV_CODEC_ID_MSMPEG4V1, AV_CODEC_ID_MSMPEG4V2,
  AV_CODEC_ID_MSMPEG4V3, AV_CODEC_ID_WMV1, AV_CODEC_ID_WMV2, AV_CODEC_ID_H263P,
  AV_CODEC_ID_H263I, AV_CODEC_ID_FLV1, AV_CODEC_ID_SVQ1, AV_CODEC_ID_SVQ3,
  AV_CODEC_ID_DVVIDEO, AV_CODEC_ID_HUFFYUV, AV_CODEC_ID_CYUV, AV_CODEC_ID_H264,
  AV_CODEC_ID_INDEO3, AV_CODEC_ID_VP3, AV_CODEC_ID_THEORA, AV_CODEC_ID_ASV1,
  AV_CODEC_ID_ASV2, AV_CODEC_ID_FFV1, AV_CODEC_ID_4XM, AV_CODEC_ID_VCR1,
  AV_CODEC_ID_CLJR, AV_CODEC_ID_MDEC, AV_CODEC_ID_ROQ, AV_CODEC_ID_INTERPLAY_VIDEO,
  AV_CODEC_ID_XAN_WC3, AV_CODEC_ID_XAN_WC4, AV_CODEC_ID_RPZA, AV_CODEC_ID_CINEPAK,
  AV_CODEC_ID_WS_VQA, AV_CODEC_ID_MSRLE, AV_CODEC_ID_MSVIDEO1, AV_CODEC_ID_IDCIN,
  AV_CODEC_ID_8BPS, AV_CODEC_ID_SMC, AV_CODEC_ID_FLIC, AV_CODEC_ID_TRUEMOTION1,
  AV_CODEC_ID_VMDVIDEO, AV_CODEC_ID_MSZH, AV_CODEC_ID_ZLIB, AV_CODEC_ID_QTRLE,
  AV_CODEC_ID_TSCC, AV_CODEC_ID_ULTI, AV_CODEC_ID_QDRAW, AV_CODEC_ID_VIXL,
  AV_CODEC_ID_QPEG, AV_CODEC_ID_PNG, AV_CODEC_ID_PPM, AV_CODEC_ID_PBM,
  AV_CODEC_ID_PGM, AV_CODEC_ID_PGMYUV, AV_CODEC_ID_PAM, AV_CODEC_ID_FFVHUFF,
  AV_CODEC_ID_RV30, AV_CODEC_ID_RV40, AV_CODEC_ID_VC1, AV_CODEC_ID_WMV3,
  AV_CODEC_ID_LOCO, AV_CODEC_ID_WNV1, AV_CODEC_ID_AASC, AV_CODEC_ID_INDEO2,
  AV_CODEC_ID_FRAPS, AV_CODEC_ID_TRUEMOTION2, AV_CODEC_ID_BMP, AV_CODEC_ID_CSCD,
  AV_CODEC_ID_MMVIDEO, AV_CODEC_ID_ZMBV, AV_CODEC_ID_AVS, AV_CODEC_ID_SMACKVIDEO,
  AV_CODEC_ID_NUV, AV_CODEC_ID_KMVC, AV_CODEC_ID_FLASHSV, AV_CODEC_ID_CAVS,
  AV_CODEC_ID_JPEG2000, AV_CODEC_ID_VMNC, AV_CODEC_ID_VP5, AV_CODEC_ID_VP6,
  AV_CODEC_ID_VP6F, AV_CODEC_ID_TARGA, AV_CODEC_ID_DSICINVIDEO, AV_CODEC_ID_TIERTEXSEQVIDEO,
  AV_CODEC_ID_TIFF, AV_CODEC_ID_GIF, AV_CODEC_ID_DXA, AV_CODEC_ID_DNXHD,
  AV_CODEC_ID_THP, AV_CODEC_ID_SGI, AV_CODEC_ID_C93, AV_CODEC_ID_BETHSOFTVID,
  AV_CODEC_ID_PTX, AV_CODEC_ID_TXD, AV_CODEC_ID_VP6A, AV_CODEC_ID_AMV,
  AV_CODEC_ID_VB, AV_CODEC_ID_PCX, AV_CODEC_ID_SUNRAST, AV_CODEC_ID_INDEO4,
  AV_CODEC_ID_INDEO5, AV_CODEC_ID_MIMIC, AV_CODEC_ID_RL2, AV_CODEC_ID_ESCAPE124,
  AV_CODEC_ID_DIRAC, AV_CODEC_ID_BFI, AV_CODEC_ID_CMV, AV_CODEC_ID_MOTIONPIXELS,
  AV_CODEC_ID_TGV, AV_CODEC_ID_TGQ, AV_CODEC_ID_TQI, AV_CODEC_ID_AURA,
  AV_CODEC_ID_AURA2, AV_CODEC_ID_V210X, AV_CODEC_ID_TMV, AV_CODEC_ID_V210,
  AV_CODEC_ID_DPX, AV_CODEC_ID_MAD, AV_CODEC_ID_FRWU, AV_CODEC_ID_FLASHSV2,
  AV_CODEC_ID_CDGRAPHICS, AV_CODEC_ID_R210, AV_CODEC_ID_ANM, AV_CODEC_ID_BINKVIDEO,
  AV_CODEC_ID_IFF_ILBM, AV_CODEC_ID_KGV1, AV_CODEC_ID_YOP, AV_CODEC_ID_VP8,
  AV_CODEC_ID_PICTOR, AV_CODEC_ID_ANSI, AV_CODEC_ID_A64_MULTI, AV_CODEC_ID_A64_MULTI5,
  AV_CODEC_ID_R10K, AV_CODEC_ID_MXPEG, AV_CODEC_ID_LAGARITH, AV_CODEC_ID_PRORES,
  AV_CODEC_ID_JV, AV_CODEC_ID_DFA, AV_CODEC_ID_WMV3IMAGE, AV_CODEC_ID_VC1IMAGE,
  AV_CODEC_ID_UTVIDEO, AV_CODEC_ID_BMV_VIDEO, AV_CODEC_ID_VBLE, AV_CODEC_ID_DXTORY,
  AV_CODEC_ID_V410, AV_CODEC_ID_XWD, AV_CODEC_ID_CDXL, AV_CODEC_ID_XBM,
  AV_CODEC_ID_ZEROCODEC, AV_CODEC_ID_MSS1, AV_CODEC_ID_MSA1, AV_CODEC_ID_TSCC2,
  AV_CODEC_ID_MTS2, AV_CODEC_ID_CLLC, AV_CODEC_ID_MSS2, AV_CODEC_ID_VP9,
  AV_CODEC_ID_AIC, AV_CODEC_ID_ESCAPE130, AV_CODEC_ID_G2M, AV_CODEC_ID_WEBP,
  AV_CODEC_ID_HNM4_VIDEO, AV_CODEC_ID_HEVC, AV_CODEC_ID_FIC, AV_CODEC_ID_ALIAS_PIX,
  AV_CODEC_ID_BRENDER_PIX, AV_CODEC_ID_PAF_VIDEO, AV_CODEC_ID_EXR, AV_CODEC_ID_VP7,
  AV_CODEC_ID_SANM, AV_CODEC_ID_SGIRLE, AV_CODEC_ID_MVC1, AV_CODEC_ID_MVC2,
  AV_CODEC_ID_HQX, AV_CODEC_ID_TDSC, AV_CODEC_ID_HQ_HQA, AV_CODEC_ID_HAP,
  AV_CODEC_ID_DDS, AV_CODEC_ID_DXV, AV_CODEC_ID_SCREENPRESSO, AV_CODEC_ID_RSCC,
  AV_CODEC_ID_AVS2, AV_CODEC_ID_Y41P = 0x8000, AV_CODEC_ID_AVRP, AV_CODEC_ID_012V,
  AV_CODEC_ID_AVUI, AV_CODEC_ID_AYUV, AV_CODEC_ID_TARGA_Y216, AV_CODEC_ID_V308,
  AV_CODEC_ID_V408, AV_CODEC_ID_YUV4, AV_CODEC_ID_AVRN, AV_CODEC_ID_CPIA,
  AV_CODEC_ID_XFACE, AV_CODEC_ID_SNOW, AV_CODEC_ID_SMVJPEG, AV_CODEC_ID_APNG,
  AV_CODEC_ID_DAALA, AV_CODEC_ID_CFHD, AV_CODEC_ID_TRUEMOTION2RT, AV_CODEC_ID_M101,
  AV_CODEC_ID_MAGICYUV, AV_CODEC_ID_SHEERVIDEO, AV_CODEC_ID_YLC, AV_CODEC_ID_PSD,
  AV_CODEC_ID_PIXLET, AV_CODEC_ID_SPEEDHQ, AV_CODEC_ID_FMVC, AV_CODEC_ID_SCPR,
  AV_CODEC_ID_CLEARVIDEO, AV_CODEC_ID_XPM, AV_CODEC_ID_AV1, AV_CODEC_ID_BITPACKED,
  AV_CODEC_ID_MSCC, AV_CODEC_ID_SRGC, AV_CODEC_ID_SVG, AV_CODEC_ID_GDV,
  AV_CODEC_ID_FITS, AV_CODEC_ID_IMM4, AV_CODEC_ID_PROSUMER, AV_CODEC_ID_MWSC,
  AV_CODEC_ID_WCMV, AV_CODEC_ID_RASC, AV_CODEC_ID_HYMT, AV_CODEC_ID_ARBC,
  AV_CODEC_ID_AGM, AV_CODEC_ID_LSCR, AV_CODEC_ID_VP4, AV_CODEC_ID_FIRST_AUDIO = 0x10000,
  AV_CODEC_ID_PCM_S16LE = 0x10000, AV_CODEC_ID_PCM_S16BE, AV_CODEC_ID_PCM_U16LE, AV_CODEC_ID_PCM_U16BE,
  AV_CODEC_ID_PCM_S8, AV_CODEC_ID_PCM_U8, AV_CODEC_ID_PCM_MULAW, AV_CODEC_ID_PCM_ALAW,
  AV_CODEC_ID_PCM_S32LE, AV_CODEC_ID_PCM_S32BE, AV_CODEC_ID_PCM_U32LE, AV_CODEC_ID_PCM_U32BE,
  AV_CODEC_ID_PCM_S24LE, AV_CODEC_ID_PCM_S24BE, AV_CODEC_ID_PCM_U24LE, AV_CODEC_ID_PCM_U24BE,
  AV_CODEC_ID_PCM_S24DAUD, AV_CODEC_ID_PCM_ZORK, AV_CODEC_ID_PCM_S16LE_PLANAR, AV_CODEC_ID_PCM_DVD,
  AV_CODEC_ID_PCM_F32BE, AV_CODEC_ID_PCM_F32LE, AV_CODEC_ID_PCM_F64BE, AV_CODEC_ID_PCM_F64LE,
  AV_CODEC_ID_PCM_BLURAY, AV_CODEC_ID_PCM_LXF, AV_CODEC_ID_S302M, AV_CODEC_ID_PCM_S8_PLANAR,
  AV_CODEC_ID_PCM_S24LE_PLANAR, AV_CODEC_ID_PCM_S32LE_PLANAR, AV_CODEC_ID_PCM_S16BE_PLANAR, AV_CODEC_ID_PCM_S64LE = 0x10800,
  AV_CODEC_ID_PCM_S64BE, AV_CODEC_ID_PCM_F16LE, AV_CODEC_ID_PCM_F24LE, AV_CODEC_ID_PCM_VIDC,
  AV_CODEC_ID_ADPCM_IMA_QT = 0x11000, AV_CODEC_ID_ADPCM_IMA_WAV, AV_CODEC_ID_ADPCM_IMA_DK3, AV_CODEC_ID_ADPCM_IMA_DK4,
  AV_CODEC_ID_ADPCM_IMA_WS, AV_CODEC_ID_ADPCM_IMA_SMJPEG, AV_CODEC_ID_ADPCM_MS, AV_CODEC_ID_ADPCM_4XM,
  AV_CODEC_ID_ADPCM_XA, AV_CODEC_ID_ADPCM_ADX, AV_CODEC_ID_ADPCM_EA, AV_CODEC_ID_ADPCM_G726,
  AV_CODEC_ID_ADPCM_CT, AV_CODEC_ID_ADPCM_SWF, AV_CODEC_ID_ADPCM_YAMAHA, AV_CODEC_ID_ADPCM_SBPRO_4,
  AV_CODEC_ID_ADPCM_SBPRO_3, AV_CODEC_ID_ADPCM_SBPRO_2, AV_CODEC_ID_ADPCM_THP, AV_CODEC_ID_ADPCM_IMA_AMV,
  AV_CODEC_ID_ADPCM_EA_R1, AV_CODEC_ID_ADPCM_EA_R3, AV_CODEC_ID_ADPCM_EA_R2, AV_CODEC_ID_ADPCM_IMA_EA_SEAD,
  AV_CODEC_ID_ADPCM_IMA_EA_EACS, AV_CODEC_ID_ADPCM_EA_XAS, AV_CODEC_ID_ADPCM_EA_MAXIS_XA, AV_CODEC_ID_ADPCM_IMA_ISS,
  AV_CODEC_ID_ADPCM_G722, AV_CODEC_ID_ADPCM_IMA_APC, AV_CODEC_ID_ADPCM_VIMA, AV_CODEC_ID_ADPCM_AFC = 0x11800,
  AV_CODEC_ID_ADPCM_IMA_OKI, AV_CODEC_ID_ADPCM_DTK, AV_CODEC_ID_ADPCM_IMA_RAD, AV_CODEC_ID_ADPCM_G726LE,
  AV_CODEC_ID_ADPCM_THP_LE, AV_CODEC_ID_ADPCM_PSX, AV_CODEC_ID_ADPCM_AICA, AV_CODEC_ID_ADPCM_IMA_DAT4,
  AV_CODEC_ID_ADPCM_MTAF, AV_CODEC_ID_ADPCM_AGM, AV_CODEC_ID_AMR_NB = 0x12000, AV_CODEC_ID_AMR_WB,
  AV_CODEC_ID_RA_144 = 0x13000, AV_CODEC_ID_RA_288, AV_CODEC_ID_ROQ_DPCM = 0x14000, AV_CODEC_ID_INTERPLAY_DPCM,
  AV_CODEC_ID_XAN_DPCM, AV_CODEC_ID_SOL_DPCM, AV_CODEC_ID_SDX2_DPCM = 0x14800, AV_CODEC_ID_GREMLIN_DPCM,
  AV_CODEC_ID_MP2 = 0x15000, AV_CODEC_ID_MP3, AV_CODEC_ID_AAC, AV_CODEC_ID_AC3,
  AV_CODEC_ID_DTS, AV_CODEC_ID_VORBIS, AV_CODEC_ID_DVAUDIO, AV_CODEC_ID_WMAV1,
  AV_CODEC_ID_WMAV2, AV_CODEC_ID_MACE3, AV_CODEC_ID_MACE6, AV_CODEC_ID_VMDAUDIO,
  AV_CODEC_ID_FLAC, AV_CODEC_ID_MP3ADU, AV_CODEC_ID_MP3ON4, AV_CODEC_ID_SHORTEN,
  AV_CODEC_ID_ALAC, AV_CODEC_ID_WESTWOOD_SND1, AV_CODEC_ID_GSM, AV_CODEC_ID_QDM2,
  AV_CODEC_ID_COOK, AV_CODEC_ID_TRUESPEECH, AV_CODEC_ID_TTA, AV_CODEC_ID_SMACKAUDIO,
  AV_CODEC_ID_QCELP, AV_CODEC_ID_WAVPACK, AV_CODEC_ID_DSICINAUDIO, AV_CODEC_ID_IMC,
  AV_CODEC_ID_MUSEPACK7, AV_CODEC_ID_MLP, AV_CODEC_ID_GSM_MS, AV_CODEC_ID_ATRAC3,
  AV_CODEC_ID_APE, AV_CODEC_ID_NELLYMOSER, AV_CODEC_ID_MUSEPACK8, AV_CODEC_ID_SPEEX,
  AV_CODEC_ID_WMAVOICE, AV_CODEC_ID_WMAPRO, AV_CODEC_ID_WMALOSSLESS, AV_CODEC_ID_ATRAC3P,
  AV_CODEC_ID_EAC3, AV_CODEC_ID_SIPR, AV_CODEC_ID_MP1, AV_CODEC_ID_TWINVQ,
  AV_CODEC_ID_TRUEHD, AV_CODEC_ID_MP4ALS, AV_CODEC_ID_ATRAC1, AV_CODEC_ID_BINKAUDIO_RDFT,
  AV_CODEC_ID_BINKAUDIO_DCT, AV_CODEC_ID_AAC_LATM, AV_CODEC_ID_QDMC, AV_CODEC_ID_CELT,
  AV_CODEC_ID_G723_1, AV_CODEC_ID_G729, AV_CODEC_ID_8SVX_EXP, AV_CODEC_ID_8SVX_FIB,
  AV_CODEC_ID_BMV_AUDIO, AV_CODEC_ID_RALF, AV_CODEC_ID_IAC, AV_CODEC_ID_ILBC,
  AV_CODEC_ID_OPUS, AV_CODEC_ID_COMFORT_NOISE, AV_CODEC_ID_TAK, AV_CODEC_ID_METASOUND,
  AV_CODEC_ID_PAF_AUDIO, AV_CODEC_ID_ON2AVC, AV_CODEC_ID_DSS_SP, AV_CODEC_ID_CODEC2,
  AV_CODEC_ID_FFWAVESYNTH = 0x15800, AV_CODEC_ID_SONIC, AV_CODEC_ID_SONIC_LS, AV_CODEC_ID_EVRC,
  AV_CODEC_ID_SMV, AV_CODEC_ID_DSD_LSBF, AV_CODEC_ID_DSD_MSBF, AV_CODEC_ID_DSD_LSBF_PLANAR,
  AV_CODEC_ID_DSD_MSBF_PLANAR, AV_CODEC_ID_4GV, AV_CODEC_ID_INTERPLAY_ACM, AV_CODEC_ID_XMA1,
  AV_CODEC_ID_XMA2, AV_CODEC_ID_DST, AV_CODEC_ID_ATRAC3AL, AV_CODEC_ID_ATRAC3PAL,
  AV_CODEC_ID_DOLBY_E, AV_CODEC_ID_APTX, AV_CODEC_ID_APTX_HD, AV_CODEC_ID_SBC,
  AV_CODEC_ID_ATRAC9, AV_CODEC_ID_HCOM, AV_CODEC_ID_FIRST_SUBTITLE = 0x17000, AV_CODEC_ID_DVD_SUBTITLE = 0x17000,
  AV_CODEC_ID_DVB_SUBTITLE, AV_CODEC_ID_TEXT, AV_CODEC_ID_XSUB, AV_CODEC_ID_SSA,
  AV_CODEC_ID_MOV_TEXT, AV_CODEC_ID_HDMV_PGS_SUBTITLE, AV_CODEC_ID_DVB_TELETEXT, AV_CODEC_ID_SRT,
  AV_CODEC_ID_MICRODVD = 0x17800, AV_CODEC_ID_EIA_608, AV_CODEC_ID_JACOSUB, AV_CODEC_ID_SAMI,
  AV_CODEC_ID_REALTEXT, AV_CODEC_ID_STL, AV_CODEC_ID_SUBVIEWER1, AV_CODEC_ID_SUBVIEWER,
  AV_CODEC_ID_SUBRIP, AV_CODEC_ID_WEBVTT, AV_CODEC_ID_MPL2, AV_CODEC_ID_VPLAYER,
  AV_CODEC_ID_PJS, AV_CODEC_ID_ASS, AV_CODEC_ID_HDMV_TEXT_SUBTITLE, AV_CODEC_ID_TTML,
  AV_CODEC_ID_ARIB_CAPTION, AV_CODEC_ID_FIRST_UNKNOWN = 0x18000, AV_CODEC_ID_TTF = 0x18000, AV_CODEC_ID_SCTE_35,
  AV_CODEC_ID_BINTEXT = 0x18800, AV_CODEC_ID_XBIN, AV_CODEC_ID_IDF, AV_CODEC_ID_OTF,
  AV_CODEC_ID_SMPTE_KLV, AV_CODEC_ID_DVD_NAV, AV_CODEC_ID_TIMED_ID3, AV_CODEC_ID_BIN_DATA,
  AV_CODEC_ID_PROBE = 0x19000, AV_CODEC_ID_MPEG2TS = 0x20000, AV_CODEC_ID_MPEG4SYSTEMS = 0x20001, AV_CODEC_ID_FFMETADATA = 0x21000,
  AV_CODEC_ID_WRAPPED_AVFRAME = 0x21001
}
 Identify the syntax and semantics of the bitstream. More...
 
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
}
 
enum  AVPacketSideDataType {
  AV_PKT_DATA_PALETTE, AV_PKT_DATA_NEW_EXTRADATA, AV_PKT_DATA_PARAM_CHANGE, AV_PKT_DATA_H263_MB_INFO,
  AV_PKT_DATA_REPLAYGAIN, AV_PKT_DATA_DISPLAYMATRIX, AV_PKT_DATA_STEREO3D, AV_PKT_DATA_AUDIO_SERVICE_TYPE,
  AV_PKT_DATA_QUALITY_STATS, AV_PKT_DATA_FALLBACK_TRACK, AV_PKT_DATA_CPB_PROPERTIES, AV_PKT_DATA_SKIP_SAMPLES,
  AV_PKT_DATA_JP_DUALMONO, AV_PKT_DATA_STRINGS_METADATA, AV_PKT_DATA_SUBTITLE_POSITION, AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL,
  AV_PKT_DATA_WEBVTT_IDENTIFIER, AV_PKT_DATA_WEBVTT_SETTINGS, AV_PKT_DATA_METADATA_UPDATE, AV_PKT_DATA_MPEGTS_STREAM_ID,
  AV_PKT_DATA_MASTERING_DISPLAY_METADATA, AV_PKT_DATA_SPHERICAL, AV_PKT_DATA_CONTENT_LIGHT_LEVEL, AV_PKT_DATA_A53_CC,
  AV_PKT_DATA_ENCRYPTION_INIT_INFO, AV_PKT_DATA_ENCRYPTION_INFO, AV_PKT_DATA_AFD, AV_PKT_DATA_NB
}
 
enum  AVSideDataParamChangeFlags { AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_COUNT = 0x0001, AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_LAYOUT = 0x0002, AV_SIDE_DATA_PARAM_CHANGE_SAMPLE_RATE = 0x0004, AV_SIDE_DATA_PARAM_CHANGE_DIMENSIONS = 0x0008 }
 
enum  AVFieldOrder {
  AV_FIELD_UNKNOWN, AV_FIELD_PROGRESSIVE, AV_FIELD_TT, AV_FIELD_BB,
  AV_FIELD_TB, AV_FIELD_BT
}
 
enum  { AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX = 0x01, AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX = 0x02, AV_CODEC_HW_CONFIG_METHOD_INTERNAL = 0x04, AV_CODEC_HW_CONFIG_METHOD_AD_HOC = 0x08 }
 
enum  AVSubtitleType { SUBTITLE_NONE, SUBTITLE_BITMAP, SUBTITLE_TEXT, SUBTITLE_ASS }
 
enum  AVPictureStructure { AV_PICTURE_STRUCTURE_UNKNOWN, AV_PICTURE_STRUCTURE_TOP_FIELD, AV_PICTURE_STRUCTURE_BOTTOM_FIELD, AV_PICTURE_STRUCTURE_FRAME }
 
enum  AVLockOp { AV_LOCK_CREATE, AV_LOCK_OBTAIN, AV_LOCK_RELEASE, AV_LOCK_DESTROY }
 Lock operation used by lockmgr. More...
 

Functions

attribute_deprecated AVRational av_codec_get_pkt_timebase (const AVCodecContext *avctx)
 Accessors for some AVCodecContext fields. More...
 
attribute_deprecated void av_codec_set_pkt_timebase (AVCodecContext *avctx, AVRational val)
 
const attribute_deprecated AVCodecDescriptorav_codec_get_codec_descriptor (const AVCodecContext *avctx)
 
attribute_deprecated void av_codec_set_codec_descriptor (AVCodecContext *avctx, const AVCodecDescriptor *desc)
 
attribute_deprecated unsigned av_codec_get_codec_properties (const AVCodecContext *avctx)
 
attribute_deprecated int av_codec_get_lowres (const AVCodecContext *avctx)
 
attribute_deprecated void av_codec_set_lowres (AVCodecContext *avctx, int val)
 
attribute_deprecated int av_codec_get_seek_preroll (const AVCodecContext *avctx)
 
attribute_deprecated void av_codec_set_seek_preroll (AVCodecContext *avctx, int val)
 
attribute_deprecated uint16_t * av_codec_get_chroma_intra_matrix (const AVCodecContext *avctx)
 
attribute_deprecated void av_codec_set_chroma_intra_matrix (AVCodecContext *avctx, uint16_t *val)
 
attribute_deprecated int av_codec_get_max_lowres (const AVCodec *codec)
 
const AVCodecHWConfigavcodec_get_hw_config (const AVCodec *codec, int index)
 Retrieve supported hardware configurations for a codec. More...
 
const AVCodecav_codec_iterate (void **opaque)
 Iterate over all registered codecs. More...
 
attribute_deprecated AVCodecav_codec_next (const AVCodec *c)
 If c is NULL, returns the first registered codec, if c is non-NULL, returns the next registered codec after c, or NULL if c is the last one. More...
 
unsigned avcodec_version (void)
 Return the LIBAVCODEC_VERSION_INT constant. More...
 
const char * avcodec_configuration (void)
 Return the libavcodec build-time configuration. More...
 
const char * avcodec_license (void)
 Return the libavcodec license. More...
 
attribute_deprecated void avcodec_register (AVCodec *codec)
 Register the codec codec and initialize libavcodec. More...
 
attribute_deprecated void avcodec_register_all (void)
 Register all the codecs, parsers and bitstream filters which were enabled at configuration time. More...
 
AVCodecContextavcodec_alloc_context3 (const AVCodec *codec)
 Allocate an AVCodecContext and set its fields to default values. More...
 
void avcodec_free_context (AVCodecContext **avctx)
 Free the codec context and everything associated with it and write NULL to the provided pointer. More...
 
int avcodec_get_context_defaults3 (AVCodecContext *s, const AVCodec *codec)
 
const AVClassavcodec_get_class (void)
 Get the AVClass for AVCodecContext. More...
 
const AVClassavcodec_get_frame_class (void)
 Get the AVClass for AVFrame. More...
 
const AVClassavcodec_get_subtitle_rect_class (void)
 Get the AVClass for AVSubtitleRect. More...
 
attribute_deprecated int avcodec_copy_context (AVCodecContext *dest, const AVCodecContext *src)
 Copy the settings of the source AVCodecContext into the destination AVCodecContext. More...
 
AVCodecParametersavcodec_parameters_alloc (void)
 Allocate a new AVCodecParameters and set its fields to default values (unknown/invalid/0). More...
 
void avcodec_parameters_free (AVCodecParameters **par)
 Free an AVCodecParameters instance and everything associated with it and write NULL to the supplied pointer. More...
 
int avcodec_parameters_copy (AVCodecParameters *dst, const AVCodecParameters *src)
 Copy the contents of src to dst. More...
 
int avcodec_parameters_from_context (AVCodecParameters *par, const AVCodecContext *codec)
 Fill the parameters struct based on the values from the supplied codec context. More...
 
int avcodec_parameters_to_context (AVCodecContext *codec, const AVCodecParameters *par)
 Fill the codec context based on the values from the supplied codec parameters. More...
 
int avcodec_open2 (AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options)
 Initialize the AVCodecContext to use the given AVCodec. More...
 
int avcodec_close (AVCodecContext *avctx)
 Close a given AVCodecContext and free all the data associated with it (but not the AVCodecContext itself). More...
 
void avsubtitle_free (AVSubtitle *sub)
 Free all allocated data in the given subtitle struct. More...
 
AVPacketav_packet_alloc (void)
 Allocate an AVPacket and set its fields to default values. More...
 
AVPacketav_packet_clone (const AVPacket *src)
 Create a new packet that references the same data as src. More...
 
void av_packet_free (AVPacket **pkt)
 Free the packet, if the packet is reference counted, it will be unreferenced first. More...
 
void av_init_packet (AVPacket *pkt)
 Initialize optional fields of a packet with default values. More...
 
int av_new_packet (AVPacket *pkt, int size)
 Allocate the payload of a packet and initialize its fields with default values. More...
 
void av_shrink_packet (AVPacket *pkt, int size)
 Reduce packet size, correctly zeroing padding. More...
 
int av_grow_packet (AVPacket *pkt, int grow_by)
 Increase packet size, correctly zeroing padding. More...
 
int av_packet_from_data (AVPacket *pkt, uint8_t *data, int size)
 Initialize a reference-counted packet from av_malloc()ed data. More...
 
attribute_deprecated int av_dup_packet (AVPacket *pkt)
 
attribute_deprecated int av_copy_packet (AVPacket *dst, const AVPacket *src)
 Copy packet, including contents. More...
 
attribute_deprecated int av_copy_packet_side_data (AVPacket *dst, const AVPacket *src)
 Copy packet side data. More...
 
attribute_deprecated void av_free_packet (AVPacket *pkt)
 Free a packet. More...
 
uint8_tav_packet_new_side_data (AVPacket *pkt, enum AVPacketSideDataType type, int size)
 Allocate new information of a packet. More...
 
int av_packet_add_side_data (AVPacket *pkt, enum AVPacketSideDataType type, uint8_t *data, size_t size)
 Wrap an existing array as a packet side data. More...
 
int av_packet_shrink_side_data (AVPacket *pkt, enum AVPacketSideDataType type, int size)
 Shrink the already allocated side data buffer. More...
 
uint8_tav_packet_get_side_data (const AVPacket *pkt, enum AVPacketSideDataType type, int *size)
 Get side information from packet. More...
 
attribute_deprecated int av_packet_merge_side_data (AVPacket *pkt)
 
attribute_deprecated int av_packet_split_side_data (AVPacket *pkt)
 
const char * av_packet_side_data_name (enum AVPacketSideDataType type)
 
uint8_tav_packet_pack_dictionary (AVDictionary *dict, int *size)
 Pack a dictionary for use in side_data. More...
 
int av_packet_unpack_dictionary (const uint8_t *data, int size, AVDictionary **dict)
 Unpack a dictionary from side_data. More...
 
void av_packet_free_side_data (AVPacket *pkt)
 Convenience function to free all the side data stored. More...
 
int av_packet_ref (AVPacket *dst, const AVPacket *src)
 Setup a new reference to the data described by a given packet. More...
 
void av_packet_unref (AVPacket *pkt)
 Wipe the packet. More...
 
void av_packet_move_ref (AVPacket *dst, AVPacket *src)
 Move every field in src to dst and reset src. More...
 
int av_packet_copy_props (AVPacket *dst, const AVPacket *src)
 Copy only "properties" fields from src to dst. More...
 
int av_packet_make_refcounted (AVPacket *pkt)
 Ensure the data described by a given packet is reference counted. More...
 
int av_packet_make_writable (AVPacket *pkt)
 Create a writable reference for the data described by a given packet, avoiding data copy if possible. More...
 
void av_packet_rescale_ts (AVPacket *pkt, AVRational tb_src, AVRational tb_dst)
 Convert valid timing fields (timestamps / durations) in a packet from one timebase to another. More...
 
AVCodecavcodec_find_decoder (enum AVCodecID id)
 Find a registered decoder with a matching codec ID. More...
 
AVCodecavcodec_find_decoder_by_name (const char *name)
 Find a registered decoder with the specified name. More...
 
int avcodec_default_get_buffer2 (AVCodecContext *s, AVFrame *frame, int flags)
 The default callback for AVCodecContext.get_buffer2(). More...
 
void avcodec_align_dimensions (AVCodecContext *s, int *width, int *height)
 Modify width and height values so that they will result in a memory buffer that is acceptable for the codec if you do not use any horizontal padding. More...
 
void avcodec_align_dimensions2 (AVCodecContext *s, int *width, int *height, int linesize_align[AV_NUM_DATA_POINTERS])
 Modify width and height values so that they will result in a memory buffer that is acceptable for the codec if you also ensure that all line sizes are a multiple of the respective linesize_align[i]. More...
 
int avcodec_enum_to_chroma_pos (int *xpos, int *ypos, enum AVChromaLocation pos)
 Converts AVChromaLocation to swscale x/y chroma position. More...
 
enum AVChromaLocation avcodec_chroma_pos_to_enum (int xpos, int ypos)
 Converts swscale x/y chroma position to AVChromaLocation. More...
 
attribute_deprecated int avcodec_decode_audio4 (AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, const AVPacket *avpkt)
 Decode the audio frame of size avpkt->size from avpkt->data into frame. More...
 
attribute_deprecated int avcodec_decode_video2 (AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, const AVPacket *avpkt)
 Decode the video frame of size avpkt->size from avpkt->data into picture. More...
 
int avcodec_decode_subtitle2 (AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, AVPacket *avpkt)
 Decode a subtitle message. More...
 
int avcodec_send_packet (AVCodecContext *avctx, const AVPacket *avpkt)
 Supply raw packet data as input to a decoder. More...
 
int avcodec_receive_frame (AVCodecContext *avctx, AVFrame *frame)
 Return decoded output data from a decoder. More...
 
int avcodec_send_frame (AVCodecContext *avctx, const AVFrame *frame)
 Supply a raw video or audio frame to the encoder. More...
 
int avcodec_receive_packet (AVCodecContext *avctx, AVPacket *avpkt)
 Read encoded data from the encoder. More...
 
int avcodec_get_hw_frames_parameters (AVCodecContext *avctx, AVBufferRef *device_ref, enum AVPixelFormat hw_pix_fmt, AVBufferRef **out_frames_ref)
 Create and return a AVHWFramesContext with values adequate for hardware decoding. More...
 
const AVCodecParserav_parser_iterate (void **opaque)
 Iterate over all registered codec parsers. More...
 
attribute_deprecated AVCodecParserav_parser_next (const AVCodecParser *c)
 
attribute_deprecated void av_register_codec_parser (AVCodecParser *parser)
 
AVCodecParserContextav_parser_init (int codec_id)
 
int av_parser_parse2 (AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int64_t pts, int64_t dts, int64_t pos)
 Parse a packet. More...
 
int av_parser_change (AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
 
void av_parser_close (AVCodecParserContext *s)
 
AVCodecavcodec_find_encoder (enum AVCodecID id)
 Find a registered encoder with a matching codec ID. More...
 
AVCodecavcodec_find_encoder_by_name (const char *name)
 Find a registered encoder with the specified name. More...
 
attribute_deprecated int avcodec_encode_audio2 (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
 Encode a frame of audio. More...
 
attribute_deprecated int avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
 Encode a frame of video. More...
 
int avcodec_encode_subtitle (AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVSubtitle *sub)
 
attribute_deprecated int avpicture_alloc (AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height)
 
attribute_deprecated void avpicture_free (AVPicture *picture)
 
attribute_deprecated int avpicture_fill (AVPicture *picture, const uint8_t *ptr, enum AVPixelFormat pix_fmt, int width, int height)
 
attribute_deprecated int avpicture_layout (const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height, unsigned char *dest, int dest_size)
 
attribute_deprecated int avpicture_get_size (enum AVPixelFormat pix_fmt, int width, int height)
 
attribute_deprecated void av_picture_copy (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height)
 
attribute_deprecated int av_picture_crop (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int top_band, int left_band)
 
attribute_deprecated int av_picture_pad (AVPicture *dst, const AVPicture *src, int height, int width, enum AVPixelFormat pix_fmt, int padtop, int padbottom, int padleft, int padright, int *color)
 
attribute_deprecated void avcodec_get_chroma_sub_sample (enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift)
 
unsigned int avcodec_pix_fmt_to_codec_tag (enum AVPixelFormat pix_fmt)
 Return a value representing the fourCC code associated to the pixel format pix_fmt, or 0 if no associated fourCC code can be found. More...
 
int avcodec_get_pix_fmt_loss (enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt, int has_alpha)
 
enum AVPixelFormat avcodec_find_best_pix_fmt_of_list (const enum AVPixelFormat *pix_fmt_list, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr)
 Find the best pixel format to convert to given a certain source pixel format. More...
 
enum AVPixelFormat avcodec_find_best_pix_fmt_of_2 (enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr)
 
attribute_deprecated enum AVPixelFormat avcodec_find_best_pix_fmt2 (enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr)
 
enum AVPixelFormat avcodec_default_get_format (struct AVCodecContext *s, const enum AVPixelFormat *fmt)
 
attribute_deprecated size_t av_get_codec_tag_string (char *buf, size_t buf_size, unsigned int codec_tag)
 Put a string representing the codec tag codec_tag in buf. More...
 
void avcodec_string (char *buf, int buf_size, AVCodecContext *enc, int encode)
 
const char * av_get_profile_name (const AVCodec *codec, int profile)
 Return a name for the specified profile, if available. More...
 
const char * avcodec_profile_name (enum AVCodecID codec_id, int profile)
 Return a name for the specified profile, if available. More...
 
int avcodec_default_execute (AVCodecContext *c, int(*func)(AVCodecContext *c2, void *arg2), void *arg, int *ret, int count, int size)
 
int avcodec_default_execute2 (AVCodecContext *c, int(*func)(AVCodecContext *c2, void *arg2, int, int), void *arg, int *ret, int count)
 
int avcodec_fill_audio_frame (AVFrame *frame, int nb_channels, enum AVSampleFormat sample_fmt, const uint8_t *buf, int buf_size, int align)
 Fill AVFrame audio data and linesize pointers. More...
 
void avcodec_flush_buffers (AVCodecContext *avctx)
 Reset the internal decoder state / flush internal buffers. More...
 
int av_get_bits_per_sample (enum AVCodecID codec_id)
 Return codec bits per sample. More...
 
enum AVCodecID av_get_pcm_codec (enum AVSampleFormat fmt, int be)
 Return the PCM codec associated with a sample format. More...
 
int av_get_exact_bits_per_sample (enum AVCodecID codec_id)
 Return codec bits per sample. More...
 
int av_get_audio_frame_duration (AVCodecContext *avctx, int frame_bytes)
 Return audio frame duration. More...
 
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 instead of an AVCodecContext. More...
 
attribute_deprecated void av_register_bitstream_filter (AVBitStreamFilter *bsf)
 
attribute_deprecated AVBitStreamFilterContextav_bitstream_filter_init (const char *name)
 
attribute_deprecated int av_bitstream_filter_filter (AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
 
attribute_deprecated void av_bitstream_filter_close (AVBitStreamFilterContext *bsf)
 
const attribute_deprecated AVBitStreamFilterav_bitstream_filter_next (const AVBitStreamFilter *f)
 
const AVBitStreamFilterav_bsf_get_by_name (const char *name)
 
const AVBitStreamFilterav_bsf_iterate (void **opaque)
 Iterate over all registered bitstream filters. More...
 
const attribute_deprecated AVBitStreamFilterav_bsf_next (void **opaque)
 
int av_bsf_alloc (const AVBitStreamFilter *filter, AVBSFContext **ctx)
 Allocate a context for a given bitstream filter. More...
 
int av_bsf_init (AVBSFContext *ctx)
 Prepare the filter for use, after all the parameters and options have been set. More...
 
int av_bsf_send_packet (AVBSFContext *ctx, AVPacket *pkt)
 Submit a packet for filtering. More...
 
int av_bsf_receive_packet (AVBSFContext *ctx, AVPacket *pkt)
 Retrieve a filtered packet. More...
 
void av_bsf_flush (AVBSFContext *ctx)
 Reset the internal bitstream filter state / flush internal buffers. More...
 
void av_bsf_free (AVBSFContext **ctx)
 Free a bitstream filter context and everything associated with it; write NULL into the supplied pointer. More...
 
const AVClassav_bsf_get_class (void)
 Get the AVClass for AVBSFContext. More...
 
AVBSFListav_bsf_list_alloc (void)
 Allocate empty list of bitstream filters. More...
 
void av_bsf_list_free (AVBSFList **lst)
 Free list of bitstream filters. More...
 
int av_bsf_list_append (AVBSFList *lst, AVBSFContext *bsf)
 Append bitstream filter to the list of bitstream filters. More...
 
int av_bsf_list_append2 (AVBSFList *lst, const char *bsf_name, AVDictionary **options)
 Construct new bitstream filter context given it's name and options and append it to the list of bitstream filters. More...
 
int av_bsf_list_finalize (AVBSFList **lst, AVBSFContext **bsf)
 Finalize list of bitstream filters. More...
 
int av_bsf_list_parse_str (const char *str, AVBSFContext **bsf)
 Parse string describing list of bitstream filters and create single AVBSFContext describing the whole chain of bitstream filters. More...
 
int av_bsf_get_null_filter (AVBSFContext **bsf)
 Get null/pass-through bitstream filter. More...
 
void av_fast_padded_malloc (void *ptr, unsigned int *size, size_t min_size)
 Same behaviour av_fast_malloc but the buffer has additional AV_INPUT_BUFFER_PADDING_SIZE at the end which will always be 0. More...
 
void av_fast_padded_mallocz (void *ptr, unsigned int *size, size_t min_size)
 Same behaviour av_fast_padded_malloc except that buffer will always be 0-initialized after call. More...
 
unsigned int av_xiphlacing (unsigned char *s, unsigned int v)
 Encode extradata length to a buffer. More...
 
attribute_deprecated void av_register_hwaccel (AVHWAccel *hwaccel)
 Register the hardware accelerator hwaccel. More...
 
attribute_deprecated AVHWAccelav_hwaccel_next (const AVHWAccel *hwaccel)
 If hwaccel is NULL, returns the first registered hardware accelerator, if hwaccel is non-NULL, returns the next registered hardware accelerator after hwaccel, or NULL if hwaccel is the last one. More...
 
attribute_deprecated int av_lockmgr_register (int(*cb)(void **mutex, enum AVLockOp op))
 Register a user provided lock manager supporting the operations specified by AVLockOp. More...
 
enum AVMediaType avcodec_get_type (enum AVCodecID codec_id)
 Get the type of the given codec. More...
 
const char * avcodec_get_name (enum AVCodecID id)
 Get the name of a codec. More...
 
int avcodec_is_open (AVCodecContext *s)
 
int av_codec_is_encoder (const AVCodec *codec)
 
int av_codec_is_decoder (const AVCodec *codec)
 
const AVCodecDescriptoravcodec_descriptor_get (enum AVCodecID id)
 
const AVCodecDescriptoravcodec_descriptor_next (const AVCodecDescriptor *prev)
 Iterate over all codec descriptors known to libavcodec. More...
 
const AVCodecDescriptoravcodec_descriptor_get_by_name (const char *name)
 
AVCPBPropertiesav_cpb_properties_alloc (size_t *size)
 Allocate a CPB properties structure and initialize its fields to default values. More...
 

Detailed Description

Libavcodec external API header

Definition in file avcodec.h.

Macro Definition Documentation

◆ AV_CODEC_ID_IFF_BYTERUN1

#define AV_CODEC_ID_IFF_BYTERUN1   AV_CODEC_ID_IFF_ILBM

Definition at line 355 of file avcodec.h.

◆ AV_CODEC_ID_H265

#define AV_CODEC_ID_H265   AV_CODEC_ID_HEVC

Definition at line 393 of file avcodec.h.

◆ FF_COMPRESSION_DEFAULT

#define FF_COMPRESSION_DEFAULT   -1

Definition at line 1638 of file avcodec.h.

◆ FF_PRED_LEFT

#define FF_PRED_LEFT   0

Definition at line 1925 of file avcodec.h.

◆ FF_PRED_PLANE

#define FF_PRED_PLANE   1

Definition at line 1926 of file avcodec.h.

◆ FF_PRED_MEDIAN

#define FF_PRED_MEDIAN   2

Definition at line 1927 of file avcodec.h.

◆ FF_CMP_SAD

#define FF_CMP_SAD   0

Definition at line 1970 of file avcodec.h.

◆ FF_CMP_SSE

#define FF_CMP_SSE   1

Definition at line 1971 of file avcodec.h.

◆ FF_CMP_SATD

#define FF_CMP_SATD   2

Definition at line 1972 of file avcodec.h.

◆ FF_CMP_DCT

#define FF_CMP_DCT   3

Definition at line 1973 of file avcodec.h.

◆ FF_CMP_PSNR

#define FF_CMP_PSNR   4

Definition at line 1974 of file avcodec.h.

◆ FF_CMP_BIT

#define FF_CMP_BIT   5

Definition at line 1975 of file avcodec.h.

◆ FF_CMP_RD

#define FF_CMP_RD   6

Definition at line 1976 of file avcodec.h.

◆ FF_CMP_ZERO

#define FF_CMP_ZERO   7

Definition at line 1977 of file avcodec.h.

◆ FF_CMP_VSAD

#define FF_CMP_VSAD   8

Definition at line 1978 of file avcodec.h.

◆ FF_CMP_VSSE

#define FF_CMP_VSSE   9

Definition at line 1979 of file avcodec.h.

◆ FF_CMP_NSSE

#define FF_CMP_NSSE   10

Definition at line 1980 of file avcodec.h.

◆ FF_CMP_W53

#define FF_CMP_W53   11

Definition at line 1981 of file avcodec.h.

◆ FF_CMP_W97

#define FF_CMP_W97   12

Definition at line 1982 of file avcodec.h.

◆ FF_CMP_DCTMAX

#define FF_CMP_DCTMAX   13

Definition at line 1983 of file avcodec.h.

◆ FF_CMP_DCT264

#define FF_CMP_DCT264   14

Definition at line 1984 of file avcodec.h.

◆ FF_CMP_MEDIAN_SAD

#define FF_CMP_MEDIAN_SAD   15

Definition at line 1985 of file avcodec.h.

◆ FF_CMP_CHROMA

#define FF_CMP_CHROMA   256

Definition at line 1986 of file avcodec.h.

◆ SLICE_FLAG_CODED_ORDER

#define SLICE_FLAG_CODED_ORDER   0x0001

draw_horiz_band() is called in coded order instead of display

Definition at line 2044 of file avcodec.h.

◆ SLICE_FLAG_ALLOW_FIELD

#define SLICE_FLAG_ALLOW_FIELD   0x0002

allow draw_horiz_band() with field slices (MPEG-2 field pics)

Definition at line 2045 of file avcodec.h.

◆ SLICE_FLAG_ALLOW_PLANE

#define SLICE_FLAG_ALLOW_PLANE   0x0004

allow draw_horiz_band() with 1 component at a time (SVQ1)

Definition at line 2046 of file avcodec.h.

◆ FF_MB_DECISION_SIMPLE

#define FF_MB_DECISION_SIMPLE   0

uses mb_cmp

Definition at line 2054 of file avcodec.h.

◆ FF_MB_DECISION_BITS

#define FF_MB_DECISION_BITS   1

chooses the one which needs the fewest bits

Definition at line 2055 of file avcodec.h.

◆ FF_MB_DECISION_RD

#define FF_MB_DECISION_RD   2

rate distortion

Definition at line 2056 of file avcodec.h.

◆ FF_CODER_TYPE_VLC

#define FF_CODER_TYPE_VLC   0

Definition at line 2474 of file avcodec.h.

◆ FF_CODER_TYPE_AC

#define FF_CODER_TYPE_AC   1

Definition at line 2475 of file avcodec.h.

◆ FF_CODER_TYPE_RAW

#define FF_CODER_TYPE_RAW   2

Definition at line 2476 of file avcodec.h.

◆ FF_CODER_TYPE_RLE

#define FF_CODER_TYPE_RLE   3

Definition at line 2477 of file avcodec.h.

◆ FF_BUG_AUTODETECT

#define FF_BUG_AUTODETECT   1

autodetection

Definition at line 2600 of file avcodec.h.

◆ FF_BUG_XVID_ILACE

#define FF_BUG_XVID_ILACE   4

Definition at line 2601 of file avcodec.h.

◆ FF_BUG_UMP4

#define FF_BUG_UMP4   8

Definition at line 2602 of file avcodec.h.

◆ FF_BUG_NO_PADDING

#define FF_BUG_NO_PADDING   16

Definition at line 2603 of file avcodec.h.

◆ FF_BUG_AMV

#define FF_BUG_AMV   32

Definition at line 2604 of file avcodec.h.

◆ FF_BUG_QPEL_CHROMA

#define FF_BUG_QPEL_CHROMA   64

Definition at line 2605 of file avcodec.h.

◆ FF_BUG_STD_QPEL

#define FF_BUG_STD_QPEL   128

Definition at line 2606 of file avcodec.h.

◆ FF_BUG_QPEL_CHROMA2

#define FF_BUG_QPEL_CHROMA2   256

Definition at line 2607 of file avcodec.h.

◆ FF_BUG_DIRECT_BLOCKSIZE

#define FF_BUG_DIRECT_BLOCKSIZE   512

Definition at line 2608 of file avcodec.h.

◆ FF_BUG_EDGE

#define FF_BUG_EDGE   1024

Definition at line 2609 of file avcodec.h.

◆ FF_BUG_HPEL_CHROMA

#define FF_BUG_HPEL_CHROMA   2048

Definition at line 2610 of file avcodec.h.

◆ FF_BUG_DC_CLIP

#define FF_BUG_DC_CLIP   4096

Definition at line 2611 of file avcodec.h.

◆ FF_BUG_MS

#define FF_BUG_MS   8192

Work around various bugs in Microsoft's broken decoders.

Definition at line 2612 of file avcodec.h.

◆ FF_BUG_TRUNCATED

#define FF_BUG_TRUNCATED   16384

Definition at line 2613 of file avcodec.h.

◆ FF_BUG_IEDGE

#define FF_BUG_IEDGE   32768

Definition at line 2614 of file avcodec.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 2629 of file avcodec.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 2630 of file avcodec.h.

◆ FF_COMPLIANCE_NORMAL

#define FF_COMPLIANCE_NORMAL   0

Definition at line 2631 of file avcodec.h.

◆ FF_COMPLIANCE_UNOFFICIAL

#define FF_COMPLIANCE_UNOFFICIAL   -1

Allow unofficial extensions.

Definition at line 2632 of file avcodec.h.

◆ FF_COMPLIANCE_EXPERIMENTAL

#define FF_COMPLIANCE_EXPERIMENTAL   -2

Allow nonstandardized experimental things.

Examples
transcode_aac.c.

Definition at line 2633 of file avcodec.h.

◆ FF_EC_GUESS_MVS

#define FF_EC_GUESS_MVS   1

Definition at line 2641 of file avcodec.h.

◆ FF_EC_DEBLOCK

#define FF_EC_DEBLOCK   2

Definition at line 2642 of file avcodec.h.

◆ FF_EC_FAVOR_INTER

#define FF_EC_FAVOR_INTER   256

Definition at line 2643 of file avcodec.h.

◆ FF_DEBUG_PICT_INFO

#define FF_DEBUG_PICT_INFO   1

Definition at line 2651 of file avcodec.h.

◆ FF_DEBUG_RC

#define FF_DEBUG_RC   2

Definition at line 2652 of file avcodec.h.

◆ FF_DEBUG_BITSTREAM

#define FF_DEBUG_BITSTREAM   4

Definition at line 2653 of file avcodec.h.

◆ FF_DEBUG_MB_TYPE

#define FF_DEBUG_MB_TYPE   8

Definition at line 2654 of file avcodec.h.

◆ FF_DEBUG_QP

#define FF_DEBUG_QP   16

Definition at line 2655 of file avcodec.h.

◆ FF_DEBUG_DCT_COEFF

#define FF_DEBUG_DCT_COEFF   0x00000040

Definition at line 2662 of file avcodec.h.

◆ FF_DEBUG_SKIP

#define FF_DEBUG_SKIP   0x00000080

Definition at line 2663 of file avcodec.h.

◆ FF_DEBUG_STARTCODE

#define FF_DEBUG_STARTCODE   0x00000100

Definition at line 2664 of file avcodec.h.

◆ FF_DEBUG_ER

#define FF_DEBUG_ER   0x00000400

Definition at line 2665 of file avcodec.h.

◆ FF_DEBUG_MMCO

#define FF_DEBUG_MMCO   0x00000800

Definition at line 2666 of file avcodec.h.

◆ FF_DEBUG_BUGS

#define FF_DEBUG_BUGS   0x00001000

Definition at line 2667 of file avcodec.h.

◆ FF_DEBUG_BUFFERS

#define FF_DEBUG_BUFFERS   0x00008000

Definition at line 2672 of file avcodec.h.

◆ FF_DEBUG_THREADS

#define FF_DEBUG_THREADS   0x00010000

Definition at line 2673 of file avcodec.h.

◆ FF_DEBUG_GREEN_MD

#define FF_DEBUG_GREEN_MD   0x00800000

Definition at line 2674 of file avcodec.h.

◆ FF_DEBUG_NOMC

#define FF_DEBUG_NOMC   0x01000000

Definition at line 2675 of file avcodec.h.

◆ 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 codec) and print an error message on mismatch.

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

Definition at line 2702 of file avcodec.h.

◆ AV_EF_BITSTREAM

#define AV_EF_BITSTREAM   (1<<1)

detect bitstream specification deviations

Definition at line 2703 of file avcodec.h.

◆ AV_EF_BUFFER

#define AV_EF_BUFFER   (1<<2)

detect improper bitstream length

Definition at line 2704 of file avcodec.h.

◆ AV_EF_EXPLODE

#define AV_EF_EXPLODE   (1<<3)

abort decoding on minor error detection

Definition at line 2705 of file avcodec.h.

◆ AV_EF_IGNORE_ERR

#define AV_EF_IGNORE_ERR   (1<<15)

ignore errors and continue

Definition at line 2707 of file avcodec.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 2708 of file avcodec.h.

◆ AV_EF_COMPLIANT

#define AV_EF_COMPLIANT   (1<<17)

consider all spec non compliances as errors

Definition at line 2709 of file avcodec.h.

◆ AV_EF_AGGRESSIVE

#define AV_EF_AGGRESSIVE   (1<<18)

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

Definition at line 2710 of file avcodec.h.

◆ FF_DCT_AUTO

#define FF_DCT_AUTO   0

Definition at line 2756 of file avcodec.h.

◆ FF_DCT_FASTINT

#define FF_DCT_FASTINT   1

Definition at line 2757 of file avcodec.h.

◆ FF_DCT_INT

#define FF_DCT_INT   2

Definition at line 2758 of file avcodec.h.

◆ FF_DCT_MMX

#define FF_DCT_MMX   3

Definition at line 2759 of file avcodec.h.

◆ FF_DCT_ALTIVEC

#define FF_DCT_ALTIVEC   5

Definition at line 2760 of file avcodec.h.

◆ FF_DCT_FAAN

#define FF_DCT_FAAN   6

Definition at line 2761 of file avcodec.h.

◆ FF_IDCT_AUTO

#define FF_IDCT_AUTO   0

Definition at line 2769 of file avcodec.h.

◆ FF_IDCT_INT

#define FF_IDCT_INT   1

Definition at line 2770 of file avcodec.h.

◆ FF_IDCT_SIMPLE

#define FF_IDCT_SIMPLE   2

Definition at line 2771 of file avcodec.h.

◆ FF_IDCT_SIMPLEMMX

#define FF_IDCT_SIMPLEMMX   3

Definition at line 2772 of file avcodec.h.

◆ FF_IDCT_ARM

#define FF_IDCT_ARM   7

Definition at line 2773 of file avcodec.h.

◆ FF_IDCT_ALTIVEC

#define FF_IDCT_ALTIVEC   8

Definition at line 2774 of file avcodec.h.

◆ FF_IDCT_SIMPLEARM

#define FF_IDCT_SIMPLEARM   10

Definition at line 2775 of file avcodec.h.

◆ FF_IDCT_XVID

#define FF_IDCT_XVID   14

Definition at line 2776 of file avcodec.h.

◆ FF_IDCT_SIMPLEARMV5TE

#define FF_IDCT_SIMPLEARMV5TE   16

Definition at line 2777 of file avcodec.h.

◆ FF_IDCT_SIMPLEARMV6

#define FF_IDCT_SIMPLEARMV6   17

Definition at line 2778 of file avcodec.h.

◆ FF_IDCT_FAAN

#define FF_IDCT_FAAN   20

Definition at line 2779 of file avcodec.h.

◆ FF_IDCT_SIMPLENEON

#define FF_IDCT_SIMPLENEON   22

Definition at line 2780 of file avcodec.h.

◆ FF_IDCT_NONE

#define FF_IDCT_NONE   24 /* Used by XvMC to extract IDCT coefficients with FF_IDCT_PERM_NONE */

Definition at line 2781 of file avcodec.h.

◆ FF_IDCT_SIMPLEAUTO

#define FF_IDCT_SIMPLEAUTO   128

Definition at line 2782 of file avcodec.h.

◆ FF_THREAD_FRAME

#define FF_THREAD_FRAME   1

Decode more than one frame at once.

Definition at line 2835 of file avcodec.h.

◆ FF_THREAD_SLICE

#define FF_THREAD_SLICE   2

Decode more than one part of a single frame at once.

Definition at line 2836 of file avcodec.h.

◆ FF_PROFILE_UNKNOWN

#define FF_PROFILE_UNKNOWN   -99

Definition at line 2899 of file avcodec.h.

◆ FF_PROFILE_RESERVED

#define FF_PROFILE_RESERVED   -100

Definition at line 2900 of file avcodec.h.

◆ FF_PROFILE_AAC_MAIN

#define FF_PROFILE_AAC_MAIN   0

Definition at line 2902 of file avcodec.h.

◆ FF_PROFILE_AAC_LOW

#define FF_PROFILE_AAC_LOW   1

Definition at line 2903 of file avcodec.h.

◆ FF_PROFILE_AAC_SSR

#define FF_PROFILE_AAC_SSR   2

Definition at line 2904 of file avcodec.h.

◆ FF_PROFILE_AAC_LTP

#define FF_PROFILE_AAC_LTP   3

Definition at line 2905 of file avcodec.h.

◆ FF_PROFILE_AAC_HE

#define FF_PROFILE_AAC_HE   4

Definition at line 2906 of file avcodec.h.

◆ FF_PROFILE_AAC_HE_V2

#define FF_PROFILE_AAC_HE_V2   28

Definition at line 2907 of file avcodec.h.

◆ FF_PROFILE_AAC_LD

#define FF_PROFILE_AAC_LD   22

Definition at line 2908 of file avcodec.h.

◆ FF_PROFILE_AAC_ELD

#define FF_PROFILE_AAC_ELD   38

Definition at line 2909 of file avcodec.h.

◆ FF_PROFILE_MPEG2_AAC_LOW

#define FF_PROFILE_MPEG2_AAC_LOW   128

Definition at line 2910 of file avcodec.h.

◆ FF_PROFILE_MPEG2_AAC_HE

#define FF_PROFILE_MPEG2_AAC_HE   131

Definition at line 2911 of file avcodec.h.

◆ FF_PROFILE_DNXHD

#define FF_PROFILE_DNXHD   0

Definition at line 2913 of file avcodec.h.

◆ FF_PROFILE_DNXHR_LB

#define FF_PROFILE_DNXHR_LB   1

Definition at line 2914 of file avcodec.h.

◆ FF_PROFILE_DNXHR_SQ

#define FF_PROFILE_DNXHR_SQ   2

Definition at line 2915 of file avcodec.h.

◆ FF_PROFILE_DNXHR_HQ

#define FF_PROFILE_DNXHR_HQ   3

Definition at line 2916 of file avcodec.h.

◆ FF_PROFILE_DNXHR_HQX

#define FF_PROFILE_DNXHR_HQX   4

Definition at line 2917 of file avcodec.h.

◆ FF_PROFILE_DNXHR_444

#define FF_PROFILE_DNXHR_444   5

Definition at line 2918 of file avcodec.h.

◆ FF_PROFILE_DTS

#define FF_PROFILE_DTS   20

Definition at line 2920 of file avcodec.h.

◆ FF_PROFILE_DTS_ES

#define FF_PROFILE_DTS_ES   30

Definition at line 2921 of file avcodec.h.

◆ FF_PROFILE_DTS_96_24

#define FF_PROFILE_DTS_96_24   40

Definition at line 2922 of file avcodec.h.

◆ FF_PROFILE_DTS_HD_HRA

#define FF_PROFILE_DTS_HD_HRA   50

Definition at line 2923 of file avcodec.h.

◆ FF_PROFILE_DTS_HD_MA

#define FF_PROFILE_DTS_HD_MA   60

Definition at line 2924 of file avcodec.h.

◆ FF_PROFILE_DTS_EXPRESS

#define FF_PROFILE_DTS_EXPRESS   70

Definition at line 2925 of file avcodec.h.

◆ FF_PROFILE_MPEG2_422

#define FF_PROFILE_MPEG2_422   0

Definition at line 2927 of file avcodec.h.

◆ FF_PROFILE_MPEG2_HIGH

#define FF_PROFILE_MPEG2_HIGH   1

Definition at line 2928 of file avcodec.h.

◆ FF_PROFILE_MPEG2_SS

#define FF_PROFILE_MPEG2_SS   2

Definition at line 2929 of file avcodec.h.

◆ FF_PROFILE_MPEG2_SNR_SCALABLE

#define FF_PROFILE_MPEG2_SNR_SCALABLE   3

Definition at line 2930 of file avcodec.h.

◆ FF_PROFILE_MPEG2_MAIN

#define FF_PROFILE_MPEG2_MAIN   4

Definition at line 2931 of file avcodec.h.

◆ FF_PROFILE_MPEG2_SIMPLE

#define FF_PROFILE_MPEG2_SIMPLE   5

Definition at line 2932 of file avcodec.h.

◆ FF_PROFILE_H264_CONSTRAINED

#define FF_PROFILE_H264_CONSTRAINED   (1<<9)

Definition at line 2934 of file avcodec.h.

◆ FF_PROFILE_H264_INTRA

#define FF_PROFILE_H264_INTRA   (1<<11)

Definition at line 2935 of file avcodec.h.

◆ FF_PROFILE_H264_BASELINE

#define FF_PROFILE_H264_BASELINE   66

Definition at line 2937 of file avcodec.h.

◆ FF_PROFILE_H264_CONSTRAINED_BASELINE

#define FF_PROFILE_H264_CONSTRAINED_BASELINE   (66|FF_PROFILE_H264_CONSTRAINED)

Definition at line 2938 of file avcodec.h.

◆ FF_PROFILE_H264_MAIN

#define FF_PROFILE_H264_MAIN   77

Definition at line 2939 of file avcodec.h.

◆ FF_PROFILE_H264_EXTENDED

#define FF_PROFILE_H264_EXTENDED   88

Definition at line 2940 of file avcodec.h.

◆ FF_PROFILE_H264_HIGH

#define FF_PROFILE_H264_HIGH   100

Definition at line 2941 of file avcodec.h.

◆ FF_PROFILE_H264_HIGH_10

#define FF_PROFILE_H264_HIGH_10   110

Definition at line 2942 of file avcodec.h.

◆ FF_PROFILE_H264_HIGH_10_INTRA

#define FF_PROFILE_H264_HIGH_10_INTRA   (110|FF_PROFILE_H264_INTRA)

Definition at line 2943 of file avcodec.h.

◆ FF_PROFILE_H264_MULTIVIEW_HIGH

#define FF_PROFILE_H264_MULTIVIEW_HIGH   118

Definition at line 2944 of file avcodec.h.

◆ FF_PROFILE_H264_HIGH_422

#define FF_PROFILE_H264_HIGH_422   122

Definition at line 2945 of file avcodec.h.

◆ FF_PROFILE_H264_HIGH_422_INTRA

#define FF_PROFILE_H264_HIGH_422_INTRA   (122|FF_PROFILE_H264_INTRA)

Definition at line 2946 of file avcodec.h.

◆ FF_PROFILE_H264_STEREO_HIGH

#define FF_PROFILE_H264_STEREO_HIGH   128

Definition at line 2947 of file avcodec.h.

◆ FF_PROFILE_H264_HIGH_444

#define FF_PROFILE_H264_HIGH_444   144

Definition at line 2948 of file avcodec.h.

◆ FF_PROFILE_H264_HIGH_444_PREDICTIVE

#define FF_PROFILE_H264_HIGH_444_PREDICTIVE   244

Definition at line 2949 of file avcodec.h.

◆ FF_PROFILE_H264_HIGH_444_INTRA

#define FF_PROFILE_H264_HIGH_444_INTRA   (244|FF_PROFILE_H264_INTRA)

Definition at line 2950 of file avcodec.h.

◆ FF_PROFILE_H264_CAVLC_444

#define FF_PROFILE_H264_CAVLC_444   44

Definition at line 2951 of file avcodec.h.

◆ FF_PROFILE_VC1_SIMPLE

#define FF_PROFILE_VC1_SIMPLE   0

Definition at line 2953 of file avcodec.h.

◆ FF_PROFILE_VC1_MAIN

#define FF_PROFILE_VC1_MAIN   1

Definition at line 2954 of file avcodec.h.

◆ FF_PROFILE_VC1_COMPLEX

#define FF_PROFILE_VC1_COMPLEX   2

Definition at line 2955 of file avcodec.h.

◆ FF_PROFILE_VC1_ADVANCED

#define FF_PROFILE_VC1_ADVANCED   3

Definition at line 2956 of file avcodec.h.

◆ FF_PROFILE_MPEG4_SIMPLE

#define FF_PROFILE_MPEG4_SIMPLE   0

Definition at line 2958 of file avcodec.h.

◆ FF_PROFILE_MPEG4_SIMPLE_SCALABLE

#define FF_PROFILE_MPEG4_SIMPLE_SCALABLE   1

Definition at line 2959 of file avcodec.h.

◆ FF_PROFILE_MPEG4_CORE

#define FF_PROFILE_MPEG4_CORE   2

Definition at line 2960 of file avcodec.h.

◆ FF_PROFILE_MPEG4_MAIN

#define FF_PROFILE_MPEG4_MAIN   3

Definition at line 2961 of file avcodec.h.

◆ FF_PROFILE_MPEG4_N_BIT

#define FF_PROFILE_MPEG4_N_BIT   4

Definition at line 2962 of file avcodec.h.

◆ FF_PROFILE_MPEG4_SCALABLE_TEXTURE

#define FF_PROFILE_MPEG4_SCALABLE_TEXTURE   5

Definition at line 2963 of file avcodec.h.

◆ FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION

#define FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION   6

Definition at line 2964 of file avcodec.h.

◆ FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE

#define FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE   7

Definition at line 2965 of file avcodec.h.

◆ FF_PROFILE_MPEG4_HYBRID

#define FF_PROFILE_MPEG4_HYBRID   8

Definition at line 2966 of file avcodec.h.

◆ FF_PROFILE_MPEG4_ADVANCED_REAL_TIME

#define FF_PROFILE_MPEG4_ADVANCED_REAL_TIME   9

Definition at line 2967 of file avcodec.h.

◆ FF_PROFILE_MPEG4_CORE_SCALABLE

#define FF_PROFILE_MPEG4_CORE_SCALABLE   10

Definition at line 2968 of file avcodec.h.

◆ FF_PROFILE_MPEG4_ADVANCED_CODING

#define FF_PROFILE_MPEG4_ADVANCED_CODING   11

Definition at line 2969 of file avcodec.h.

◆ FF_PROFILE_MPEG4_ADVANCED_CORE

#define FF_PROFILE_MPEG4_ADVANCED_CORE   12

Definition at line 2970 of file avcodec.h.

◆ FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE

#define FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE   13

Definition at line 2971 of file avcodec.h.

◆ FF_PROFILE_MPEG4_SIMPLE_STUDIO

#define FF_PROFILE_MPEG4_SIMPLE_STUDIO   14

Definition at line 2972 of file avcodec.h.

◆ FF_PROFILE_MPEG4_ADVANCED_SIMPLE

#define FF_PROFILE_MPEG4_ADVANCED_SIMPLE   15

Definition at line 2973 of file avcodec.h.

◆ FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0

#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0   1

Definition at line 2975 of file avcodec.h.

◆ FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1

#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1   2

Definition at line 2976 of file avcodec.h.

◆ FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION

#define FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION   32768

Definition at line 2977 of file avcodec.h.

◆ FF_PROFILE_JPEG2000_DCINEMA_2K

#define FF_PROFILE_JPEG2000_DCINEMA_2K   3

Definition at line 2978 of file avcodec.h.

◆ FF_PROFILE_JPEG2000_DCINEMA_4K

#define FF_PROFILE_JPEG2000_DCINEMA_4K   4

Definition at line 2979 of file avcodec.h.

◆ FF_PROFILE_VP9_0

#define FF_PROFILE_VP9_0   0

Definition at line 2981 of file avcodec.h.

◆ FF_PROFILE_VP9_1

#define FF_PROFILE_VP9_1   1

Definition at line 2982 of file avcodec.h.

◆ FF_PROFILE_VP9_2

#define FF_PROFILE_VP9_2   2

Definition at line 2983 of file avcodec.h.

◆ FF_PROFILE_VP9_3

#define FF_PROFILE_VP9_3   3

Definition at line 2984 of file avcodec.h.

◆ FF_PROFILE_HEVC_MAIN

#define FF_PROFILE_HEVC_MAIN   1

Definition at line 2986 of file avcodec.h.

◆ FF_PROFILE_HEVC_MAIN_10

#define FF_PROFILE_HEVC_MAIN_10   2

Definition at line 2987 of file avcodec.h.

◆ FF_PROFILE_HEVC_MAIN_STILL_PICTURE

#define FF_PROFILE_HEVC_MAIN_STILL_PICTURE   3

Definition at line 2988 of file avcodec.h.

◆ FF_PROFILE_HEVC_REXT

#define FF_PROFILE_HEVC_REXT   4

Definition at line 2989 of file avcodec.h.

◆ FF_PROFILE_AV1_MAIN

#define FF_PROFILE_AV1_MAIN   0

Definition at line 2991 of file avcodec.h.

◆ FF_PROFILE_AV1_HIGH

#define FF_PROFILE_AV1_HIGH   1

Definition at line 2992 of file avcodec.h.

◆ FF_PROFILE_AV1_PROFESSIONAL

#define FF_PROFILE_AV1_PROFESSIONAL   2

Definition at line 2993 of file avcodec.h.

◆ FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT

#define FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT   0xc0

Definition at line 2995 of file avcodec.h.

◆ FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT

#define FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT   0xc1

Definition at line 2996 of file avcodec.h.

◆ FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT

#define FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT   0xc2

Definition at line 2997 of file avcodec.h.

◆ FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS

#define FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS   0xc3

Definition at line 2998 of file avcodec.h.

◆ FF_PROFILE_MJPEG_JPEG_LS

#define FF_PROFILE_MJPEG_JPEG_LS   0xf7

Definition at line 2999 of file avcodec.h.

◆ FF_PROFILE_SBC_MSBC

#define FF_PROFILE_SBC_MSBC   1

Definition at line 3001 of file avcodec.h.

◆ FF_PROFILE_PRORES_PROXY

#define FF_PROFILE_PRORES_PROXY   0

Definition at line 3003 of file avcodec.h.

◆ FF_PROFILE_PRORES_LT

#define FF_PROFILE_PRORES_LT   1

Definition at line 3004 of file avcodec.h.

◆ FF_PROFILE_PRORES_STANDARD

#define FF_PROFILE_PRORES_STANDARD   2

Definition at line 3005 of file avcodec.h.

◆ FF_PROFILE_PRORES_HQ

#define FF_PROFILE_PRORES_HQ   3

Definition at line 3006 of file avcodec.h.

◆ FF_PROFILE_PRORES_4444

#define FF_PROFILE_PRORES_4444   4

Definition at line 3007 of file avcodec.h.

◆ FF_PROFILE_PRORES_XQ

#define FF_PROFILE_PRORES_XQ   5

Definition at line 3008 of file avcodec.h.

◆ FF_PROFILE_ARIB_PROFILE_A

#define FF_PROFILE_ARIB_PROFILE_A   0

Definition at line 3010 of file avcodec.h.

◆ FF_PROFILE_ARIB_PROFILE_C

#define FF_PROFILE_ARIB_PROFILE_C   1

Definition at line 3011 of file avcodec.h.

◆ FF_LEVEL_UNKNOWN

#define FF_LEVEL_UNKNOWN   -99

Definition at line 3019 of file avcodec.h.

◆ FF_SUB_CHARENC_MODE_DO_NOTHING

#define FF_SUB_CHARENC_MODE_DO_NOTHING   -1

do nothing (demuxer outputs a stream supposed to be already in UTF-8, or the codec is bitmap for instance)

Definition at line 3161 of file avcodec.h.

◆ FF_SUB_CHARENC_MODE_AUTOMATIC

#define FF_SUB_CHARENC_MODE_AUTOMATIC   0

libavcodec will select the mode itself

Definition at line 3162 of file avcodec.h.

◆ FF_SUB_CHARENC_MODE_PRE_DECODER

#define FF_SUB_CHARENC_MODE_PRE_DECODER   1

the AVPacket data needs to be recoded to UTF-8 before being fed to the decoder, requires iconv

Definition at line 3163 of file avcodec.h.

◆ FF_SUB_CHARENC_MODE_IGNORE

#define FF_SUB_CHARENC_MODE_IGNORE   2

neither convert the subtitles, nor check them for valid UTF-8

Definition at line 3164 of file avcodec.h.

◆ FF_DEBUG_VIS_MV_P_FOR

#define FF_DEBUG_VIS_MV_P_FOR   0x00000001

Definition at line 3194 of file avcodec.h.

◆ FF_DEBUG_VIS_MV_B_FOR

#define FF_DEBUG_VIS_MV_B_FOR   0x00000002

Definition at line 3195 of file avcodec.h.

◆ FF_DEBUG_VIS_MV_B_BACK

#define FF_DEBUG_VIS_MV_B_BACK   0x00000004

Definition at line 3196 of file avcodec.h.

◆ FF_CODEC_PROPERTY_LOSSLESS

#define FF_CODEC_PROPERTY_LOSSLESS   0x00000001

Definition at line 3228 of file avcodec.h.

◆ FF_CODEC_PROPERTY_CLOSED_CAPTIONS

#define FF_CODEC_PROPERTY_CLOSED_CAPTIONS   0x00000002

Definition at line 3229 of file avcodec.h.

◆ FF_SUB_TEXT_FMT_ASS

#define FF_SUB_TEXT_FMT_ASS   0

Definition at line 3270 of file avcodec.h.

◆ FF_SUB_TEXT_FMT_ASS_WITH_TIMINGS

#define FF_SUB_TEXT_FMT_ASS_WITH_TIMINGS   1

Definition at line 3272 of file avcodec.h.

◆ AV_PARSER_PTS_NB

#define AV_PARSER_PTS_NB   4

Definition at line 5135 of file avcodec.h.

◆ PARSER_FLAG_COMPLETE_FRAMES

#define PARSER_FLAG_COMPLETE_FRAMES   0x0001

Definition at line 5142 of file avcodec.h.

◆ PARSER_FLAG_ONCE

#define PARSER_FLAG_ONCE   0x0002

Definition at line 5143 of file avcodec.h.

◆ PARSER_FLAG_FETCHED_OFFSET

#define PARSER_FLAG_FETCHED_OFFSET   0x0004

Set if the parser has a valid file offset.

Definition at line 5145 of file avcodec.h.

◆ PARSER_FLAG_USE_CODEC_TS

#define PARSER_FLAG_USE_CODEC_TS   0x1000

Definition at line 5146 of file avcodec.h.