|
FFmpeg
|
Libavcodec external API header. More...
#include "libavutil/samplefmt.h"#include "libavutil/attributes.h"#include "libavutil/avutil.h"#include "libavutil/buffer.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 "codec.h"#include "codec_id.h"#include "defs.h"#include "packet.h"#include "version_major.h"Go to the source code of this file.
Data Structures | |
| struct | RcOverride |
| struct | AVCodecContext |
| main external API structure. More... | |
| struct | AVHWAccel |
| struct | AVSubtitleRect |
| struct | AVSubtitle |
| struct | AVCodecParserContext |
| struct | AVCodecParser |
Macros | |
| #define | AV_CODEC_FLAG_UNALIGNED (1 << 0) |
| Allow decoders to produce frames with data planes that are not aligned to CPU requirements (e.g. | |
| #define | AV_CODEC_FLAG_QSCALE (1 << 1) |
| Use fixed qscale. | |
| #define | AV_CODEC_FLAG_4MV (1 << 2) |
| 4 MV per MB allowed / advanced prediction for H.263. | |
| #define | AV_CODEC_FLAG_OUTPUT_CORRUPT (1 << 3) |
| Output even those frames that might be corrupted. | |
| #define | AV_CODEC_FLAG_QPEL (1 << 4) |
| Use qpel MC. | |
| #define | AV_CODEC_FLAG_RECON_FRAME (1 << 6) |
| Request the encoder to output reconstructed frames, i.e. frames that would be produced by decoding the encoded bitstream. | |
| #define | AV_CODEC_FLAG_COPY_OPAQUE (1 << 7) |
| #define | AV_CODEC_FLAG_FRAME_DURATION (1 << 8) |
| Signal to the encoder that the values of AVFrame.duration are valid and should be used (typically for transferring them to output packets). | |
| #define | AV_CODEC_FLAG_PASS1 (1 << 9) |
| Use internal 2pass ratecontrol in first pass mode. | |
| #define | AV_CODEC_FLAG_PASS2 (1 << 10) |
| Use internal 2pass ratecontrol in second pass mode. | |
| #define | AV_CODEC_FLAG_LOOP_FILTER (1 << 11) |
| loop filter. | |
| #define | AV_CODEC_FLAG_GRAY (1 << 13) |
| Only decode/encode grayscale. | |
| #define | AV_CODEC_FLAG_PSNR (1 << 15) |
| error[? | |
| #define | AV_CODEC_FLAG_INTERLACED_DCT (1 << 18) |
| Use interlaced DCT. | |
| #define | AV_CODEC_FLAG_LOW_DELAY (1 << 19) |
| Force low delay. | |
| #define | AV_CODEC_FLAG_GLOBAL_HEADER (1 << 22) |
| Place global headers in extradata instead of every keyframe. | |
| #define | AV_CODEC_FLAG_BITEXACT (1 << 23) |
| Use only bitexact stuff (except (I)DCT). | |
| #define | AV_CODEC_FLAG_AC_PRED (1 << 24) |
| H.263 advanced intra coding / MPEG-4 AC prediction. | |
| #define | AV_CODEC_FLAG_INTERLACED_ME (1 << 29) |
| interlaced motion estimation | |
| #define | AV_CODEC_FLAG_CLOSED_GOP (1U << 31) |
| #define | AV_CODEC_FLAG2_FAST (1 << 0) |
| Allow non spec compliant speedup tricks. | |
| #define | AV_CODEC_FLAG2_NO_OUTPUT (1 << 2) |
| Skip bitstream encoding. | |
| #define | AV_CODEC_FLAG2_LOCAL_HEADER (1 << 3) |
| Place global headers at every keyframe instead of in extradata. | |
| #define | AV_CODEC_FLAG2_CHUNKS (1 << 15) |
| Input bitstream might be truncated at a packet boundaries instead of only at frame boundaries. | |
| #define | AV_CODEC_FLAG2_IGNORE_CROP (1 << 16) |
| Discard cropping information from SPS. | |
| #define | AV_CODEC_FLAG2_FIXED_FRAME_SIZE (1 << 17) |
| Force audio encoders to use a fixed frame size. | |
| #define | AV_CODEC_FLAG2_SHOW_ALL (1 << 22) |
| Show all frames before the first keyframe. | |
| #define | AV_CODEC_FLAG2_EXPORT_MVS (1 << 28) |
| Export motion vectors through frame side data. | |
| #define | AV_CODEC_FLAG2_SKIP_MANUAL (1 << 29) |
| Do not skip samples and export skip information as frame side data. | |
| #define | AV_CODEC_FLAG2_RO_FLUSH_NOOP (1 << 30) |
| Do not reset ASS ReadOrder field on flush (subtitles decoding) | |
| #define | AV_CODEC_FLAG2_ICC_PROFILES (1U << 31) |
| Generate/parse ICC profiles on encode/decode, as appropriate for the type of file. | |
| #define | AV_CODEC_EXPORT_DATA_MVS (1 << 0) |
| Export motion vectors through frame side data. | |
| #define | AV_CODEC_EXPORT_DATA_PRFT (1 << 1) |
| Export encoder Producer Reference Time through packet side data. | |
| #define | AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS (1 << 2) |
| Decoding only. | |
| #define | AV_CODEC_EXPORT_DATA_FILM_GRAIN (1 << 3) |
| Decoding only. | |
| #define | AV_CODEC_EXPORT_DATA_ENHANCEMENTS (1 << 4) |
| Decoding only. | |
| #define | AV_GET_BUFFER_FLAG_REF (1 << 0) |
| The decoder will keep a reference to the frame and may reuse it later. | |
| #define | AV_GET_ENCODE_BUFFER_FLAG_REF (1 << 0) |
| The encoder will keep a reference to the packet and may reuse it later. | |
| #define | AV_CODEC_RECEIVE_FRAME_FLAG_SYNCHRONOUS (1 << 0) |
| The decoder will bypass frame threading and return the next frame as soon as possible. | |
| #define | SLICE_FLAG_CODED_ORDER 0x0001 |
| draw_horiz_band() is called in coded order instead of display | |
| #define | SLICE_FLAG_ALLOW_FIELD 0x0002 |
| allow draw_horiz_band() with field slices (MPEG-2 field pics) | |
| #define | SLICE_FLAG_ALLOW_PLANE 0x0004 |
| allow draw_horiz_band() with 1 component at a time (SVQ1) | |
| #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_MB_DECISION_SIMPLE 0 |
| uses mb_cmp | |
| #define | FF_MB_DECISION_BITS 1 |
| chooses the one which needs the fewest bits | |
| #define | FF_MB_DECISION_RD 2 |
| rate distortion | |
| #define | FF_COMPRESSION_DEFAULT -1 |
| #define | FF_BUG_AUTODETECT 1 |
| autodetection | |
| #define | FF_BUG_XVID_ILACE 4 |
| #define | FF_BUG_UMP4 8 |
| #define | FF_BUG_NO_PADDING 16 |
| #define | FF_BUG_AMV 32 |
| #define | FF_BUG_QPEL_CHROMA 64 |
| #define | FF_BUG_STD_QPEL 128 |
| #define | FF_BUG_QPEL_CHROMA2 256 |
| #define | FF_BUG_DIRECT_BLOCKSIZE 512 |
| #define | FF_BUG_EDGE 1024 |
| #define | FF_BUG_HPEL_CHROMA 2048 |
| #define | FF_BUG_DC_CLIP 4096 |
| #define | FF_BUG_MS 8192 |
| Work around various bugs in Microsoft's broken decoders. | |
| #define | FF_BUG_TRUNCATED 16384 |
| #define | FF_BUG_IEDGE 32768 |
| #define | FF_BUG_H264_DP_NNZ 65536 |
| H.264: JM's nC derivation for partitioned slices. | |
| #define | FF_EC_GUESS_MVS 1 |
| #define | FF_EC_DEBLOCK 2 |
| #define | FF_EC_FAVOR_INTER 256 |
| #define | FF_DEBUG_PICT_INFO 1 |
| #define | FF_DEBUG_RC 2 |
| #define | FF_DEBUG_BITSTREAM 4 |
| #define | FF_DEBUG_MB_TYPE 8 |
| #define | FF_DEBUG_QP 16 |
| #define | FF_DEBUG_DCT_COEFF 0x00000040 |
| #define | FF_DEBUG_SKIP 0x00000080 |
| #define | FF_DEBUG_STARTCODE 0x00000100 |
| #define | FF_DEBUG_ER 0x00000400 |
| #define | FF_DEBUG_MMCO 0x00000800 |
| #define | FF_DEBUG_BUGS 0x00001000 |
| #define | FF_DEBUG_BUFFERS 0x00008000 |
| #define | FF_DEBUG_THREADS 0x00010000 |
| #define | FF_DEBUG_GREEN_MD 0x00800000 |
| #define | FF_DEBUG_NOMC 0x01000000 |
| #define | 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_DCT_NEON 7 |
| #define | FF_IDCT_AUTO 0 |
| #define | FF_IDCT_INT 1 |
| #define | FF_IDCT_SIMPLE 2 |
| #define | FF_IDCT_SIMPLEMMX 3 |
| #define | FF_IDCT_ARM 7 |
| #define | FF_IDCT_ALTIVEC 8 |
| #define | FF_IDCT_SIMPLEARM 10 |
| #define | FF_IDCT_XVID 14 |
| #define | FF_IDCT_SIMPLEARMV5TE 16 |
| #define | FF_IDCT_SIMPLEARMV6 17 |
| #define | FF_IDCT_FAAN 20 |
| #define | FF_IDCT_SIMPLENEON 22 |
| #define | FF_IDCT_SIMPLEAUTO 128 |
| #define | FF_THREAD_FRAME 1 |
| Decode more than one frame at once. | |
| #define | FF_THREAD_SLICE 2 |
| Decode more than one part of a single frame at once. | |
| #define | FF_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) | |
| #define | FF_SUB_CHARENC_MODE_AUTOMATIC 0 |
| libavcodec will select the mode itself | |
| #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 | |
| #define | FF_SUB_CHARENC_MODE_IGNORE 2 |
| neither convert the subtitles, nor check them for valid UTF-8 | |
| #define | AV_HWACCEL_CODEC_CAP_EXPERIMENTAL 0x0200 |
| HWAccel is experimental and is thus avoided in favor of non experimental codecs. | |
| #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. | |
| #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. | |
| #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. | |
| #define | AV_HWACCEL_FLAG_UNSAFE_OUTPUT (1 << 3) |
| Some hardware decoders (namely nvdec) can either output direct decoder surfaces, or make an on-device copy and return said copy. | |
| #define | AV_SUBTITLE_FLAG_FORCED 0x00000001 |
| #define | AV_PARSER_PTS_NB 4 |
| #define | PARSER_FLAG_COMPLETE_FRAMES 0x0001 |
| #define | PARSER_FLAG_ONCE 0x0002 |
| #define | PARSER_FLAG_FETCHED_OFFSET 0x0004 |
| Set if the parser has a valid file offset. | |
| #define | PARSER_FLAG_USE_CODEC_TS 0x1000 |
Functions | |
| unsigned | avcodec_version (void) |
| Return the LIBAVCODEC_VERSION_INT constant. | |
| const char * | avcodec_configuration (void) |
| Return the libavcodec build-time configuration. | |
| const char * | avcodec_license (void) |
| Return the libavcodec license. | |
| AVCodecContext * | avcodec_alloc_context3 (const AVCodec *codec) |
| Allocate an AVCodecContext and set its fields to default values. | |
| void | avcodec_free_context (AVCodecContext **avctx) |
| Free the codec context and everything associated with it and write NULL to the provided pointer. | |
| const AVClass * | avcodec_get_class (void) |
| Get the AVClass for AVCodecContext. | |
| const AVClass * | avcodec_get_subtitle_rect_class (void) |
| Get the AVClass for AVSubtitleRect. | |
| int | avcodec_open2 (AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options) |
| Initialize the AVCodecContext to use the given AVCodec. | |
| int | avcodec_encode_reconfigure (AVCodecContext *avctx, AVDictionary **options) |
| Try to reconfigure the encoder with the provided dictionary. | |
| void | avsubtitle_free (AVSubtitle *sub) |
| Free all allocated data in the given subtitle struct. | |
| int | avcodec_default_get_buffer2 (AVCodecContext *s, AVFrame *frame, int flags) |
| The default callback for AVCodecContext.get_buffer2(). | |
| int | avcodec_default_get_encode_buffer (AVCodecContext *s, AVPacket *pkt, int flags) |
| The default callback for AVCodecContext.get_encode_buffer(). | |
| 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. | |
| 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]. | |
| int | avcodec_decode_subtitle2 (AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, const AVPacket *avpkt) |
| Decode a subtitle message. | |
| int | avcodec_send_packet (AVCodecContext *avctx, const AVPacket *avpkt) |
| Supply raw packet data as input to a decoder. | |
| int | avcodec_receive_frame_flags (AVCodecContext *avctx, AVFrame *frame, unsigned flags) |
| Return decoded output data from a decoder or encoder (when the AV_CODEC_FLAG_RECON_FRAME flag is used). | |
| int | avcodec_receive_frame (AVCodecContext *avctx, AVFrame *frame) |
Alias for avcodec_receive_frame_flags(avctx, frame, 0). | |
| int | avcodec_send_frame (AVCodecContext *avctx, const AVFrame *frame) |
| Supply a raw video or audio frame to the encoder. | |
| int | avcodec_receive_packet (AVCodecContext *avctx, AVPacket *avpkt) |
| Read encoded data from the encoder. | |
| int | avcodec_get_hw_frames_parameters (AVCodecContext *avctx, AVBufferRef *device_ref, enum AVPixelFormat hw_pix_fmt, AVBufferRef **out_frames_ref) |
| Create and return a AVHWFramesContext with values adequate for hardware decoding. | |
| int | avcodec_get_supported_config (const AVCodecContext *avctx, const AVCodec *codec, enum AVCodecConfig config, unsigned flags, const void **out_configs, int *out_num_configs) |
| Retrieve a list of all supported values for a given configuration type. | |
| const AVCodecParser * | av_parser_iterate (void **opaque) |
| Iterate over all registered codec parsers. | |
| AVCodecParserContext * | av_parser_init (enum AVCodecID 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. | |
| void | av_parser_close (AVCodecParserContext *s) |
| int | avcodec_encode_subtitle (AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVSubtitle *sub) |
| 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. | |
| enum AVPixelFormat | avcodec_find_best_pix_fmt_of_list (const enum AVPixelFormat *pix_fmt_list, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) |
| Find the best pixel format to convert to given a certain source pixel format. | |
| enum AVPixelFormat | avcodec_default_get_format (struct AVCodecContext *s, const enum AVPixelFormat *fmt) |
| void | avcodec_string (char *buf, int buf_size, AVCodecContext *enc, int encode) |
| 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. | |
| void | avcodec_flush_buffers (AVCodecContext *avctx) |
| Reset the internal codec state / flush internal buffers. | |
| int | av_get_audio_frame_duration (AVCodecContext *avctx, int frame_bytes) |
| Return audio frame duration. | |
| 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. | |
| 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. | |
| int | avcodec_is_open (AVCodecContext *s) |
Libavcodec external API header.
Definition in file avcodec.h.
| #define SLICE_FLAG_CODED_ORDER 0x0001 |
draw_horiz_band() is called in coded order instead of display
Definition at line 717 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 718 of file avcodec.h.
Referenced by ff_draw_horiz_band(), and ff_h264_draw_horiz_band().
| #define SLICE_FLAG_ALLOW_PLANE 0x0004 |
allow draw_horiz_band() with 1 component at a time (SVQ1)
| #define FF_CMP_SAD 0 |
Definition at line 881 of file avcodec.h.
Referenced by config_props(), ff_me_init(), get_penalty_factor(), and get_penalty_factor().
| #define FF_CMP_SSE 1 |
Definition at line 882 of file avcodec.h.
Referenced by config_props(), ff_estimate_p_frame_motion(), get_penalty_factor(), and get_penalty_factor().
| #define FF_CMP_SATD 2 |
Definition at line 883 of file avcodec.h.
Referenced by get_penalty_factor(), and get_penalty_factor().
| #define FF_CMP_DCT 3 |
Definition at line 884 of file avcodec.h.
Referenced by get_penalty_factor(), and get_penalty_factor().
| #define FF_CMP_PSNR 4 |
Definition at line 885 of file avcodec.h.
Referenced by get_penalty_factor(), and get_penalty_factor().
| #define FF_CMP_BIT 5 |
Definition at line 886 of file avcodec.h.
Referenced by get_penalty_factor(), and get_penalty_factor().
| #define FF_CMP_RD 6 |
Definition at line 887 of file avcodec.h.
Referenced by get_penalty_factor(), get_penalty_factor(), h263_mv4_search(), and interlaced_search().
| #define FF_CMP_ZERO 7 |
Definition at line 888 of file avcodec.h.
Referenced by ff_set_cmp().
| #define FF_CMP_VSSE 9 |
Definition at line 890 of file avcodec.h.
Referenced by encode_mb_internal().
| #define FF_CMP_NSSE 10 |
Definition at line 891 of file avcodec.h.
Referenced by get_penalty_factor(), get_penalty_factor(), and me_cmp_init().
| #define FF_CMP_W53 11 |
Definition at line 892 of file avcodec.h.
Referenced by get_block_rd(), get_penalty_factor(), and get_penalty_factor().
| #define FF_CMP_W97 12 |
Definition at line 893 of file avcodec.h.
Referenced by get_block_rd(), get_penalty_factor(), and get_penalty_factor().
| #define FF_CMP_DCT264 14 |
Definition at line 895 of file avcodec.h.
Referenced by get_penalty_factor(), and get_penalty_factor().
| #define FF_CMP_MEDIAN_SAD 15 |
Definition at line 896 of file avcodec.h.
Referenced by get_penalty_factor().
| #define FF_CMP_CHROMA 256 |
Definition at line 897 of file avcodec.h.
Referenced by check_bidir_mv(), ff_me_init(), h263_mv4_search(), X264_init(), and XAVS_init().
| #define FF_MB_DECISION_SIMPLE 0 |
uses mb_cmp
Definition at line 949 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 950 of file avcodec.h.
Referenced by encode_thread(), and xvid_encode_init().
| #define FF_MB_DECISION_RD 2 |
rate distortion
Definition at line 951 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 xvid_encode_init().
| #define FF_COMPRESSION_DEFAULT -1 |
Definition at line 1242 of file avcodec.h.
Referenced by alac_encode_init(), encode_init(), encode_init(), encode_init(), flashsv_encode_init(), init_video_param(), mp3lame_encode_init(), png_enc_init(), vaapi_encode_h264_init(), and wavpack_encode_init().
| #define FF_BUG_AUTODETECT 1 |
autodetection
Definition at line 1346 of file avcodec.h.
Referenced by decode_nal_units(), and decode_slice().
| #define FF_BUG_XVID_ILACE 4 |
Definition at line 1347 of file avcodec.h.
Referenced by mpeg4_decode_mb().
| #define FF_BUG_UMP4 8 |
Definition at line 1348 of file avcodec.h.
Referenced by decode_vop_header().
| #define FF_BUG_NO_PADDING 16 |
Definition at line 1349 of file avcodec.h.
Referenced by decode_slice(), and mpeg4_is_resync().
| #define FF_BUG_QPEL_CHROMA 64 |
Definition at line 1351 of file avcodec.h.
Referenced by qpel_motion().
| #define FF_BUG_QPEL_CHROMA2 256 |
Definition at line 1353 of file avcodec.h.
Referenced by qpel_motion().
| #define FF_BUG_DIRECT_BLOCKSIZE 512 |
Definition at line 1354 of file avcodec.h.
Referenced by ff_mpeg4_set_direct_mv().
| #define FF_BUG_EDGE 1024 |
Definition at line 1355 of file avcodec.h.
Referenced by decode_vop_header().
| #define FF_BUG_HPEL_CHROMA 2048 |
Definition at line 1356 of file avcodec.h.
Referenced by mpeg_motion_internal().
| #define FF_BUG_DC_CLIP 4096 |
Definition at line 1357 of file avcodec.h.
Referenced by mpeg4_get_level_dc().
| #define FF_BUG_MS 8192 |
| #define FF_BUG_TRUNCATED 16384 |
Definition at line 1359 of file avcodec.h.
Referenced by decode_slice().
| #define FF_BUG_IEDGE 32768 |
Definition at line 1360 of file avcodec.h.
Referenced by mpeg_motion_internal(), mpeg_motion_lowres(), and qpel_motion().
| #define FF_BUG_H264_DP_NNZ 65536 |
H.264: JM's nC derivation for partitioned slices.
Definition at line 1361 of file avcodec.h.
Referenced by decode_nal_units(), and fill_decode_caches().
| #define FF_EC_GUESS_MVS 1 |
Definition at line 1384 of file avcodec.h.
Referenced by guess_mv().
| #define FF_EC_DEBLOCK 2 |
Definition at line 1385 of file avcodec.h.
Referenced by ff_er_frame_end().
| #define FF_EC_FAVOR_INTER 256 |
Definition at line 1386 of file avcodec.h.
Referenced by is_intra_more_likely().
| #define FF_DEBUG_PICT_INFO 1 |
Definition at line 1394 of file avcodec.h.
Referenced by decode_ext_header(), decode_fill(), decode_frame(), decode_frame(), decode_frame(), decode_ihdr_chunk(), decode_init(), decode_slices(), decode_vol_header(), decode_vop_header(), ff_ffv1_read_extra_header(), 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_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(), msmpeg4_decode_picture_header(), parse_avid(), pcm_bluray_parse_header(), pcm_dvd_parse_header(), pcm_dvda_parse_header(), rv10_decode_init(), rv20_decode_picture_header(), svq3_decode_frame(), truemotion1_decode_header(), vc1_decode_frame(), and vp3_decode_frame().
| #define FF_DEBUG_RC 2 |
Definition at line 1395 of file avcodec.h.
Referenced by ff_rate_estimate_qscale(), ff_vbv_update(), and modify_qscale().
| #define FF_DEBUG_BITSTREAM 4 |
Definition at line 1396 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 1397 of file avcodec.h.
Referenced by ff_print_debug_info2(), and LLVMFuzzerTestOneInput().
| #define FF_DEBUG_QP 16 |
Definition at line 1398 of file avcodec.h.
Referenced by ff_mjpeg_decode_frame_from_buf(), ff_print_debug_info2(), LLVMFuzzerTestOneInput(), and mjpegb_decode_frame().
| #define FF_DEBUG_DCT_COEFF 0x00000040 |
Definition at line 1399 of file avcodec.h.
Referenced by ff_mpv_reconstruct_mb(), and mpv_reconstruct_mb().
| #define FF_DEBUG_SKIP 0x00000080 |
Definition at line 1400 of file avcodec.h.
Referenced by LLVMFuzzerTestOneInput().
| #define FF_DEBUG_STARTCODE 0x00000100 |
Definition at line 1401 of file avcodec.h.
Referenced by decode_chunks(), decode_extension_payload(), decode_frame_common(), decode_frame_ga(), dvbsub_decode(), ff_mjpeg_decode_frame_from_buf(), ff_mpeg4_parse_picture_header(), and mjpeg_decode_app().
| #define FF_DEBUG_ER 0x00000400 |
Definition at line 1402 of file avcodec.h.
Referenced by ff_er_frame_end().
| #define FF_DEBUG_MMCO 0x00000800 |
Definition at line 1403 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_BUFFERS 0x00008000 |
Definition at line 1405 of file avcodec.h.
Referenced by audio_get_buffer(), and video_get_buffer().
| #define FF_DEBUG_THREADS 0x00010000 |
Definition at line 1406 of file avcodec.h.
Referenced by init_thread(), and submit_packet().
| #define FF_DEBUG_GREEN_MD 0x00800000 |
Definition at line 1407 of file avcodec.h.
Referenced by decode_nal_units().
| #define FF_DEBUG_NOMC 0x01000000 |
Definition at line 1408 of file avcodec.h.
Referenced by dsp_init(), and ff_mpv_frame_start().
| #define FF_DCT_AUTO 0 |
Definition at line 1532 of file avcodec.h.
Referenced by check_fdct(), ff_dct_encode_init_x86(), ff_fdctdsp_init_aarch64(), ff_fdctdsp_init_ppc(), and ff_fdctdsp_init_x86().
| #define FF_DCT_FASTINT 1 |
Definition at line 1533 of file avcodec.h.
Referenced by ff_fdctdsp_init().
| #define FF_DCT_MMX 3 |
Definition at line 1535 of file avcodec.h.
Referenced by ff_dct_encode_init_x86(), and ff_fdctdsp_init_x86().
| #define FF_DCT_ALTIVEC 5 |
Definition at line 1536 of file avcodec.h.
Referenced by ff_fdctdsp_init_ppc().
| #define FF_DCT_FAAN 6 |
Definition at line 1537 of file avcodec.h.
Referenced by ff_fdctdsp_init().
| #define FF_DCT_NEON 7 |
Definition at line 1538 of file avcodec.h.
Referenced by ff_fdctdsp_init_aarch64().
| #define FF_IDCT_AUTO 0 |
Definition at line 1546 of file avcodec.h.
Referenced by ff_idctdsp_init_aarch64(), ff_idctdsp_init_arm(), ff_idctdsp_init_armv5te(), ff_idctdsp_init_armv6(), ff_idctdsp_init_loongarch(), ff_idctdsp_init_mips(), ff_idctdsp_init_neon(), ff_idctdsp_init_ppc(), and ff_idctdsp_init_x86().
| #define FF_IDCT_INT 1 |
Definition at line 1547 of file avcodec.h.
Referenced by ff_idctdsp_init().
| #define FF_IDCT_SIMPLE 2 |
Definition at line 1548 of file avcodec.h.
Referenced by decode_init(), ff_idctdsp_init_mips(), and ff_idctdsp_init_x86().
| #define FF_IDCT_SIMPLEMMX 3 |
Definition at line 1549 of file avcodec.h.
Referenced by ff_idctdsp_init_x86().
| #define FF_IDCT_ARM 7 |
Definition at line 1550 of file avcodec.h.
Referenced by ff_idctdsp_init_arm().
| #define FF_IDCT_ALTIVEC 8 |
Definition at line 1551 of file avcodec.h.
Referenced by ff_idctdsp_init_ppc().
| #define FF_IDCT_SIMPLEARM 10 |
Definition at line 1552 of file avcodec.h.
Referenced by ff_idctdsp_init_arm().
| #define FF_IDCT_XVID 14 |
Definition at line 1553 of file avcodec.h.
Referenced by ff_idctdsp_init().
| #define FF_IDCT_SIMPLEARMV5TE 16 |
Definition at line 1554 of file avcodec.h.
Referenced by ff_idctdsp_init_armv5te().
| #define FF_IDCT_SIMPLEARMV6 17 |
Definition at line 1555 of file avcodec.h.
Referenced by ff_idctdsp_init_armv6().
| #define FF_IDCT_FAAN 20 |
Definition at line 1556 of file avcodec.h.
Referenced by ff_idctdsp_init().
| #define FF_IDCT_SIMPLENEON 22 |
Definition at line 1557 of file avcodec.h.
Referenced by ff_idctdsp_init_aarch64(), and ff_idctdsp_init_neon().
| #define FF_IDCT_SIMPLEAUTO 128 |
Definition at line 1558 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 1591 of file avcodec.h.
Referenced by amf_init_decoder(), avcodec_flush_buffers(), avcodec_get_hw_frames_parameters(), avcodec_open2(), await_reference_mb_row(), decode_nal_units(), decode_nal_units(), decode_receive_frame_internal(), decode_simple_internal(), decode_slice(), decode_slice(), 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_ext_buffer(), ff_thread_init(), ff_thread_sync_ref(), generate_missing_ref(), h264_init_context(), hevc_await_progress(), hl_motion(), mimic_decode_frame(), mpv_reconstruct_mb_internal(), progress_frame_pool_init_cb(), render_slice(), rv34_decode_mv(), rv34_decode_slice(), rv34_mc(), slice_set_damaged(), temporal_luma_motion_vector(), thread_get_buffer_internal(), validate_thread_parameters(), vp3_decode_frame(), vp3_draw_horiz_band(), vp78_decode_frame(), vp78_decode_mb_row_sliced(), vp9_decode_frame(), and wavpack_decode_block().
| #define FF_THREAD_SLICE 2 |
Decode more than one part of a single frame at once.
Definition at line 1592 of file avcodec.h.
Referenced by decode_chunks(), decode_frame_header(), decode_slice(), decode_slice(), decode_slice_data(), dnxhd_encode_init(), ff_er_add_slice(), ff_load_image(), ff_mpv_init_context_frame(), ff_thread_init(), h264_decode_init(), h264_init_context(), h264_slice_header_init(), main(), mpeg12_execute_slice_threads(), thread_execute(), update_dimensions(), update_size(), validate_thread_parameters(), vp9_decode_frame(), vp9_decode_init(), and X264_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 1726 of file avcodec.h.
Referenced by ff_decode_preinit().
| #define FF_SUB_CHARENC_MODE_AUTOMATIC 0 |
libavcodec will select the mode itself
Definition at line 1727 of file avcodec.h.
Referenced by ff_decode_preinit().
| #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 1728 of file avcodec.h.
Referenced by ff_decode_preinit(), and recode_subtitle().
| #define FF_SUB_CHARENC_MODE_IGNORE 2 |
neither convert the subtitles, nor check them for valid UTF-8
Definition at line 1729 of file avcodec.h.
Referenced by avcodec_decode_subtitle2().
| #define AV_PARSER_PTS_NB 4 |
Definition at line 2645 of file avcodec.h.
Referenced by av_parser_parse2(), and ff_fetch_timestamp().
| #define PARSER_FLAG_COMPLETE_FRAMES 0x0001 |
Definition at line 2652 of file avcodec.h.
Referenced by amr_parse(), avformat_find_stream_info(), avs2_parse(), avs3_parse(), cavsvideo_parse(), dash_init(), dca_parse(), dirac_parse(), dnxhd_parse(), dnxuc_parse(), ff_aac_ac3_parse(), flac_parse(), ftr_parse(), gif_parse(), h261_parse(), h263_parse(), h264_parse(), hdr_parse(), hevc_parse(), ipu_parse(), jpeg2000_parse(), jpeg_parse(), latm_parse(), lcevc_parse(), misc4_parse(), mlp_parse(), mpeg4video_parse(), mpegaudio_parse(), mpegvideo_parse(), old_flac_header(), opus_parse(), parse(), parse_packet(), qoi_parse(), read_frame_internal(), sbc_parse(), tak_parse(), vc1_parse(), vvc_parser_parse(), and xwd_parse().
| #define PARSER_FLAG_ONCE 0x0002 |
Definition at line 2653 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 2655 of file avcodec.h.
Referenced by av_parser_parse2().
| #define PARSER_FLAG_USE_CODEC_TS 0x1000 |
Definition at line 2656 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().