avcodec.h File Reference

external API header More...

#include <errno.h>
#include "libavutil/samplefmt.h"
#include "libavutil/avutil.h"
#include "libavutil/cpu.h"
#include "libavutil/dict.h"
#include "libavutil/log.h"
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"
#include "libavcodec/version.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  AVPacket
 This structure stores compressed data. More...
 
struct  AVFrame
 This structure describes decoded (raw) audio or video data. More...
 
struct  AVCodecContext
 main external API structure. More...
 
struct  AVProfile
 AVProfile. More...
 
struct  AVCodec
 AVCodec. More...
 
struct  AVHWAccel
 AVHWAccel. More...
 
struct  AVPicture
 four components are given, that's all. More...
 
struct  AVSubtitleRect
 
struct  AVSubtitle
 
struct  AVCodecParserContext
 
struct  AVCodecParser
 
struct  AVBitStreamFilterContext
 
struct  AVBitStreamFilter
 

Macros

#define AVCODEC_AVCODEC_H
 
#define CodecID   AVCodecID
 
#define AV_CODEC_PROP_INTRA_ONLY   (1 << 0)
 
#define AV_CODEC_PROP_LOSSY   (1 << 1)
 
#define AV_CODEC_PROP_LOSSLESS   (1 << 2)
 
#define AVCODEC_MAX_AUDIO_FRAME_SIZE   192000
 
#define FF_INPUT_BUFFER_PADDING_SIZE   8
 
#define FF_MIN_BUFFER_SIZE   16384
 
#define FF_MAX_B_FRAMES   16
 
#define CODEC_FLAG_QSCALE   0x0002
 
#define CODEC_FLAG_4MV   0x0004
 
#define CODEC_FLAG_QPEL   0x0010
 
#define CODEC_FLAG_GMC   0x0020
 
#define CODEC_FLAG_MV0   0x0040
 
#define CODEC_FLAG_INPUT_PRESERVED   0x0100
 
#define CODEC_FLAG_PASS1   0x0200
 
#define CODEC_FLAG_PASS2   0x0400
 
#define CODEC_FLAG_GRAY   0x2000
 
#define CODEC_FLAG_EMU_EDGE   0x4000
 
#define CODEC_FLAG_PSNR   0x8000
 
#define CODEC_FLAG_TRUNCATED
 
#define CODEC_FLAG_NORMALIZE_AQP   0x00020000
 
#define CODEC_FLAG_INTERLACED_DCT   0x00040000
 
#define CODEC_FLAG_LOW_DELAY   0x00080000
 
#define CODEC_FLAG_GLOBAL_HEADER   0x00400000
 
#define CODEC_FLAG_BITEXACT   0x00800000
 
#define CODEC_FLAG_AC_PRED   0x01000000
 
#define CODEC_FLAG_LOOP_FILTER   0x00000800
 
#define CODEC_FLAG_INTERLACED_ME   0x20000000
 
#define CODEC_FLAG_CLOSED_GOP   0x80000000
 
#define CODEC_FLAG2_FAST   0x00000001
 
#define CODEC_FLAG2_NO_OUTPUT   0x00000004
 
#define CODEC_FLAG2_LOCAL_HEADER   0x00000008
 
#define CODEC_FLAG_CBP_RD   0x04000000
 
#define CODEC_FLAG_QP_RD   0x08000000
 
#define CODEC_FLAG2_STRICT_GOP   0x00000002
 
#define CODEC_FLAG2_SKIP_RD   0x00004000
 
#define CODEC_FLAG2_CHUNKS   0x00008000
 
#define CODEC_CAP_DRAW_HORIZ_BAND   0x0001
 
#define CODEC_CAP_DR1   0x0002
 
#define CODEC_CAP_TRUNCATED   0x0008
 
#define CODEC_CAP_HWACCEL   0x0010
 
#define CODEC_CAP_DELAY   0x0020
 
#define CODEC_CAP_SMALL_LAST_FRAME   0x0040
 
#define CODEC_CAP_HWACCEL_VDPAU   0x0080
 
#define CODEC_CAP_SUBFRAMES   0x0100
 
#define CODEC_CAP_EXPERIMENTAL   0x0200
 
#define CODEC_CAP_CHANNEL_CONF   0x0400
 
#define CODEC_CAP_NEG_LINESIZES   0x0800
 
#define CODEC_CAP_FRAME_THREADS   0x1000
 
#define CODEC_CAP_SLICE_THREADS   0x2000
 
#define CODEC_CAP_PARAM_CHANGE   0x4000
 
#define CODEC_CAP_AUTO_THREADS   0x8000
 
#define CODEC_CAP_VARIABLE_FRAME_SIZE   0x10000
 
#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_L0   (MB_TYPE_P0L0 | MB_TYPE_P1L0)
 
#define MB_TYPE_L1   (MB_TYPE_P0L1 | MB_TYPE_P1L1)
 
#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
 
#define FF_BUFFER_TYPE_SHARED   4
 
#define FF_BUFFER_TYPE_COPY   8
 
#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_PKT_FLAG_KEY   0x0001
 
#define AV_PKT_FLAG_CORRUPT   0x0002
 
#define AV_NUM_DATA_POINTERS   8
 
#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
 
#define SLICE_FLAG_ALLOW_FIELD   0x0002
 
#define SLICE_FLAG_ALLOW_PLANE   0x0004
 
#define FF_MB_DECISION_SIMPLE   0
 
#define FF_MB_DECISION_BITS   1
 
#define FF_MB_DECISION_RD   2
 
#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
 
#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
 
#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
 
#define FF_BUG_TRUNCATED   16384
 
#define FF_COMPLIANCE_VERY_STRICT   2
 
#define FF_COMPLIANCE_STRICT   1
 
#define FF_COMPLIANCE_NORMAL   0
 
#define FF_COMPLIANCE_UNOFFICIAL   -1
 
#define FF_COMPLIANCE_EXPERIMENTAL   -2
 
#define FF_EC_GUESS_MVS   1
 
#define FF_EC_DEBLOCK   2
 
#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
 
#define FF_DEBUG_VIS_MB_TYPE   0x00004000
 
#define FF_DEBUG_BUFFERS   0x00008000
 
#define FF_DEBUG_THREADS   0x00010000
 
#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)
 
#define AV_EF_BITSTREAM   (1<<1)
 
#define AV_EF_BUFFER   (1<<2)
 
#define AV_EF_EXPLODE   (1<<3)
 
#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_LIBMPEG2MMX   4
 
#define FF_IDCT_MMI   5
 
#define FF_IDCT_ARM   7
 
#define FF_IDCT_ALTIVEC   8
 
#define FF_IDCT_SH4   9
 
#define FF_IDCT_SIMPLEARM   10
 
#define FF_IDCT_H264   11
 
#define FF_IDCT_VP3   12
 
#define FF_IDCT_IPP   13
 
#define FF_IDCT_XVIDMMX   14
 
#define FF_IDCT_CAVS   15
 
#define FF_IDCT_SIMPLEARMV5TE   16
 
#define FF_IDCT_SIMPLEARMV6   17
 
#define FF_IDCT_SIMPLEVIS   18
 
#define FF_IDCT_WMV2   19
 
#define FF_IDCT_FAAN   20
 
#define FF_IDCT_EA   21
 
#define FF_IDCT_SIMPLENEON   22
 
#define FF_IDCT_SIMPLEALPHA   23
 
#define FF_IDCT_BINK   24
 
#define FF_THREAD_FRAME   1
 
#define FF_THREAD_SLICE   2
 
#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_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_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_HIGH_422   122
 
#define FF_PROFILE_H264_HIGH_422_INTRA   (122|FF_PROFILE_H264_INTRA)
 
#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_LEVEL_UNKNOWN   -99
 
#define AVPALETTE_SIZE   1024
 
#define AVPALETTE_COUNT   256
 
#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
 
#define FF_LOSS_RESOLUTION   0x0001
 
#define FF_LOSS_DEPTH   0x0002
 
#define FF_LOSS_COLORSPACE   0x0004
 
#define FF_LOSS_ALPHA   0x0008
 
#define FF_LOSS_COLORQUANT   0x0010
 
#define FF_LOSS_CHROMA   0x0020
 
#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 FF_INPUT_BUFFER_PADDING_SIZE   8
 Required number of additionally allocated bytes at the end of the input bitstream for decoding. More...
 
#define FF_MIN_BUFFER_SIZE   16384
 minimum encoding buffer size Used to avoid some checks during header writing. More...
 
