FFmpeg
Data Structures | Macros | Enumerations | Functions
avcodec.h File Reference
Encoding/Decoding Library

Libavcodec external API header. More...

#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/log.h"
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"
#include "version.h"
#include "libavutil/mem.h"
#include "old_codec_ids.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   AVPacketSideData
 
struct   AVPacket
  This structure stores compressed data. More...
 
struct   AVCodecContext
  main external API structure. More...
 
struct   AVProfile
 
struct   AVCodec
 
struct   AVHWAccel
 
struct   AVPicture
  Picture data structure. More...
 
struct   AVSubtitleRect
 
struct   AVSubtitle
 
 
struct   AVCodecParser
 
 
struct   AVBitStreamFilter
 

Macros

 
#define  AV_CODEC_PROP_INTRA_ONLY   (1 << 0)
  Codec uses only intra compression.
 
#define  AV_CODEC_PROP_LOSSY   (1 << 1)
  Codec supports lossy compression.
 
#define  AV_CODEC_PROP_LOSSLESS   (1 << 2)
  Codec supports lossless compression.
 
#define  AV_CODEC_PROP_BITMAP_SUB   (1 << 16)
  Subtitle codec is bitmap based Decoded AVSubtitle data can be read from the AVSubtitleRect->pict field.
 
#define  AV_CODEC_PROP_TEXT_SUB   (1 << 17)
  Subtitle codec is text based.
 
#define  FF_INPUT_BUFFER_PADDING_SIZE   32
  Required number of additionally allocated bytes at the end of the input bitstream for decoding.
 
#define  FF_MIN_BUFFER_SIZE   16384
  minimum encoding buffer size Used to avoid some checks during header writing.
 
#define  FF_MAX_B_FRAMES   16
 
