FFmpeg
|
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"
Go to the source code of this file.
Data Structures | |
struct | AVCodecDescriptor |
This struct describes the properties of a single codec described by an AVCodecID. More... | |
struct | RcOverride |
struct | AVPanScan |
Pan Scan area. More... | |
struct | AVCPBProperties |
This structure describes the bitrate properties of an encoded bitstream. More... | |
struct | AVPacketSideData |
struct | AVPacket |
This structure stores compressed data. More... | |
struct | AVCodecContext |
main external API structure. More... | |
struct | AVProfile |
AVProfile. More... | |
struct | AVCodec |
AVCodec. More... | |
struct | AVHWAccel |
struct | AVPicture |
Picture data structure. More... | |
struct | AVSubtitleRect |
struct | AVSubtitle |
struct | AVCodecParameters |
This struct describes the properties of an encoded stream. More... | |
struct | AVCodecParserContext |
struct | AVCodecParser |
struct | AVBitStreamFilterContext |
struct | AVBSFContext |
The bitstream filter state. More... | |
struct | AVBitStreamFilter |
Macros | |
#define | AV_CODEC_ID_IFF_BYTERUN1 AV_CODEC_ID_IFF_ILBM |
#define | AV_CODEC_ID_H265 AV_CODEC_ID_HEVC |
#define | AV_CODEC_PROP_INTRA_ONLY (1 << 0) |
Codec uses only intra compression. More... | |
#define | AV_CODEC_PROP_LOSSY (1 << 1) |
Codec supports lossy compression. More... | |
#define | AV_CODEC_PROP_LOSSLESS (1 << 2) |
Codec supports lossless compression. More... | |
#define | AV_CODEC_PROP_REORDER (1 << 3) |
Codec supports frame reordering. More... | |
#define | AV_CODEC_PROP_BITMAP_SUB (1 << 16) |
Subtitle codec is bitmap based Decoded AVSubtitle data can be read from the AVSubtitleRect->pict field. More... | |
#define | AV_CODEC_PROP_TEXT_SUB (1 << 17) |
Subtitle codec is text based. More... | |
#define | AV_INPUT_BUFFER_PADDING_SIZE 32 |
Required number of additionally allocated bytes at the end of the input bitstream for decoding. More... | |
#define | AV_INPUT_BUFFER_MIN_SIZE 16384 |
minimum encoding buffer size Used to avoid some checks during header writing. More... | |
#define | FF_INPUT_BUFFER_PADDING_SIZE 32 |
#define | FF_MIN_BUFFER_SIZE 16384 |
#define | FF_MAX_B_FRAMES 16 |
#define | AV_CODEC_FLAG_UNALIGNED (1 << 0) |
Allow decoders to produce frames with data planes that are not aligned to CPU requirements (e.g. More... | |
#define | AV_CODEC_FLAG_QSCALE (1 << 1) |
Use fixed qscale. More... | |
#define | AV_CODEC_FLAG_4MV (1 << 2) |
4 MV per MB allowed / advanced prediction for H.263. More... | |
#define | AV_CODEC_FLAG_OUTPUT_CORRUPT (1 << 3) |
Output even those frames that might be corrupted. More... | |
#define | AV_CODEC_FLAG_QPEL (1 << 4) |
Use qpel MC. More... | |
#define | AV_CODEC_FLAG_PASS1 (1 << 9) |
Use internal 2pass ratecontrol in first pass mode. More... | |
#define | AV_CODEC_FLAG_PASS2 (1 << 10) |
Use internal 2pass ratecontrol in second pass mode. More... | |
#define | AV_CODEC_FLAG_LOOP_FILTER (1 << 11) |
loop filter. More... | |
#define | AV_CODEC_FLAG_GRAY (1 << 13) |
Only decode/encode grayscale. More... | |
#define | AV_CODEC_FLAG_PSNR (1 << 15) |
error[?] variables will be set during encoding. More... | |
#define | AV_CODEC_FLAG_TRUNCATED (1 << 16) |
Input bitstream might be truncated at a random location instead of only at frame boundaries. More... | |
#define | AV_CODEC_FLAG_INTERLACED_DCT (1 << 18) |
Use interlaced DCT. More... | |
#define | AV_CODEC_FLAG_LOW_DELAY (1 << 19) |
Force low delay. More... | |
#define | AV_CODEC_FLAG_GLOBAL_HEADER (1 << 22) |
Place global headers in extradata instead of every keyframe. More... | |
#define | AV_CODEC_FLAG_BITEXACT (1 << 23) |
Use only bitexact stuff (except (I)DCT). More... | |
#define | AV_CODEC_FLAG_AC_PRED (1 << 24) |
H.263 advanced intra coding / MPEG-4 AC prediction. More... | |
#define | AV_CODEC_FLAG_INTERLACED_ME (1 << 29) |
interlaced motion estimation More... | |
#define | AV_CODEC_FLAG_CLOSED_GOP (1U << 31) |
#define | AV_CODEC_FLAG2_FAST (1 << 0) |
Allow non spec compliant speedup tricks. More... | |
#define | AV_CODEC_FLAG2_NO_OUTPUT (1 << 2) |
Skip bitstream encoding. More... | |
#define | AV_CODEC_FLAG2_LOCAL_HEADER (1 << 3) |
Place global headers at every keyframe instead of in extradata. More... | |
#define | AV_CODEC_FLAG2_DROP_FRAME_TIMECODE (1 << 13) |
timecode is in drop frame format. More... | |
#define | AV_CODEC_FLAG2_CHUNKS (1 << 15) |
Input bitstream might be truncated at a packet boundaries instead of only at frame boundaries. More... | |
#define | AV_CODEC_FLAG2_IGNORE_CROP (1 << 16) |
Discard cropping information from SPS. More... | |
#define | AV_CODEC_FLAG2_SHOW_ALL (1 << 22) |
Show all frames before the first keyframe. More... | |
#define | AV_CODEC_FLAG2_EXPORT_MVS (1 << 28) |
Export motion vectors through frame side data. More... | |
#define | AV_CODEC_FLAG2_SKIP_MANUAL (1 << 29) |
Do not skip samples and export skip information as frame side data. More... | |
#define | AV_CODEC_FLAG2_RO_FLUSH_NOOP (1 << 30) |
Do not reset ASS ReadOrder field on flush (subtitles decoding) More... | |
#define | AV_CODEC_CAP_DRAW_HORIZ_BAND (1 << 0) |
Decoder can use draw_horiz_band callback. More... | |
#define | AV_CODEC_CAP_DR1 (1 << 1) |
Codec uses get_buffer() for allocating buffers and supports custom allocators. More... | |
#define | AV_CODEC_CAP_TRUNCATED (1 << 3) |
#define | AV_CODEC_CAP_DELAY (1 << 5) |
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and correct output. More... | |
#define | AV_CODEC_CAP_SMALL_LAST_FRAME (1 << 6) |
Codec can be fed a final frame with a smaller size. More... | |
#define | AV_CODEC_CAP_HWACCEL_VDPAU (1 << 7) |
Codec can export data for HW decoding (VDPAU). More... | |
#define | AV_CODEC_CAP_SUBFRAMES (1 << 8) |
Codec can output multiple frames per AVPacket Normally demuxers return one frame at a time, demuxers which do not do are connected to a parser to split what they return into proper frames. More... | |
#define | AV_CODEC_CAP_EXPERIMENTAL (1 << 9) |
Codec is experimental and is thus avoided in favor of non experimental encoders. More... | |
#define | AV_CODEC_CAP_CHANNEL_CONF (1 << 10) |
Codec should fill in channel configuration and samplerate instead of container. More... | |
#define | AV_CODEC_CAP_FRAME_THREADS (1 << 12) |
Codec supports frame-level multithreading. More... | |
#define | AV_CODEC_CAP_SLICE_THREADS (1 << 13) |
Codec supports slice-based (or partition-based) multithreading. More... | |
#define | AV_CODEC_CAP_PARAM_CHANGE (1 << 14) |
Codec supports changed parameters at any point. More... | |
#define | AV_CODEC_CAP_AUTO_THREADS (1 << 15) |
Codec supports avctx->thread_count == 0 (auto). More... | |
#define | AV_CODEC_CAP_VARIABLE_FRAME_SIZE (1 << 16) |
Audio encoder supports receiving a different number of samples in each call. More... | |
#define | AV_CODEC_CAP_AVOID_PROBING (1 << 17) |
Decoder is not a preferred choice for probing. More... | |
#define | AV_CODEC_CAP_INTRA_ONLY 0x40000000 |
Codec is intra only. More... | |
#define | AV_CODEC_CAP_LOSSLESS 0x80000000 |
Codec is lossless. More... | |
#define | CODEC_FLAG_UNALIGNED AV_CODEC_FLAG_UNALIGNED |
Allow decoders to produce frames with data planes that are not aligned to CPU requirements (e.g. More... | |
#define | CODEC_FLAG_QSCALE AV_CODEC_FLAG_QSCALE |
#define | CODEC_FLAG_4MV AV_CODEC_FLAG_4MV |
#define | CODEC_FLAG_OUTPUT_CORRUPT AV_CODEC_FLAG_OUTPUT_CORRUPT |
#define | CODEC_FLAG_QPEL AV_CODEC_FLAG_QPEL |
#define | CODEC_FLAG_GMC 0x0020 |
#define | CODEC_FLAG_MV0 0x0040 |
#define | CODEC_FLAG_INPUT_PRESERVED 0x0100 |
#define | CODEC_FLAG_PASS1 AV_CODEC_FLAG_PASS1 |
#define | CODEC_FLAG_PASS2 AV_CODEC_FLAG_PASS2 |
#define | CODEC_FLAG_GRAY AV_CODEC_FLAG_GRAY |
#define | CODEC_FLAG_EMU_EDGE 0x4000 |
#define | CODEC_FLAG_PSNR AV_CODEC_FLAG_PSNR |
#define | CODEC_FLAG_TRUNCATED AV_CODEC_FLAG_TRUNCATED |
#define | CODEC_FLAG_NORMALIZE_AQP 0x00020000 |
#define | CODEC_FLAG_INTERLACED_DCT AV_CODEC_FLAG_INTERLACED_DCT |
#define | CODEC_FLAG_LOW_DELAY AV_CODEC_FLAG_LOW_DELAY |
#define | CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER |
#define | CODEC_FLAG_BITEXACT AV_CODEC_FLAG_BITEXACT |
#define | CODEC_FLAG_AC_PRED AV_CODEC_FLAG_AC_PRED |
#define | CODEC_FLAG_LOOP_FILTER AV_CODEC_FLAG_LOOP_FILTER |
#define | CODEC_FLAG_INTERLACED_ME AV_CODEC_FLAG_INTERLACED_ME |
#define | CODEC_FLAG_CLOSED_GOP AV_CODEC_FLAG_CLOSED_GOP |
#define | CODEC_FLAG2_FAST AV_CODEC_FLAG2_FAST |
#define | CODEC_FLAG2_NO_OUTPUT AV_CODEC_FLAG2_NO_OUTPUT |
#define | CODEC_FLAG2_LOCAL_HEADER AV_CODEC_FLAG2_LOCAL_HEADER |
#define | CODEC_FLAG2_DROP_FRAME_TIMECODE AV_CODEC_FLAG2_DROP_FRAME_TIMECODE |
#define | CODEC_FLAG2_IGNORE_CROP AV_CODEC_FLAG2_IGNORE_CROP |
#define | CODEC_FLAG2_CHUNKS AV_CODEC_FLAG2_CHUNKS |
#define | CODEC_FLAG2_SHOW_ALL AV_CODEC_FLAG2_SHOW_ALL |
#define | CODEC_FLAG2_EXPORT_MVS AV_CODEC_FLAG2_EXPORT_MVS |
#define | CODEC_FLAG2_SKIP_MANUAL AV_CODEC_FLAG2_SKIP_MANUAL |
#define | CODEC_CAP_DRAW_HORIZ_BAND AV_CODEC_CAP_DRAW_HORIZ_BAND |
Decoder can use draw_horiz_band callback. More... | |
#define | CODEC_CAP_DR1 AV_CODEC_CAP_DR1 |
Codec uses get_buffer() for allocating buffers and supports custom allocators. More... | |
#define | CODEC_CAP_TRUNCATED AV_CODEC_CAP_TRUNCATED |
#define | CODEC_CAP_DELAY AV_CODEC_CAP_DELAY |
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 AV_CODEC_CAP_SMALL_LAST_FRAME |
Codec can be fed a final frame with a smaller size. More... | |
#define | CODEC_CAP_HWACCEL_VDPAU AV_CODEC_CAP_HWACCEL_VDPAU |
Codec can export data for HW decoding (VDPAU). More... | |
#define | CODEC_CAP_SUBFRAMES AV_CODEC_CAP_SUBFRAMES |
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 AV_CODEC_CAP_EXPERIMENTAL |
Codec is experimental and is thus avoided in favor of non experimental encoders. More... | |
#define | CODEC_CAP_CHANNEL_CONF AV_CODEC_CAP_CHANNEL_CONF |
Codec should fill in channel configuration and samplerate instead of container. More... | |
#define | CODEC_CAP_NEG_LINESIZES 0x0800 |
#define | CODEC_CAP_FRAME_THREADS AV_CODEC_CAP_FRAME_THREADS |
Codec supports frame-level multithreading. More... | |
#define | CODEC_CAP_SLICE_THREADS AV_CODEC_CAP_SLICE_THREADS |
Codec supports slice-based (or partition-based) multithreading. More... | |
#define | CODEC_CAP_PARAM_CHANGE AV_CODEC_CAP_PARAM_CHANGE |
Codec supports changed parameters at any point. More... | |
#define | CODEC_CAP_AUTO_THREADS AV_CODEC_CAP_AUTO_THREADS |
Codec supports avctx->thread_count == 0 (auto). More... | |
#define | CODEC_CAP_VARIABLE_FRAME_SIZE AV_CODEC_CAP_VARIABLE_FRAME_SIZE |
Audio encoder supports receiving a different number of samples in each call. More... | |
#define | CODEC_CAP_INTRA_ONLY AV_CODEC_CAP_INTRA_ONLY |
Codec is intra only. More... | |
#define | CODEC_CAP_LOSSLESS AV_CODEC_CAP_LOSSLESS |
Codec is lossless. More... | |
#define | HWACCEL_CODEC_CAP_EXPERIMENTAL 0x0200 |
HWAccel is experimental and is thus avoided in favor of non experimental codecs. 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 | AV_GET_BUFFER_FLAG_REF (1 << 0) |
The decoder will keep a reference to the frame and may reuse it later. More... | |
#define | AV_PKT_DATA_QUALITY_FACTOR AV_PKT_DATA_QUALITY_STATS |
#define | AV_PKT_FLAG_KEY 0x0001 |
The packet contains a keyframe. More... | |
#define | AV_PKT_FLAG_CORRUPT 0x0002 |
The packet content is corrupted. More... | |
#define | AV_PKT_FLAG_DISCARD 0x0004 |
Flag is used to discard packets which are required to maintain valid decoder state but are not required for output and should be dropped after decoding. More... | |
#define | AV_PKT_FLAG_TRUSTED 0x0008 |
The packet comes from a trusted source. More... | |
#define | 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_MEDIAN_SAD 15 |
#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 (MPEG-2 field pics) More... | |
#define | SLICE_FLAG_ALLOW_PLANE 0x0004 |
allow draw_horiz_band() with 1 component at a time (SVQ1) More... | |
#define | FF_MB_DECISION_SIMPLE 0 |
uses mb_cmp More... | |
#define | FF_MB_DECISION_BITS 1 |
chooses the one which needs the fewest bits More... | |
#define | FF_MB_DECISION_RD 2 |
rate distortion More... | |
#define | FF_CODER_TYPE_VLC 0 |
#define | FF_CODER_TYPE_AC 1 |
#define | FF_CODER_TYPE_RAW 2 |
#define | FF_CODER_TYPE_RLE 3 |
#define | FF_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_BUG_IEDGE 32768 |
#define | FF_COMPLIANCE_VERY_STRICT 2 |
Strictly conform to an older more strict version of the spec or reference software. More... | |
#define | FF_COMPLIANCE_STRICT 1 |
Strictly conform to all the things in the spec no matter what consequences. More... | |
#define | FF_COMPLIANCE_NORMAL 0 |
#define | FF_COMPLIANCE_UNOFFICIAL -1 |
Allow unofficial extensions. More... | |
#define | FF_COMPLIANCE_EXPERIMENTAL -2 |
Allow nonstandardized experimental things. More... | |
#define | FF_EC_GUESS_MVS 1 |
#define | FF_EC_DEBLOCK 2 |
#define | FF_EC_FAVOR_INTER 256 |
#define | FF_DEBUG_PICT_INFO 1 |
#define | FF_DEBUG_RC 2 |
#define | FF_DEBUG_BITSTREAM 4 |
#define | FF_DEBUG_MB_TYPE 8 |
#define | FF_DEBUG_QP 16 |
#define | FF_DEBUG_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_GREEN_MD 0x00800000 |
#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. More... | |
#define | AV_EF_BITSTREAM (1<<1) |
detect bitstream specification deviations More... | |
#define | AV_EF_BUFFER (1<<2) |
detect improper bitstream length More... | |
#define | AV_EF_EXPLODE (1<<3) |
abort decoding on minor error detection More... | |
#define | AV_EF_IGNORE_ERR (1<<15) |
ignore errors and continue More... | |
#define | AV_EF_CAREFUL (1<<16) |
consider things that violate the spec, are fast to calculate and have not been seen in the wild as errors More... | |
#define | AV_EF_COMPLIANT (1<<17) |
consider all spec non compliances as errors More... | |
#define | AV_EF_AGGRESSIVE (1<<18) |
consider things that a sane encoder should not do as an error More... | |
#define | FF_DCT_AUTO 0 |
#define | FF_DCT_FASTINT 1 |
#define | FF_DCT_INT 2 |
#define | FF_DCT_MMX 3 |
#define | FF_DCT_ALTIVEC 5 |
#define | FF_DCT_FAAN 6 |
#define | FF_IDCT_AUTO 0 |
#define | FF_IDCT_INT 1 |
#define | FF_IDCT_SIMPLE 2 |
#define | FF_IDCT_SIMPLEMMX 3 |
#define | FF_IDCT_ARM 7 |
#define | FF_IDCT_ALTIVEC 8 |
#define | FF_IDCT_SH4 9 |
#define | FF_IDCT_SIMPLEARM 10 |
#define | FF_IDCT_IPP 13 |
#define | FF_IDCT_XVID 14 |
#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_NONE 24 /* Used by XvMC to extract IDCT coefficients with FF_IDCT_PERM_NONE */ |
#define | FF_IDCT_SIMPLEAUTO 128 |
#define | FF_THREAD_FRAME 1 |
Decode more than one frame at once. More... | |
#define | FF_THREAD_SLICE 2 |
Decode more than one part of a single frame at once. More... | |
#define | FF_PROFILE_UNKNOWN -99 |
#define | FF_PROFILE_RESERVED -100 |
#define | FF_PROFILE_AAC_MAIN 0 |
#define | FF_PROFILE_AAC_LOW 1 |
#define | FF_PROFILE_AAC_SSR 2 |
#define | FF_PROFILE_AAC_LTP 3 |
#define | FF_PROFILE_AAC_HE 4 |
#define | FF_PROFILE_AAC_HE_V2 28 |
#define | FF_PROFILE_AAC_LD 22 |
#define | FF_PROFILE_AAC_ELD 38 |
#define | FF_PROFILE_MPEG2_AAC_LOW 128 |
#define | FF_PROFILE_MPEG2_AAC_HE 131 |
#define | FF_PROFILE_DNXHD 0 |
#define | FF_PROFILE_DNXHR_LB 1 |
#define | FF_PROFILE_DNXHR_SQ 2 |
#define | FF_PROFILE_DNXHR_HQ 3 |
#define | FF_PROFILE_DNXHR_HQX 4 |
#define | FF_PROFILE_DNXHR_444 5 |
#define | FF_PROFILE_DTS 20 |
#define | FF_PROFILE_DTS_ES 30 |
#define | FF_PROFILE_DTS_96_24 40 |
#define | FF_PROFILE_DTS_HD_HRA 50 |
#define | FF_PROFILE_DTS_HD_MA 60 |
#define | FF_PROFILE_DTS_EXPRESS 70 |
#define | FF_PROFILE_MPEG2_422 0 |
#define | FF_PROFILE_MPEG2_HIGH 1 |
#define | FF_PROFILE_MPEG2_SS 2 |
#define | FF_PROFILE_MPEG2_SNR_SCALABLE 3 |
#define | FF_PROFILE_MPEG2_MAIN 4 |
#define | FF_PROFILE_MPEG2_SIMPLE 5 |
#define | FF_PROFILE_H264_CONSTRAINED (1<<9) |
#define | FF_PROFILE_H264_INTRA (1<<11) |
#define | FF_PROFILE_H264_BASELINE 66 |
#define | FF_PROFILE_H264_CONSTRAINED_BASELINE (66|FF_PROFILE_H264_CONSTRAINED) |
#define | FF_PROFILE_H264_MAIN 77 |
#define | FF_PROFILE_H264_EXTENDED 88 |
#define | FF_PROFILE_H264_HIGH 100 |
#define | FF_PROFILE_H264_HIGH_10 110 |
#define | FF_PROFILE_H264_HIGH_10_INTRA (110|FF_PROFILE_H264_INTRA) |
#define | FF_PROFILE_H264_MULTIVIEW_HIGH 118 |
#define | FF_PROFILE_H264_HIGH_422 122 |
#define | FF_PROFILE_H264_HIGH_422_INTRA (122|FF_PROFILE_H264_INTRA) |
#define | FF_PROFILE_H264_STEREO_HIGH 128 |
#define | FF_PROFILE_H264_HIGH_444 144 |
#define | FF_PROFILE_H264_HIGH_444_PREDICTIVE 244 |
#define | FF_PROFILE_H264_HIGH_444_INTRA (244|FF_PROFILE_H264_INTRA) |
#define | FF_PROFILE_H264_CAVLC_444 44 |
#define | FF_PROFILE_VC1_SIMPLE 0 |
#define | FF_PROFILE_VC1_MAIN 1 |
#define | FF_PROFILE_VC1_COMPLEX 2 |
#define | FF_PROFILE_VC1_ADVANCED 3 |
#define | FF_PROFILE_MPEG4_SIMPLE 0 |
#define | FF_PROFILE_MPEG4_SIMPLE_SCALABLE 1 |
#define | FF_PROFILE_MPEG4_CORE 2 |
#define | FF_PROFILE_MPEG4_MAIN 3 |
#define | FF_PROFILE_MPEG4_N_BIT 4 |
#define | FF_PROFILE_MPEG4_SCALABLE_TEXTURE 5 |
#define | FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION 6 |
#define | FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE 7 |
#define | FF_PROFILE_MPEG4_HYBRID 8 |
#define | FF_PROFILE_MPEG4_ADVANCED_REAL_TIME 9 |
#define | FF_PROFILE_MPEG4_CORE_SCALABLE 10 |
#define | FF_PROFILE_MPEG4_ADVANCED_CODING 11 |
#define | FF_PROFILE_MPEG4_ADVANCED_CORE 12 |
#define | FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE 13 |
#define | FF_PROFILE_MPEG4_SIMPLE_STUDIO 14 |
#define | FF_PROFILE_MPEG4_ADVANCED_SIMPLE 15 |
#define | FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 1 |
#define | FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 2 |
#define | FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION 32768 |
#define | FF_PROFILE_JPEG2000_DCINEMA_2K 3 |
#define | FF_PROFILE_JPEG2000_DCINEMA_4K 4 |
#define | FF_PROFILE_VP9_0 0 |
#define | FF_PROFILE_VP9_1 1 |
#define | FF_PROFILE_VP9_2 2 |
#define | FF_PROFILE_VP9_3 3 |
#define | FF_PROFILE_HEVC_MAIN 1 |
#define | FF_PROFILE_HEVC_MAIN_10 2 |
#define | FF_PROFILE_HEVC_MAIN_STILL_PICTURE 3 |
#define | FF_PROFILE_HEVC_REXT 4 |
#define | FF_LEVEL_UNKNOWN -99 |
#define | FF_SUB_CHARENC_MODE_DO_NOTHING -1 |
do nothing (demuxer outputs a stream supposed to be already in UTF-8, or the codec is bitmap for instance) More... | |
#define | FF_SUB_CHARENC_MODE_AUTOMATIC 0 |
libavcodec will select the mode itself More... | |
#define | FF_SUB_CHARENC_MODE_PRE_DECODER 1 |
the AVPacket data needs to be recoded to UTF-8 before being fed to the decoder, requires iconv More... | |
#define | FF_CODEC_PROPERTY_LOSSLESS 0x00000001 |
#define | FF_CODEC_PROPERTY_CLOSED_CAPTIONS 0x00000002 |
#define | FF_SUB_TEXT_FMT_ASS 0 |
#define | FF_SUB_TEXT_FMT_ASS_WITH_TIMINGS 1 |
#define | AV_HWACCEL_CODEC_CAP_EXPERIMENTAL 0x0200 |
HWAccel is experimental and is thus avoided in favor of non experimental codecs. More... | |
#define | AV_HWACCEL_FLAG_IGNORE_LEVEL (1 << 0) |
Hardware acceleration should be used for decoding even if the codec level used is unknown or higher than the maximum supported level reported by the hardware driver. More... | |
#define | AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH (1 << 1) |
Hardware acceleration can output YUV pixel formats with a different chroma sampling than 4:2:0 and/or other than 8 bits per component. More... | |
#define | AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH (1 << 2) |
Hardware acceleration should still be attempted for decoding when the codec profile does not match the reported capabilities of the hardware. More... | |
#define | AV_SUBTITLE_FLAG_FORCED 0x00000001 |
#define | AV_PARSER_PTS_NB 4 |
#define | PARSER_FLAG_COMPLETE_FRAMES 0x0001 |
#define | PARSER_FLAG_ONCE 0x0002 |
#define | PARSER_FLAG_FETCHED_OFFSET 0x0004 |
Set if the parser has a valid file offset. More... | |
#define | PARSER_FLAG_USE_CODEC_TS 0x1000 |
Functions | |
AVRational | av_codec_get_pkt_timebase (const AVCodecContext *avctx) |
void | av_codec_set_pkt_timebase (AVCodecContext *avctx, AVRational val) |
const AVCodecDescriptor * | av_codec_get_codec_descriptor (const AVCodecContext *avctx) |
void | av_codec_set_codec_descriptor (AVCodecContext *avctx, const AVCodecDescriptor *desc) |
unsigned | av_codec_get_codec_properties (const AVCodecContext *avctx) |
int | av_codec_get_lowres (const AVCodecContext *avctx) |
void | av_codec_set_lowres (AVCodecContext *avctx, int val) |
int | av_codec_get_seek_preroll (const AVCodecContext *avctx) |
void | av_codec_set_seek_preroll (AVCodecContext *avctx, int val) |
uint16_t * | av_codec_get_chroma_intra_matrix (const AVCodecContext *avctx) |
void | av_codec_set_chroma_intra_matrix (AVCodecContext *avctx, uint16_t *val) |
int | av_codec_get_max_lowres (const AVCodec *codec) |
AVCodec * | av_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... | |
AVCodecContext * | avcodec_alloc_context3 (const AVCodec *codec) |
Allocate an AVCodecContext and set its fields to default values. More... | |
void | avcodec_free_context (AVCodecContext **avctx) |
Free the codec context and everything associated with it and write NULL to the provided pointer. More... | |
int | avcodec_get_context_defaults3 (AVCodecContext *s, const AVCodec *codec) |
const AVClass * | avcodec_get_class (void) |
Get the AVClass for AVCodecContext. More... | |
const AVClass * | avcodec_get_frame_class (void) |
Get the AVClass for AVFrame. More... | |
const AVClass * | avcodec_get_subtitle_rect_class (void) |
Get the AVClass for AVSubtitleRect. More... | |
attribute_deprecated int | avcodec_copy_context (AVCodecContext *dest, const AVCodecContext *src) |
Copy the settings of the source AVCodecContext into the destination AVCodecContext. More... | |
AVCodecParameters * | avcodec_parameters_alloc (void) |
Allocate a new AVCodecParameters and set its fields to default values (unknown/invalid/0). More... | |
void | avcodec_parameters_free (AVCodecParameters **par) |
Free an AVCodecParameters instance and everything associated with it and write NULL to the supplied pointer. More... | |
int | avcodec_parameters_copy (AVCodecParameters *dst, const AVCodecParameters *src) |
Copy the contents of src to dst. More... | |
int | avcodec_parameters_from_context (AVCodecParameters *par, const AVCodecContext *codec) |
Fill the parameters struct based on the values from the supplied codec context. More... | |
int | avcodec_parameters_to_context (AVCodecContext *codec, const AVCodecParameters *par) |
Fill the codec context based on the values from the supplied codec parameters. More... | |
int | avcodec_open2 (AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options) |
Initialize the AVCodecContext to use the given AVCodec. More... | |
int | avcodec_close (AVCodecContext *avctx) |
Close a given AVCodecContext and free all the data associated with it (but not the AVCodecContext itself). More... | |
void | avsubtitle_free (AVSubtitle *sub) |
Free all allocated data in the given subtitle struct. More... | |
AVPacket * | av_packet_alloc (void) |
Allocate an AVPacket and set its fields to default values. More... | |
AVPacket * | av_packet_clone (const AVPacket *src) |
Create a new packet that references the same data as src. More... | |
void | av_packet_free (AVPacket **pkt) |
Free the packet, if the packet is reference counted, it will be unreferenced first. More... | |
void | av_init_packet (AVPacket *pkt) |
Initialize optional fields of a packet with default values. More... | |
int | av_new_packet (AVPacket *pkt, int size) |
Allocate the payload of a packet and initialize its fields with default values. More... | |
void | av_shrink_packet (AVPacket *pkt, int size) |
Reduce packet size, correctly zeroing padding. More... | |
int | av_grow_packet (AVPacket *pkt, int grow_by) |
Increase packet size, correctly zeroing padding. More... | |
int | av_packet_from_data (AVPacket *pkt, uint8_t *data, int size) |
Initialize a reference-counted packet from av_malloc()ed data. More... | |
attribute_deprecated int | av_dup_packet (AVPacket *pkt) |
attribute_deprecated int | av_copy_packet (AVPacket *dst, const AVPacket *src) |
Copy packet, including contents. More... | |
attribute_deprecated int | av_copy_packet_side_data (AVPacket *dst, const AVPacket *src) |
Copy packet side data. More... | |
attribute_deprecated void | av_free_packet (AVPacket *pkt) |
Free a packet. More... | |
uint8_t * | av_packet_new_side_data (AVPacket *pkt, enum AVPacketSideDataType type, int size) |
Allocate new information of a packet. More... | |
int | av_packet_add_side_data (AVPacket *pkt, enum AVPacketSideDataType type, uint8_t *data, size_t size) |
Wrap an existing array as a packet side data. More... | |
int | av_packet_shrink_side_data (AVPacket *pkt, enum AVPacketSideDataType type, int size) |
Shrink the already allocated side data buffer. More... | |
uint8_t * | av_packet_get_side_data (const AVPacket *pkt, enum AVPacketSideDataType type, int *size) |
Get side information from packet. More... | |
attribute_deprecated int | av_packet_merge_side_data (AVPacket *pkt) |
attribute_deprecated int | av_packet_split_side_data (AVPacket *pkt) |
const char * | av_packet_side_data_name (enum AVPacketSideDataType type) |
uint8_t * | av_packet_pack_dictionary (AVDictionary *dict, int *size) |
Pack a dictionary for use in side_data. More... | |
int | av_packet_unpack_dictionary (const uint8_t *data, int size, AVDictionary **dict) |
Unpack a dictionary from side_data. More... | |
void | av_packet_free_side_data (AVPacket *pkt) |
Convenience function to free all the side data stored. More... | |
int | av_packet_ref (AVPacket *dst, const AVPacket *src) |
Setup a new reference to the data described by a given packet. More... | |
void | av_packet_unref (AVPacket *pkt) |
Wipe the packet. More... | |
void | av_packet_move_ref (AVPacket *dst, AVPacket *src) |
Move every field in src to dst and reset src. More... | |
int | av_packet_copy_props (AVPacket *dst, const AVPacket *src) |
Copy only "properties" fields from src to dst. More... | |
void | av_packet_rescale_ts (AVPacket *pkt, AVRational tb_src, AVRational tb_dst) |
Convert valid timing fields (timestamps / durations) in a packet from one timebase to another. More... | |
AVCodec * | avcodec_find_decoder (enum AVCodecID id) |
Find a registered decoder with a matching codec ID. More... | |
AVCodec * | avcodec_find_decoder_by_name (const char *name) |
Find a registered decoder with the specified name. More... | |
int | avcodec_default_get_buffer2 (AVCodecContext *s, AVFrame *frame, int flags) |
The default callback for AVCodecContext.get_buffer2(). More... | |
attribute_deprecated 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_enum_to_chroma_pos (int *xpos, int *ypos, enum AVChromaLocation pos) |
Converts AVChromaLocation to swscale x/y chroma position. More... | |
enum AVChromaLocation | avcodec_chroma_pos_to_enum (int xpos, int ypos) |
Converts swscale x/y chroma position to AVChromaLocation. More... | |
attribute_deprecated int | avcodec_decode_audio4 (AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, const AVPacket *avpkt) |
Decode the audio frame of size avpkt->size from avpkt->data into frame. More... | |
attribute_deprecated int | avcodec_decode_video2 (AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, const AVPacket *avpkt) |
Decode the video frame of size avpkt->size from avpkt->data into picture. More... | |
int | avcodec_decode_subtitle2 (AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, AVPacket *avpkt) |
Decode a subtitle message. More... | |
int | avcodec_send_packet (AVCodecContext *avctx, const AVPacket *avpkt) |
Supply raw packet data as input to a decoder. More... | |
int | avcodec_receive_frame (AVCodecContext *avctx, AVFrame *frame) |
Return decoded output data from a decoder. More... | |
int | avcodec_send_frame (AVCodecContext *avctx, const AVFrame *frame) |
Supply a raw video or audio frame to the encoder. More... | |
int | avcodec_receive_packet (AVCodecContext *avctx, AVPacket *avpkt) |
Read encoded data from the encoder. More... | |
AVCodecParser * | av_parser_next (const AVCodecParser *c) |
void | av_register_codec_parser (AVCodecParser *parser) |
AVCodecParserContext * | av_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) |
AVCodec * | avcodec_find_encoder (enum AVCodecID id) |
Find a registered encoder with a matching codec ID. More... | |
AVCodec * | avcodec_find_encoder_by_name (const char *name) |
Find a registered encoder with the specified name. More... | |
attribute_deprecated int | avcodec_encode_audio2 (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
Encode a frame of audio. More... | |
attribute_deprecated int | avcodec_encode_video2 (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
Encode a frame of video. More... | |
int | avcodec_encode_subtitle (AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVSubtitle *sub) |
attribute_deprecated ReSampleContext * | av_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. More... | |
attribute_deprecated int | audio_resample (ReSampleContext *s, short *output, short *input, int nb_samples) |
attribute_deprecated void | audio_resample_close (ReSampleContext *s) |
Free resample context. More... | |
attribute_deprecated struct AVResampleContext * | av_resample_init (int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear, double cutoff) |
Initialize an audio resampler. More... | |
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. More... | |
attribute_deprecated void | av_resample_compensate (struct AVResampleContext *c, int sample_delta, int compensation_distance) |
Compensate samplerate/timestamp drift. More... | |
attribute_deprecated void | av_resample_close (struct AVResampleContext *c) |
attribute_deprecated int | avpicture_alloc (AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height) |
attribute_deprecated void | avpicture_free (AVPicture *picture) |
attribute_deprecated int | avpicture_fill (AVPicture *picture, const uint8_t *ptr, enum AVPixelFormat pix_fmt, int width, int height) |
attribute_deprecated int | avpicture_layout (const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height, unsigned char *dest, int dest_size) |
attribute_deprecated int | avpicture_get_size (enum AVPixelFormat pix_fmt, int width, int height) |
attribute_deprecated void | av_picture_copy (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height) |
attribute_deprecated int | av_picture_crop (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int top_band, int left_band) |
attribute_deprecated int | av_picture_pad (AVPicture *dst, const AVPicture *src, int height, int width, enum AVPixelFormat pix_fmt, int padtop, int padbottom, int padleft, int padright, int *color) |
attribute_deprecated void | avcodec_get_chroma_sub_sample (enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift) |
unsigned int | avcodec_pix_fmt_to_codec_tag (enum AVPixelFormat pix_fmt) |
Return a value representing the fourCC code associated to the pixel format pix_fmt, or 0 if no associated fourCC code can be found. More... | |
int | avcodec_get_pix_fmt_loss (enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt, int has_alpha) |
enum AVPixelFormat | avcodec_find_best_pix_fmt_of_list (const enum AVPixelFormat *pix_fmt_list, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) |
Find the best pixel format to convert to given a certain source pixel format. More... | |
enum AVPixelFormat | avcodec_find_best_pix_fmt_of_2 (enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) |
attribute_deprecated enum AVPixelFormat | avcodec_find_best_pix_fmt2 (enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) |
enum AVPixelFormat | avcodec_default_get_format (struct AVCodecContext *s, const enum AVPixelFormat *fmt) |
attribute_deprecated void | avcodec_set_dimensions (AVCodecContext *s, int width, int height) |
attribute_deprecated size_t | av_get_codec_tag_string (char *buf, size_t buf_size, unsigned int codec_tag) |
Put a string representing the codec tag codec_tag in buf. More... | |
void | avcodec_string (char *buf, int buf_size, AVCodecContext *enc, int encode) |
const char * | av_get_profile_name (const AVCodec *codec, int profile) |
Return a name for the specified profile, if available. More... | |
const char * | avcodec_profile_name (enum AVCodecID codec_id, int profile) |
Return a name for the specified profile, if available. More... | |
int | avcodec_default_execute (AVCodecContext *c, int(*func)(AVCodecContext *c2, void *arg2), void *arg, int *ret, int count, int size) |
int | avcodec_default_execute2 (AVCodecContext *c, int(*func)(AVCodecContext *c2, void *arg2, int, int), void *arg, int *ret, int count) |
int | avcodec_fill_audio_frame (AVFrame *frame, int nb_channels, enum AVSampleFormat sample_fmt, const uint8_t *buf, int buf_size, int align) |
Fill AVFrame audio data and linesize pointers. More... | |
void | avcodec_flush_buffers (AVCodecContext *avctx) |
Reset the internal decoder state / flush internal buffers. More... | |
int | av_get_bits_per_sample (enum AVCodecID codec_id) |
Return codec bits per sample. More... | |
enum AVCodecID | av_get_pcm_codec (enum AVSampleFormat fmt, int be) |
Return the PCM codec associated with a sample format. More... | |
int | av_get_exact_bits_per_sample (enum AVCodecID codec_id) |
Return codec bits per sample. More... | |
int | av_get_audio_frame_duration (AVCodecContext *avctx, int frame_bytes) |
Return audio frame duration. More... | |
int | av_get_audio_frame_duration2 (AVCodecParameters *par, int frame_bytes) |
This function is the same as av_get_audio_frame_duration(), except it works with AVCodecParameters instead of an AVCodecContext. More... | |
attribute_deprecated void | av_register_bitstream_filter (AVBitStreamFilter *bsf) |
Register a bitstream filter. More... | |
attribute_deprecated AVBitStreamFilterContext * | av_bitstream_filter_init (const char *name) |
Create and initialize a bitstream filter context given a bitstream filter name. More... | |
attribute_deprecated int | av_bitstream_filter_filter (AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe) |
Filter bitstream. More... | |
attribute_deprecated void | av_bitstream_filter_close (AVBitStreamFilterContext *bsf) |
Release bitstream filter context. More... | |
attribute_deprecated AVBitStreamFilter * | av_bitstream_filter_next (const AVBitStreamFilter *f) |
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. More... | |
const AVBitStreamFilter * | av_bsf_get_by_name (const char *name) |
const AVBitStreamFilter * | av_bsf_next (void **opaque) |
Iterate over all registered bitstream filters. More... | |
int | av_bsf_alloc (const AVBitStreamFilter *filter, AVBSFContext **ctx) |
Allocate a context for a given bitstream filter. More... | |
int | av_bsf_init (AVBSFContext *ctx) |
Prepare the filter for use, after all the parameters and options have been set. More... | |
int | av_bsf_send_packet (AVBSFContext *ctx, AVPacket *pkt) |
Submit a packet for filtering. More... | |
int | av_bsf_receive_packet (AVBSFContext *ctx, AVPacket *pkt) |
Retrieve a filtered packet. More... | |
void | av_bsf_free (AVBSFContext **ctx) |
Free a bitstream filter context and everything associated with it; write NULL into the supplied pointer. More... | |
const AVClass * | av_bsf_get_class (void) |
Get the AVClass for AVBSFContext. More... | |
AVBSFList * | av_bsf_list_alloc (void) |
Allocate empty list of bitstream filters. More... | |
void | av_bsf_list_free (AVBSFList **lst) |
Free list of bitstream filters. More... | |
int | av_bsf_list_append (AVBSFList *lst, AVBSFContext *bsf) |
Append bitstream filter to the list of bitstream filters. More... | |
int | av_bsf_list_append2 (AVBSFList *lst, const char *bsf_name, AVDictionary **options) |
Construct new bitstream filter context given it's name and options and append it to the list of bitstream filters. More... | |
int | av_bsf_list_finalize (AVBSFList **lst, AVBSFContext **bsf) |
Finalize list of bitstream filters. More... | |
int | av_bsf_list_parse_str (const char *str, AVBSFContext **bsf) |
Parse string describing list of bitstream filters and create single AVBSFContext describing the whole chain of bitstream filters. More... | |
int | av_bsf_get_null_filter (AVBSFContext **bsf) |
Get null/pass-through bitstream filter. More... | |
void | av_fast_padded_malloc (void *ptr, unsigned int *size, size_t min_size) |
Same behaviour av_fast_malloc but the buffer has additional AV_INPUT_BUFFER_PADDING_SIZE at the end which will always be 0. More... | |
void | av_fast_padded_mallocz (void *ptr, unsigned int *size, size_t min_size) |
Same behaviour av_fast_padded_malloc except that buffer will always be 0-initialized after call. More... | |
unsigned int | av_xiphlacing (unsigned char *s, unsigned int v) |
Encode extradata length to a buffer. More... | |
attribute_deprecated void | av_log_missing_feature (void *avc, const char *feature, int want_sample) |
Log a generic warning message about a missing feature. More... | |
attribute_deprecated 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... | |
attribute_deprecated void void | av_register_hwaccel (AVHWAccel *hwaccel) |
Register the hardware accelerator hwaccel. More... | |
AVHWAccel * | av_hwaccel_next (const AVHWAccel *hwaccel) |
If hwaccel is NULL, returns the first registered hardware accelerator, if hwaccel is non-NULL, returns the next registered hardware accelerator after hwaccel, or NULL if hwaccel is the last one. More... | |
int | av_lockmgr_register (int(*cb)(void **mutex, enum AVLockOp op)) |
Register a user provided lock manager supporting the operations specified by AVLockOp. More... | |
enum AVMediaType | avcodec_get_type (enum AVCodecID codec_id) |
Get the type of the given codec. More... | |
const char * | avcodec_get_name (enum AVCodecID id) |
Get the name of a codec. More... | |
int | avcodec_is_open (AVCodecContext *s) |
int | av_codec_is_encoder (const AVCodec *codec) |
int | av_codec_is_decoder (const AVCodec *codec) |
const AVCodecDescriptor * | avcodec_descriptor_get (enum AVCodecID id) |
const AVCodecDescriptor * | avcodec_descriptor_next (const AVCodecDescriptor *prev) |
Iterate over all codec descriptors known to libavcodec. More... | |
const AVCodecDescriptor * | avcodec_descriptor_get_by_name (const char *name) |
AVCPBProperties * | av_cpb_properties_alloc (size_t *size) |
Allocate a CPB properties structure and initialize its fields to default values. More... | |
Libavcodec external API header.
Definition in file avcodec.h.
#define AV_CODEC_ID_IFF_BYTERUN1 AV_CODEC_ID_IFF_ILBM |
#define AV_CODEC_ID_H265 AV_CODEC_ID_HEVC |
Definition at line 395 of file avcodec.h.
Referenced by process_output_surface().
#define FF_COMPRESSION_DEFAULT -1 |
Definition at line 1849 of file avcodec.h.
Referenced by alac_encode_init(), encode_init(), mp3lame_encode_init(), png_enc_init(), vaapi_encode_h264_configure(), and wavpack_encode_init().
#define FF_ASPECT_EXTENDED 15 |
Definition at line 1966 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 2061 of file avcodec.h.
Referenced by ff_mpv_encode_init().
#define FF_PRED_PLANE 1 |
Definition at line 2154 of file avcodec.h.
Referenced by utvideo_encode_init().
#define FF_CMP_SAD 0 |
Definition at line 2198 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 2199 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 2200 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
#define FF_CMP_DCT 3 |
Definition at line 2201 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
#define FF_CMP_PSNR 4 |
Definition at line 2202 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
#define FF_CMP_BIT 5 |
Definition at line 2203 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
#define FF_CMP_RD 6 |
Definition at line 2204 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 2205 of file avcodec.h.
Referenced by ff_set_cmp().
#define FF_CMP_VSAD 8 |
Definition at line 2206 of file avcodec.h.
Referenced by ff_set_cmp().
#define FF_CMP_VSSE 9 |
Definition at line 2207 of file avcodec.h.
Referenced by encode_mb_internal(), and ff_set_cmp().
#define FF_CMP_NSSE 10 |
Definition at line 2208 of file avcodec.h.
Referenced by ff_set_cmp(), get_penalty_factor(), and sse_mb().
#define FF_CMP_W53 11 |
Definition at line 2209 of file avcodec.h.
Referenced by ff_set_cmp(), get_block_rd(), and get_penalty_factor().
#define FF_CMP_W97 12 |
Definition at line 2210 of file avcodec.h.
Referenced by ff_set_cmp(), get_block_rd(), and get_penalty_factor().
#define FF_CMP_DCTMAX 13 |
Definition at line 2211 of file avcodec.h.
Referenced by ff_mpv_encode_init(), and ff_set_cmp().
#define FF_CMP_DCT264 14 |
Definition at line 2212 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
#define FF_CMP_MEDIAN_SAD 15 |
Definition at line 2213 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
#define FF_CMP_CHROMA 256 |
Definition at line 2214 of file avcodec.h.
Referenced by check_bidir_mv(), ff_init_me(), h263_mv4_search(), X264_init(), and XAVS_init().
#define FF_DEFAULT_QUANT_BIAS 999999 |
Definition at line 2291 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 2305 of file avcodec.h.
Referenced by ff_draw_horiz_band().
#define SLICE_FLAG_ALLOW_FIELD 0x0002 |
allow draw_horiz_band() with field slices (MPEG-2 field pics)
Definition at line 2306 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)
#define FF_MB_DECISION_SIMPLE 0 |
uses mb_cmp
Definition at line 2325 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 2326 of file avcodec.h.
Referenced by encode_thread().
#define FF_MB_DECISION_RD 2 |
rate distortion
Definition at line 2327 of file avcodec.h.
Referenced by dnxhd_calc_bits_thread(), dnxhd_encode_picture(), dnxhd_init_rc(), encode_mb_hq(), ff_mpv_encode_init(), ff_mpv_encode_picture(), and mpv_reconstruct_mb_internal().
#define FF_CODER_TYPE_VLC 0 |
Definition at line 2804 of file avcodec.h.
Referenced by init_video_param().
#define FF_CODER_TYPE_AC 1 |
Definition at line 2805 of file avcodec.h.
Referenced by svc_encode_init(), and X264_init().
#define FF_CODER_TYPE_RAW 2 |
Definition at line 2806 of file avcodec.h.
Referenced by encode_frame(), sunrast_encode_init(), and targa_encode_frame().
#define FF_CODER_TYPE_RLE 3 |
Definition at line 2807 of file avcodec.h.
Referenced by sunrast_encode_init().
#define FF_BUG_AUTODETECT 1 |
autodetection
Definition at line 2947 of file avcodec.h.
Referenced by decode_slice(), and ff_mpeg4_workaround_bugs().
#define FF_BUG_XVID_ILACE 4 |
Definition at line 2951 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs(), and mpeg4_decode_mb().
#define FF_BUG_UMP4 8 |
Definition at line 2952 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs().
#define FF_BUG_NO_PADDING 16 |
Definition at line 2953 of file avcodec.h.
Referenced by decode_slice(), and mpeg4_is_resync().
#define FF_BUG_AC_VLC 0 |
#define FF_BUG_QPEL_CHROMA 64 |
Definition at line 2958 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs(), and qpel_motion().
#define FF_BUG_STD_QPEL 128 |
Definition at line 2959 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs().
#define FF_BUG_QPEL_CHROMA2 256 |
Definition at line 2960 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs(), and qpel_motion().
#define FF_BUG_DIRECT_BLOCKSIZE 512 |
Definition at line 2961 of file avcodec.h.
Referenced by ff_mpeg4_set_direct_mv(), and ff_mpeg4_workaround_bugs().
#define FF_BUG_EDGE 1024 |
Definition at line 2962 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs().
#define FF_BUG_HPEL_CHROMA 2048 |
Definition at line 2963 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs(), and mpeg_motion_internal().
#define FF_BUG_DC_CLIP 4096 |
Definition at line 2964 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 2965 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 2966 of file avcodec.h.
Referenced by decode_slice().
#define FF_BUG_IEDGE 32768 |
Definition at line 2967 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs(), mpeg_motion_internal(), mpeg_motion_lowres(), and qpel_motion().
#define FF_COMPLIANCE_VERY_STRICT 2 |
Strictly conform to an older more strict version of the spec or reference software.
Definition at line 2982 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 2983 of file avcodec.h.
Referenced by dash_init(), ff_h264_decode_seq_parameter_set(), h264_select_output_frame(), mov_read_default(), mov_read_elst(), set_default_channel_config(), and vc2_encode_init().
#define FF_COMPLIANCE_NORMAL 0 |
Definition at line 2984 of file avcodec.h.
Referenced by decode_frame_common(), dvbsub_parse_clut_segment(), encode_init(), ff_fix_long_p_mvs(), ff_get_best_fcode(), ff_mpv_encode_init(), ff_put_wav_header(), init_video_param(), mkv_query_codec(), mov_get_codec_tag(), mov_init(), query_codec(), validate_codec_tag(), and yuv4_write_header().
#define FF_COMPLIANCE_UNOFFICIAL -1 |
Allow unofficial extensions.
Definition at line 2985 of file avcodec.h.
Referenced by amr_wb_encode_init(), 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(), ljpeg_encode_init(), and mov_write_video_tag().
#define FF_COMPLIANCE_EXPERIMENTAL -2 |
Allow nonstandardized experimental things.
Definition at line 2986 of file avcodec.h.
Referenced by aac_encode_init(), avcodec_open2(), config_input(), config_props(), decode_header(), encode_init(), ff_dnxhd_find_cid(), ff_mpv_encode_init(), mov_init(), new_rendition(), nut_write_header(), open_output_file(), rtp_write_header(), and setup_hwaccel().
#define FF_EC_GUESS_MVS 1 |
Definition at line 2994 of file avcodec.h.
Referenced by guess_mv().
#define FF_EC_DEBLOCK 2 |
Definition at line 2995 of file avcodec.h.
Referenced by ff_er_frame_end().
#define FF_EC_FAVOR_INTER 256 |
Definition at line 2996 of file avcodec.h.
Referenced by is_intra_more_likely().
#define FF_DEBUG_PICT_INFO 1 |
Definition at line 3004 of file avcodec.h.
Referenced by decode_ext_header(), decode_fill(), decode_frame(), decode_ihdr_chunk(), decode_init(), ff_flv_decode_picture_header(), ff_h263_show_pict_info(), ff_h264_decode_picture_parameter_set(), ff_h264_decode_seq_parameter_set(), ff_jpegls_decode_lse(), ff_jpegls_decode_picture(), ff_mjpeg_decode_sos(), ff_msmpeg4_decode_picture_header(), ff_wmv2_decode_secondary_picture_header(), h264_slice_init(), 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 3005 of file avcodec.h.
Referenced by ff_rate_estimate_qscale(), ff_vbv_update(), and modify_qscale().
#define FF_DEBUG_BITSTREAM 4 |
Definition at line 3006 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 3007 of file avcodec.h.
Referenced by ff_print_debug_info2().
#define FF_DEBUG_QP 16 |
Definition at line 3008 of file avcodec.h.
Referenced by ff_mjpeg_decode_frame(), ff_print_debug_info2(), and mjpegb_decode_frame().
#define FF_DEBUG_MV 32 |
#define FF_DEBUG_DCT_COEFF 0x00000040 |
Definition at line 3015 of file avcodec.h.
Referenced by check_keyboard_interaction(), and mpv_reconstruct_mb_internal().
#define FF_DEBUG_SKIP 0x00000080 |
Definition at line 3016 of file avcodec.h.
Referenced by ff_print_debug_info2().
#define FF_DEBUG_STARTCODE 0x00000100 |
Definition at line 3017 of file avcodec.h.
Referenced by aac_decode_frame_int(), decode_chunks(), decode_extension_payload(), decode_frame_common(), dvbsub_decode(), ff_mjpeg_decode_frame(), ff_mpeg4_decode_picture_header(), and mjpeg_decode_app().
#define FF_DEBUG_ER 0x00000400 |
Definition at line 3021 of file avcodec.h.
Referenced by ff_er_frame_end().
#define FF_DEBUG_MMCO 0x00000800 |
Definition at line 3022 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 3023 of file avcodec.h.
Referenced by ff_mpeg4_workaround_bugs().
#define FF_DEBUG_VIS_QP 0x00002000 |
Definition at line 3025 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 |
Definition at line 3026 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 3028 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 3029 of file avcodec.h.
Referenced by ff_frame_thread_init(), and submit_packet().
#define FF_DEBUG_GREEN_MD 0x00800000 |
Definition at line 3030 of file avcodec.h.
Referenced by decode_nal_units().
#define FF_DEBUG_NOMC 0x01000000 |
Definition at line 3031 of file avcodec.h.
Referenced by dct_init(), and ff_mpv_frame_start().
#define FF_DEBUG_VIS_MV_P_FOR 0x00000001 |
Definition at line 3040 of file avcodec.h.
Referenced by ff_print_debug_info2().
#define FF_DEBUG_VIS_MV_B_FOR 0x00000002 |
Definition at line 3041 of file avcodec.h.
Referenced by ff_print_debug_info2().
#define FF_DEBUG_VIS_MV_B_BACK 0x00000004 |
Definition at line 3042 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 3058 of file avcodec.h.
Referenced by ac3_decode_frame(), decode_frame(), decode_init(), ff_dca_check_crc(), ff_dca_lbr_parse(), flac_decode_frame(), hevc_decode_frame(), read_specific_config(), tak_decode_frame(), tta_decode_frame(), tta_read_header(), wv_unpack_mono(), and wv_unpack_stereo().
#define AV_EF_BITSTREAM (1<<1) |
detect bitstream specification deviations
Definition at line 3059 of file avcodec.h.
Referenced by decode_ics_info(), 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 3060 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 3061 of file avcodec.h.
Referenced by aac_decode_init(), ac3_decode_frame(), apply_param_change(), avformat_open_input(), avi_read_header(), dcadec_decode_frame(), decode(), decode_chunks(), decode_extradata_ps_mp4(), decode_frame(), decode_nal_unit(), decode_nal_units(), decode_region_inter(), decode_region_masked(), decode_rle(), display_end_segment(), ff_ccitt_unpack(), ff_dca_core_parse(), ff_dca_core_parse_exss(), ff_dca_lbr_parse(), ff_er_frame_end(), ff_flac_parse_picture(), ff_h263_decode_frame(), ff_h264_execute_ref_pic_marking(), ff_h264_queue_decode_slice(), ff_hevc_decode_nal_vps(), ff_hevc_parse_sps(), ff_mjpeg_decode_frame(), ff_rm_read_mdpr_codecdata(), flac_decode_frame(), get_last_needed_nal(), h264_field_start(), h264_slice_header_parse(), hevc_decode_frame(), hevc_decode_nal_units(), hls_slice_header(), matroska_parse_tracks(), matroska_read_header(), mjpegb_decode_frame(), mpeg_decode_frame(), mxpeg_decode_frame(), nuv_header(), ogg_read_header(), opus_decode_frame(), opus_decode_subpacket(), parse_audio(), parse_band_data(), parse_optional_info(), parse_presentation_segment(), pcx_decode_frame(), read_header(), slice_decode_thread(), tak_decode_frame(), tak_read_header(), tdsc_decode_jpeg_tile(), tdsc_parse_dtsm(), 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 3063 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 3064 of file avcodec.h.
Referenced by ac3_decode_frame(), decode_frame(), decode_init(), ff_dca_check_crc(), ff_dca_lbr_parse(), and read_specific_config().
#define AV_EF_COMPLIANT (1<<17) |
consider all spec non compliances as errors
Definition at line 3065 of file avcodec.h.
Referenced by avformat_open_input(), 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 3066 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 3109 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 3110 of file avcodec.h.
Referenced by ff_fdctdsp_init().
#define FF_DCT_MMX 3 |
Definition at line 3112 of file avcodec.h.
Referenced by ff_dct_encode_init_x86(), and ff_fdctdsp_init_x86().
#define FF_DCT_ALTIVEC 5 |
Definition at line 3113 of file avcodec.h.
Referenced by ff_fdctdsp_init_ppc(), and ff_mpv_common_init_ppc().
#define FF_DCT_FAAN 6 |
Definition at line 3114 of file avcodec.h.
Referenced by ff_fdctdsp_init().
#define FF_IDCT_AUTO 0 |
Definition at line 3122 of file avcodec.h.
Referenced by ff_idctdsp_init_aarch64(), 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(), ff_xvid_idct_init(), ff_xvid_idct_init_x86(), and setup_hwaccel_for_pixfmt().
#define FF_IDCT_INT 1 |
Definition at line 3123 of file avcodec.h.
Referenced by ff_idctdsp_init().
#define FF_IDCT_SIMPLE 2 |
Definition at line 3124 of file avcodec.h.
Referenced by ff_idctdsp_init_x86().
#define FF_IDCT_SIMPLEMMX 3 |
Definition at line 3125 of file avcodec.h.
Referenced by ff_idctdsp_init_x86().
#define FF_IDCT_ARM 7 |
Definition at line 3126 of file avcodec.h.
Referenced by ff_idctdsp_init_arm().
#define FF_IDCT_ALTIVEC 8 |
Definition at line 3127 of file avcodec.h.
Referenced by ff_idctdsp_init_ppc().
#define FF_IDCT_SIMPLEARM 10 |
Definition at line 3131 of file avcodec.h.
Referenced by ff_idctdsp_init_arm().
#define FF_IDCT_XVID 14 |
Definition at line 3135 of file avcodec.h.
Referenced by ff_idctdsp_init(), ff_mpeg4_workaround_bugs(), ff_xvid_idct_init(), and ff_xvid_idct_init_x86().
#define FF_IDCT_SIMPLEARMV5TE 16 |
Definition at line 3139 of file avcodec.h.
Referenced by ff_idctdsp_init_armv5te().
#define FF_IDCT_SIMPLEARMV6 17 |
Definition at line 3140 of file avcodec.h.
Referenced by ff_idctdsp_init_armv6().
#define FF_IDCT_FAAN 20 |
Definition at line 3144 of file avcodec.h.
Referenced by ff_idctdsp_init().
#define FF_IDCT_SIMPLENEON 22 |
Definition at line 3145 of file avcodec.h.
Referenced by ff_idctdsp_init_aarch64(), and ff_idctdsp_init_neon().
#define FF_IDCT_SIMPLEALPHA 23 |
Definition at line 3147 of file avcodec.h.
Referenced by ff_idctdsp_init_alpha().
#define FF_IDCT_NONE 24 /* Used by XvMC to extract IDCT coefficients with FF_IDCT_PERM_NONE */ |
Definition at line 3149 of file avcodec.h.
Referenced by setup_hwaccel_for_pixfmt().
#define FF_IDCT_SIMPLEAUTO 128 |
Definition at line 3150 of file avcodec.h.
Referenced by ff_idctdsp_init_aarch64(), 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 3203 of file avcodec.h.
Referenced by avcodec_encode_video2(), avcodec_flush_buffers(), avcodec_open2(), await_reference_mb_row(), decode_nal_units(), decode_simple_internal(), dxva_adjust_hwframes(), ff_frame_thread_encoder_init(), ff_h264_field_end(), ff_hevc_hls_filter(), 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(), hl_motion(), mimic_decode_frame(), mpeg_field_start(), mpv_reconstruct_mb_internal(), render_slice(), rv34_decode_mv(), rv34_decode_slice(), rv34_mc(), slice_end(), temporal_luma_motion_vector(), thread_get_buffer_internal(), vaapi_decode_make_config(), 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 3204 of file avcodec.h.
Referenced by decode_chunks(), decode_frame_header(), decode_nal_units(), decode_slice(), dnxhd_encode_init(), ff_alloc_entries(), ff_er_add_slice(), ff_mjpeg_encode_stuffing(), ff_mpv_common_init(), ff_mpv_encode_init(), ff_thread_init(), h264_decode_init(), h264_init_context(), h264_slice_header_init(), hevc_decode_init(), jpeg_table_header(), thread_execute(), update_dimensions(), update_size(), validate_thread_parameters(), vp9_decode_frame(), and X264_init().
#define FF_PROFILE_UNKNOWN -99 |
Definition at line 3267 of file avcodec.h.
Referenced by aac_encode_init(), av_get_profile_name(), avcodec_profile_name(), codec_parameters_reset(), dca_parse_params(), dxva_check_codec_compatibility(), encode_init(), ff_isom_write_vpcc(), ff_qsv_profile_to_mfx(), mov_get_dnxhd_codec_tag(), mpeg4_encode_visual_object_header(), omx_component_init(), prores_encode_init(), show_stream(), vaapi_encode_h264_init(), vaapi_encode_h265_init(), vaapi_encode_vp9_init(), vdpau_mpeg4_init(), and vpx_init().
#define FF_PROFILE_AAC_MAIN 0 |
Definition at line 3270 of file avcodec.h.
Referenced by aac_encode_init(), and ff_aac_encode_main_pred().
#define FF_PROFILE_AAC_LOW 1 |
Definition at line 3271 of file avcodec.h.
Referenced by aac_encode_init(), ff_aac_search_for_tns(), and ffat_get_format_id().
#define FF_PROFILE_AAC_LTP 3 |
Definition at line 3273 of file avcodec.h.
Referenced by aac_encode_init(), ff_aac_encode_ltp_info(), and ff_aac_update_ltp().
#define FF_PROFILE_AAC_HE 4 |
Definition at line 3274 of file avcodec.h.
Referenced by aac_encode_init(), decode_extension_payload(), ffat_get_format_id(), and mov_write_isml_manifest().
#define FF_PROFILE_AAC_HE_V2 28 |
Definition at line 3275 of file avcodec.h.
Referenced by aac_encode_init(), decode_extension_payload(), ffat_get_format_id(), mov_write_isml_manifest(), and read_sbr_extension().
#define FF_PROFILE_AAC_LD 22 |
Definition at line 3276 of file avcodec.h.
Referenced by ffat_get_format_id().
#define FF_PROFILE_AAC_ELD 38 |
Definition at line 3277 of file avcodec.h.
Referenced by aac_encode_init(), and ffat_get_format_id().
#define FF_PROFILE_MPEG2_AAC_LOW 128 |
Definition at line 3278 of file avcodec.h.
Referenced by aac_encode_init().
#define FF_PROFILE_MPEG2_AAC_HE 131 |
Definition at line 3279 of file avcodec.h.
Referenced by aac_encode_init().
#define FF_PROFILE_DNXHD 0 |
Definition at line 3281 of file avcodec.h.
Referenced by dnxhd_encode_init(), dnxhd_get_profile(), ff_dnxhd_find_cid(), and mov_get_dnxhd_codec_tag().
#define FF_PROFILE_DNXHR_LB 1 |
Definition at line 3282 of file avcodec.h.
Referenced by dnxhd_encode_init(), dnxhd_find_hr_cid(), and dnxhd_get_profile().
#define FF_PROFILE_DNXHR_SQ 2 |
Definition at line 3283 of file avcodec.h.
Referenced by dnxhd_encode_init(), dnxhd_find_hr_cid(), and dnxhd_get_profile().
#define FF_PROFILE_DNXHR_HQ 3 |
Definition at line 3284 of file avcodec.h.
Referenced by dnxhd_encode_init(), dnxhd_find_hr_cid(), and dnxhd_get_profile().
#define FF_PROFILE_DNXHR_HQX 4 |
Definition at line 3285 of file avcodec.h.
Referenced by dnxhd_decode_header(), dnxhd_encode_init(), dnxhd_find_hr_cid(), and dnxhd_get_profile().
#define FF_PROFILE_DNXHR_444 5 |
Definition at line 3286 of file avcodec.h.
Referenced by dnxhd_encode_init(), dnxhd_find_hr_cid(), and dnxhd_get_profile().
#define FF_PROFILE_DTS 20 |
Definition at line 3288 of file avcodec.h.
Referenced by dca_parse_params(), and ff_dca_core_filter_frame().
#define FF_PROFILE_DTS_ES 30 |
Definition at line 3289 of file avcodec.h.
Referenced by dca_parse_params(), and ff_dca_core_filter_frame().
#define FF_PROFILE_DTS_96_24 40 |
Definition at line 3290 of file avcodec.h.
Referenced by dca_parse_params(), and ff_dca_core_filter_frame().
#define FF_PROFILE_DTS_HD_HRA 50 |
Definition at line 3291 of file avcodec.h.
Referenced by dca_parse_params(), and ff_dca_core_filter_frame().
#define FF_PROFILE_DTS_HD_MA 60 |
Definition at line 3292 of file avcodec.h.
Referenced by dca_parse_params(), and ff_dca_xll_filter_frame().
#define FF_PROFILE_DTS_EXPRESS 70 |
Definition at line 3293 of file avcodec.h.
Referenced by dca_parse_params(), and ff_dca_lbr_filter_frame().
#define FF_PROFILE_MPEG2_MAIN 4 |
Definition at line 3299 of file avcodec.h.
Referenced by av_vdpau_get_profile(), and vaapi_encode_mpeg2_init().
#define FF_PROFILE_MPEG2_SIMPLE 5 |
Definition at line 3300 of file avcodec.h.
Referenced by av_vdpau_get_profile(), and vaapi_encode_mpeg2_init().
#define FF_PROFILE_H264_CONSTRAINED (1<<9) |
Definition at line 3302 of file avcodec.h.
Referenced by ff_h264_get_profile().
#define FF_PROFILE_H264_INTRA (1<<11) |
Definition at line 3303 of file avcodec.h.
Referenced by av_vdpau_get_profile(), ff_h264_get_profile(), and vdpau_h264_init().
#define FF_PROFILE_H264_BASELINE 66 |
Definition at line 3305 of file avcodec.h.
Referenced by av_vdpau_get_profile(), ff_AMediaCodecProfile_getProfileFromAVCodecContext(), ff_h264_get_profile(), nvenc_setup_h264_config(), omx_component_init(), v4l2_h264_profile_from_ff(), vaapi_encode_h264_init(), vdpau_h264_init(), and X264_init().
#define FF_PROFILE_H264_CONSTRAINED_BASELINE (66|FF_PROFILE_H264_CONSTRAINED) |
Definition at line 3306 of file avcodec.h.
Referenced by av_vdpau_get_profile(), ff_AMediaCodecProfile_getProfileFromAVCodecContext(), v4l2_h264_profile_from_ff(), vaapi_encode_h264_init(), and vdpau_h264_init().
#define FF_PROFILE_H264_MAIN 77 |
Definition at line 3307 of file avcodec.h.
Referenced by av_vdpau_get_profile(), ff_AMediaCodecProfile_getProfileFromAVCodecContext(), nvenc_setup_h264_config(), omx_component_init(), v4l2_h264_profile_from_ff(), vaapi_encode_h264_init(), vdpau_h264_init(), and X264_init().
#define FF_PROFILE_H264_EXTENDED 88 |
Definition at line 3308 of file avcodec.h.
Referenced by av_vdpau_get_profile(), ff_AMediaCodecProfile_getProfileFromAVCodecContext(), v4l2_h264_profile_from_ff(), vaapi_encode_h264_init(), and vdpau_h264_init().
#define FF_PROFILE_H264_HIGH 100 |
Definition at line 3309 of file avcodec.h.
Referenced by av_vdpau_get_profile(), ff_AMediaCodecProfile_getProfileFromAVCodecContext(), nvenc_setup_h264_config(), omx_component_init(), v4l2_h264_profile_from_ff(), vaapi_encode_h264_init(), vdpau_h264_init(), and X264_init().
#define FF_PROFILE_H264_HIGH_10 110 |
Definition at line 3310 of file avcodec.h.
Referenced by ff_AMediaCodecProfile_getProfileFromAVCodecContext(), ff_h264_get_profile(), v4l2_h264_profile_from_ff(), vaapi_encode_h264_init(), vdpau_h264_init(), and X264_init().
#define FF_PROFILE_H264_HIGH_10_INTRA (110|FF_PROFILE_H264_INTRA) |
Definition at line 3311 of file avcodec.h.
Referenced by ff_AMediaCodecProfile_getProfileFromAVCodecContext(), v4l2_h264_profile_from_ff(), and vaapi_encode_h264_init().
#define FF_PROFILE_H264_HIGH_422 122 |
Definition at line 3313 of file avcodec.h.
Referenced by ff_AMediaCodecProfile_getProfileFromAVCodecContext(), ff_h264_get_profile(), v4l2_h264_profile_from_ff(), vaapi_encode_h264_init(), vdpau_h264_init(), and X264_init().
#define FF_PROFILE_H264_HIGH_422_INTRA (122|FF_PROFILE_H264_INTRA) |
Definition at line 3314 of file avcodec.h.
Referenced by ff_AMediaCodecProfile_getProfileFromAVCodecContext(), v4l2_h264_profile_from_ff(), and vaapi_encode_h264_init().
#define FF_PROFILE_H264_HIGH_444 144 |
Definition at line 3316 of file avcodec.h.
Referenced by ff_AMediaCodecProfile_getProfileFromAVCodecContext(), vaapi_encode_h264_init(), and X264_init().
#define FF_PROFILE_H264_HIGH_444_PREDICTIVE 244 |
Definition at line 3317 of file avcodec.h.
Referenced by ff_AMediaCodecProfile_getProfileFromAVCodecContext(), ff_h264_get_profile(), nvenc_setup_h264_config(), v4l2_h264_profile_from_ff(), vaapi_encode_h264_init(), and vdpau_h264_init().
#define FF_PROFILE_H264_HIGH_444_INTRA (244|FF_PROFILE_H264_INTRA) |
Definition at line 3318 of file avcodec.h.
Referenced by ff_AMediaCodecProfile_getProfileFromAVCodecContext(), v4l2_h264_profile_from_ff(), and vaapi_encode_h264_init().
#define FF_PROFILE_H264_CAVLC_444 44 |
Definition at line 3319 of file avcodec.h.
Referenced by vaapi_encode_h264_init(), and vdpau_h264_init().
#define FF_PROFILE_VC1_SIMPLE 0 |
Definition at line 3321 of file avcodec.h.
Referenced by av_vdpau_get_profile(), and vdpau_vc1_init().
#define FF_PROFILE_VC1_MAIN 1 |
Definition at line 3322 of file avcodec.h.
Referenced by av_vdpau_get_profile(), and vdpau_vc1_init().
#define FF_PROFILE_VC1_ADVANCED 3 |
Definition at line 3324 of file avcodec.h.
Referenced by av_vdpau_get_profile(), and vdpau_vc1_init().
#define FF_PROFILE_MPEG4_SIMPLE 0 |
Definition at line 3326 of file avcodec.h.
Referenced by av_vdpau_get_profile(), v4l2_mpeg4_profile_from_ff(), and vdpau_mpeg4_init().
#define FF_PROFILE_MPEG4_SIMPLE_SCALABLE 1 |
Definition at line 3327 of file avcodec.h.
Referenced by v4l2_mpeg4_profile_from_ff().
#define FF_PROFILE_MPEG4_CORE 2 |
Definition at line 3328 of file avcodec.h.
Referenced by v4l2_mpeg4_profile_from_ff().
#define FF_PROFILE_MPEG4_ADVANCED_CODING 11 |
Definition at line 3337 of file avcodec.h.
Referenced by v4l2_mpeg4_profile_from_ff().
#define FF_PROFILE_MPEG4_ADVANCED_SIMPLE 15 |
Definition at line 3341 of file avcodec.h.
Referenced by av_vdpau_get_profile(), v4l2_mpeg4_profile_from_ff(), and vdpau_mpeg4_init().
#define FF_PROFILE_JPEG2000_DCINEMA_2K 3 |
Definition at line 3346 of file avcodec.h.
Referenced by get_siz(), and mxf_read_generic_descriptor().
#define FF_PROFILE_JPEG2000_DCINEMA_4K 4 |
Definition at line 3347 of file avcodec.h.
Referenced by get_siz(), and mxf_read_generic_descriptor().
#define FF_PROFILE_VP9_0 0 |
Definition at line 3349 of file avcodec.h.
Referenced by ff_isom_write_vpcc(), set_pix_fmt(), and vaapi_encode_vp9_init().
#define FF_PROFILE_VP9_1 1 |
Definition at line 3350 of file avcodec.h.
Referenced by ff_isom_write_vpcc(), set_pix_fmt(), and vaapi_encode_vp9_init().
#define FF_PROFILE_VP9_2 2 |
Definition at line 3351 of file avcodec.h.
Referenced by ff_isom_write_vpcc(), set_pix_fmt(), and vaapi_encode_vp9_init().
#define FF_PROFILE_VP9_3 3 |
Definition at line 3352 of file avcodec.h.
Referenced by ff_isom_write_vpcc(), set_pix_fmt(), and vaapi_encode_vp9_init().
#define FF_PROFILE_HEVC_MAIN 1 |
Definition at line 3354 of file avcodec.h.
Referenced by decode_profile_tier_level(), ff_AMediaCodecProfile_getProfileFromAVCodecContext(), nvenc_setup_hevc_config(), vaapi_encode_h265_init(), and vdpau_hevc_init().
#define FF_PROFILE_HEVC_MAIN_10 2 |
Definition at line 3355 of file avcodec.h.
Referenced by decode_profile_tier_level(), ff_AMediaCodecProfile_getProfileFromAVCodecContext(), nvenc_setup_hevc_config(), vaapi_encode_h265_init(), vaapi_encode_h265_init_sequence_params(), and vdpau_hevc_init().
#define FF_PROFILE_HEVC_MAIN_STILL_PICTURE 3 |
Definition at line 3356 of file avcodec.h.
Referenced by decode_profile_tier_level(), ff_AMediaCodecProfile_getProfileFromAVCodecContext(), and vdpau_hevc_init().
#define FF_PROFILE_HEVC_REXT 4 |
Definition at line 3357 of file avcodec.h.
Referenced by decode_profile_tier_level(), ff_hevc_decode_nal_pps(), and nvenc_setup_hevc_config().
#define FF_LEVEL_UNKNOWN -99 |
Definition at line 3365 of file avcodec.h.
Referenced by codec_parameters_reset(), encode_init(), ff_isom_write_vpcc(), mpeg4_encode_visual_object_header(), and qsv_decode_init().
#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 3516 of file avcodec.h.
Referenced by avcodec_open2().
#define FF_SUB_CHARENC_MODE_AUTOMATIC 0 |
libavcodec will select the mode itself
Definition at line 3517 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 3518 of file avcodec.h.
Referenced by avcodec_open2(), and recode_subtitle().
#define FF_CODEC_PROPERTY_LOSSLESS 0x00000001 |
Definition at line 3582 of file avcodec.h.
Referenced by avcodec_string(), decode_frame_header(), ff_mjpeg_decode_frame(), get_cox(), and webp_decode_frame().
#define FF_CODEC_PROPERTY_CLOSED_CAPTIONS 0x00000002 |
Definition at line 3583 of file avcodec.h.
Referenced by avcodec_string(), h264_export_frame_props(), mpeg_decode_a53_cc(), and set_side_data().
#define FF_SUB_TEXT_FMT_ASS_WITH_TIMINGS 1 |
Definition at line 3626 of file avcodec.h.
Referenced by avcodec_decode_subtitle2().
#define AV_PARSER_PTS_NB 4 |
Definition at line 5194 of file avcodec.h.
Referenced by av_parser_parse2(), and ff_fetch_timestamp().
#define PARSER_FLAG_COMPLETE_FRAMES 0x0001 |
Definition at line 5201 of file avcodec.h.
Referenced by avformat_find_stream_info(), cavsvideo_parse(), dca_parse(), dirac_parse(), dnxhd_parse(), ff_qsv_process_data(), flac_parse(), h261_parse(), h263_parse(), h264_parse(), hevc_parse(), jpeg_parse(), latm_parse(), mpeg4video_parse(), mpegaudio_parse(), mpegvideo_parse(), old_flac_header(), parse_packet(), read_frame_internal(), tak_parse(), and vc1_parse().
#define PARSER_FLAG_ONCE 0x0002 |
Definition at line 5202 of file avcodec.h.
Referenced by read_frame_internal().
#define PARSER_FLAG_FETCHED_OFFSET 0x0004 |
Set if the parser has a valid file offset.
Definition at line 5204 of file avcodec.h.
Referenced by av_parser_parse2().
#define PARSER_FLAG_USE_CODEC_TS 0x1000 |
Definition at line 5205 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().