#define FF_MAX_B_FRAMES   16
 
#define CODEC_FLAG_QSCALE   0x0002
 Use fixed qscale. More...
 
#define CODEC_FLAG_4MV   0x0004
 4 MV per MB allowed / advanced prediction for H.263. More...
 
#define CODEC_FLAG_QPEL   0x0010
 Use qpel MC. More...
 
#define CODEC_FLAG_GMC   0x0020
 Use GMC. More...
 
#define CODEC_FLAG_MV0   0x0040
 Always try a MB with MV=<0,0>. More...
 
#define CODEC_FLAG_INPUT_PRESERVED   0x0100
 The parent program guarantees that the input for B-frames containing streams is not written to for at least s->max_b_frames+1 frames, if this is not set the input will be copied. More...
 
#define CODEC_FLAG_PASS1   0x0200
 Use internal 2pass ratecontrol in first pass mode. More...
 
#define CODEC_FLAG_PASS2   0x0400
 Use internal 2pass ratecontrol in second pass mode. More...
 
#define CODEC_FLAG_GRAY   0x2000
 Only decode/encode grayscale. More...
 
#define CODEC_FLAG_EMU_EDGE   0x4000
 Don't draw edges. More...
 
#define CODEC_FLAG_PSNR   0x8000
 error[?] variables will be set during encoding. More...
 
#define CODEC_FLAG_TRUNCATED
 
#define CODEC_FLAG_NORMALIZE_AQP   0x00020000
 Normalize adaptive quantization. More...
 
#define CODEC_FLAG_INTERLACED_DCT   0x00040000
 Use interlaced DCT. More...
 
#define CODEC_FLAG_LOW_DELAY   0x00080000
 Force low delay. More...
 
#define CODEC_FLAG_GLOBAL_HEADER   0x00400000
 Place global headers in extradata instead of every keyframe. More...
 
#define CODEC_FLAG_BITEXACT   0x00800000
 Use only bitexact stuff (except (I)DCT). More...
 
#define CODEC_FLAG_AC_PRED   0x01000000
 H.263 advanced intra coding / MPEG-4 AC prediction. More...
 
#define CODEC_FLAG_LOOP_FILTER   0x00000800
 loop filter More...
 
#define CODEC_FLAG_INTERLACED_ME   0x20000000
 interlaced motion estimation More...
 
#define CODEC_FLAG_CLOSED_GOP   0x80000000
 
#define CODEC_FLAG2_FAST   0x00000001
 Allow non spec compliant speedup tricks. More...
 
#define CODEC_FLAG2_NO_OUTPUT   0x00000004
 Skip bitstream encoding. More...
 
#define CODEC_FLAG2_LOCAL_HEADER   0x00000008
 Place global headers at every keyframe instead of in extradata. More...
 
#define CODEC_FLAG2_CHUNKS   0x00008000
 Input bitstream might be truncated at a packet boundaries instead of only at frame boundaries. More...
 
#define CODEC_CAP_DRAW_HORIZ_BAND   0x0001
 Decoder can use draw_horiz_band callback. More...
 
#define CODEC_CAP_DR1   0x0002
 Codec uses get_buffer() for allocating buffers and supports custom allocators. More...
 
#define CODEC_CAP_TRUNCATED   0x0008
 
#define CODEC_CAP_HWACCEL   0x0010
 
#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. More...
 
#define CODEC_CAP_SMALL_LAST_FRAME   0x0040
 Codec can be fed a final frame with a smaller size. More...
 
#define CODEC_CAP_HWACCEL_VDPAU   0x0080
 Codec can export data for HW decoding (VDPAU). More...
 
#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. More...
 
#define CODEC_CAP_EXPERIMENTAL   0x0200
 Codec is experimental and is thus avoided in favor of non experimental encoders. More...
 
#define CODEC_CAP_CHANNEL_CONF   0x0400
 Codec should fill in channel configuration and samplerate instead of container. More...
 
#define CODEC_CAP_NEG_LINESIZES   0x0800
 Codec is able to deal with negative linesizes. More...
 
#define CODEC_CAP_FRAME_THREADS   0x1000
 Codec supports frame-level multithreading. More...
 
#define CODEC_CAP_SLICE_THREADS   0x2000
 Codec supports slice-based (or partition-based) multithreading. More...
 
#define CODEC_CAP_PARAM_CHANGE   0x4000
 Codec supports changed parameters at any point. More...
 
#define CODEC_CAP_AUTO_THREADS   0x8000
 Codec supports avctx->thread_count == 0 (auto). More...
 
#define CODEC_CAP_VARIABLE_FRAME_SIZE   0x10000
 Audio encoder supports receiving a different number of samples in each call. More...
 
#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_L0   (MB_TYPE_P0L0 | MB_TYPE_P1L0)
 
#define MB_TYPE_L1   (MB_TYPE_P0L1 | MB_TYPE_P1L1)
 
#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) More...
 
#define FF_BUFFER_TYPE_SHARED   4
 Buffer from somewhere else; don't deallocate image (data/base), all other tables are not shared. More...
 
#define FF_BUFFER_TYPE_COPY   8
 Just a (modified) copy of some other buffer, don't deallocate anything. More...
 
#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_PKT_FLAG_KEY   0x0001
 The packet contains a keyframe. More...
 
#define AV_PKT_FLAG_CORRUPT   0x0002
 The packet content is corrupted. More...
 
#define AV_NUM_DATA_POINTERS   8
 
#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 More...
 