#define  CODEC_FLAG_UNALIGNED   0x0001
  Allow decoders to produce frames with data planes that are not aligned to CPU requirements (e.g.
 
#define  CODEC_FLAG_QSCALE   0x0002
  Use fixed qscale.
 
#define  CODEC_FLAG_4MV   0x0004
  4 MV per MB allowed / advanced prediction for H.263.
 
#define  CODEC_FLAG_OUTPUT_CORRUPT   0x0008
  Output even those frames that might be corrupted.
 
#define  CODEC_FLAG_QPEL   0x0010
  Use qpel MC.
 
#define  CODEC_FLAG_GMC   0x0020
 
#define  CODEC_FLAG_MV0   0x0040
 
#define  CODEC_FLAG_INPUT_PRESERVED   0x0100
 
#define  CODEC_FLAG_PASS1   0x0200
  Use internal 2pass ratecontrol in first pass mode.
 
#define  CODEC_FLAG_PASS2   0x0400
  Use internal 2pass ratecontrol in second pass mode.
 
#define  CODEC_FLAG_GRAY   0x2000
  Only decode/encode grayscale.
 
#define  CODEC_FLAG_EMU_EDGE   0x4000
 
#define  CODEC_FLAG_PSNR   0x8000
  error[?] variables will be set during encoding.
 
 
#define  CODEC_FLAG_NORMALIZE_AQP   0x00020000
 
#define  CODEC_FLAG_INTERLACED_DCT   0x00040000
  Use interlaced DCT.
 
#define  CODEC_FLAG_LOW_DELAY   0x00080000
  Force low delay.
 
#define  CODEC_FLAG_GLOBAL_HEADER   0x00400000
  Place global headers in extradata instead of every keyframe.
 
#define  CODEC_FLAG_BITEXACT   0x00800000
  Use only bitexact stuff (except (I)DCT).
 
#define  CODEC_FLAG_AC_PRED   0x01000000
  H.263 advanced intra coding / MPEG-4 AC prediction.
 
#define  CODEC_FLAG_LOOP_FILTER   0x00000800
  loop filter
 
#define  CODEC_FLAG_INTERLACED_ME   0x20000000
  interlaced motion estimation
 
#define  CODEC_FLAG_CLOSED_GOP   0x80000000
 
#define  CODEC_FLAG2_FAST   0x00000001
  Allow non spec compliant speedup tricks.
 
#define  CODEC_FLAG2_NO_OUTPUT   0x00000004
  Skip bitstream encoding.
 
#define  CODEC_FLAG2_LOCAL_HEADER   0x00000008
  Place global headers at every keyframe instead of in extradata.
 
#define  CODEC_FLAG2_DROP_FRAME_TIMECODE   0x00002000
  timecode is in drop frame format. DEPRECATED!!!!
 
#define  CODEC_FLAG2_IGNORE_CROP   0x00010000
  Discard cropping information from SPS.
 
#define  CODEC_FLAG2_CHUNKS   0x00008000
  Input bitstream might be truncated at a packet boundaries instead of only at frame boundaries.
 
#define  CODEC_FLAG2_SHOW_ALL   0x00400000
  Show all frames before the first keyframe.
 
#define  CODEC_CAP_DRAW_HORIZ_BAND   0x0001
  Decoder can use draw_horiz_band callback.
 
#define  CODEC_CAP_DR1   0x0002
  Codec uses get_buffer() for allocating buffers and supports custom allocators.
 
#define  CODEC_CAP_TRUNCATED   0x0008
 
#define  CODEC_CAP_DELAY   0x0020
  Encoder or decoder requires flushing with NULL input at the end in order to give the complete and correct output.
 
#define  CODEC_CAP_SMALL_LAST_FRAME   0x0040
  Codec can be fed a final frame with a smaller size.
 
#define  CODEC_CAP_HWACCEL_VDPAU   0x0080
  Codec can export data for HW decoding (VDPAU).
 
#define  CODEC_CAP_SUBFRAMES   0x0100
  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.
 
#define  CODEC_CAP_EXPERIMENTAL   0x0200
  Codec is experimental and is thus avoided in favor of non experimental encoders.
 
#define  CODEC_CAP_CHANNEL_CONF   0x0400
  Codec should fill in channel configuration and samplerate instead of container.
 
#define  CODEC_CAP_NEG_LINESIZES   0x0800
 
#define  CODEC_CAP_FRAME_THREADS   0x1000
  Codec supports frame-level multithreading.
 
#define  CODEC_CAP_SLICE_THREADS   0x2000
  Codec supports slice-based (or partition-based) multithreading.
 
#define  CODEC_CAP_PARAM_CHANGE   0x4000
  Codec supports changed parameters at any point.
 
#define  CODEC_CAP_AUTO_THREADS   0x8000
  Codec supports avctx->thread_count == 0 (auto).
 
#define  CODEC_CAP_VARIABLE_FRAME_SIZE   0x10000
  Audio encoder supports receiving a different number of samples in each call.
 
#define  CODEC_CAP_INTRA_ONLY   0x40000000
  Codec is intra only.
 
#define  CODEC_CAP_LOSSLESS   0x80000000
  Codec is lossless.
 
#define  MB_TYPE_INTRA4x4   0x0001
 
#define  MB_TYPE_INTRA16x16   0x0002
 
#define  MB_TYPE_INTRA_PCM   0x0004
 
#define  MB_TYPE_16x16   0x0008
 
#define  MB_TYPE_16x8   0x0010
 
#define  MB_TYPE_8x16   0x0020
 
#define  MB_TYPE_8x8   0x0040
 
#define  MB_TYPE_INTERLACED   0x0080
 
#define  MB_TYPE_DIRECT2   0x0100
 
#define  MB_TYPE_ACPRED   0x0200
 
#define  MB_TYPE_GMC   0x0400
 
#define  MB_TYPE_SKIP   0x0800
 
#define  MB_TYPE_P0L0   0x1000
 
#define  MB_TYPE_P1L0   0x2000
 
#define  MB_TYPE_P0L1   0x4000
 
#define  MB_TYPE_P1L1   0x8000
 
 
 
#define  MB_TYPE_L0L1   (MB_TYPE_L0 | MB_TYPE_L1)
 
#define  MB_TYPE_QUANT   0x00010000
 
#define  MB_TYPE_CBP   0x00020000
 
#define  FF_QSCALE_TYPE_MPEG1   0
 
#define  FF_QSCALE_TYPE_MPEG2   1
 
#define  FF_QSCALE_TYPE_H264   2
 
#define  FF_QSCALE_TYPE_VP56   3
 
#define  FF_BUFFER_TYPE_INTERNAL   1
 
#define  FF_BUFFER_TYPE_USER   2
  direct rendering buffers (image is (de)allocated by user)
 
#define  FF_BUFFER_TYPE_SHARED   4
  Buffer from somewhere else; don't deallocate image (data/base), all other tables are not shared.
 
#define  FF_BUFFER_TYPE_COPY   8
  Just a (modified) copy of some other buffer, don't deallocate anything.
 
#define  FF_BUFFER_HINTS_VALID   0x01
 
#define  FF_BUFFER_HINTS_READABLE   0x02
 
#define  FF_BUFFER_HINTS_PRESERVE   0x04
 
#define  FF_BUFFER_HINTS_REUSABLE   0x08
 
#define  AV_GET_BUFFER_FLAG_REF   (1 << 0)
  The decoder will keep a reference to the frame and may reuse it later.
 
#define  AV_PKT_FLAG_KEY   0x0001
  The packet contains a keyframe.
 
#define  AV_PKT_FLAG_CORRUPT   0x0002
  The packet content is corrupted.
 
#define  FF_COMPRESSION_DEFAULT   -1
 
#define  FF_ASPECT_EXTENDED   15
 
#define  FF_RC_STRATEGY_XVID   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_CHROMA   256
 
#define  FF_DTG_AFD_SAME   8
 
#define  FF_DTG_AFD_4_3   9
 
#define  FF_DTG_AFD_16_9   10
 
#define  FF_DTG_AFD_14_9   11
 
#define  FF_DTG_AFD_4_3_SP_14_9   13
 
#define  FF_DTG_AFD_16_9_SP_14_9   14
 
#define  FF_DTG_AFD_SP_4_3   15
 
#define  FF_DEFAULT_QUANT_BIAS   999999
 
#define  SLICE_FLAG_CODED_ORDER   0x0001
  draw_horiz_band() is called in coded order instead of display
 
#define  SLICE_FLAG_ALLOW_FIELD   0x0002
  allow draw_horiz_band() with field slices (MPEG2 field pics)
 
#define  SLICE_FLAG_ALLOW_PLANE   0x0004
  allow draw_horiz_band() with 1 component at a time (SVQ1)
 
#define  FF_MB_DECISION_SIMPLE   0
  uses mb_cmp
 
#define  FF_MB_DECISION_BITS   1
  chooses the one which needs the fewest bits
 
#define  FF_MB_DECISION_RD   2
  rate distortion
 
#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_CODER_TYPE_DEFLATE   4
 
#define  FF_BUG_AUTODETECT   1
  autodetection
 
#define  FF_BUG_OLD_MSMPEG4   2
 
#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_AC_VLC   0
  Will be removed, libavcodec can now handle these non-compliant files by default.
 
#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.
 
#define  FF_BUG_TRUNCATED   16384
 
#define  FF_COMPLIANCE_VERY_STRICT   2
  Strictly conform to an older more strict version of the spec or reference software.
 
#define  FF_COMPLIANCE_STRICT   1
  Strictly conform to all the things in the spec no matter what consequences.
 
#define  FF_COMPLIANCE_NORMAL   0
 
#define  FF_COMPLIANCE_UNOFFICIAL   -1
  Allow unofficial extensions.
 
#define  FF_COMPLIANCE_EXPERIMENTAL   -2
  Allow nonstandardized experimental things.
 
#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_MV   32
 
#define  FF_DEBUG_DCT_COEFF   0x00000040
 
#define  FF_DEBUG_SKIP   0x00000080
 
#define  FF_DEBUG_STARTCODE   0x00000100
 
#define  FF_DEBUG_PTS   0x00000200
 
#define  FF_DEBUG_ER   0x00000400
 
#define  FF_DEBUG_MMCO   0x00000800
 
#define  FF_DEBUG_BUGS   0x00001000
 
#define  FF_DEBUG_VIS_QP   0x00002000
  only access through AVOptions from outside libavcodec
 
#define  FF_DEBUG_VIS_MB_TYPE   0x00004000
  only access through AVOptions from outside libavcodec
 
#define  FF_DEBUG_BUFFERS   0x00008000
 
#define  FF_DEBUG_THREADS   0x00010000
 
#define  FF_DEBUG_NOMC   0x01000000
 
#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  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.
 
#define  AV_EF_BITSTREAM   (1<<1)
  detect bitstream specification deviations
 
#define  AV_EF_BUFFER   (1<<2)
  detect improper bitstream length
 
#define  AV_EF_EXPLODE   (1<<3)
  abort decoding on minor error detection
 
#define  AV_EF_IGNORE_ERR   (1<<15)
  ignore errors and continue
 
#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
 
#define  AV_EF_COMPLIANT   (1<<17)
  consider all spec non compliances as errors
 
#define  AV_EF_AGGRESSIVE   (1<<18)
  consider things that a sane encoder should not do as an error
 
#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_SH4   9
 
#define  FF_IDCT_SIMPLEARM   10
 
#define  FF_IDCT_IPP   13
 
#define  FF_IDCT_XVIDMMX   14
 
#define  FF_IDCT_SIMPLEARMV5TE   16
 
#define  FF_IDCT_SIMPLEARMV6   17
 
#define  FF_IDCT_SIMPLEVIS   18
 
#define  FF_IDCT_FAAN   20
 
#define  FF_IDCT_SIMPLENEON   22
 
#define  FF_IDCT_SIMPLEALPHA   23
 
#define  FF_IDCT_SIMPLEAUTO   128
 
#define  FF_THREAD_FRAME   1
  Decode more than one frame at once.
 
#define  FF_THREAD_SLICE   2
  Decode more than one part of a single frame at once.
 
#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_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_MPEG2_422   0
 
#define  FF_PROFILE_MPEG2_HIGH   1
 
#define  FF_PROFILE_MPEG2_SS   2
 
 
#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_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_422   122
 
 
#define  FF_PROFILE_H264_HIGH_444   144
 
 
 
#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_CORE   2
 
#define  FF_PROFILE_MPEG4_MAIN   3
 
#define  FF_PROFILE_MPEG4_N_BIT   4
 
 
 
 
#define  FF_PROFILE_MPEG4_HYBRID   8
 
 
 
 
 
 
 
 
 
 
 
 
 
#define  FF_PROFILE_HEVC_MAIN   1
 
#define  FF_PROFILE_HEVC_MAIN_10   2
 
 
#define  FF_PROFILE_HEVC_REXT   4
 
#define  FF_LEVEL_UNKNOWN   -99
 
  do nothing (demuxer outputs a stream supposed to be already in UTF-8, or the codec is bitmap for instance)
 
  libavcodec will select the mode itself
 
  the AVPacket data needs to be recoded to UTF-8 before being fed to the decoder, requires iconv
 
#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.
 
#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_IFF_BYTERUN1, 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_DEPRECATED, AV_CODEC_ID_G2M_DEPRECATED,
  AV_CODEC_ID_WEBP_DEPRECATED, AV_CODEC_ID_HNM4_VIDEO, AV_CODEC_ID_HEVC_DEPRECATED, AV_CODEC_ID_FIC,
  AV_CODEC_ID_ALIAS_PIX, AV_CODEC_ID_BRENDER_PIX_DEPRECATED, AV_CODEC_ID_PAF_VIDEO_DEPRECATED, AV_CODEC_ID_EXR_DEPRECATED,
  AV_CODEC_ID_VP7_DEPRECATED, AV_CODEC_ID_SANM_DEPRECATED, AV_CODEC_ID_SGIRLE_DEPRECATED, AV_CODEC_ID_MVC1_DEPRECATED,
  AV_CODEC_ID_MVC2_DEPRECATED, AV_CODEC_ID_BRENDER_PIX = MKBETAG('B','P','I','X'), AV_CODEC_ID_Y41P = MKBETAG('Y','4','1','P'), AV_CODEC_ID_ESCAPE130 = MKBETAG('E','1','3','0'),
  AV_CODEC_ID_EXR = MKBETAG('0','E','X','R'), AV_CODEC_ID_AVRP = MKBETAG('A','V','R','P'), AV_CODEC_ID_012V = MKBETAG('0','1','2','V'), AV_CODEC_ID_G2M = MKBETAG( 0 ,'G','2','M'),
  AV_CODEC_ID_AVUI = MKBETAG('A','V','U','I'), AV_CODEC_ID_AYUV = MKBETAG('A','Y','U','V'), AV_CODEC_ID_TARGA_Y216 = MKBETAG('T','2','1','6'), AV_CODEC_ID_V308 = MKBETAG('V','3','0','8'),
  AV_CODEC_ID_V408 = MKBETAG('V','4','0','8'), AV_CODEC_ID_YUV4 = MKBETAG('Y','U','V','4'), AV_CODEC_ID_SANM = MKBETAG('S','A','N','M'), AV_CODEC_ID_PAF_VIDEO = MKBETAG('P','A','F','V'),
  AV_CODEC_ID_AVRN = MKBETAG('A','V','R','n'), AV_CODEC_ID_CPIA = MKBETAG('C','P','I','A'), AV_CODEC_ID_XFACE = MKBETAG('X','F','A','C'), AV_CODEC_ID_SGIRLE = MKBETAG('S','G','I','R'),
  AV_CODEC_ID_MVC1 = MKBETAG('M','V','C','1'), AV_CODEC_ID_MVC2 = MKBETAG('M','V','C','2'), AV_CODEC_ID_SNOW = MKBETAG('S','N','O','W'), AV_CODEC_ID_WEBP = MKBETAG('W','E','B','P'),
  AV_CODEC_ID_SMVJPEG = MKBETAG('S','M','V','J'), AV_CODEC_ID_HEVC = MKBETAG('H','2','6','5'), AV_CODEC_ID_VP7 = MKBETAG('V','P','7','0'), 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_DEPRECATED, AV_CODEC_ID_PCM_S32LE_PLANAR_DEPRECATED, AV_CODEC_ID_PCM_S24LE_PLANAR = MKBETAG(24,'P','S','P'), AV_CODEC_ID_PCM_S32LE_PLANAR = MKBETAG(32,'P','S','P'),
  AV_CODEC_ID_PCM_S16BE_PLANAR = MKBETAG('P','S','P',16), 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_DEPRECATED,
  AV_CODEC_ID_ADPCM_VIMA = MKBETAG('V','I','M','A'), AV_CODEC_ID_VIMA = MKBETAG('V','I','M','A'), AV_CODEC_ID_ADPCM_AFC = MKBETAG('A','F','C',' '), AV_CODEC_ID_ADPCM_IMA_OKI = MKBETAG('O','K','I',' '),
  AV_CODEC_ID_ADPCM_DTK = MKBETAG('D','T','K',' '), AV_CODEC_ID_ADPCM_IMA_RAD = MKBETAG('R','A','D',' '), AV_CODEC_ID_ADPCM_G726LE = MKBETAG('6','2','7','G'), 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_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_VOXWARE,
  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_DEPRECATED, AV_CODEC_ID_COMFORT_NOISE, AV_CODEC_ID_TAK_DEPRECATED, AV_CODEC_ID_METASOUND,
  AV_CODEC_ID_PAF_AUDIO_DEPRECATED, AV_CODEC_ID_ON2AVC, AV_CODEC_ID_FFWAVESYNTH = MKBETAG('F','F','W','S'), AV_CODEC_ID_SONIC = MKBETAG('S','O','N','C'),
  AV_CODEC_ID_SONIC_LS = MKBETAG('S','O','N','L'), AV_CODEC_ID_PAF_AUDIO = MKBETAG('P','A','F','A'), AV_CODEC_ID_OPUS = MKBETAG('O','P','U','S'), AV_CODEC_ID_TAK = MKBETAG('t','B','a','K'),
  AV_CODEC_ID_EVRC = MKBETAG('s','e','v','c'), AV_CODEC_ID_SMV = MKBETAG('s','s','m','v'), AV_CODEC_ID_DSD_LSBF = MKBETAG('D','S','D','L'), AV_CODEC_ID_DSD_MSBF = MKBETAG('D','S','D','M'),
  AV_CODEC_ID_DSD_LSBF_PLANAR = MKBETAG('D','S','D','1'), AV_CODEC_ID_DSD_MSBF_PLANAR = MKBETAG('D','S','D','8'), 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 = MKBETAG('m','D','V','D'), AV_CODEC_ID_EIA_608 = MKBETAG('c','6','0','8'), AV_CODEC_ID_JACOSUB = MKBETAG('J','S','U','B'), AV_CODEC_ID_SAMI = MKBETAG('S','A','M','I'),
  AV_CODEC_ID_REALTEXT = MKBETAG('R','T','X','T'), AV_CODEC_ID_SUBVIEWER1 = MKBETAG('S','b','V','1'), AV_CODEC_ID_SUBVIEWER = MKBETAG('S','u','b','V'), AV_CODEC_ID_SUBRIP = MKBETAG('S','R','i','p'),
  AV_CODEC_ID_WEBVTT = MKBETAG('W','V','T','T'), AV_CODEC_ID_MPL2 = MKBETAG('M','P','L','2'), AV_CODEC_ID_VPLAYER = MKBETAG('V','P','l','r'), AV_CODEC_ID_PJS = MKBETAG('P','h','J','S'),
  AV_CODEC_ID_ASS = MKBETAG('A','S','S',' '), AV_CODEC_ID_FIRST_UNKNOWN = 0x18000, AV_CODEC_ID_TTF = 0x18000, AV_CODEC_ID_BINTEXT = MKBETAG('B','T','X','T'),
  AV_CODEC_ID_XBIN = MKBETAG('X','B','I','N'), AV_CODEC_ID_IDF = MKBETAG( 0 ,'I','D','F'), AV_CODEC_ID_OTF = MKBETAG( 0 ,'O','T','F'), AV_CODEC_ID_SMPTE_KLV = MKBETAG('K','L','V','A'),
  AV_CODEC_ID_DVD_NAV = MKBETAG('D','N','A','V'), AV_CODEC_ID_TIMED_ID3 = MKBETAG('T','I','D','3'), AV_CODEC_ID_BIN_DATA = MKBETAG('D','A','T','A'), AV_CODEC_ID_PROBE = 0x19000,
  AV_CODEC_ID_MPEG2TS = 0x20000, AV_CODEC_ID_MPEG4SYSTEMS = 0x20001, AV_CODEC_ID_FFMETADATA = 0x21000, CODEC_ID_NONE = AV_CODEC_ID_NONE,
  CODEC_ID_MPEG1VIDEO, CODEC_ID_MPEG2VIDEO, CODEC_ID_H261, CODEC_ID_H263,
  CODEC_ID_RV10, CODEC_ID_RV20, CODEC_ID_MJPEG, CODEC_ID_MJPEGB,
  CODEC_ID_LJPEG, CODEC_ID_SP5X, CODEC_ID_JPEGLS, CODEC_ID_MPEG4,
  CODEC_ID_RAWVIDEO, CODEC_ID_MSMPEG4V1, CODEC_ID_MSMPEG4V2, CODEC_ID_MSMPEG4V3,
  CODEC_ID_WMV1, CODEC_ID_WMV2, CODEC_ID_H263P, CODEC_ID_H263I,
  CODEC_ID_FLV1, CODEC_ID_SVQ1, CODEC_ID_SVQ3, CODEC_ID_DVVIDEO,
  CODEC_ID_HUFFYUV, CODEC_ID_CYUV, CODEC_ID_H264, CODEC_ID_INDEO3,
  CODEC_ID_VP3, CODEC_ID_THEORA, CODEC_ID_ASV1, CODEC_ID_ASV2,
  CODEC_ID_FFV1, CODEC_ID_4XM, CODEC_ID_VCR1, CODEC_ID_CLJR,
  CODEC_ID_MDEC, CODEC_ID_ROQ, CODEC_ID_INTERPLAY_VIDEO, CODEC_ID_XAN_WC3,
  CODEC_ID_XAN_WC4, CODEC_ID_RPZA, CODEC_ID_CINEPAK, CODEC_ID_WS_VQA,
  CODEC_ID_MSRLE, CODEC_ID_MSVIDEO1, CODEC_ID_IDCIN, CODEC_ID_8BPS,
  CODEC_ID_SMC, CODEC_ID_FLIC, CODEC_ID_TRUEMOTION1, CODEC_ID_VMDVIDEO,
  CODEC_ID_MSZH, CODEC_ID_ZLIB, CODEC_ID_QTRLE, CODEC_ID_TSCC,
  CODEC_ID_ULTI, CODEC_ID_QDRAW, CODEC_ID_VIXL, CODEC_ID_QPEG,
  CODEC_ID_PNG, CODEC_ID_PPM, CODEC_ID_PBM, CODEC_ID_PGM,
  CODEC_ID_PGMYUV, CODEC_ID_PAM, CODEC_ID_FFVHUFF, CODEC_ID_RV30,
  CODEC_ID_RV40, CODEC_ID_VC1, CODEC_ID_WMV3, CODEC_ID_LOCO,
  CODEC_ID_WNV1, CODEC_ID_AASC, CODEC_ID_INDEO2, CODEC_ID_FRAPS,
  CODEC_ID_TRUEMOTION2, CODEC_ID_BMP, CODEC_ID_CSCD, CODEC_ID_MMVIDEO,
  CODEC_ID_ZMBV, CODEC_ID_AVS, CODEC_ID_SMACKVIDEO, CODEC_ID_NUV,
  CODEC_ID_KMVC, CODEC_ID_FLASHSV, CODEC_ID_CAVS, CODEC_ID_JPEG2000,
  CODEC_ID_VMNC, CODEC_ID_VP5, CODEC_ID_VP6, CODEC_ID_VP6F,
  CODEC_ID_TARGA, CODEC_ID_DSICINVIDEO, CODEC_ID_TIERTEXSEQVIDEO, CODEC_ID_TIFF,
  CODEC_ID_GIF, CODEC_ID_DXA, CODEC_ID_DNXHD, CODEC_ID_THP,
  CODEC_ID_SGI, CODEC_ID_C93, CODEC_ID_BETHSOFTVID, CODEC_ID_PTX,
  CODEC_ID_TXD, CODEC_ID_VP6A, CODEC_ID_AMV, CODEC_ID_VB,
  CODEC_ID_PCX, CODEC_ID_SUNRAST, CODEC_ID_INDEO4, CODEC_ID_INDEO5,
  CODEC_ID_MIMIC, CODEC_ID_RL2, CODEC_ID_ESCAPE124, CODEC_ID_DIRAC,
  CODEC_ID_BFI, CODEC_ID_CMV, CODEC_ID_MOTIONPIXELS, CODEC_ID_TGV,
  CODEC_ID_TGQ, CODEC_ID_TQI, CODEC_ID_AURA, CODEC_ID_AURA2,
  CODEC_ID_V210X, CODEC_ID_TMV, CODEC_ID_V210, CODEC_ID_DPX,
  CODEC_ID_MAD, CODEC_ID_FRWU, CODEC_ID_FLASHSV2, CODEC_ID_CDGRAPHICS,
  CODEC_ID_R210, CODEC_ID_ANM, CODEC_ID_BINKVIDEO, CODEC_ID_IFF_ILBM,
  CODEC_ID_IFF_BYTERUN1, CODEC_ID_KGV1, CODEC_ID_YOP, CODEC_ID_VP8,
  CODEC_ID_PICTOR, CODEC_ID_ANSI, CODEC_ID_A64_MULTI, CODEC_ID_A64_MULTI5,
  CODEC_ID_R10K, CODEC_ID_MXPEG, CODEC_ID_LAGARITH, CODEC_ID_PRORES,
  CODEC_ID_JV, CODEC_ID_DFA, CODEC_ID_WMV3IMAGE, CODEC_ID_VC1IMAGE,
  CODEC_ID_UTVIDEO, CODEC_ID_BMV_VIDEO, CODEC_ID_VBLE, CODEC_ID_DXTORY,
  CODEC_ID_V410, CODEC_ID_XWD, CODEC_ID_CDXL, CODEC_ID_XBM,
  CODEC_ID_ZEROCODEC, CODEC_ID_MSS1, CODEC_ID_MSA1, CODEC_ID_TSCC2,
  CODEC_ID_MTS2, CODEC_ID_CLLC, CODEC_ID_Y41P = MKBETAG('Y','4','1','P'), CODEC_ID_ESCAPE130 = MKBETAG('E','1','3','0'),
  CODEC_ID_EXR = MKBETAG('0','E','X','R'), CODEC_ID_AVRP = MKBETAG('A','V','R','P'), CODEC_ID_G2M = MKBETAG( 0 ,'G','2','M'), CODEC_ID_AVUI = MKBETAG('A','V','U','I'),
  CODEC_ID_AYUV = MKBETAG('A','Y','U','V'), CODEC_ID_V308 = MKBETAG('V','3','0','8'), CODEC_ID_V408 = MKBETAG('V','4','0','8'), CODEC_ID_YUV4 = MKBETAG('Y','U','V','4'),
  CODEC_ID_SANM = MKBETAG('S','A','N','M'), CODEC_ID_PAF_VIDEO = MKBETAG('P','A','F','V'), CODEC_ID_SNOW = AV_CODEC_ID_SNOW, CODEC_ID_FIRST_AUDIO = 0x10000,
  CODEC_ID_PCM_S16LE = 0x10000, CODEC_ID_PCM_S16BE, CODEC_ID_PCM_U16LE, CODEC_ID_PCM_U16BE,
  CODEC_ID_PCM_S8, CODEC_ID_PCM_U8, CODEC_ID_PCM_MULAW, CODEC_ID_PCM_ALAW,
  CODEC_ID_PCM_S32LE, CODEC_ID_PCM_S32BE, CODEC_ID_PCM_U32LE, CODEC_ID_PCM_U32BE,
  CODEC_ID_PCM_S24LE, CODEC_ID_PCM_S24BE, CODEC_ID_PCM_U24LE, CODEC_ID_PCM_U24BE,
  CODEC_ID_PCM_S24DAUD, CODEC_ID_PCM_ZORK, CODEC_ID_PCM_S16LE_PLANAR, CODEC_ID_PCM_DVD,
  CODEC_ID_PCM_F32BE, CODEC_ID_PCM_F32LE, CODEC_ID_PCM_F64BE, CODEC_ID_PCM_F64LE,
  CODEC_ID_PCM_BLURAY, CODEC_ID_PCM_LXF, CODEC_ID_S302M, CODEC_ID_PCM_S8_PLANAR,
  CODEC_ID_ADPCM_IMA_QT = 0x11000, CODEC_ID_ADPCM_IMA_WAV, CODEC_ID_ADPCM_IMA_DK3, CODEC_ID_ADPCM_IMA_DK4,
  CODEC_ID_ADPCM_IMA_WS, CODEC_ID_ADPCM_IMA_SMJPEG, CODEC_ID_ADPCM_MS, CODEC_ID_ADPCM_4XM,
  CODEC_ID_ADPCM_XA, CODEC_ID_ADPCM_ADX, CODEC_ID_ADPCM_EA, CODEC_ID_ADPCM_G726,
  CODEC_ID_ADPCM_CT, CODEC_ID_ADPCM_SWF, CODEC_ID_ADPCM_YAMAHA, CODEC_ID_ADPCM_SBPRO_4,
  CODEC_ID_ADPCM_SBPRO_3, CODEC_ID_ADPCM_SBPRO_2, CODEC_ID_ADPCM_THP, CODEC_ID_ADPCM_IMA_AMV,
  CODEC_ID_ADPCM_EA_R1, CODEC_ID_ADPCM_EA_R3, CODEC_ID_ADPCM_EA_R2, CODEC_ID_ADPCM_IMA_EA_SEAD,
  CODEC_ID_ADPCM_IMA_EA_EACS, CODEC_ID_ADPCM_EA_XAS, CODEC_ID_ADPCM_EA_MAXIS_XA, CODEC_ID_ADPCM_IMA_ISS,
  CODEC_ID_ADPCM_G722, CODEC_ID_ADPCM_IMA_APC, CODEC_ID_VIMA = MKBETAG('V','I','M','A'), CODEC_ID_AMR_NB = 0x12000,
  CODEC_ID_AMR_WB, CODEC_ID_RA_144 = 0x13000, CODEC_ID_RA_288, CODEC_ID_ROQ_DPCM = 0x14000,
  CODEC_ID_INTERPLAY_DPCM, CODEC_ID_XAN_DPCM, CODEC_ID_SOL_DPCM, CODEC_ID_MP2 = 0x15000,
  CODEC_ID_MP3, CODEC_ID_AAC, CODEC_ID_AC3, CODEC_ID_DTS,
  CODEC_ID_VORBIS, CODEC_ID_DVAUDIO, CODEC_ID_WMAV1, CODEC_ID_WMAV2,
  CODEC_ID_MACE3, CODEC_ID_MACE6, CODEC_ID_VMDAUDIO, CODEC_ID_FLAC,
  CODEC_ID_MP3ADU, CODEC_ID_MP3ON4, CODEC_ID_SHORTEN, CODEC_ID_ALAC,
  CODEC_ID_WESTWOOD_SND1, CODEC_ID_GSM, CODEC_ID_QDM2, CODEC_ID_COOK,
  CODEC_ID_TRUESPEECH, CODEC_ID_TTA, CODEC_ID_SMACKAUDIO, CODEC_ID_QCELP,
  CODEC_ID_WAVPACK, CODEC_ID_DSICINAUDIO, CODEC_ID_IMC, CODEC_ID_MUSEPACK7,
  CODEC_ID_MLP, CODEC_ID_GSM_MS, CODEC_ID_ATRAC3, CODEC_ID_VOXWARE,
  CODEC_ID_APE, CODEC_ID_NELLYMOSER, CODEC_ID_MUSEPACK8, CODEC_ID_SPEEX,
  CODEC_ID_WMAVOICE, CODEC_ID_WMAPRO, CODEC_ID_WMALOSSLESS, CODEC_ID_ATRAC3P,
  CODEC_ID_EAC3, CODEC_ID_SIPR, CODEC_ID_MP1, CODEC_ID_TWINVQ,
  CODEC_ID_TRUEHD, CODEC_ID_MP4ALS, CODEC_ID_ATRAC1, CODEC_ID_BINKAUDIO_RDFT,
  CODEC_ID_BINKAUDIO_DCT, CODEC_ID_AAC_LATM, CODEC_ID_QDMC, CODEC_ID_CELT,
  CODEC_ID_G723_1, CODEC_ID_G729, CODEC_ID_8SVX_EXP, CODEC_ID_8SVX_FIB,
  CODEC_ID_BMV_AUDIO, CODEC_ID_RALF, CODEC_ID_IAC, CODEC_ID_ILBC,
  CODEC_ID_FFWAVESYNTH = MKBETAG('F','F','W','S'), CODEC_ID_SONIC = MKBETAG('S','O','N','C'), CODEC_ID_SONIC_LS = MKBETAG('S','O','N','L'), CODEC_ID_PAF_AUDIO = MKBETAG('P','A','F','A'),
  CODEC_ID_OPUS = MKBETAG('O','P','U','S'), CODEC_ID_FIRST_SUBTITLE = 0x17000, CODEC_ID_DVD_SUBTITLE = 0x17000, CODEC_ID_DVB_SUBTITLE,
  CODEC_ID_TEXT, CODEC_ID_XSUB, CODEC_ID_SSA, CODEC_ID_MOV_TEXT,
  CODEC_ID_HDMV_PGS_SUBTITLE, CODEC_ID_DVB_TELETEXT, CODEC_ID_SRT, CODEC_ID_MICRODVD = MKBETAG('m','D','V','D'),
  CODEC_ID_EIA_608 = MKBETAG('c','6','0','8'), CODEC_ID_JACOSUB = MKBETAG('J','S','U','B'), CODEC_ID_SAMI = MKBETAG('S','A','M','I'), CODEC_ID_REALTEXT = MKBETAG('R','T','X','T'),
  CODEC_ID_SUBVIEWER = MKBETAG('S','u','b','V'), CODEC_ID_FIRST_UNKNOWN = 0x18000, CODEC_ID_TTF = 0x18000, CODEC_ID_BINTEXT = MKBETAG('B','T','X','T'),
  CODEC_ID_XBIN = MKBETAG('X','B','I','N'), CODEC_ID_IDF = MKBETAG( 0 ,'I','D','F'), CODEC_ID_OTF = MKBETAG( 0 ,'O','T','F'), CODEC_ID_PROBE = 0x19000,
  CODEC_ID_MPEG2TS = 0x20000, CODEC_ID_MPEG4SYSTEMS = 0x20001, CODEC_ID_FFMETADATA = 0x21000
}
  Identify the syntax and semantics of the bitstream. More...
 
  motion estimation type. More...
 
 
 
 
 
 
 
 
  Lock operation used by lockmgr. More...
 

