Libav
|
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/dict.h"
#include "libavutil/frame.h"
#include "libavutil/log.h"
#include "libavutil/pixfmt.h"
#include "libavutil/rational.h"
#include "version.h"
#include "libavutil/mem.h"
Go to the source code of this file.
Data Structures | |
struct | AVCodecDescriptor |
This struct describes the properties of a single codec described by an AVCodecID. More... | |
struct | RcOverride |
struct | AVPanScan |
Pan Scan area. More... | |
struct | AVPacketSideData |
struct | AVPacket |
This structure stores compressed data. More... | |
struct | AVCodecContext |
main external API structure. More... | |
struct | AVProfile |
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 | 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 | 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_UNALIGNED 0x0001 |
Allow decoders to produce frames with data planes that are not aligned to CPU requirements (e.g. More... | |
#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_OUTPUT_CORRUPT 0x0008 |
Output even those frames that might be corrupted. More... | |
#define | CODEC_FLAG_QPEL 0x0010 |
Use qpel MC. More... | |
#define | CODEC_FLAG_GMC 0x0020 |
#define | CODEC_FLAG_MV0 0x0040 |
#define | CODEC_FLAG_INPUT_PRESERVED 0x0100 |
#define | CODEC_FLAG_PASS1 0x0200 |
Use internal 2pass ratecontrol in first pass mode. 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 |
#define | CODEC_FLAG_PSNR 0x8000 |
error[?] variables will be set during encoding. More... | |
#define | CODEC_FLAG_TRUNCATED |
#define | CODEC_FLAG_NORMALIZE_AQP 0x00020000 |
#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_IGNORE_CROP 0x00010000 |
Discard cropping information from SPS. 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_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 |
#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_GET_BUFFER_FLAG_REF (1 << 0) |
The decoder will keep a reference to the frame and may reuse it later. More... | |
#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 | 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_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) |
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) |
#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_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_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_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_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 0 |
#define | FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 1 |
#define | FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION 2 |
#define | FF_PROFILE_JPEG2000_DCINEMA_2K 3 |
#define | FF_PROFILE_JPEG2000_DCINEMA_4K 4 |
#define | FF_PROFILE_HEVC_MAIN 1 |
#define | FF_PROFILE_HEVC_MAIN_10 2 |
#define | FF_PROFILE_HEVC_MAIN_STILL_PICTURE 3 |
#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... | |
Functions | |
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) |
Set the fields of the given AVCodecContext to default values corresponding to the given codec (defaults may be codec-dependent). More... | |
const AVClass * | avcodec_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... | |
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... | |
attribute_deprecated 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_packet_from_data (AVPacket *pkt, uint8_t *data, int size) |
Initialize a reference-counted packet from av_malloc()ed data. More... | |
int | av_dup_packet (AVPacket *pkt) |
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_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 (AVPacket *pkt, enum AVPacketSideDataType type, int *size) |
Get side information from packet. 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, 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... | |
attribute_deprecated int | avcodec_default_get_buffer (AVCodecContext *s, AVFrame *pic) |
attribute_deprecated void | avcodec_default_release_buffer (AVCodecContext *s, AVFrame *pic) |
attribute_deprecated int | avcodec_default_reget_buffer (AVCodecContext *s, AVFrame *pic) |
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_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... | |
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... | |
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... | |
attribute_deprecated 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) |
attribute_deprecated 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) |
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... | |
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) |
AVBitStreamFilterContext * | av_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) |
AVBitStreamFilter * | av_bitstream_filter_next (const AVBitStreamFilter *f) |
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... | |
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... | |
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) |
Libavcodec external API header.
Definition in file avcodec.h.
#define FF_COMPRESSION_DEFAULT -1 |
Definition at line 1137 of file avcodec.h.
Referenced by alac_encode_init(), encode_frame(), encode_init(), mp3lame_encode_init(), and wavpack_encode_init().
#define FF_ASPECT_EXTENDED 15 |
Definition at line 1247 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 1338 of file avcodec.h.
Referenced by ff_rate_control_init(), ff_rate_control_uninit(), and ff_rate_estimate_qscale().
#define FF_PRED_PLANE 1 |
Definition at line 1428 of file avcodec.h.
Referenced by utvideo_encode_init().
#define FF_CMP_SAD 0 |
Definition at line 1471 of file avcodec.h.
Referenced by ff_init_me(), ff_set_cmp(), and get_penalty_factor().
#define FF_CMP_SSE 1 |
Definition at line 1472 of file avcodec.h.
Referenced by ff_estimate_p_frame_motion(), ff_set_cmp(), and get_penalty_factor().
#define FF_CMP_SATD 2 |
Definition at line 1473 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
#define FF_CMP_DCT 3 |
Definition at line 1474 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
#define FF_CMP_PSNR 4 |
Definition at line 1475 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
#define FF_CMP_BIT 5 |
Definition at line 1476 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
#define FF_CMP_RD 6 |
Definition at line 1477 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 1478 of file avcodec.h.
Referenced by ff_set_cmp().
#define FF_CMP_VSAD 8 |
Definition at line 1479 of file avcodec.h.
Referenced by ff_set_cmp().
#define FF_CMP_VSSE 9 |
Definition at line 1480 of file avcodec.h.
Referenced by encode_mb_internal(), and ff_set_cmp().
#define FF_CMP_NSSE 10 |
Definition at line 1481 of file avcodec.h.
Referenced by ff_set_cmp(), get_penalty_factor(), and sse_mb().
#define FF_CMP_DCTMAX 13 |
Definition at line 1482 of file avcodec.h.
Referenced by ff_set_cmp().
#define FF_CMP_DCT264 14 |
Definition at line 1483 of file avcodec.h.
Referenced by ff_set_cmp(), and get_penalty_factor().
#define FF_CMP_CHROMA 256 |
Definition at line 1484 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 1563 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 1578 of file avcodec.h.
Referenced by ff_draw_horiz_band(), and ff_h264_draw_horiz_band().
#define SLICE_FLAG_ALLOW_FIELD 0x0002 |
allow draw_horiz_band() with field slices (MPEG2 field pics)
Definition at line 1579 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 |
#define FF_MB_DECISION_SIMPLE 0 |
uses mb_cmp
Definition at line 1598 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 1599 of file avcodec.h.
Referenced by encode_thread().
#define FF_MB_DECISION_RD 2 |
rate distortion
Definition at line 1600 of file avcodec.h.
Referenced by dnxhd_calc_bits_thread(), dnxhd_encode_picture(), dnxhd_init_rc(), encode_mb_hq(), ff_mpv_encode_init(), and mpv_decode_mb_internal().
#define FF_CODER_TYPE_VLC 0 |
Definition at line 2182 of file avcodec.h.
Referenced by libschroedinger_encode_init().
#define FF_CODER_TYPE_AC 1 |
Definition at line 2183 of file avcodec.h.
Referenced by X264_init().
#define FF_CODER_TYPE_RAW 2 |
Definition at line 2184 of file avcodec.h.
Referenced by encode_frame(), sunrast_encode_init(), and targa_encode_frame().
#define FF_CODER_TYPE_RLE 3 |
Definition at line 2185 of file avcodec.h.
Referenced by sunrast_encode_init().
#define FF_BUG_AUTODETECT 1 |
autodetection
Definition at line 2324 of file avcodec.h.
Referenced by decode_slice(), ff_mpeg4_decode_picture_header(), and get_bit_length().
#define FF_BUG_XVID_ILACE 4 |
Definition at line 2328 of file avcodec.h.
Referenced by ff_mpeg4_decode_picture_header(), and mpeg4_decode_mb().
#define FF_BUG_UMP4 8 |
Definition at line 2329 of file avcodec.h.
Referenced by decode_vop_header(), and ff_mpeg4_decode_picture_header().
#define FF_BUG_NO_PADDING 16 |
Definition at line 2330 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 2335 of file avcodec.h.
Referenced by ff_mpeg4_decode_picture_header(), and qpel_motion().
#define FF_BUG_STD_QPEL 128 |
Definition at line 2336 of file avcodec.h.
Referenced by ff_h263_decode_frame(), and ff_mpeg4_decode_picture_header().
#define FF_BUG_QPEL_CHROMA2 256 |
Definition at line 2337 of file avcodec.h.
Referenced by ff_mpeg4_decode_picture_header(), and qpel_motion().
#define FF_BUG_DIRECT_BLOCKSIZE 512 |
Definition at line 2338 of file avcodec.h.
Referenced by ff_mpeg4_decode_picture_header(), and ff_mpeg4_set_direct_mv().
#define FF_BUG_EDGE 1024 |
Definition at line 2339 of file avcodec.h.
Referenced by decode_vop_header(), and ff_mpeg4_decode_picture_header().
#define FF_BUG_HPEL_CHROMA 2048 |
Definition at line 2340 of file avcodec.h.
Referenced by ff_mpeg4_decode_picture_header(), and mpeg_motion_internal().
#define FF_BUG_DC_CLIP 4096 |
Definition at line 2341 of file avcodec.h.
Referenced by ff_mpeg4_decode_picture_header(), and ff_mpeg4_pred_dc().
#define FF_BUG_MS 8192 |
Work around various bugs in Microsoft's broken decoders.
Definition at line 2342 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 2343 of file avcodec.h.
Referenced by decode_slice(), and get_bit_length().
#define FF_COMPLIANCE_VERY_STRICT 2 |
Strictly conform to an older more strict version of the spec or reference software.
Definition at line 2358 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 2359 of file avcodec.h.
Referenced by decode_postinit().
#define FF_COMPLIANCE_NORMAL 0 |
Definition at line 2360 of file avcodec.h.
Referenced by encode_init(), ff_fix_long_p_mvs(), ff_get_best_fcode(), mkv_query_codec(), mov_get_codec_tag(), and validate_codec_tag().
#define FF_COMPLIANCE_UNOFFICIAL -1 |
Allow unofficial extensions.
Definition at line 2361 of file avcodec.h.
Referenced by ff_mpv_encode_init(), find_frame_rate_index(), libgsm_encode_init(), and ljpeg_encode_init().
#define FF_COMPLIANCE_EXPERIMENTAL -2 |
Allow nonstandardized experimental things.
Definition at line 2362 of file avcodec.h.
Referenced by avcodec_open2(), encode_init(), ff_mpv_encode_init(), ff_vp9_check_experimental(), ffv1_encode_init(), libx265_encode_init(), and nut_write_header().
#define FF_EC_GUESS_MVS 1 |
Definition at line 2370 of file avcodec.h.
Referenced by guess_mv().
#define FF_EC_DEBLOCK 2 |
Definition at line 2371 of file avcodec.h.
Referenced by ff_er_frame_end().
#define FF_DEBUG_PICT_INFO 1 |
Definition at line 2379 of file avcodec.h.
Referenced by decode_ext_header(), decode_init(), decode_picture_timing(), decode_vol_header(), decode_vop_header(), ff_flv_decode_picture_header(), ff_h263_show_pict_info(), ff_h264_decode_picture_parameter_set(), ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), ff_mjpeg_decode_sos(), ff_msmpeg4_decode_picture_header(), ff_wmv2_decode_secondary_picture_header(), ffv1_decode_frame(), 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(), pcm_bluray_parse_header(), pcm_dvd_parse_header(), rv10_decode_init(), rv20_decode_picture_header(), svq3_decode_frame(), and truemotion1_decode_header().
#define FF_DEBUG_RC 2 |
Definition at line 2380 of file avcodec.h.
Referenced by ff_rate_estimate_qscale(), ff_vbv_update(), and modify_qscale().
#define FF_DEBUG_BITSTREAM 4 |
Definition at line 2381 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 2382 of file avcodec.h.
Referenced by ff_print_debug_info().
#define FF_DEBUG_QP 16 |
Definition at line 2383 of file avcodec.h.
Referenced by ff_mjpeg_decode_frame(), ff_print_debug_info(), and mjpegb_decode_frame().
#define FF_DEBUG_MV 32 |
#define FF_DEBUG_DCT_COEFF 0x00000040 |
Definition at line 2390 of file avcodec.h.
Referenced by mpv_decode_mb_internal().
#define FF_DEBUG_SKIP 0x00000080 |
Definition at line 2391 of file avcodec.h.
Referenced by ff_print_debug_info().
#define FF_DEBUG_STARTCODE 0x00000100 |
Definition at line 2392 of file avcodec.h.
Referenced by decode_chunks(), decode_nal_units(), ff_mjpeg_decode_frame(), ff_mpeg4_decode_picture_header(), and mjpeg_decode_app().
#define FF_DEBUG_ER 0x00000400 |
Definition at line 2396 of file avcodec.h.
Referenced by ff_er_frame_end().
#define FF_DEBUG_MMCO 0x00000800 |
Definition at line 2397 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 2398 of file avcodec.h.
Referenced by decode_unregistered_user_data(), and ff_mpeg4_decode_picture_header().
#define FF_DEBUG_BUFFERS 0x00008000 |
Definition at line 2403 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 2404 of file avcodec.h.
Referenced by ff_thread_await_progress(), and ff_thread_report_progress().
#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 2430 of file avcodec.h.
Referenced by ac3_decode_frame(), decode_frame(), decode_init(), hevc_decode_frame(), read_specific_config(), tak_decode_frame(), tta_decode_frame(), tta_decode_init(), wv_unpack_mono(), and wv_unpack_stereo().
#define AV_EF_BITSTREAM (1<<1) |
Definition at line 2431 of file avcodec.h.
Referenced by ff_mpeg4_pred_dc(), ff_msmpeg4_decode_block(), h261_decode_gob_header(), h263_decode_block(), huffman_decode(), mpeg1_decode_picture(), mpeg1_decode_sequence(), mpeg4_decode_block(), and mpeg4_decode_dc().
#define AV_EF_BUFFER (1<<2) |
Definition at line 2432 of file avcodec.h.
Referenced by decode_slice(), huffman_decode(), and mpeg_decode_slice().
#define AV_EF_EXPLODE (1<<3) |
Definition at line 2433 of file avcodec.h.
Referenced by aac_decode_init(), ac3_decode_frame(), avcodec_decode_audio4(), avcodec_decode_video2(), avi_read_header(), decode(), decode_chunks(), decode_frame(), decode_nal_unit(), decode_nal_units(), decode_region_inter(), decode_region_masked(), decode_rle(), display_end_segment(), ebml_parse_id(), ff_ccitt_unpack(), ff_er_frame_end(), ff_flac_parse_picture(), ff_h263_decode_frame(), ff_h264_decode_ref_pic_marking(), ff_h264_decode_seq_parameter_set(), ff_h264_decode_slice_header(), ff_h264_execute_ref_pic_marking(), ff_hevc_decode_nal_sps(), ff_hevc_decode_nal_vps(), ff_mjpeg_decode_frame(), ff_rm_read_mdpr_codecdata(), hevc_decode_frame(), hls_slice_header(), init_dimensions(), matroska_read_header(), mjpegb_decode_frame(), mpeg_decode_frame(), mxpeg_decode_frame(), ogg_get_headers(), opus_decode_frame(), opus_decode_subpacket(), parse_presentation_segment(), pcx_decode_frame(), read_header(), slice_decode_thread(), tak_decode_frame(), tiff_decode_tag(), tta_decode_frame(), tta_decode_init(), v410_decode_init(), vc1_decode_frame(), wavpack_decode_block(), and wv_unpack_mono().
#define FF_DCT_AUTO 0 |
Definition at line 2475 of file avcodec.h.
Referenced by ff_fdctdsp_init_ppc(), ff_fdctdsp_init_x86(), ff_mpv_common_init_ppc(), and ff_mpv_encode_init_x86().
#define FF_DCT_FASTINT 1 |
Definition at line 2476 of file avcodec.h.
Referenced by ff_fdctdsp_init().
#define FF_DCT_MMX 3 |
Definition at line 2480 of file avcodec.h.
Referenced by ff_fdctdsp_init_x86(), and ff_mpv_encode_init_x86().
#define FF_DCT_ALTIVEC 5 |
Definition at line 2481 of file avcodec.h.
Referenced by ff_fdctdsp_init_ppc(), and ff_mpv_common_init_ppc().
#define FF_DCT_FAAN 6 |
Definition at line 2482 of file avcodec.h.
Referenced by ff_fdctdsp_init().
#define FF_IDCT_AUTO 0 |
Definition at line 2490 of file avcodec.h.
Referenced by decode_init(), 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_xvididct_init(), mpeg_decode_postinit(), and vcr2_init_sequence().
#define FF_IDCT_INT 1 |
Definition at line 2491 of file avcodec.h.
Referenced by ff_idctdsp_init().
#define FF_IDCT_SIMPLE 2 |
Definition at line 2492 of file avcodec.h.
Referenced by decode_init(), mpeg_decode_postinit(), and vcr2_init_sequence().
#define FF_IDCT_SIMPLEMMX 3 |
Definition at line 2493 of file avcodec.h.
Referenced by ff_idctdsp_init_x86().
#define FF_IDCT_ARM 7 |
Definition at line 2494 of file avcodec.h.
Referenced by ff_idctdsp_init_arm().
#define FF_IDCT_ALTIVEC 8 |
Definition at line 2495 of file avcodec.h.
Referenced by ff_idctdsp_init_ppc().
#define FF_IDCT_SIMPLEARM 10 |
Definition at line 2499 of file avcodec.h.
Referenced by ff_idctdsp_init_arm().
#define FF_IDCT_XVID 14 |
Definition at line 2503 of file avcodec.h.
Referenced by ff_xvididct_init().
#define FF_IDCT_SIMPLEARMV5TE 16 |
Definition at line 2507 of file avcodec.h.
Referenced by ff_idctdsp_init_armv5te().
#define FF_IDCT_SIMPLEARMV6 17 |
Definition at line 2508 of file avcodec.h.
Referenced by ff_idctdsp_init_armv6().
#define FF_IDCT_FAAN 20 |
Definition at line 2512 of file avcodec.h.
Referenced by ff_idctdsp_init().
#define FF_IDCT_SIMPLENEON 22 |
Definition at line 2513 of file avcodec.h.
Referenced by ff_idctdsp_init_neon().
#define FF_THREAD_FRAME 1 |
Decode more than one frame at once.
Definition at line 2567 of file avcodec.h.
Referenced by avcodec_decode_video2(), avcodec_flush_buffers(), avcodec_open2(), await_reference_mb_row(), decode_nal_units(), dxva2_create_decoder(), ff_h264_decode_slice_header(), ff_h264_field_end(), ff_mpv_frame_start(), ff_rv34_decode_frame(), ff_thread_finish_setup(), ff_thread_free(), ff_thread_get_buffer(), ff_thread_init(), ff_thread_release_buffer(), finish_frame(), hl_motion(), mimic_decode_frame(), mpeg_field_start(), mpv_decode_mb_internal(), render_slice(), rv34_decode_mv(), rv34_decode_slice(), rv34_mc(), slice_end(), validate_thread_parameters(), vp3_draw_horiz_band(), vp78_decode_frame(), and vp78_decode_mb_row_sliced().
#define FF_THREAD_SLICE 2 |
Decode more than one part of a single frame at once.
Definition at line 2568 of file avcodec.h.
Referenced by decode_chunks(), ff_mpv_common_init(), ff_thread_init(), h264_slice_header_init(), thread_execute(), update_dimensions(), validate_thread_parameters(), and X264_init().
#define FF_PROFILE_UNKNOWN -99 |
Definition at line 2639 of file avcodec.h.
Referenced by aac_encode_init(), av_get_profile_name(), encode_init(), Faac_encode_init(), mpeg4_encode_visual_object_header(), and vpx_init().
#define FF_PROFILE_AAC_MAIN 0 |
Definition at line 2642 of file avcodec.h.
Referenced by Faac_encode_init().
#define FF_PROFILE_AAC_LOW 1 |
Definition at line 2643 of file avcodec.h.
Referenced by aac_encode_init(), and Faac_encode_init().
#define FF_PROFILE_AAC_SSR 2 |
Definition at line 2644 of file avcodec.h.
Referenced by Faac_encode_init().
#define FF_PROFILE_AAC_LTP 3 |
Definition at line 2645 of file avcodec.h.
Referenced by Faac_encode_init().
#define FF_PROFILE_AAC_HE 4 |
Definition at line 2646 of file avcodec.h.
Referenced by aac_encode_init(), and decode_extension_payload().
#define FF_PROFILE_AAC_HE_V2 28 |
Definition at line 2647 of file avcodec.h.
Referenced by aac_encode_init(), decode_extension_payload(), and read_sbr_extension().
#define FF_PROFILE_AAC_ELD 38 |
Definition at line 2649 of file avcodec.h.
Referenced by aac_encode_init().
#define FF_PROFILE_MPEG2_AAC_HE 131 |
Definition at line 2651 of file avcodec.h.
Referenced by aac_encode_init().
#define FF_PROFILE_DTS 20 |
Definition at line 2653 of file avcodec.h.
Referenced by dca_decode_frame().
#define FF_PROFILE_DTS_ES 30 |
Definition at line 2654 of file avcodec.h.
Referenced by dca_decode_frame().
#define FF_PROFILE_DTS_96_24 40 |
Definition at line 2655 of file avcodec.h.
Referenced by dca_decode_frame().
#define FF_PROFILE_DTS_HD_HRA 50 |
Definition at line 2656 of file avcodec.h.
Referenced by dca_exss_parse_asset_header().
#define FF_PROFILE_DTS_HD_MA 60 |
Definition at line 2657 of file avcodec.h.
Referenced by dca_exss_parse_asset_header().
#define FF_PROFILE_MPEG2_MAIN 4 |
Definition at line 2663 of file avcodec.h.
Referenced by av_vdpau_get_profile().
#define FF_PROFILE_MPEG2_SIMPLE 5 |
Definition at line 2664 of file avcodec.h.
Referenced by av_vdpau_get_profile().
#define FF_PROFILE_H264_CONSTRAINED (1<<9) |
Definition at line 2666 of file avcodec.h.
Referenced by dxva2_init(), and ff_h264_get_profile().
#define FF_PROFILE_H264_INTRA (1<<11) |
Definition at line 2667 of file avcodec.h.
Referenced by av_vdpau_get_profile(), and ff_h264_get_profile().
#define FF_PROFILE_H264_BASELINE 66 |
Definition at line 2669 of file avcodec.h.
Referenced by av_vdpau_get_profile(), and ff_h264_get_profile().
#define FF_PROFILE_H264_CONSTRAINED_BASELINE (66|FF_PROFILE_H264_CONSTRAINED) |
Definition at line 2670 of file avcodec.h.
Referenced by av_vdpau_get_profile().
#define FF_PROFILE_H264_MAIN 77 |
Definition at line 2671 of file avcodec.h.
Referenced by av_vdpau_get_profile().
#define FF_PROFILE_H264_HIGH 100 |
Definition at line 2673 of file avcodec.h.
Referenced by av_vdpau_get_profile(), and dxva2_init().
#define FF_PROFILE_H264_HIGH_10 110 |
Definition at line 2674 of file avcodec.h.
Referenced by ff_h264_get_profile().
#define FF_PROFILE_H264_HIGH_10_INTRA (110|FF_PROFILE_H264_INTRA) |
#define FF_PROFILE_H264_HIGH_422 122 |
Definition at line 2676 of file avcodec.h.
Referenced by ff_h264_get_profile().
#define FF_PROFILE_H264_HIGH_422_INTRA (122|FF_PROFILE_H264_INTRA) |
#define FF_PROFILE_H264_HIGH_444_PREDICTIVE 244 |
Definition at line 2679 of file avcodec.h.
Referenced by ff_h264_get_profile().
#define FF_PROFILE_H264_HIGH_444_INTRA (244|FF_PROFILE_H264_INTRA) |
#define FF_PROFILE_VC1_SIMPLE 0 |
Definition at line 2683 of file avcodec.h.
Referenced by av_vdpau_get_profile().
#define FF_PROFILE_VC1_MAIN 1 |
Definition at line 2684 of file avcodec.h.
Referenced by av_vdpau_get_profile().
#define FF_PROFILE_VC1_ADVANCED 3 |
Definition at line 2686 of file avcodec.h.
Referenced by av_vdpau_get_profile().
#define FF_PROFILE_MPEG4_SIMPLE 0 |
Definition at line 2688 of file avcodec.h.
Referenced by av_vdpau_get_profile().
#define FF_PROFILE_MPEG4_ADVANCED_SIMPLE 15 |
Definition at line 2703 of file avcodec.h.
Referenced by av_vdpau_get_profile().
#define FF_PROFILE_JPEG2000_DCINEMA_2K 3 |
#define FF_PROFILE_JPEG2000_DCINEMA_4K 4 |
#define FF_PROFILE_HEVC_MAIN 1 |
Definition at line 2712 of file avcodec.h.
Referenced by decode_profile_tier_level().
#define FF_PROFILE_HEVC_MAIN_10 2 |
Definition at line 2713 of file avcodec.h.
Referenced by decode_profile_tier_level().
#define FF_PROFILE_HEVC_MAIN_STILL_PICTURE 3 |
Definition at line 2714 of file avcodec.h.
Referenced by decode_profile_tier_level().
#define FF_LEVEL_UNKNOWN -99 |
Definition at line 2722 of file avcodec.h.
Referenced by encode_init(), and mpeg4_encode_visual_object_header().
#define AV_PARSER_PTS_NB 4 |
Definition at line 3709 of file avcodec.h.
Referenced by av_parser_parse2(), and ff_fetch_timestamp().
#define PARSER_FLAG_COMPLETE_FRAMES 0x0001 |
Definition at line 3716 of file avcodec.h.
Referenced by avformat_find_stream_info(), cavsvideo_parse(), dca_parse(), dirac_parse(), dnxhd_parse(), flac_parse(), h264_parse(), hevc_parse(), jpeg_parse(), latm_parse(), mpeg4video_parse(), mpegvideo_parse(), read_frame_internal(), tak_parse(), and vc1_parse().
#define PARSER_FLAG_ONCE 0x0002 |
Definition at line 3717 of file avcodec.h.
Referenced by h264_parse(), and read_frame_internal().
#define PARSER_FLAG_FETCHED_OFFSET 0x0004 |
Set if the parser has a valid file offset.
Definition at line 3719 of file avcodec.h.
Referenced by av_parser_parse2().