#define SLICE_FLAG_ALLOW_FIELD   0x0002
 allow draw_horiz_band() with field slices (MPEG2 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_CODER_TYPE_DEFLATE   4
 
#define FF_BUG_AUTODETECT   1
 autodetection More...
 
#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. More...
 
#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_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_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
 
#define FF_DEBUG_VIS_MB_TYPE   0x00004000
 
#define FF_DEBUG_BUFFERS   0x00008000
 
#define FF_DEBUG_THREADS   0x00010000
 
#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)
 
#define AV_EF_BITSTREAM   (1<<1)
 
#define AV_EF_BUFFER   (1<<2)
 
#define AV_EF_EXPLODE   (1<<3)
 
#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_H264   11
 
#define FF_IDCT_VP3   12
 
#define FF_IDCT_IPP   13
 
#define FF_IDCT_XVIDMMX   14
 
#define FF_IDCT_CAVS   15
 
#define FF_IDCT_SIMPLEARMV5TE   16
 
#define FF_IDCT_SIMPLEARMV6   17
 
#define FF_IDCT_SIMPLEVIS   18
 
#define FF_IDCT_WMV2   19
 
#define FF_IDCT_FAAN   20
 
#define FF_IDCT_EA   21
 
#define FF_IDCT_SIMPLENEON   22
 
#define FF_IDCT_SIMPLEALPHA   23
 
#define FF_IDCT_BINK   24
 
#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_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_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_HIGH_422   122
 
#define FF_PROFILE_H264_HIGH_422_INTRA   (122|FF_PROFILE_H264_INTRA)
 
#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_LEVEL_UNKNOWN   -99
 
#define AVPALETTE_SIZE   1024
 
#define AVPALETTE_COUNT   256
 
#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 FF_LOSS_RESOLUTION   0x0001
 loss due to resolution change More...
 
#define FF_LOSS_DEPTH   0x0002
 loss due to color depth change More...
 
#define FF_LOSS_COLORSPACE   0x0004
 loss due to color space conversion More...
 
#define FF_LOSS_ALPHA   0x0008
 loss of alpha bits More...
 
#define FF_LOSS_COLORQUANT   0x0010
 loss due to color quantization More...
 
#define FF_LOSS_CHROMA   0x0020
 loss of chroma (e.g. More...
 

Typedefs

typedef struct AVCodecDescriptor AVCodecDescriptor
 This struct describes the properties of a single codec described by an AVCodecID. More...
 
typedef struct RcOverride RcOverride
 
typedef struct AVPanScan AVPanScan
 Pan Scan area. More...
 
typedef struct AVPacket AVPacket
 This structure stores compressed data. More...
 
typedef struct AVFrame AVFrame
 This structure describes decoded (raw) audio or video data. More...
 
typedef struct AVCodecContext AVCodecContext
 main external API structure. More...
 
typedef struct AVProfile AVProfile
 AVProfile. More...
 
typedef struct AVCodecDefault AVCodecDefault
 
typedef struct AVCodec AVCodec
 AVCodec. More...
 
typedef struct AVHWAccel AVHWAccel
 AVHWAccel. More...
 
typedef struct AVPicture AVPicture
 four components are given, that's all. More...
 
typedef struct AVSubtitleRect AVSubtitleRect
 
typedef struct AVSubtitle AVSubtitle
 
typedef struct AVCodecParserContext AVCodecParserContext
 
typedef struct AVCodecParser AVCodecParser
 
typedef struct
AVBitStreamFilterContext 
AVBitStreamFilterContext
 
typedef struct AVBitStreamFilter AVBitStreamFilter
 

Enumerations

enum  AVCodecID {
  AV_CODEC_ID_NONE, AV_CODEC_ID_MPEG1VIDEO, AV_CODEC_ID_MPEG2VIDEO, AV_CODEC_ID_MPEG2VIDEO_XVMC,
  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_SNOW, 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_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_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_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, AV_CODEC_ID_COMFORT_NOISE,
  AV_CODEC_ID_TAK, 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_FIRST_UNKNOWN = 0x18000,
  AV_CODEC_ID_TTF = 0x18000, AV_CODEC_ID_PROBE = 0x19000, AV_CODEC_ID_MPEG2TS = 0x20000, AV_CODEC_ID_MPEG4SYSTEMS = 0x20001,
  AV_CODEC_ID_FFMETADATA = 0x21000
}
 Identify the syntax and semantics of the bitstream. More...
 
enum  Motion_Est_ID {
  ME_ZERO = 1, ME_FULL, ME_LOG, ME_PHODS,
  ME_EPZS, ME_X1, ME_HEX, ME_UMH,
  ME_ITER, ME_TESA
}
 motion estimation type. More...
 
enum  AVDiscard {
  AVDISCARD_NONE =-16, AVDISCARD_DEFAULT = 0, AVDISCARD_NONREF = 8, AVDISCARD_BIDIR = 16,
  AVDISCARD_NONKEY = 32, AVDISCARD_ALL = 48
}
 
enum  AVColorPrimaries {
  AVCOL_PRI_BT709 = 1, AVCOL_PRI_UNSPECIFIED = 2, AVCOL_PRI_BT470M = 4, AVCOL_PRI_BT470BG = 5,
  AVCOL_PRI_SMPTE170M = 6, AVCOL_PRI_SMPTE240M = 7, AVCOL_PRI_FILM = 8, AVCOL_PRI_NB
}
 
enum  AVColorTransferCharacteristic {
  AVCOL_TRC_BT709 = 1, AVCOL_TRC_UNSPECIFIED = 2, AVCOL_TRC_GAMMA22 = 4, AVCOL_TRC_GAMMA28 = 5,
  AVCOL_TRC_SMPTE240M = 7, AVCOL_TRC_NB
}
 
enum  AVColorSpace {
  AVCOL_SPC_RGB = 0, AVCOL_SPC_BT709 = 1, AVCOL_SPC_UNSPECIFIED = 2, AVCOL_SPC_FCC = 4,
  AVCOL_SPC_BT470BG = 5, AVCOL_SPC_SMPTE170M = 6, AVCOL_SPC_SMPTE240M = 7, AVCOL_SPC_YCOCG = 8,
  AVCOL_SPC_NB
}
 
enum  AVColorRange { AVCOL_RANGE_UNSPECIFIED = 0, AVCOL_RANGE_MPEG = 1, AVCOL_RANGE_JPEG = 2, AVCOL_RANGE_NB }
 
enum  AVChromaLocation {
  AVCHROMA_LOC_UNSPECIFIED = 0, AVCHROMA_LOC_LEFT = 1, AVCHROMA_LOC_CENTER = 2, AVCHROMA_LOC_TOPLEFT = 3,
  AVCHROMA_LOC_TOP = 4, AVCHROMA_LOC_BOTTOMLEFT = 5, AVCHROMA_LOC_BOTTOM = 6, AVCHROMA_LOC_NB
}
 X X 3 4 X X are luma samples, 1 2 1-6 are possible chroma positions X X 5 6 X 0 is undefined/unknown position. More...
 
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 }
 
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  AVSubtitleType { SUBTITLE_NONE, SUBTITLE_BITMAP, SUBTITLE_TEXT, SUBTITLE_ASS }
 
enum  AVLockOp { AV_LOCK_CREATE, AV_LOCK_OBTAIN, AV_LOCK_RELEASE, AV_LOCK_DESTROY }
 Lock operation used by lockmgr. More...
 

Functions

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...
 
void avcodec_register (AVCodec *codec)
 Register the codec codec and initialize libavcodec. More...
 
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...
 
int avcodec_get_context_defaults3 (AVCodecContext *s, const AVCodec *codec)
 Set the fields of the given AVCodecContext to default values corresponding to the given codec (defaults may be codec-dependent). More...
 
const AVClassavcodec_get_class (void)
 Get the AVClass for AVCodecContext. More...
 
int avcodec_copy_context (AVCodecContext *dest, const AVCodecContext *src)
 Copy the settings of the source AVCodecContext into the destination AVCodecContext. More...
 
AVFrameavcodec_alloc_frame (void)
 Allocate an AVFrame and set its fields to default values. More...
 
void avcodec_get_frame_defaults (AVFrame *frame)
 Set the fields of the given AVFrame to default values. More...
 
void avcodec_free_frame (AVFrame **frame)
 Free the frame and any dynamically allocated objects in it, e.g. 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...
 
void av_destruct_packet (AVPacket *pkt)
 Default packet destructor. 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_dup_packet (AVPacket *pkt)
 
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_shrink_side_data (AVPacket *pkt, enum AVPacketSideDataType type, int size)
 Shrink the already allocated side data buffer. More...
 
uint8_tav_packet_get_side_data (AVPacket *pkt, enum AVPacketSideDataType type, int *size)
 Get side information from packet. 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_buffer (AVCodecContext *s, AVFrame *pic)
 
void avcodec_default_release_buffer (AVCodecContext *s, AVFrame *pic)
 
int avcodec_default_reget_buffer (AVCodecContext *s, AVFrame *pic)
 
unsigned avcodec_get_edge_width (void)
 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. 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_decode_audio4 (AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt)
 Decode the audio frame of size avpkt->size from avpkt->data into frame. More...
 
int avcodec_decode_video2 (AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, 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...
 
AVCodecParserav_parser_next (AVCodecParser *c)
 
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...
 
int avcodec_encode_audio2 (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
 Encode a frame of audio. More...
 
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)
 
int avpicture_alloc (AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height)
 Allocate memory for a picture. More...
 
void avpicture_free (AVPicture *picture)
 Free a picture previously allocated by avpicture_alloc(). More...
 
int avpicture_fill (AVPicture *picture, uint8_t *ptr, enum AVPixelFormat pix_fmt, int width, int height)
 Fill in the AVPicture fields. More...
 
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. More...
 
int avpicture_get_size (enum AVPixelFormat pix_fmt, int width, int height)
 Calculate the size in bytes that a picture of the given width and height would occupy if stored in the given picture format. More...
 
int avpicture_deinterlace (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height)
 deinterlace - if not supported return -1 More...
 
void av_picture_copy (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height)
 Copy image src to dst. More...
 
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. More...
 
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. More...
 
void attribute_deprecated 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)
 Compute what kind of losses will occur when converting from one specific pixel format to another. More...
 
enum AVPixelFormat avcodec_find_best_pix_fmt2 (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_default_get_format (struct AVCodecContext *s, const enum AVPixelFormat *fmt)
 
void avcodec_set_dimensions (AVCodecContext *s, int width, int height)
 
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...
 
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 audio frame data and linesize. More...
 
void avcodec_flush_buffers (AVCodecContext *avctx)
 Flush buffers, should be called when seeking or when switching to a different stream. More...
 
void avcodec_default_free_buffers (AVCodecContext *s)
 
int av_get_bits_per_sample (enum AVCodecID codec_id)
 Return codec bits per sample. 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...
 
void av_register_bitstream_filter (AVBitStreamFilter *bsf)
 
AVBitStreamFilterContextav_bitstream_filter_init (const char *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)
 
void av_bitstream_filter_close (AVBitStreamFilterContext *bsf)
 
AVBitStreamFilterav_bitstream_filter_next (AVBitStreamFilter *f)
 
voidav_fast_realloc (void *ptr, unsigned int *size, size_t min_size)
 Reallocate the given block if it is not large enough, otherwise do nothing. More...
 
void av_fast_malloc (void *ptr, unsigned int *size, size_t min_size)
 Allocate a buffer, reusing the given one if large enough. More...
 
void av_fast_padded_malloc (void *ptr, unsigned int *size, size_t min_size)
 Allocate a buffer with padding, reusing the given one if large enough. More...
 
unsigned int av_xiphlacing (unsigned char *s, unsigned int v)
 Encode extradata length to a buffer. More...
 
void av_log_missing_feature (void *avc, const char *feature, int want_sample)
 Log a generic warning message about a missing feature. More...
 
void av_log_ask_for_sample (void *avc, const char *msg,...) av_printf_format(2
 Log a generic warning message asking for a sample. More...
 
void void av_register_hwaccel (AVHWAccel *hwaccel)
 Register the hardware accelerator hwaccel. More...
 
AVHWAccelav_hwaccel_next (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...
 
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...
 
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)
 

Detailed Description

external API header

Definition in file avcodec.h.

Macro Definition Documentation

#define AV_CODEC_PROP_INTRA_ONLY   (1 << 0)

Referenced by is_intra_only(), and show_codecs().

#define AV_CODEC_PROP_LOSSLESS   (1 << 2)

Referenced by show_codecs().

#define AV_CODEC_PROP_LOSSY   (1 << 1)

Referenced by show_codecs().

#define AV_EF_BITSTREAM   (1<<1)

Definition at line 2604 of file avcodec.h.

#define AV_EF_BUFFER   (1<<2)
#define AV_EF_BUFFER   (1<<2)

Definition at line 2605 of file avcodec.h.

#define AV_EF_CRCCHECK   (1<<0)

Definition at line 2603 of file avcodec.h.

#define AV_EF_EXPLODE   (1<<3)

Definition at line 2606 of file avcodec.h.

#define AV_NUM_DATA_POINTERS   8

Definition at line 990 of file avcodec.h.

#define AV_PARSER_PTS_NB   4

Definition at line 3746 of file avcodec.h.

#define AV_PARSER_PTS_NB   4
#define AV_PKT_FLAG_KEY   0x0001
Examples:
libavformat/output-example.c.

Referenced by a64multi_encode_frame(), ape_tag_read_field(), asf_read_picture(), asf_read_pts(), asf_write_packet(), avcodec_encode_audio2(), avi_write_packet(), avpriv_dv_produce_packet(), avs_read_audio_packet(), avs_read_video_packet(), bmp_encode_frame(), cdxl_read_packet(), compute_pkt_fields(), dc1394_read_common(), decode_frame(), dirac_gptopts(), dnxhd_encode_picture(), do_streamcopy(), do_video_out(), dv_extract_audio_info(), ea_read_packet(), encode_frame(), encode_picture_lossless(), encode_picture_ls(), ff_asf_parse_packet(), ff_id3v2_parse_apic(), ff_mov_add_hinted_packet(), ff_mov_write_packet(), ff_MPV_encode_picture(), ff_rm_parse_packet(), ff_rm_retrieve_cache(), ffm_read_packet(), ffm_write_packet(), ffv1_encode_frame(), flashsv_decode_frame(), flashsv_encode_frame(), flv_data_packet(), flv_read_packet(), flv_write_packet(), get_needed_flags(), gif_encode_frame(), h263_handle_packet(), hls_read_packet(), hls_write_packet(), http_prepare_data(), iff_read_packet(), img_read_packet(), ism_write_packet(), libopenjpeg_encode_frame(), libschroedinger_encode_frame(), lmlm4_read_packet(), lxf_read_packet(), main(), matroska_parse_block(), mkv_write_packet(), mkv_write_packet_internal(), mov_create_chapter_track(), mov_parse_vc1_frame(), mov_read_covr(), mov_read_packet(), mov_write_packet(), mpeg_mux_write_packet(), mpegts_write_flush(), mpegts_write_packet_internal(), msnwc_tcp_read_packet(), nsv_read_chunk(), nut_write_packet(), nuv_packet(), ogg_read_packet(), ogg_read_timestamp(), ogg_write_packet(), ogm_packet(), old_dirac_gptopts(), pam_encode_frame(), parse_packet(), parse_picture(), pcx_encode_frame(), pkt_dump_internal(), pnm_encode_frame(), put_payload_header(), qt_rtp_parse_packet(), qtrle_encode_frame(), raw_encode(), read_frame(), read_frame_internal(), read_packet(), rm_write_audio(), rm_write_video(), roq_encode_frame(), rpl_read_packet(), search_hi_lo_keyframes(), seek_frame_generic(), seg_write_packet(), show_packet(), siff_read_packet(), srt_read_packet(), storeframe(), sunrast_encode_frame(), svq1_encode_frame(), targa_encode_frame(), theora_gptopts(), tmv_read_packet(), utvideo_encode_frame(), v410_encode_frame(), vc1t_read_packet(), vc1test_write_packet(), vid_read_packet(), write_frame(), write_video_frame(), X264_frame(), XAVS_frame(), xbm_encode_frame(), xmv_fetch_video_packet(), xvid_encode_frame(), xwd_encode_frame(), yop_read_packet(), and zerocodec_decode_frame().

#define AV_SUBTITLE_FLAG_FORCED   0x00000001

Referenced by display_end_segment().

#define AVCODEC_AVCODEC_H
#define AVCODEC_MAX_AUDIO_FRAME_SIZE   192000
#define AVPALETTE_COUNT   256
#define CODEC_CAP_AUTO_THREADS   0x8000
#define CODEC_CAP_CHANNEL_CONF   0x0400

Referenced by try_decode_frame().

#define CODEC_CAP_DR1   0x0002
#define CODEC_CAP_DRAW_HORIZ_BAND   0x0001
#define CODEC_CAP_EXPERIMENTAL   0x0200
#define CODEC_CAP_FRAME_THREADS   0x1000
#define CODEC_CAP_HWACCEL   0x0010
#define CODEC_CAP_NEG_LINESIZES   0x0800
#define CODEC_CAP_PARAM_CHANGE   0x4000

Referenced by apply_param_change().

#define CODEC_CAP_SLICE_THREADS   0x2000
#define CODEC_CAP_SMALL_LAST_FRAME   0x0040

Referenced by avcodec_encode_audio2().

#define CODEC_CAP_SUBFRAMES   0x0100
#define CODEC_CAP_TRUNCATED   0x0008
#define CODEC_CAP_VARIABLE_FRAME_SIZE   0x10000
#define CODEC_FLAG2_CHUNKS   0x00008000
#define CODEC_FLAG2_FAST   0x00000001
#define CODEC_FLAG2_LOCAL_HEADER   0x00000008
#define CODEC_FLAG2_SKIP_RD   0x00004000

Referenced by ff_MPV_encode_init().

#define CODEC_FLAG2_STRICT_GOP   0x00000002

Referenced by ff_MPV_encode_init().

#define CODEC_FLAG_AC_PRED   0x01000000
#define CODEC_FLAG_CBP_RD   0x04000000

Referenced by ff_MPV_encode_init().

#define CODEC_FLAG_GMC   0x0020

Referenced by xvid_encode_init().

#define CODEC_FLAG_INPUT_PRESERVED   0x0100
#define CODEC_FLAG_LOOP_FILTER   0x00000800

Referenced by ff_MPV_encode_init(), and X264_init().

#define CODEC_FLAG_MV0   0x0040
#define CODEC_FLAG_NORMALIZE_AQP   0x00020000

Referenced by adaptive_quantization().

#define CODEC_FLAG_QP_RD   0x08000000

Referenced by ff_MPV_encode_init().

#define CodecID   AVCodecID
#define FF_ASPECT_EXTENDED   15

Definition at line 1517 of file avcodec.h.

#define FF_BUFFER_TYPE_COPY   8
#define FF_BUFFER_TYPE_USER   2
#define FF_BUG_AC_VLC   0
#define FF_BUG_AC_VLC   0

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

Definition at line 2524 of file avcodec.h.

#define FF_BUG_AMV   32

Referenced by get_amv().

#define FF_BUG_AMV   32

Definition at line 2523 of file avcodec.h.

#define FF_BUG_AUTODETECT   1
#define FF_BUG_AUTODETECT   1

autodetection

Definition at line 2518 of file avcodec.h.

#define FF_BUG_DC_CLIP   4096
#define FF_BUG_DC_CLIP   4096

Definition at line 2531 of file avcodec.h.

#define FF_BUG_DIRECT_BLOCKSIZE   512
#define FF_BUG_DIRECT_BLOCKSIZE   512

Definition at line 2528 of file avcodec.h.

#define FF_BUG_EDGE   1024
#define FF_BUG_EDGE   1024

Definition at line 2529 of file avcodec.h.

#define FF_BUG_HPEL_CHROMA   2048
#define FF_BUG_HPEL_CHROMA   2048

Definition at line 2530 of file avcodec.h.

#define FF_BUG_MS   8192
#define FF_BUG_MS   8192

Work around various bugs in Microsoft's broken decoders.

Definition at line 2532 of file avcodec.h.

#define FF_BUG_NO_PADDING   16
#define FF_BUG_NO_PADDING   16

Definition at line 2522 of file avcodec.h.

#define FF_BUG_OLD_MSMPEG4   2
#define FF_BUG_OLD_MSMPEG4   2

Definition at line 2519 of file avcodec.h.

#define FF_BUG_QPEL_CHROMA   64
#define FF_BUG_QPEL_CHROMA   64

Definition at line 2525 of file avcodec.h.

#define FF_BUG_QPEL_CHROMA2   256
#define FF_BUG_QPEL_CHROMA2   256

Definition at line 2527 of file avcodec.h.

#define FF_BUG_STD_QPEL   128

Referenced by ff_h263_decode_frame().

#define FF_BUG_STD_QPEL   128

Definition at line 2526 of file avcodec.h.

#define FF_BUG_TRUNCATED   16384

Referenced by decode_nal_units(), and decode_slice().

#define FF_BUG_TRUNCATED   16384

Definition at line 2533 of file avcodec.h.

#define FF_BUG_UMP4   8

Definition at line 2521 of file avcodec.h.

#define FF_BUG_UMP4   8
#define FF_BUG_XVID_ILACE   4
#define FF_BUG_XVID_ILACE   4

Definition at line 2520 of file avcodec.h.

#define FF_CMP_BIT   5

Definition at line 1755 of file avcodec.h.

#define FF_CMP_BIT   5

Referenced by ff_set_cmp(), and get_penalty_factor().

#define FF_CMP_CHROMA   256

Definition at line 1765 of file avcodec.h.

#define FF_CMP_CHROMA   256
#define FF_CMP_DCT   3

Definition at line 1753 of file avcodec.h.

#define FF_CMP_DCT   3

Referenced by ff_set_cmp(), and get_penalty_factor().

#define FF_CMP_DCT264   14

Definition at line 1764 of file avcodec.h.

#define FF_CMP_DCT264   14

Referenced by ff_set_cmp(), and get_penalty_factor().

#define FF_CMP_DCTMAX   13

Definition at line 1763 of file avcodec.h.

#define FF_CMP_DCTMAX   13

Referenced by add_codec(), and ff_set_cmp().

#define FF_CMP_NSSE   10

Definition at line 1760 of file avcodec.h.

#define FF_CMP_NSSE   10
#define FF_CMP_PSNR   4

Definition at line 1754 of file avcodec.h.

#define FF_CMP_PSNR   4

Referenced by ff_set_cmp(), and get_penalty_factor().

#define FF_CMP_RD   6
#define FF_CMP_RD   6

Definition at line 1756 of file avcodec.h.

#define FF_CMP_SAD   0

Definition at line 1750 of file avcodec.h.

#define FF_CMP_SAD   0
#define FF_CMP_SATD   2

Definition at line 1752 of file avcodec.h.

#define FF_CMP_SATD   2

Referenced by ff_set_cmp(), and get_penalty_factor().

#define FF_CMP_SSE   1

Definition at line 1751 of file avcodec.h.

#define FF_CMP_SSE   1
#define FF_CMP_VSAD   8

Definition at line 1758 of file avcodec.h.

#define FF_CMP_VSAD   8

Referenced by ff_set_cmp().

#define FF_CMP_VSSE   9

Definition at line 1759 of file avcodec.h.

#define FF_CMP_VSSE   9

Referenced by encode_mb_internal(), and ff_set_cmp().

#define FF_CMP_W53   11

Definition at line 1761 of file avcodec.h.

#define FF_CMP_W53   11
#define FF_CMP_W97   12

Definition at line 1762 of file avcodec.h.

#define FF_CMP_W97   12
#define FF_CMP_ZERO   7

Definition at line 1757 of file avcodec.h.

#define FF_CMP_ZERO   7

Referenced by ff_set_cmp().

#define FF_CODER_TYPE_AC   1

Referenced by X264_init().

#define FF_CODER_TYPE_AC   1

Definition at line 2379 of file avcodec.h.

#define FF_CODER_TYPE_DEFLATE   4
#define FF_CODER_TYPE_DEFLATE   4

Definition at line 2382 of file avcodec.h.

#define FF_CODER_TYPE_RAW   2
#define FF_CODER_TYPE_RAW   2

Definition at line 2380 of file avcodec.h.

#define FF_CODER_TYPE_RLE   3

Referenced by sunrast_encode_init().

#define FF_CODER_TYPE_RLE   3

Definition at line 2381 of file avcodec.h.

#define FF_CODER_TYPE_VLC   0

Definition at line 2378 of file avcodec.h.

#define FF_CODER_TYPE_VLC   0
#define FF_COMPLIANCE_EXPERIMENTAL   -2
#define FF_COMPLIANCE_EXPERIMENTAL   -2

Allow nonstandardized experimental things.

Definition at line 2552 of file avcodec.h.

#define FF_COMPLIANCE_NORMAL   0

Definition at line 2550 of file avcodec.h.

#define FF_COMPLIANCE_STRICT   1

Referenced by decode_postinit().

#define FF_COMPLIANCE_STRICT   1

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

Definition at line 2549 of file avcodec.h.

#define FF_COMPLIANCE_UNOFFICIAL   -1
#define FF_COMPLIANCE_UNOFFICIAL   -1

Allow unofficial extensions.

Definition at line 2551 of file avcodec.h.

#define FF_COMPLIANCE_VERY_STRICT   2
#define FF_COMPLIANCE_VERY_STRICT   2

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

Definition at line 2548 of file avcodec.h.

#define FF_COMPRESSION_DEFAULT   -1
#define FF_COMPRESSION_DEFAULT   -1

Definition at line 1427 of file avcodec.h.

#define FF_DCT_ALTIVEC   5
#define FF_DCT_ALTIVEC   5

Definition at line 2653 of file avcodec.h.

#define FF_DCT_AUTO   0

Definition at line 2649 of file avcodec.h.

#define FF_DCT_FAAN   6

Referenced by ff_dsputil_init().

#define FF_DCT_FAAN   6

Definition at line 2654 of file avcodec.h.

#define FF_DCT_FASTINT   1

Referenced by ff_dsputil_init(), and parse_ffconfig().

#define FF_DCT_FASTINT   1

Definition at line 2650 of file avcodec.h.

#define FF_DCT_INT   2
#define FF_DCT_INT   2

Definition at line 2651 of file avcodec.h.

#define FF_DCT_MMX   3

Definition at line 2652 of file avcodec.h.

#define FF_DCT_MMX   3
#define FF_DEBUG_BITSTREAM   4
#define FF_DEBUG_BITSTREAM   4

Definition at line 2571 of file avcodec.h.

#define FF_DEBUG_BUFFERS   0x00008000
#define FF_DEBUG_BUFFERS   0x00008000

Definition at line 2584 of file avcodec.h.

#define FF_DEBUG_BUGS   0x00001000
#define FF_DEBUG_BUGS   0x00001000

Definition at line 2581 of file avcodec.h.

#define FF_DEBUG_DCT_COEFF   0x00000040
#define FF_DEBUG_DCT_COEFF   0x00000040

Definition at line 2575 of file avcodec.h.

#define FF_DEBUG_ER   0x00000400

Referenced by ff_er_frame_end().

#define FF_DEBUG_ER   0x00000400

Definition at line 2579 of file avcodec.h.

#define FF_DEBUG_MB_TYPE   8

Referenced by ff_print_debug_info().

#define FF_DEBUG_MB_TYPE   8

Definition at line 2572 of file avcodec.h.

#define FF_DEBUG_MMCO   0x00000800

Definition at line 2580 of file avcodec.h.

#define FF_DEBUG_MMCO   0x00000800
#define FF_DEBUG_MV   32

Referenced by ff_alloc_picture(), and transcode_init().

#define FF_DEBUG_MV   32

Definition at line 2574 of file avcodec.h.

#define FF_DEBUG_PICT_INFO   1

Definition at line 2569 of file avcodec.h.

#define FF_DEBUG_PTS   0x00000200

Referenced by decode_vop_header().

#define FF_DEBUG_PTS   0x00000200

Definition at line 2578 of file avcodec.h.

#define FF_DEBUG_QP   16
#define FF_DEBUG_QP   16

Definition at line 2573 of file avcodec.h.

#define FF_DEBUG_RC   2
#define FF_DEBUG_RC   2

Definition at line 2570 of file avcodec.h.

#define FF_DEBUG_SKIP   0x00000080

Referenced by ff_print_debug_info().

#define FF_DEBUG_SKIP   0x00000080

Definition at line 2576 of file avcodec.h.

#define FF_DEBUG_STARTCODE   0x00000100

Definition at line 2577 of file avcodec.h.

#define FF_DEBUG_STARTCODE   0x00000100
#define FF_DEBUG_THREADS   0x00010000
#define FF_DEBUG_THREADS   0x00010000

Definition at line 2585 of file avcodec.h.

#define FF_DEBUG_VIS_MB_TYPE   0x00004000

Definition at line 2583 of file avcodec.h.

#define FF_DEBUG_VIS_MB_TYPE   0x00004000
#define FF_DEBUG_VIS_MV_B_BACK   0x00000004

Referenced by ff_print_debug_info().

#define FF_DEBUG_VIS_MV_B_BACK   0x00000004

Definition at line 2595 of file avcodec.h.

#define FF_DEBUG_VIS_MV_B_FOR   0x00000002

Definition at line 2594 of file avcodec.h.

#define FF_DEBUG_VIS_MV_B_FOR   0x00000002

Referenced by ff_print_debug_info().

#define FF_DEBUG_VIS_MV_P_FOR   0x00000001

Referenced by ff_print_debug_info().

#define FF_DEBUG_VIS_MV_P_FOR   0x00000001

Definition at line 2593 of file avcodec.h.

#define FF_DEBUG_VIS_QP   0x00002000
#define FF_DEBUG_VIS_QP   0x00002000

Definition at line 2582 of file avcodec.h.

#define FF_DEFAULT_QUANT_BIAS   999999

Definition at line 1841 of file avcodec.h.

#define FF_DEFAULT_QUANT_BIAS   999999
#define FF_DTG_AFD_14_9   11

Definition at line 1821 of file avcodec.h.

#define FF_DTG_AFD_14_9   11
#define FF_DTG_AFD_16_9   10

Definition at line 1820 of file avcodec.h.

#define FF_DTG_AFD_16_9   10
#define FF_DTG_AFD_16_9_SP_14_9   14

Definition at line 1823 of file avcodec.h.

#define FF_DTG_AFD_16_9_SP_14_9   14
#define FF_DTG_AFD_4_3   9

Definition at line 1819 of file avcodec.h.

#define FF_DTG_AFD_4_3   9
#define FF_DTG_AFD_4_3_SP_14_9   13

Definition at line 1822 of file avcodec.h.

#define FF_DTG_AFD_4_3_SP_14_9   13
#define FF_DTG_AFD_SAME   8

Definition at line 1818 of file avcodec.h.

#define FF_DTG_AFD_SAME   8
#define FF_DTG_AFD_SP_4_3   15

Definition at line 1824 of file avcodec.h.

#define FF_DTG_AFD_SP_4_3   15
#define FF_EC_DEBLOCK   2

Referenced by ff_er_frame_end().

#define FF_EC_DEBLOCK   2

Definition at line 2561 of file avcodec.h.

#define FF_EC_GUESS_MVS   1

Referenced by guess_mv().

#define FF_EC_GUESS_MVS   1

Definition at line 2560 of file avcodec.h.

#define FF_IDCT_ALTIVEC   8

Referenced by ff_dsputil_init_ppc().

#define FF_IDCT_ALTIVEC   8

Definition at line 2673 of file avcodec.h.

#define FF_IDCT_ARM   7

Definition at line 2672 of file avcodec.h.

#define FF_IDCT_ARM   7

Referenced by ff_dsputil_init_arm().

#define FF_IDCT_AUTO   0

Definition at line 2662 of file avcodec.h.

#define FF_IDCT_BINK   24

Referenced by decode_init().

#define FF_IDCT_BINK   24

Definition at line 2689 of file avcodec.h.

#define FF_IDCT_CAVS   15
#define FF_IDCT_CAVS   15

Definition at line 2680 of file avcodec.h.

#define FF_IDCT_EA   21
#define FF_IDCT_EA   21

Definition at line 2686 of file avcodec.h.

#define FF_IDCT_FAAN   20

Referenced by ff_dsputil_init().

#define FF_IDCT_FAAN   20

Definition at line 2685 of file avcodec.h.

#define FF_IDCT_H264   11
#define FF_IDCT_H264   11

Definition at line 2676 of file avcodec.h.

#define FF_IDCT_INT   1

Definition at line 2663 of file avcodec.h.

#define FF_IDCT_INT   1

Referenced by ff_dsputil_init().

#define FF_IDCT_IPP   13
#define FF_IDCT_IPP   13

Definition at line 2678 of file avcodec.h.

#define FF_IDCT_LIBMPEG2MMX   4
#define FF_IDCT_MMI   5
#define FF_IDCT_SH4   9

Referenced by ff_dsputil_init_sh4().

#define FF_IDCT_SH4   9

Definition at line 2674 of file avcodec.h.

#define FF_IDCT_SIMPLE   2
#define FF_IDCT_SIMPLE   2

Definition at line 2664 of file avcodec.h.

#define FF_IDCT_SIMPLEALPHA   23

Definition at line 2688 of file avcodec.h.

#define FF_IDCT_SIMPLEALPHA   23

Referenced by ff_dsputil_init_alpha().

#define FF_IDCT_SIMPLEARM   10

Referenced by ff_dsputil_init_arm().

#define FF_IDCT_SIMPLEARM   10

Definition at line 2675 of file avcodec.h.

#define FF_IDCT_SIMPLEARMV5TE   16

Referenced by ff_dsputil_init_armv5te().

#define FF_IDCT_SIMPLEARMV5TE   16

Definition at line 2681 of file avcodec.h.

#define FF_IDCT_SIMPLEARMV6   17

Referenced by ff_dsputil_init_armv6().

#define FF_IDCT_SIMPLEARMV6   17

Definition at line 2682 of file avcodec.h.

#define FF_IDCT_SIMPLEMMX   3

Definition at line 2665 of file avcodec.h.

#define FF_IDCT_SIMPLEMMX   3

Referenced by dsputil_init_mmx().

#define FF_IDCT_SIMPLENEON   22

Referenced by ff_dsputil_init_neon().

#define FF_IDCT_SIMPLENEON   22

Definition at line 2687 of file avcodec.h.

#define FF_IDCT_SIMPLEVIS   18

Referenced by ff_dsputil_init_vis().

#define FF_IDCT_SIMPLEVIS   18

Definition at line 2683 of file avcodec.h.

#define FF_IDCT_VP3   12

Definition at line 2677 of file avcodec.h.

#define FF_IDCT_VP3   12

Referenced by ff_dsputil_init_bfin().

#define FF_IDCT_WMV2   19
#define FF_IDCT_WMV2   19

Definition at line 2684 of file avcodec.h.

#define FF_IDCT_XVIDMMX   14

Definition at line 2679 of file avcodec.h.

#define FF_IDCT_XVIDMMX   14
#define FF_INPUT_BUFFER_PADDING_SIZE   8
Examples:
libavcodec/api-example.c.

Referenced by a64multi_init_encoder(), aac_adtstoasc_filter(), aac_decode_frame(), aac_encode_init(), aac_sync(), ac3_sync(), adpcm_encode_init(), adx_read_header(), aiff_read_header(), alac_encode_init(), alloc_buffers(), apc_read_header(), ape_tag_read_field(), asf_read_stream_properties(), atrac3_decode_init(), audio_decode_example(), av_fast_padded_malloc(), av_grow_packet(), av_new_packet(), av_packet_new_side_data(), av_parser_change(), av_parser_parse2(), av_shrink_packet(), avcodec_copy_context(), avformat_find_stream_info(), avi_read_header(), avio_close_dyn_buf(), cdxl_decode_frame(), celt_header(), codec_reinit(), cook_decode_init(), dca_parse_params(), decode_frame(), decode_i_frame(), decode_init(), decode_p_frame(), decode_plane(), decode_stream_header(), dump_extradata(), dv_decode_video_segment(), ebml_read_binary(), encode_init(), Faac_encode_init(), ff_alloc_packet(), ff_asf_parse_packet(), ff_combine_frame(), ff_h263_decode_frame(), ff_h264_decode_nal(), ff_mjpeg_find_marker(), ff_mp4_read_dec_config_descr(), ff_mpeg_update_thread_context(), ff_parse_mpeg2_descriptor(), ff_raw_read_partial_packet(), fixup_vorbis_headers(), flac_header(), flac_read_header(), flv_get_extradata(), flv_queue_extradata(), h264_mp4toannexb_filter(), h264_new_context(), handle_packets(), imx_dump_header(), latm_decode_audio_specific_config(), libopus_encode_init(), matroska_fix_ass_packet(), matroska_read_header(), mjpega_dump_header(), mov2textsub(), mov_read_dvc1(), mov_read_extradata(), mov_read_glbl(), mov_read_smi(), mov_read_strf(), mov_read_stsz(), mov_read_wave(), mov_write_dvc1_structs(), mp3_header_compress(), mp3_header_decompress(), mp_decode_frame(), mpc8_parse_seektable(), mpc8_read_header(), mpc_read_header(), mpegts_push_data(), mss2_decode_frame(), mxf_read_generic_descriptor(), mxg_update_cache(), new_pes_packet(), noise(), ogg_new_buf(), ogg_new_stream(), ogg_read_page(), ogg_save(), oggvorbis_encode_init(), oma_read_header(), opus_header(), parse_fmtp_config(), parse_packed_headers(), qdm2_parse_config(), qt_rtp_parse_packet(), rdt_parse_b64buf(), read_apic(), read_header(), read_kuki_chunk(), rl2_read_header(), rm_read_audio_stream_info(), rm_read_extradata(), sdp_parse_fmtp_config_h264(), shorten_decode_frame(), smacker_read_header(), spdif_write_packet(), speex_header(), submit_packet(), svq3_parse_packet(), tak_read_header(), text2movsub(), theora_header(), tiff_unpack_strip(), transcode_init(), tta_read_header(), utvideo_encode_frame(), utvideo_encode_init(), vc1_decode_frame(), vc1_decode_init(), vc1_extract_headers(), vfw_read_header(), video_decode_example(), vmd_read_header(), vqf_read_header(), wma_decode_superframe(), wsvqa_read_header(), wsvqa_read_packet(), wv_get_value_float(), xmv_process_packet_header(), xwma_read_header(), and yop_read_header().

#define FF_LEVEL_UNKNOWN   -99
#define FF_LEVEL_UNKNOWN   -99

Definition at line 2886 of file avcodec.h.

#define FF_LOSS_ALPHA   0x0008
#define FF_LOSS_CHROMA   0x0020
#define FF_LOSS_COLORQUANT   0x0010
#define FF_LOSS_COLORSPACE   0x0004
#define FF_LOSS_DEPTH   0x0002
#define FF_LOSS_RESOLUTION   0x0001
#define FF_MAX_B_FRAMES   16

Referenced by estimate_best_b_count().

#define FF_MB_DECISION_BITS   1

chooses the one which needs the fewest bits

Definition at line 1884 of file avcodec.h.

#define FF_MB_DECISION_BITS   1

Referenced by encode_thread(), and parse_ffconfig().

#define FF_MB_DECISION_RD   2

rate distortion

Definition at line 1885 of file avcodec.h.

#define FF_MB_DECISION_SIMPLE   0

uses mb_cmp

Definition at line 1883 of file avcodec.h.

#define FF_MB_DECISION_SIMPLE   0
#define FF_PRED_LEFT   0

Definition at line 1706 of file avcodec.h.

#define FF_PRED_LEFT   0
#define FF_PRED_MEDIAN   2

Definition at line 1708 of file avcodec.h.

#define FF_PRED_MEDIAN   2
#define FF_PRED_PLANE   1

Definition at line 1707 of file avcodec.h.

#define FF_PRED_PLANE   1

Referenced by utvideo_encode_init().

#define FF_PROFILE_AAC_ELD   38

Referenced by aac_encode_init().

#define FF_PROFILE_AAC_ELD   38

Definition at line 2826 of file avcodec.h.

#define FF_PROFILE_AAC_HE   4

Referenced by aac_encode_init().

#define FF_PROFILE_AAC_HE   4

Definition at line 2823 of file avcodec.h.

#define FF_PROFILE_AAC_HE_V2   28

Referenced by aac_encode_init().

#define FF_PROFILE_AAC_HE_V2   28

Definition at line 2824 of file avcodec.h.

#define FF_PROFILE_AAC_LD   22
#define FF_PROFILE_AAC_LD   22

Definition at line 2825 of file avcodec.h.

#define FF_PROFILE_AAC_LOW   1
#define FF_PROFILE_AAC_LOW   1

Definition at line 2820 of file avcodec.h.

#define FF_PROFILE_AAC_LTP   3

Referenced by Faac_encode_init().

#define FF_PROFILE_AAC_LTP   3

Definition at line 2822 of file avcodec.h.

#define FF_PROFILE_AAC_MAIN   0

Referenced by Faac_encode_init().

#define FF_PROFILE_AAC_MAIN   0

Definition at line 2819 of file avcodec.h.

#define FF_PROFILE_AAC_SSR   2

Definition at line 2821 of file avcodec.h.

#define FF_PROFILE_AAC_SSR   2

Referenced by Faac_encode_init().

#define FF_PROFILE_DTS   20

Referenced by dca_decode_frame().

#define FF_PROFILE_DTS   20

Definition at line 2828 of file avcodec.h.

#define FF_PROFILE_DTS_96_24   40

Referenced by dca_decode_frame().

#define FF_PROFILE_DTS_96_24   40

Definition at line 2830 of file avcodec.h.

#define FF_PROFILE_DTS_ES   30

Referenced by dca_decode_frame().

#define FF_PROFILE_DTS_ES   30

Definition at line 2829 of file avcodec.h.

#define FF_PROFILE_DTS_HD_HRA   50
#define FF_PROFILE_DTS_HD_HRA   50

Definition at line 2831 of file avcodec.h.

#define FF_PROFILE_DTS_HD_MA   60
#define FF_PROFILE_DTS_HD_MA   60

Definition at line 2832 of file avcodec.h.

#define FF_PROFILE_H264_BASELINE   66

Referenced by ff_h264_get_profile().

#define FF_PROFILE_H264_BASELINE   66

Definition at line 2844 of file avcodec.h.

#define FF_PROFILE_H264_CAVLC_444   44

Definition at line 2856 of file avcodec.h.

#define FF_PROFILE_H264_CAVLC_444   44
#define FF_PROFILE_H264_CONSTRAINED   (1<<9)

Referenced by ff_h264_get_profile().

#define FF_PROFILE_H264_CONSTRAINED   (1<<9)

Definition at line 2841 of file avcodec.h.

#define FF_PROFILE_H264_CONSTRAINED_BASELINE   (66|FF_PROFILE_H264_CONSTRAINED)
#define FF_PROFILE_H264_CONSTRAINED_BASELINE   (66|FF_PROFILE_H264_CONSTRAINED)

Definition at line 2845 of file avcodec.h.

#define FF_PROFILE_H264_EXTENDED   88
#define FF_PROFILE_H264_EXTENDED   88

Definition at line 2847 of file avcodec.h.

#define FF_PROFILE_H264_HIGH   100
#define FF_PROFILE_H264_HIGH   100

Definition at line 2848 of file avcodec.h.

#define FF_PROFILE_H264_HIGH_10   110

Referenced by ff_h264_get_profile().

#define FF_PROFILE_H264_HIGH_10   110

Definition at line 2849 of file avcodec.h.

#define FF_PROFILE_H264_HIGH_10_INTRA   (110|FF_PROFILE_H264_INTRA)

Definition at line 2850 of file avcodec.h.

#define FF_PROFILE_H264_HIGH_10_INTRA   (110|FF_PROFILE_H264_INTRA)
#define FF_PROFILE_H264_HIGH_422   122

Definition at line 2851 of file avcodec.h.

#define FF_PROFILE_H264_HIGH_422   122

Referenced by ff_h264_get_profile().

#define FF_PROFILE_H264_HIGH_422_INTRA   (122|FF_PROFILE_H264_INTRA)
#define FF_PROFILE_H264_HIGH_422_INTRA   (122|FF_PROFILE_H264_INTRA)

Definition at line 2852 of file avcodec.h.

#define FF_PROFILE_H264_HIGH_444   144
#define FF_PROFILE_H264_HIGH_444   144

Definition at line 2853 of file avcodec.h.

#define FF_PROFILE_H264_HIGH_444_INTRA   (244|FF_PROFILE_H264_INTRA)

Definition at line 2855 of file avcodec.h.

#define FF_PROFILE_H264_HIGH_444_INTRA   (244|FF_PROFILE_H264_INTRA)
#define FF_PROFILE_H264_HIGH_444_PREDICTIVE   244

Referenced by ff_h264_get_profile().

#define FF_PROFILE_H264_HIGH_444_PREDICTIVE   244

Definition at line 2854 of file avcodec.h.

#define FF_PROFILE_H264_INTRA   (1<<11)

Definition at line 2842 of file avcodec.h.

#define FF_PROFILE_H264_INTRA   (1<<11)

Referenced by ff_h264_get_profile().

#define FF_PROFILE_H264_MAIN   77
#define FF_PROFILE_H264_MAIN   77

Definition at line 2846 of file avcodec.h.

#define FF_PROFILE_MPEG2_422   0

Definition at line 2834 of file avcodec.h.

#define FF_PROFILE_MPEG2_422   0
#define FF_PROFILE_MPEG2_HIGH   1
#define FF_PROFILE_MPEG2_HIGH   1

Definition at line 2835 of file avcodec.h.

#define FF_PROFILE_MPEG2_MAIN   4

Definition at line 2838 of file avcodec.h.

#define FF_PROFILE_MPEG2_MAIN   4
#define FF_PROFILE_MPEG2_SIMPLE   5
#define FF_PROFILE_MPEG2_SIMPLE   5

Definition at line 2839 of file avcodec.h.

#define FF_PROFILE_MPEG2_SNR_SCALABLE   3
#define FF_PROFILE_MPEG2_SNR_SCALABLE   3

Definition at line 2837 of file avcodec.h.

#define FF_PROFILE_MPEG2_SS   2
#define FF_PROFILE_MPEG2_SS   2

Definition at line 2836 of file avcodec.h.

#define FF_PROFILE_MPEG4_ADVANCED_CODING   11
#define FF_PROFILE_MPEG4_ADVANCED_CODING   11

Definition at line 2874 of file avcodec.h.

#define FF_PROFILE_MPEG4_ADVANCED_CORE   12
#define FF_PROFILE_MPEG4_ADVANCED_CORE   12

Definition at line 2875 of file avcodec.h.

#define FF_PROFILE_MPEG4_ADVANCED_REAL_TIME   9
#define FF_PROFILE_MPEG4_ADVANCED_REAL_TIME   9

Definition at line 2872 of file avcodec.h.

#define FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE   13
#define FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE   13

Definition at line 2876 of file avcodec.h.

#define FF_PROFILE_MPEG4_ADVANCED_SIMPLE   15

Definition at line 2878 of file avcodec.h.

#define FF_PROFILE_MPEG4_ADVANCED_SIMPLE   15
#define FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE   7
#define FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE   7

Definition at line 2870 of file avcodec.h.

#define FF_PROFILE_MPEG4_CORE   2
#define FF_PROFILE_MPEG4_CORE   2

Definition at line 2865 of file avcodec.h.

#define FF_PROFILE_MPEG4_CORE_SCALABLE   10

Definition at line 2873 of file avcodec.h.

#define FF_PROFILE_MPEG4_CORE_SCALABLE   10
#define FF_PROFILE_MPEG4_HYBRID   8
#define FF_PROFILE_MPEG4_HYBRID   8

Definition at line 2871 of file avcodec.h.

#define FF_PROFILE_MPEG4_MAIN   3

Definition at line 2866 of file avcodec.h.

#define FF_PROFILE_MPEG4_MAIN   3
#define FF_PROFILE_MPEG4_N_BIT   4

Definition at line 2867 of file avcodec.h.

#define FF_PROFILE_MPEG4_N_BIT   4
#define FF_PROFILE_MPEG4_SCALABLE_TEXTURE   5
#define FF_PROFILE_MPEG4_SCALABLE_TEXTURE   5

Definition at line 2868 of file avcodec.h.

#define FF_PROFILE_MPEG4_SIMPLE   0
#define FF_PROFILE_MPEG4_SIMPLE   0

Definition at line 2863 of file avcodec.h.

#define FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION   6
#define FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION   6

Definition at line 2869 of file avcodec.h.

#define FF_PROFILE_MPEG4_SIMPLE_SCALABLE   1
#define FF_PROFILE_MPEG4_SIMPLE_SCALABLE   1

Definition at line 2864 of file avcodec.h.

#define FF_PROFILE_MPEG4_SIMPLE_STUDIO   14

Definition at line 2877 of file avcodec.h.

#define FF_PROFILE_MPEG4_SIMPLE_STUDIO   14
#define FF_PROFILE_RESERVED   -100
#define FF_PROFILE_RESERVED   -100

Definition at line 2817 of file avcodec.h.

#define FF_PROFILE_UNKNOWN   -99

Definition at line 2816 of file avcodec.h.

#define FF_PROFILE_VC1_ADVANCED   3
#define FF_PROFILE_VC1_ADVANCED   3

Definition at line 2861 of file avcodec.h.

#define FF_PROFILE_VC1_COMPLEX   2

Definition at line 2860 of file avcodec.h.

#define FF_PROFILE_VC1_COMPLEX   2
#define FF_PROFILE_VC1_MAIN   1
#define FF_PROFILE_VC1_MAIN   1

Definition at line 2859 of file avcodec.h.

#define FF_PROFILE_VC1_SIMPLE   0

Definition at line 2858 of file avcodec.h.

#define FF_PROFILE_VC1_SIMPLE   0
#define FF_QSCALE_TYPE_H264   2

Referenced by decode_postinit().

#define FF_QSCALE_TYPE_MPEG1   0
#define FF_QSCALE_TYPE_MPEG2   1

Referenced by slice_end().

#define FF_QSCALE_TYPE_VP56   3

Referenced by ff_vp56_decode_frame().

#define FF_RC_STRATEGY_XVID   1
#define FF_RC_STRATEGY_XVID   1

Definition at line 1601 of file avcodec.h.

#define FF_THREAD_FRAME   1

Decode more than one frame at once.

Definition at line 2744 of file avcodec.h.

#define FF_THREAD_SLICE   2

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

Definition at line 2745 of file avcodec.h.

#define MB_TYPE_8x16   0x0020
#define MB_TYPE_ACPRED   0x0200
#define MB_TYPE_CBP   0x00020000

Referenced by mpeg_decode_mb().

#define MB_TYPE_GMC   0x0400
#define MB_TYPE_INTRA16x16   0x0002
#define MB_TYPE_INTRA4x4   0x0001

Referenced by ff_er_frame_end(), and svq3_decode_mb().

#define MB_TYPE_INTRA_PCM   0x0004
#define MB_TYPE_L1   (MB_TYPE_P0L1 | MB_TYPE_P1L1)

Referenced by rv34_pred_mv_b().

#define MB_TYPE_P0L0   0x1000
#define MB_TYPE_P0L1   0x4000

Referenced by pred_temp_direct_motion().

#define MB_TYPE_P1L0   0x2000
#define MB_TYPE_P1L1   0x8000
#define MB_TYPE_QUANT   0x00010000

Referenced by mpeg_decode_mb().

#define PARSER_FLAG_COMPLETE_FRAMES   0x0001

Definition at line 3753 of file avcodec.h.

#define PARSER_FLAG_FETCHED_OFFSET   0x0004

Set if the parser has a valid file offset.

Definition at line 3756 of file avcodec.h.

#define PARSER_FLAG_FETCHED_OFFSET   0x0004

Referenced by av_parser_parse2().

#define PARSER_FLAG_ONCE   0x0002

Definition at line 3754 of file avcodec.h.

#define PARSER_FLAG_ONCE   0x0002

Referenced by h264_parse(), and read_frame_internal().

#define SLICE_FLAG_ALLOW_FIELD   0x0002

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

Definition at line 1867 of file avcodec.h.

#define SLICE_FLAG_ALLOW_FIELD   0x0002
#define SLICE_FLAG_ALLOW_PLANE   0x0004

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

Definition at line 1868 of file avcodec.h.

#define SLICE_FLAG_ALLOW_PLANE   0x0004
#define SLICE_FLAG_CODED_ORDER   0x0001

Referenced by ff_draw_horiz_band().

#define SLICE_FLAG_CODED_ORDER   0x0001

draw_horiz_band() is called in coded order instead of display

Definition at line 1866 of file avcodec.h.