Functions

 
 
 
 
int  av_codec_get_lowres (const AVCodecContext *avctx)
 
 
 
 
 
 
int  av_codec_get_max_lowres (const AVCodec *codec)
 
  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.
 
unsigned  avcodec_version (void)
  Return the LIBAVCODEC_VERSION_INT constant.
 
const char *  avcodec_configuration (void)
  Return the libavcodec build-time configuration.
 
const char *  avcodec_license (void)
  Return the libavcodec license.
 
  Register the codec codec and initialize libavcodec.
 
  Register all the codecs, parsers and bitstream filters which were enabled at configuration time.
 
  Allocate an AVCodecContext and set its fields to default values.
 
  Free the codec context and everything associated with it and write NULL to the provided pointer.
 
  Set the fields of the given AVCodecContext to default values corresponding to the given codec (defaults may be codec-dependent).
 
  Get the AVClass for AVCodecContext.
 
  Get the AVClass for AVFrame.
 
  Get the AVClass for AVSubtitleRect.
 
  Copy the settings of the source AVCodecContext into the destination AVCodecContext.
 
int  avcodec_open2 (AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options)
  Initialize the AVCodecContext to use the given AVCodec.
 
  Close a given AVCodecContext and free all the data associated with it (but not the AVCodecContext itself).
 
  Free all allocated data in the given subtitle struct.
 
  Default packet destructor.
 
  Initialize optional fields of a packet with default values.
 
  Allocate the payload of a packet and initialize its fields with default values.
 
  Reduce packet size, correctly zeroing padding.
 
int  av_grow_packet (AVPacket *pkt, int grow_by)
  Increase packet size, correctly zeroing padding.
 
  Initialize a reference-counted packet from av_malloc()ed data.
 
 
int  av_copy_packet (AVPacket *dst, const AVPacket *src)
  Copy packet, including contents.
 
  Copy packet side data.
 
  Free a packet.
 
  Allocate new information of a packet.
 
  Shrink the already allocated side data buffer.
 
  Get side information from packet.
 
 
 
  Pack a dictionary for use in side_data.
 
  Unpack a dictionary from side_data.
 
  Convenience function to free all the side data stored.
 
int  av_packet_ref (AVPacket *dst, const AVPacket *src)
  Setup a new reference to the data described by a given packet.
 
  Wipe the packet.
 
  Move every field in src to dst and reset src.
 
  Copy only "properties" fields from src to dst.
 
  Convert valid timing fields (timestamps / durations) in a packet from one timebase to another.
 
  Find a registered decoder with a matching codec ID.
 
  Find a registered decoder with the specified name.
 
 
 
 
  The default callback for AVCodecContext.get_buffer2().
 
  Return the amount of padding in pixels which the get_buffer callback must provide around the edge of the image for codecs which do not have the CODEC_FLAG_EMU_EDGE flag.
 
  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.
 
  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].
 
int  avcodec_enum_to_chroma_pos (int *xpos, int *ypos, enum AVChromaLocation pos)
  Converts AVChromaLocation to swscale x/y chroma position.
 
enum AVChromaLocation  avcodec_chroma_pos_to_enum (int xpos, int ypos)
  Converts swscale x/y chroma position to AVChromaLocation.
 
attribute_deprecated int  avcodec_decode_audio3 (AVCodecContext *avctx, int16_t *samples, int *frame_size_ptr, AVPacket *avpkt)
  Wrapper function which calls avcodec_decode_audio4.
 
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.
 
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.
 
int  avcodec_decode_subtitle2 (AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, AVPacket *avpkt)
  Decode a subtitle message.
 
 
 
 
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.
 
int  av_parser_change (AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
 
 
  Find a registered encoder with a matching codec ID.
 
  Find a registered encoder with the specified name.
 
int attribute_deprecated  avcodec_encode_audio (AVCodecContext *avctx, uint8_t *buf, int buf_size, const short *samples)
  Encode an audio frame from samples into buf.
 
int  avcodec_encode_audio2 (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
  Encode a frame of audio.
 
attribute_deprecated int  avcodec_encode_video (AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVFrame *pict)
 
int  avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
  Encode a frame of video.
 
int  avcodec_encode_subtitle (AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVSubtitle *sub)
 
attribute_deprecated
ReSampleContextav_audio_resample_init (int output_channels, int input_channels, int output_rate, int input_rate, enum AVSampleFormat sample_fmt_out, enum AVSampleFormat sample_fmt_in, int filter_length, int log2_phase_count, int linear, double cutoff)
  Initialize audio resampling context.
 
attribute_deprecated int  audio_resample (ReSampleContext *s, short *output, short *input, int nb_samples)
 
  Free resample context.
 
attribute_deprecated struct
AVResampleContextav_resample_init (int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear, double cutoff)
  Initialize an audio resampler.
 
attribute_deprecated int  av_resample (struct AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_size, int update_ctx)
  Resample an array of samples using a previously configured context.
 
attribute_deprecated void  av_resample_compensate (struct AVResampleContext *c, int sample_delta, int compensation_distance)
  Compensate samplerate/timestamp drift.
 
 
int  avpicture_alloc (AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height)
  Allocate memory for the pixels of a picture and setup the AVPicture fields for it.
 
  Free a picture previously allocated by avpicture_alloc().
 
int  avpicture_fill (AVPicture *picture, const uint8_t *ptr, enum AVPixelFormat pix_fmt, int width, int height)
  Setup the picture fields based on the specified image parameters and the provided image data buffer.
 
int  avpicture_layout (const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height, unsigned char *dest, int dest_size)
  Copy pixel data from an AVPicture into a buffer.
 
  Calculate the size in bytes that a picture of the given width and height would occupy if stored in the given picture format.
 
  deinterlace - if not supported return -1
 
  Copy image src to dst.
 
int  av_picture_crop (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int top_band, int left_band)
  Crop image top and left side.
 
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)
  Pad image.
 
void  avcodec_get_chroma_sub_sample (enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift)
  Utility function to access log2_chroma_w log2_chroma_h from the pixel format AVPixFmtDescriptor.
 
  Return a value representing the fourCC code associated to the pixel format pix_fmt, or 0 if no associated fourCC code can be found.
 
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.
 
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)
 
 
 
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.
 
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.
 
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.
 
  Reset the internal decoder state / flush internal buffers.
 
  Return codec bits per sample.
 
  Return the PCM codec associated with a sample format.
 
  Return codec bits per sample.
 
int  av_get_audio_frame_duration (AVCodecContext *avctx, int frame_bytes)
  Return audio frame duration.
 
  Register a bitstream filter.
 
  Create and initialize a bitstream filter context given a bitstream filter name.
 
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)
  Filter bitstream.
 
  Release bitstream filter context.
 
  If f is NULL, return the first registered bitstream filter, if f is non-NULL, return the next registered bitstream filter after f, or NULL if f is the last one.
 
void  av_fast_padded_malloc (void *ptr, unsigned int *size, size_t min_size)
  Same behaviour av_fast_malloc but the buffer has additional FF_INPUT_BUFFER_PADDING_SIZE at the end which will always be 0.
 
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.
 
unsigned int  av_xiphlacing (unsigned char *s, unsigned int v)
  Encode extradata length to a buffer.
 
attribute_deprecated void  av_log_missing_feature (void *avc, const char *feature, int want_sample)
  Log a generic warning message about a missing feature.
 
  Log a generic warning message asking for a sample.
 
  Register the hardware accelerator 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.
 
int  av_lockmgr_register (int(*cb)(void **mutex, enum AVLockOp op))
  Register a user provided lock manager supporting the operations specified by AVLockOp.
 
  Get the type of the given codec.
 
const char *  avcodec_get_name (enum AVCodecID id)
  Get the name of a codec.
 
 
int  av_codec_is_encoder (const AVCodec *codec)
 
int  av_codec_is_decoder (const AVCodec *codec)
 
 
  Iterate over all codec descriptors known to libavcodec.
 
 

Detailed Description

Libavcodec external API header.

Definition in file avcodec.h.

Macro Definition Documentation

#define AV_CODEC_ID_H265   AV_CODEC_ID_HEVC

Definition at line 325 of file avcodec.h.

#define FF_COMPRESSION_DEFAULT   -1

Definition at line 1300 of file avcodec.h.

Referenced by alac_encode_init(), encode_frame(), encode_init(), mp3lame_encode_init(), and wavpack_encode_init().

#define FF_ASPECT_EXTENDED   15

Definition at line 1405 of file avcodec.h.

Referenced by decode_vol_header(), ff_h263_aspect_to_info(), ff_h263_decode_picture_header(), ff_h263_encode_picture_header(), and mpeg4_encode_vol_header().

#define FF_RC_STRATEGY_XVID   1

Definition at line 1490 of file avcodec.h.

Referenced by ff_rate_control_init(), ff_rate_control_uninit(), and ff_rate_estimate_qscale().

#define FF_PRED_LEFT   0

Definition at line 1579 of file avcodec.h.

#define FF_PRED_PLANE   1

Definition at line 1580 of file avcodec.h.

Referenced by utvideo_encode_init().

#define FF_PRED_MEDIAN   2

Definition at line 1581 of file avcodec.h.

#define FF_CMP_SAD   0

Definition at line 1623 of file avcodec.h.

Referenced by config_props(), ff_init_me(), ff_set_cmp(), and get_penalty_factor().

#define FF_CMP_SSE   1

Definition at line 1624 of file avcodec.h.

Referenced by config_props(), ff_estimate_p_frame_motion(), ff_set_cmp(), and get_penalty_factor().

#define FF_CMP_SATD   2

Definition at line 1625 of file avcodec.h.

Referenced by ff_set_cmp(), and get_penalty_factor().

#define FF_CMP_DCT   3

Definition at line 1626 of file avcodec.h.

Referenced by ff_set_cmp(), and get_penalty_factor().

#define FF_CMP_PSNR   4

Definition at line 1627 of file avcodec.h.

Referenced by ff_set_cmp(), and get_penalty_factor().

#define FF_CMP_BIT   5

Definition at line 1628 of file avcodec.h.

Referenced by ff_set_cmp(), and get_penalty_factor().

#define FF_CMP_RD   6

Definition at line 1629 of file avcodec.h.

Referenced by ff_set_cmp(), get_penalty_factor(), h263_mv4_search(), and interlaced_search().

#define FF_CMP_ZERO   7

Definition at line 1630 of file avcodec.h.

Referenced by ff_set_cmp().

#define FF_CMP_VSAD   8

Definition at line 1631 of file avcodec.h.

Referenced by ff_set_cmp().

#define FF_CMP_VSSE   9

Definition at line 1632 of file avcodec.h.

Referenced by encode_mb_internal(), and ff_set_cmp().

#define FF_CMP_NSSE   10

Definition at line 1633 of file avcodec.h.

Referenced by ff_set_cmp(), get_penalty_factor(), and sse_mb().

#define FF_CMP_W53   11

Definition at line 1634 of file avcodec.h.

Referenced by ff_set_cmp(), get_block_rd(), and get_penalty_factor().

#define FF_CMP_W97   12

Definition at line 1635 of file avcodec.h.

Referenced by ff_set_cmp(), get_block_rd(), and get_penalty_factor().

#define FF_CMP_DCTMAX   13

Definition at line 1636 of file avcodec.h.

Referenced by add_codec(), and ff_set_cmp().

#define FF_CMP_DCT264   14

Definition at line 1637 of file avcodec.h.

Referenced by ff_set_cmp(), and get_penalty_factor().

#define FF_CMP_CHROMA   256

Definition at line 1638 of file avcodec.h.

Referenced by check_bidir_mv(), ff_init_me(), h263_mv4_search(), X264_init(), and XAVS_init().

#define FF_DTG_AFD_SAME   8

Definition at line 1691 of file avcodec.h.

#define FF_DTG_AFD_4_3   9

Definition at line 1692 of file avcodec.h.

#define FF_DTG_AFD_16_9   10

Definition at line 1693 of file avcodec.h.

#define FF_DTG_AFD_14_9   11

Definition at line 1694 of file avcodec.h.

#define FF_DTG_AFD_4_3_SP_14_9   13

Definition at line 1695 of file avcodec.h.

#define FF_DTG_AFD_16_9_SP_14_9   14

Definition at line 1696 of file avcodec.h.

#define FF_DTG_AFD_SP_4_3   15

Definition at line 1697 of file avcodec.h.

#define FF_DEFAULT_QUANT_BIAS   999999

Definition at line 1714 of file avcodec.h.

Referenced by dnxhd_encode_init(), and ff_MPV_encode_init().

#define SLICE_FLAG_CODED_ORDER   0x0001

draw_horiz_band() is called in coded order instead of display

Definition at line 1729 of file avcodec.h.

Referenced by ff_draw_horiz_band(), and ff_h264_draw_horiz_band().

#define SLICE_FLAG_ALLOW_FIELD   0x0002

allow draw_horiz_band() with field slices (MPEG2 field pics)

Definition at line 1730 of file avcodec.h.

Referenced by ff_draw_horiz_band(), ff_h264_draw_horiz_band(), and mpeg_field_start().

#define SLICE_FLAG_ALLOW_PLANE   0x0004

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

Definition at line 1731 of file avcodec.h.

#define FF_MB_DECISION_SIMPLE   0

uses mb_cmp

Definition at line 1749 of file avcodec.h.

Referenced by clip_coeffs(), ff_estimate_b_frame_motion(), ff_estimate_p_frame_motion(), and ff_MPV_encode_init().

#define FF_MB_DECISION_BITS   1

chooses the one which needs the fewest bits

Definition at line 1750 of file avcodec.h.

Referenced by encode_thread(), and parse_ffconfig().

#define FF_MB_DECISION_RD   2

rate distortion

Definition at line 1751 of file avcodec.h.

Referenced by dnxhd_calc_bits_thread(), dnxhd_encode_picture(), dnxhd_init_rc(), encode_mb_hq(), ff_MPV_encode_init(), and MPV_decode_mb_internal().

#define FF_CODER_TYPE_VLC   0

Definition at line 2334 of file avcodec.h.

Referenced by libschroedinger_encode_init().

#define FF_CODER_TYPE_AC   1

Definition at line 2335 of file avcodec.h.

Referenced by X264_init().

#define FF_CODER_TYPE_RAW   2

Definition at line 2336 of file avcodec.h.

Referenced by encode_frame(), sunrast_encode_init(), and targa_encode_frame().

#define FF_CODER_TYPE_RLE   3

Definition at line 2337 of file avcodec.h.

Referenced by sunrast_encode_init().

#define FF_CODER_TYPE_DEFLATE   4

Definition at line 2338 of file avcodec.h.

#define FF_BUG_AUTODETECT   1

autodetection

Definition at line 2474 of file avcodec.h.

Referenced by decode_slice(), ff_mpeg4_workaround_bugs(), and get_bit_length().

#define FF_BUG_OLD_MSMPEG4   2

Definition at line 2476 of file avcodec.h.

#define FF_BUG_XVID_ILACE   4

Definition at line 2478 of file avcodec.h.

Referenced by ff_mpeg4_workaround_bugs(), and mpeg4_decode_mb().

#define FF_BUG_UMP4   8

Definition at line 2479 of file avcodec.h.

Referenced by decode_vop_header(), and ff_mpeg4_workaround_bugs().

#define FF_BUG_NO_PADDING   16

Definition at line 2480 of file avcodec.h.

Referenced by decode_slice(), and mpeg4_is_resync().

#define FF_BUG_AMV   32

Definition at line 2481 of file avcodec.h.

Referenced by get_amv().

#define FF_BUG_AC_VLC   0

Will be removed, libavcodec can now handle these non-compliant files by default.

Definition at line 2483 of file avcodec.h.

#define FF_BUG_QPEL_CHROMA   64

Definition at line 2485 of file avcodec.h.

Referenced by ff_mpeg4_workaround_bugs(), and qpel_motion().

#define FF_BUG_STD_QPEL   128

Definition at line 2486 of file avcodec.h.

Referenced by ff_mpeg4_workaround_bugs().

#define FF_BUG_QPEL_CHROMA2   256

Definition at line 2487 of file avcodec.h.

Referenced by ff_mpeg4_workaround_bugs(), and qpel_motion().

#define FF_BUG_DIRECT_BLOCKSIZE   512

Definition at line 2488 of file avcodec.h.

Referenced by ff_mpeg4_set_direct_mv(), and ff_mpeg4_workaround_bugs().

#define FF_BUG_EDGE   1024

Definition at line 2489 of file avcodec.h.

Referenced by decode_vop_header(), and ff_mpeg4_workaround_bugs().

#define FF_BUG_HPEL_CHROMA   2048

Definition at line 2490 of file avcodec.h.

Referenced by ff_mpeg4_workaround_bugs(), and mpeg_motion_internal().

#define FF_BUG_DC_CLIP   4096

Definition at line 2491 of file avcodec.h.

Referenced by ff_mpeg4_pred_dc(), and ff_mpeg4_workaround_bugs().

#define FF_BUG_MS   8192

Work around various bugs in Microsoft's broken decoders.

Definition at line 2492 of file avcodec.h.

Referenced by encode_init(), ff_mpeg4_encode_picture_header(), and mpeg4_encode_vol_header().

#define FF_BUG_TRUNCATED   16384

Definition at line 2493 of file avcodec.h.

Referenced by decode_slice(), and get_bit_length().

#define FF_COMPLIANCE_VERY_STRICT   2

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

Definition at line 2508 of file avcodec.h.

Referenced by ff_mpeg4_encode_picture_header().

#define FF_COMPLIANCE_STRICT   1

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

Definition at line 2509 of file avcodec.h.

Referenced by decode_postinit(), and set_default_channel_config().

#define FF_COMPLIANCE_NORMAL   0

Definition at line 2510 of file avcodec.h.

Referenced by decode_frame(), dvbsub_parse_clut_segment(), encode_init(), ff_fix_long_p_mvs(), ff_get_best_fcode(), ff_put_wav_header(), mkv_query_codec(), mov_get_codec_tag(), validate_codec_tag(), and yuv4_write_header().

#define FF_COMPLIANCE_UNOFFICIAL   -1

Allow unofficial extensions.

Definition at line 2511 of file avcodec.h.

Referenced by amr_wb_encode_init(), amv_encode_picture(), avcodec_open2(), choose_pix_fmts(), choose_pixel_fmt(), encode_frame(), encode_init(), ff_MPV_encode_init(), find_frame_rate_index(), flv_write_header(), libgsm_encode_init(), and ljpeg_encode_init().

#define FF_COMPLIANCE_EXPERIMENTAL   -2

Allow nonstandardized experimental things.

Definition at line 2512 of file avcodec.h.

Referenced by avcodec_open2(), config(), config_props(), encode_init(), ff_MPV_encode_init(), libx265_encode_init(), and nut_write_header().

#define FF_EC_GUESS_MVS   1

Definition at line 2520 of file avcodec.h.

Referenced by guess_mv().

#define FF_EC_DEBLOCK   2

Definition at line 2521 of file avcodec.h.

Referenced by ff_er_frame_end().

#define FF_EC_FAVOR_INTER   256

Definition at line 2522 of file avcodec.h.

Referenced by is_intra_more_likely().

#define FF_DEBUG_PICT_INFO   1

Definition at line 2530 of file avcodec.h.

Referenced by decode_ext_header(), decode_fill(), decode_frame(), decode_frame_packing_arrangement(), decode_init(), decode_picture_timing(), decode_recovery_point(), decode_vol_header(), decode_vop_header(), ff_flv_decode_picture_header(), ff_h263_show_pict_info(), ff_h264_decode_picture_parameter_set(), ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), ff_jpegls_decode_lse(), ff_jpegls_decode_picture(), ff_mjpeg_decode_sos(), ff_msmpeg4_decode_picture_header(), ff_wmv2_decode_secondary_picture_header(), mjpeg_decode_app(), mjpeg_decode_com(), mpeg1_decode_picture(), mpeg1_decode_sequence(), mpeg_decode_gop(), mpeg_decode_picture_display_extension(), mpeg_decode_sequence_display_extension(), mpeg_decode_sequence_extension(), mpeg_decode_slice(), parse_avid(), pcm_bluray_parse_header(), pcm_dvd_parse_header(), read_extra_header(), rv10_decode_init(), rv20_decode_picture_header(), svq3_decode_frame(), truemotion1_decode_header(), and vc1_decode_frame().

#define FF_DEBUG_RC   2

Definition at line 2531 of file avcodec.h.

Referenced by ff_rate_estimate_qscale(), ff_vbv_update(), and modify_qscale().

#define FF_DEBUG_BITSTREAM   4

Definition at line 2532 of file avcodec.h.

Referenced by decode_init(), ff_hevc_decode_nal_sps(), and pcm_bluray_decode_frame().

#define FF_DEBUG_MB_TYPE   8

Definition at line 2533 of file avcodec.h.

Referenced by ff_print_debug_info2().

#define FF_DEBUG_QP   16

Definition at line 2534 of file avcodec.h.

Referenced by ff_mjpeg_decode_frame(), ff_print_debug_info2(), and mjpegb_decode_frame().

#define FF_DEBUG_MV   32
Deprecated:
this option does nothing

Definition at line 2539 of file avcodec.h.

#define FF_DEBUG_DCT_COEFF   0x00000040

Definition at line 2541 of file avcodec.h.

Referenced by check_keyboard_interaction(), and MPV_decode_mb_internal().

#define FF_DEBUG_SKIP   0x00000080

Definition at line 2542 of file avcodec.h.

Referenced by ff_print_debug_info2().

#define FF_DEBUG_STARTCODE   0x00000100

Definition at line 2543 of file avcodec.h.

Referenced by decode_chunks(), decode_frame(), decode_nal_units(), dvbsub_decode(), ff_h264_decode_sei(), ff_mjpeg_decode_frame(), ff_mpeg4_decode_picture_header(), and mjpeg_decode_app().

#define FF_DEBUG_PTS   0x00000200

Definition at line 2544 of file avcodec.h.

Referenced by decode_vop_header().

#define FF_DEBUG_ER   0x00000400

Definition at line 2545 of file avcodec.h.

Referenced by ff_er_frame_end().

#define FF_DEBUG_MMCO   0x00000800

Definition at line 2546 of file avcodec.h.

Referenced by ff_h264_execute_ref_pic_marking(), find_short(), print_long_term(), print_short_term(), and remove_short().

#define FF_DEBUG_BUGS   0x00001000

Definition at line 2547 of file avcodec.h.

Referenced by decode_unregistered_user_data(), and ff_mpeg4_workaround_bugs().

#define FF_DEBUG_VIS_QP   0x00002000

only access through AVOptions from outside libavcodec

Definition at line 2549 of file avcodec.h.

Referenced by check_keyboard_interaction(), ff_frame_thread_init(), and ff_print_debug_info2().

#define FF_DEBUG_VIS_MB_TYPE   0x00004000

only access through AVOptions from outside libavcodec

Definition at line 2550 of file avcodec.h.

Referenced by check_keyboard_interaction(), ff_frame_thread_init(), and ff_print_debug_info2().

#define FF_DEBUG_BUFFERS   0x00008000

Definition at line 2552 of file avcodec.h.

Referenced by audio_get_buffer(), ff_thread_release_buffer(), and video_get_buffer().

#define FF_DEBUG_THREADS   0x00010000

Definition at line 2553 of file avcodec.h.

Referenced by ff_thread_await_progress(), and ff_thread_report_progress().

#define FF_DEBUG_NOMC   0x01000000

Definition at line 2554 of file avcodec.h.

Referenced by ff_dct_common_init(), and ff_MPV_frame_start().

#define FF_DEBUG_VIS_MV_P_FOR   0x00000001

Definition at line 2564 of file avcodec.h.

Referenced by ff_print_debug_info2().

#define FF_DEBUG_VIS_MV_B_FOR   0x00000002

Definition at line 2565 of file avcodec.h.

Referenced by ff_print_debug_info2().

#define FF_DEBUG_VIS_MV_B_BACK   0x00000004

Definition at line 2566 of file avcodec.h.

Referenced by ff_print_debug_info2().

#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 2582 of file avcodec.h.

Referenced by ac3_decode_frame(), decode_frame(), decode_init(), flac_decode_frame(), hevc_decode_frame(), read_specific_config(), tak_decode_frame(), tta_decode_frame(), wv_unpack_mono(), and wv_unpack_stereo().

#define AV_EF_BITSTREAM   (1<<1)

detect bitstream specification deviations

Definition at line 2583 of file avcodec.h.

Referenced by ff_mpeg4_pred_dc(), ff_msmpeg4_decode_block(), h261_decode_gob_header(), h263_decode_block(), huffman_decode(), mpeg1_decode_picture(), mpeg1_decode_sequence(), mpeg4_decode_block(), mpeg4_decode_dc(), and mpeg_decode_slice().

#define AV_EF_BUFFER   (1<<2)

detect improper bitstream length

Definition at line 2584 of file avcodec.h.

Referenced by decode_slice(), and huffman_decode().

#define AV_EF_EXPLODE   (1<<3)

abort decoding on minor error detection

Definition at line 2585 of file avcodec.h.

Referenced by aac_decode_init(), ac3_decode_frame(), avcodec_decode_audio4(), avcodec_decode_video2(), avi_read_header(), decode(), decode_chunks(), decode_frame(), decode_nal_unit(), decode_nal_units(), decode_region_inter(), decode_region_masked(), decode_rle(), display_end_segment(), ebml_parse_id(), ff_ccitt_unpack(), ff_er_frame_end(), ff_flac_parse_picture(), ff_h263_decode_frame(), ff_h264_decode_ref_pic_marking(), ff_h264_decode_slice_header(), ff_h264_execute_ref_pic_marking(), ff_hevc_decode_nal_sps(), ff_hevc_decode_nal_vps(), ff_mjpeg_decode_frame(), ff_rm_read_mdpr_codecdata(), flac_decode_frame(), hevc_decode_frame(), hls_slice_header(), init_dimensions(), matroska_read_header(), mjpegb_decode_frame(), mpeg_decode_frame(), mxpeg_decode_frame(), ogg_read_header(), opus_decode_frame(), opus_decode_subpacket(), parse_presentation_segment(), pcx_decode_frame(), read_header(), slice_decode_thread(), tak_decode_frame(), tak_read_header(), tiff_decode_tag(), tta_decode_frame(), v410_decode_init(), vc1_decode_frame(), wavpack_decode_block(), and wv_unpack_mono().

#define AV_EF_IGNORE_ERR   (1<<15)

ignore errors and continue

Definition at line 2587 of file avcodec.h.

Referenced by decode_slice(), and mpeg4_decode_block().

#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 2588 of file avcodec.h.

Referenced by ac3_decode_frame(), decode_frame(), decode_init(), and read_specific_config().

#define AV_EF_COMPLIANT   (1<<17)

consider all spec non compliances as errors

Definition at line 2589 of file avcodec.h.

Referenced by ff_msmpeg4_decode_block(), flac_decode_frame(), h261_decode_gob_header(), h263_decode_block(), huffman_decode(), mpeg1_decode_picture(), mpeg1_decode_sequence(), mpeg4_decode_dc(), and tak_decode_frame().

#define AV_EF_AGGRESSIVE   (1<<18)

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

Definition at line 2590 of file avcodec.h.

Referenced by decode_slice(), ff_mpeg4_pred_dc(), huffman_decode(), mpeg4_decode_block(), mpeg4_decode_mb(), and mpeg_decode_slice().

#define FF_DCT_AUTO   0

Definition at line 2634 of file avcodec.h.

Referenced by ff_dct_encode_init_x86(), ff_fdctdsp_init_ppc(), ff_fdctdsp_init_x86(), and ff_MPV_common_init_ppc().

#define FF_DCT_FASTINT   1

Definition at line 2635 of file avcodec.h.

Referenced by ff_fdctdsp_init(), and parse_ffconfig().

#define FF_DCT_INT   2

Definition at line 2636 of file avcodec.h.

#define FF_DCT_MMX   3

Definition at line 2637 of file avcodec.h.

Referenced by ff_dct_encode_init_x86(), and ff_fdctdsp_init_x86().

#define FF_DCT_ALTIVEC   5

Definition at line 2638 of file avcodec.h.

Referenced by ff_fdctdsp_init_ppc(), and ff_MPV_common_init_ppc().

#define FF_DCT_FAAN   6

Definition at line 2639 of file avcodec.h.

Referenced by ff_fdctdsp_init().

#define FF_IDCT_AUTO   0

Definition at line 2647 of file avcodec.h.

Referenced by decode_init(), ff_idctdsp_init_alpha(), ff_idctdsp_init_arm(), ff_idctdsp_init_armv5te(), ff_idctdsp_init_armv6(), ff_idctdsp_init_neon(), ff_idctdsp_init_ppc(), ff_idctdsp_init_x86(), ff_mpeg4_workaround_bugs(), and setup_hwaccel_for_pixfmt().

#define FF_IDCT_INT   1

Definition at line 2648 of file avcodec.h.

Referenced by ff_idctdsp_init().

#define FF_IDCT_SIMPLE   2

Definition at line 2649 of file avcodec.h.

Referenced by decode_init(), parse_ffconfig(), and setup_hwaccel_for_pixfmt().

#define FF_IDCT_SIMPLEMMX   3

Definition at line 2650 of file avcodec.h.

Referenced by ff_idctdsp_init_x86().

#define FF_IDCT_ARM   7

Definition at line 2651 of file avcodec.h.

Referenced by ff_idctdsp_init_arm().

#define FF_IDCT_ALTIVEC   8

Definition at line 2652 of file avcodec.h.

Referenced by ff_idctdsp_init_ppc().

#define FF_IDCT_SH4   9

Definition at line 2654 of file avcodec.h.

#define FF_IDCT_SIMPLEARM   10

Definition at line 2656 of file avcodec.h.

Referenced by ff_idctdsp_init_arm().

#define FF_IDCT_IPP   13

Definition at line 2657 of file avcodec.h.

#define FF_IDCT_XVIDMMX   14

Definition at line 2658 of file avcodec.h.

Referenced by ff_idctdsp_init_x86(), and ff_mpeg4_workaround_bugs().

#define FF_IDCT_SIMPLEARMV5TE   16

Definition at line 2659 of file avcodec.h.

Referenced by ff_idctdsp_init_armv5te().

#define FF_IDCT_SIMPLEARMV6   17

Definition at line 2660 of file avcodec.h.

Referenced by ff_idctdsp_init_armv6().

#define FF_IDCT_SIMPLEVIS   18

Definition at line 2662 of file avcodec.h.

#define FF_IDCT_FAAN   20

Definition at line 2664 of file avcodec.h.

Referenced by ff_idctdsp_init().

#define FF_IDCT_SIMPLENEON   22

Definition at line 2665 of file avcodec.h.

Referenced by ff_idctdsp_init_neon().

#define FF_IDCT_SIMPLEALPHA   23

Definition at line 2667 of file avcodec.h.

Referenced by ff_idctdsp_init_alpha().

#define FF_IDCT_SIMPLEAUTO   128

Definition at line 2669 of file avcodec.h.

Referenced by ff_idctdsp_init_armv5te(), ff_idctdsp_init_neon(), and ff_idctdsp_init_x86().

#define FF_THREAD_FRAME   1

Decode more than one frame at once.

Definition at line 2720 of file avcodec.h.

Referenced by avcodec_decode_audio4(), avcodec_decode_video2(), avcodec_encode_video2(), avcodec_flush_buffers(), avcodec_open2(), await_reference_mb_row(), decode_nal_units(), dxva2_create_decoder(), ff_frame_thread_encoder_init(), ff_h264_decode_slice_header(), ff_h264_field_end(), ff_hevc_hls_filter(), ff_MPV_frame_start(), ff_rv34_decode_frame(), ff_thread_can_start_frame(), ff_thread_finish_setup(), ff_thread_free(), ff_thread_get_format(), ff_thread_init(), ff_thread_release_buffer(), finish_frame(), generate_missing_ref(), hevc_await_progress(), hevc_decode_init(), hevc_frame_start(), hl_motion(), mimic_decode_frame(), mpeg_field_start(), MPV_decode_mb_internal(), render_slice(), rv34_decode_mv(), rv34_decode_slice(), rv34_mc(), slice_end(), temporal_luma_motion_vector(), thread_get_buffer_internal(), validate_thread_parameters(), vp3_decode_frame(), vp3_draw_horiz_band(), vp78_decode_frame(), vp78_decode_mb_row_sliced(), and vp9_decode_frame().

#define FF_THREAD_SLICE   2

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

Definition at line 2721 of file avcodec.h.

Referenced by decode_chunks(), decode_slice(), ff_alloc_entries(), ff_er_add_slice(), ff_mjpeg_encode_stuffing(), ff_MPV_common_init(), ff_thread_init(), h264_slice_header_init(), hevc_decode_init(), jpeg_table_header(), thread_execute(), update_dimensions(), validate_thread_parameters(), and X264_init().

#define FF_PROFILE_UNKNOWN   -99

Definition at line 2792 of file avcodec.h.

Referenced by aac_encode_init(), aacPlus_encode_init(), av_get_profile_name(), avcodec_string(), encode_init(), Faac_encode_init(), mpeg4_encode_visual_object_header(), prores_encode_init(), and vpx_init().

#define FF_PROFILE_RESERVED   -100

Definition at line 2793 of file avcodec.h.

#define FF_PROFILE_AAC_MAIN   0

Definition at line 2795 of file avcodec.h.

Referenced by Faac_encode_init().

#define FF_PROFILE_AAC_LOW   1

Definition at line 2796 of file avcodec.h.

Referenced by aac_encode_init(), aacPlus_encode_init(), and Faac_encode_init().

#define FF_PROFILE_AAC_SSR   2

Definition at line 2797 of file avcodec.h.

Referenced by Faac_encode_init().

#define FF_PROFILE_AAC_LTP   3

Definition at line 2798 of file avcodec.h.

Referenced by Faac_encode_init().

#define FF_PROFILE_AAC_HE   4

Definition at line 2799 of file avcodec.h.

Referenced by aac_encode_init(), and decode_extension_payload().

#define FF_PROFILE_AAC_HE_V2   28

Definition at line 2800 of file avcodec.h.

Referenced by aac_encode_init(), decode_extension_payload(), and read_sbr_extension().

#define FF_PROFILE_AAC_LD   22

Definition at line 2801 of file avcodec.h.

#define FF_PROFILE_AAC_ELD   38

Definition at line 2802 of file avcodec.h.

Referenced by aac_encode_init().

#define FF_PROFILE_MPEG2_AAC_LOW   128

Definition at line 2803 of file avcodec.h.

#define FF_PROFILE_MPEG2_AAC_HE   131

Definition at line 2804 of file avcodec.h.

Referenced by aac_encode_init().

#define FF_PROFILE_DTS   20

Definition at line 2806 of file avcodec.h.

Referenced by dca_decode_frame().

#define FF_PROFILE_DTS_ES   30

Definition at line 2807 of file avcodec.h.

Referenced by dca_decode_frame().

#define FF_PROFILE_DTS_96_24   40

Definition at line 2808 of file avcodec.h.

Referenced by dca_decode_frame().

#define FF_PROFILE_DTS_HD_HRA   50

Definition at line 2809 of file avcodec.h.

Referenced by dca_exss_parse_asset_header().

#define FF_PROFILE_DTS_HD_MA   60

Definition at line 2810 of file avcodec.h.

Referenced by dca_exss_parse_asset_header().

#define FF_PROFILE_MPEG2_422   0

Definition at line 2812 of file avcodec.h.

#define FF_PROFILE_MPEG2_HIGH   1

Definition at line 2813 of file avcodec.h.

#define FF_PROFILE_MPEG2_SS   2

Definition at line 2814 of file avcodec.h.

#define FF_PROFILE_MPEG2_SNR_SCALABLE   3

Definition at line 2815 of file avcodec.h.

#define FF_PROFILE_MPEG2_MAIN   4

Definition at line 2816 of file avcodec.h.

Referenced by av_vdpau_get_profile().

#define FF_PROFILE_MPEG2_SIMPLE   5

Definition at line 2817 of file avcodec.h.

Referenced by av_vdpau_get_profile().

#define FF_PROFILE_H264_CONSTRAINED   (1<<9)

Definition at line 2819 of file avcodec.h.

Referenced by dxva2_init(), and ff_h264_get_profile().

#define FF_PROFILE_H264_INTRA   (1<<11)

Definition at line 2820 of file avcodec.h.

Referenced by av_vdpau_get_profile(), and ff_h264_get_profile().

#define FF_PROFILE_H264_BASELINE   66

Definition at line 2822 of file avcodec.h.

Referenced by av_vdpau_get_profile(), ff_h264_get_profile(), and X264_init().

#define FF_PROFILE_H264_CONSTRAINED_BASELINE   (66|FF_PROFILE_H264_CONSTRAINED)

Definition at line 2823 of file avcodec.h.

Referenced by av_vdpau_get_profile().

#define FF_PROFILE_H264_MAIN   77

Definition at line 2824 of file avcodec.h.

Referenced by av_vdpau_get_profile(), and X264_init().

#define FF_PROFILE_H264_EXTENDED   88

Definition at line 2825 of file avcodec.h.

#define FF_PROFILE_H264_HIGH   100

Definition at line 2826 of file avcodec.h.

Referenced by av_vdpau_get_profile(), dxva2_init(), and X264_init().

#define FF_PROFILE_H264_HIGH_10   110

Definition at line 2827 of file avcodec.h.

Referenced by ff_h264_get_profile(), and X264_init().

#define FF_PROFILE_H264_HIGH_10_INTRA   (110|FF_PROFILE_H264_INTRA)

Definition at line 2828 of file avcodec.h.

#define FF_PROFILE_H264_HIGH_422   122

Definition at line 2829 of file avcodec.h.

Referenced by ff_h264_get_profile(), and X264_init().

#define FF_PROFILE_H264_HIGH_422_INTRA   (122|FF_PROFILE_H264_INTRA)

Definition at line 2830 of file avcodec.h.

#define FF_PROFILE_H264_HIGH_444   144

Definition at line 2831 of file avcodec.h.

Referenced by X264_init().

#define FF_PROFILE_H264_HIGH_444_PREDICTIVE   244

Definition at line 2832 of file avcodec.h.

Referenced by ff_h264_get_profile().

#define FF_PROFILE_H264_HIGH_444_INTRA   (244|FF_PROFILE_H264_INTRA)

Definition at line 2833 of file avcodec.h.

#define FF_PROFILE_H264_CAVLC_444   44

Definition at line 2834 of file avcodec.h.

#define FF_PROFILE_VC1_SIMPLE   0

Definition at line 2836 of file avcodec.h.

Referenced by av_vdpau_get_profile().

#define FF_PROFILE_VC1_MAIN   1

Definition at line 2837 of file avcodec.h.

Referenced by av_vdpau_get_profile().

#define FF_PROFILE_VC1_COMPLEX   2

Definition at line 2838 of file avcodec.h.

#define FF_PROFILE_VC1_ADVANCED   3

Definition at line 2839 of file avcodec.h.

Referenced by av_vdpau_get_profile().

#define FF_PROFILE_MPEG4_SIMPLE   0

Definition at line 2841 of file avcodec.h.

Referenced by av_vdpau_get_profile().

#define FF_PROFILE_MPEG4_SIMPLE_SCALABLE   1

Definition at line 2842 of file avcodec.h.

#define FF_PROFILE_MPEG4_CORE   2

Definition at line 2843 of file avcodec.h.

#define FF_PROFILE_MPEG4_MAIN   3

Definition at line 2844 of file avcodec.h.

#define FF_PROFILE_MPEG4_N_BIT   4

Definition at line 2845 of file avcodec.h.

#define FF_PROFILE_MPEG4_SCALABLE_TEXTURE   5

Definition at line 2846 of file avcodec.h.

#define FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION   6

Definition at line 2847 of file avcodec.h.

#define FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE   7

Definition at line 2848 of file avcodec.h.

#define FF_PROFILE_MPEG4_HYBRID   8

Definition at line 2849 of file avcodec.h.

#define FF_PROFILE_MPEG4_ADVANCED_REAL_TIME   9

Definition at line 2850 of file avcodec.h.

#define FF_PROFILE_MPEG4_CORE_SCALABLE   10

Definition at line 2851 of file avcodec.h.

#define FF_PROFILE_MPEG4_ADVANCED_CODING   11

Definition at line 2852 of file avcodec.h.

#define FF_PROFILE_MPEG4_ADVANCED_CORE   12

Definition at line 2853 of file avcodec.h.

#define FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE   13

Definition at line 2854 of file avcodec.h.

#define FF_PROFILE_MPEG4_SIMPLE_STUDIO   14

Definition at line 2855 of file avcodec.h.

#define FF_PROFILE_MPEG4_ADVANCED_SIMPLE   15

Definition at line 2856 of file avcodec.h.

Referenced by av_vdpau_get_profile().

#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0   0

Definition at line 2858 of file avcodec.h.

#define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1   1

Definition at line 2859 of file avcodec.h.

#define FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION   2

Definition at line 2860 of file avcodec.h.

#define FF_PROFILE_JPEG2000_DCINEMA_2K   3

Definition at line 2861 of file avcodec.h.

Referenced by get_siz().

#define FF_PROFILE_JPEG2000_DCINEMA_4K   4

Definition at line 2862 of file avcodec.h.

Referenced by get_siz().

#define FF_PROFILE_HEVC_MAIN   1

Definition at line 2865 of file avcodec.h.

Referenced by decode_profile_tier_level().

#define FF_PROFILE_HEVC_MAIN_10   2

Definition at line 2866 of file avcodec.h.

Referenced by decode_profile_tier_level().

#define FF_PROFILE_HEVC_MAIN_STILL_PICTURE   3

Definition at line 2867 of file avcodec.h.

Referenced by decode_profile_tier_level().

#define FF_PROFILE_HEVC_REXT   4

Definition at line 2868 of file avcodec.h.

Referenced by decode_profile_tier_level(), and ff_hevc_decode_nal_pps().

#define FF_LEVEL_UNKNOWN   -99

Definition at line 2876 of file avcodec.h.

Referenced by encode_init(), and mpeg4_encode_visual_object_header().

#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 3003 of file avcodec.h.

Referenced by avcodec_open2().

#define FF_SUB_CHARENC_MODE_AUTOMATIC   0

libavcodec will select the mode itself

Definition at line 3004 of file avcodec.h.

Referenced by avcodec_open2().

#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 3005 of file avcodec.h.

Referenced by avcodec_open2(), and recode_subtitle().

#define AV_PARSER_PTS_NB   4

Definition at line 4137 of file avcodec.h.

Referenced by av_parser_parse2(), and ff_fetch_timestamp().

#define PARSER_FLAG_COMPLETE_FRAMES   0x0001

Definition at line 4144 of file avcodec.h.

Referenced by avformat_find_stream_info(), cavsvideo_parse(), dca_parse(), dirac_parse(), dnxhd_parse(), flac_parse(), h261_parse(), h263_parse(), h264_parse(), hevc_parse(), init(), jpeg_parse(), latm_parse(), mpeg4video_parse(), mpegvideo_parse(), old_flac_header(), parse_packet(), read_frame_internal(), tak_parse(), and vc1_parse().

#define PARSER_FLAG_ONCE   0x0002

Definition at line 4145 of file avcodec.h.

Referenced by h264_parse(), and read_frame_internal().

#define PARSER_FLAG_FETCHED_OFFSET   0x0004

Set if the parser has a valid file offset.

Definition at line 4147 of file avcodec.h.

Referenced by av_parser_parse2().

#define PARSER_FLAG_USE_CODEC_TS   0x1000

Definition at line 4148 of file avcodec.h.

Referenced by avformat_find_stream_info(), flac_parse(), flac_read_timestamp(), get_best_header(), mpeg4_decode_header(), and read_frame_internal().


Generated on Sun Jul 20 2014 23:06:11 for FFmpeg by   doxygen 1.8.2

AltStyle によって変換されたページ (->オリジナル) /