Go to the documentation of this file.
22 #ifndef AVCODEC_OPTIONS_TABLE_H
23 #define AVCODEC_OPTIONS_TABLE_H
25 #include "config_components.h"
35 #define OFFSET(x) offsetof(AVCodecContext,x)
36 #define DEFAULT 0 //should be NAN but it does not work as it is not a constant in glibc as required by ANSI/ISO C
38 #define V AV_OPT_FLAG_VIDEO_PARAM
39 #define A AV_OPT_FLAG_AUDIO_PARAM
40 #define S AV_OPT_FLAG_SUBTITLE_PARAM
41 #define E AV_OPT_FLAG_ENCODING_PARAM
42 #define D AV_OPT_FLAG_DECODING_PARAM
43 #define CC AV_OPT_FLAG_CHILD_CONSTS
45 #define AR AV_OPT_TYPE_FLAG_ARRAY
47 #define AV_CODEC_DEFAULT_BITRATE 200*1000
52 {
"bt",
"Set video bitrate tolerance (in bits/s). In 1-pass mode, bitrate tolerance specifies how far "
53 "ratecontrol is willing to deviate from the target average bitrate value. This is not related "
54 "to minimum/maximum bitrate. Lowering tolerance too much has an adverse effect on quality.",
77 #if FF_API_DROPCHANGED
104 {
"qcomp",
"video quantizer scale compression (VBR). Constant of ratecontrol equation. "
105 "Recommended range for default rc_eq: 0.0-1.0",
110 {
"qdiff",
"maximum difference between the quantizer scales (VBR)",
OFFSET(max_qdiff),
AV_OPT_TYPE_INT, {.i64 = 3 }, INT_MIN, INT_MAX,
V|
E},
112 {
"b_qfactor",
"QP factor between P- and B-frames",
OFFSET(b_quant_factor),
AV_OPT_TYPE_FLOAT, {.dbl = 1.25 }, -FLT_MAX, FLT_MAX,
V|
E},
124 {
"edge",
"edge padding bug (autodetected per FOURCC/version)", 0,
AV_OPT_TYPE_CONST, {.i64 =
FF_BUG_EDGE }, INT_MIN, INT_MAX,
V|
D, .unit =
"bug"},
127 {
"ms",
"work around various bugs in Microsoft's broken decoders", 0,
AV_OPT_TYPE_CONST, {.i64 =
FF_BUG_MS }, INT_MIN, INT_MAX,
V|
D, .unit =
"bug"},
130 {
"strict",
"how strictly to follow the standards",
OFFSET(strict_std_compliance),
AV_OPT_TYPE_INT, {.i64 =
DEFAULT }, INT_MIN, INT_MAX,
A|
V|
D|
E, .unit =
"strict"},
136 {
"b_qoffset",
"QP offset between P- and B-frames",
OFFSET(b_quant_offset),
AV_OPT_TYPE_FLOAT, {.dbl = 1.25 }, -FLT_MAX, FLT_MAX,
V|
E},
137 {
"err_detect",
"set error detection flags",
OFFSET(err_recognition),
AV_OPT_TYPE_FLAGS, {.i64 = 0 }, INT_MIN, INT_MAX,
A|
V|
S|
D|
E, .unit =
"err_detect"},
143 {
"careful",
"consider things that violate the spec, are fast to check and have not been seen in the wild as errors", 0,
AV_OPT_TYPE_CONST, {.i64 =
AV_EF_CAREFUL }, INT_MIN, INT_MAX,
A|
V|
S|
D|
E, .unit =
"err_detect"},
150 {
"minrate",
"minimum bitrate (in bits/s). Most useful in setting up a CBR encode. It is of little use otherwise.",
153 {
"i_qfactor",
"QP factor between P- and I-frames",
OFFSET(i_quant_factor),
AV_OPT_TYPE_FLOAT, {.dbl = -0.8 }, -FLT_MAX, FLT_MAX,
V|
E},
154 {
"i_qoffset",
"QP offset between P- and I-frames",
OFFSET(i_quant_offset),
AV_OPT_TYPE_FLOAT, {.dbl = 0.0 }, -FLT_MAX, FLT_MAX,
V|
E},
163 {
"lumi_mask",
"compresses bright areas stronger than medium ones",
OFFSET(lumi_masking),
AV_OPT_TYPE_FLOAT, {.dbl = 0 }, -FLT_MAX, FLT_MAX,
V|
E},
164 {
"tcplx_mask",
"temporal complexity masking",
OFFSET(temporal_cplx_masking),
AV_OPT_TYPE_FLOAT, {.dbl = 0 }, -FLT_MAX, FLT_MAX,
V|
E},
165 {
"scplx_mask",
"spatial complexity masking",
OFFSET(spatial_cplx_masking),
AV_OPT_TYPE_FLOAT, {.dbl = 0 }, -FLT_MAX, FLT_MAX,
V|
E},
167 {
"dark_mask",
"compresses dark areas stronger than medium ones",
OFFSET(dark_masking),
AV_OPT_TYPE_FLOAT, {.dbl = 0 }, -FLT_MAX, FLT_MAX,
V|
E},
180 {
"xvidmmx",
"deprecated, for compatibility only", 0,
AV_OPT_TYPE_CONST, {.i64 =
FF_IDCT_XVID }, INT_MIN, INT_MAX,
V|
E|
D, .unit =
"idct"},
183 {
"ec",
"set error concealment strategy",
OFFSET(error_concealment),
AV_OPT_TYPE_FLAGS, {.i64 = 3 }, INT_MIN, INT_MAX,
V|
D, .unit =
"ec"},
207 {
"last_pred",
"amount of motion predictors from the previous frame",
OFFSET(last_predictor_count),
AV_OPT_TYPE_INT, {.i64 =
DEFAULT }, INT_MIN, INT_MAX,
V|
E},
208 {
"pre_dia_size",
"diamond type & size for motion estimation pre-pass",
OFFSET(pre_dia_size),
AV_OPT_TYPE_INT, {.i64 =
DEFAULT }, INT_MIN, INT_MAX,
V|
E},
209 {
"subq",
"sub-pel motion estimation quality",
OFFSET(me_subpel_quality),
AV_OPT_TYPE_INT, {.i64 = 8 }, INT_MIN, INT_MAX,
V|
E},
217 {
"rc_init_occupancy",
"number of bits which should be loaded into the rc buffer before decoding starts",
OFFSET(rc_initial_buffer_occupancy),
AV_OPT_TYPE_INT, {.i64 =
DEFAULT }, INT_MIN, INT_MAX,
V|
E},
218 {
"threads",
"set the number of threads",
OFFSET(thread_count),
AV_OPT_TYPE_INT, {.i64 = 1 }, 0, INT_MAX,
V|
A|
E|
D, .unit =
"threads"},
219 {
"auto",
"autodetect a suitable number of threads to use", 0,
AV_OPT_TYPE_CONST, {.i64 = 0 }, INT_MIN, INT_MAX,
V|
E|
D, .unit =
"threads"},
222 {
"skip_top",
"number of macroblock rows at the top which are skipped",
OFFSET(skip_top),
AV_OPT_TYPE_INT, {.i64 =
DEFAULT }, INT_MIN, INT_MAX,
V|
D},
223 {
"skip_bottom",
"number of macroblock rows at the bottom which are skipped",
OFFSET(skip_bottom),
AV_OPT_TYPE_INT, {.i64 =
DEFAULT }, INT_MIN, INT_MAX,
V|
D},
227 {
"level",
"encoding level, usually corresponding to the profile level, codec-specific",
OFFSET(
level),
AV_OPT_TYPE_INT, {.i64 =
FF_LEVEL_UNKNOWN }, INT_MIN, INT_MAX,
V|
A|
E|
CC, .unit =
"avctx.level"},
229 {
"lowres",
"decode at 1= 1/2, 2=1/4, 3=1/8 resolutions",
OFFSET(
lowres),
AV_OPT_TYPE_INT, {.i64 = 0 }, 0, INT_MAX,
V|
A|
D},
234 {
"precmp",
"pre motion estimation compare function",
OFFSET(me_pre_cmp),
AV_OPT_TYPE_INT, {.i64 =
DEFAULT }, INT_MIN, INT_MAX,
V|
E, .unit =
"cmp_func"},
235 {
"sad",
"sum of absolute differences, fast", 0,
AV_OPT_TYPE_CONST, {.i64 =
FF_CMP_SAD }, INT_MIN, INT_MAX,
V|
E, .unit =
"cmp_func"},
237 {
"satd",
"sum of absolute Hadamard transformed differences", 0,
AV_OPT_TYPE_CONST, {.i64 =
FF_CMP_SATD }, INT_MIN, INT_MAX,
V|
E, .unit =
"cmp_func"},
238 {
"dct",
"sum of absolute DCT transformed differences", 0,
AV_OPT_TYPE_CONST, {.i64 =
FF_CMP_DCT }, INT_MIN, INT_MAX,
V|
E, .unit =
"cmp_func"},
239 {
"psnr",
"sum of squared quantization errors (avoid, low quality)", 0,
AV_OPT_TYPE_CONST, {.i64 =
FF_CMP_PSNR }, INT_MIN, INT_MAX,
V|
E, .unit =
"cmp_func"},
241 {
"rd",
"rate distortion optimal, slow", 0,
AV_OPT_TYPE_CONST, {.i64 =
FF_CMP_RD }, INT_MIN, INT_MAX,
V|
E, .unit =
"cmp_func"},
246 #if CONFIG_SNOW_ENCODER
247 {
"w53",
"5/3 wavelet, only used in snow", 0,
AV_OPT_TYPE_CONST, {.i64 =
FF_CMP_W53 }, INT_MIN, INT_MAX,
V|
E, .unit =
"cmp_func"},
248 {
"w97",
"9/7 wavelet, only used in snow", 0,
AV_OPT_TYPE_CONST, {.i64 =
FF_CMP_W97 }, INT_MIN, INT_MAX,
V|
E, .unit =
"cmp_func"},
252 {
"msad",
"sum of absolute differences, median predicted", 0,
AV_OPT_TYPE_CONST, {.i64 =
FF_CMP_MEDIAN_SAD }, INT_MIN, INT_MAX,
V|
E, .unit =
"cmp_func"},
266 {
"keyint_min",
"minimum interval between IDR-frames",
OFFSET(keyint_min),
AV_OPT_TYPE_INT, {.i64 = 25 }, INT_MIN, INT_MAX,
V|
E},
267 {
"refs",
"reference frames to consider for motion compensation",
OFFSET(refs),
AV_OPT_TYPE_INT, {.i64 = 1 }, INT_MIN, INT_MAX,
V|
E},
275 #if FF_API_TICKS_PER_FRAME
339 {
"ycgco-re",
"YCgCo-R, even add.", 0,
AV_OPT_TYPE_CONST, {.i64 =
AVCOL_SPC_YCGCO_RE }, INT_MIN, INT_MAX,
V|
E|
D, .unit =
"colorspace_type"},
340 {
"ycgco-ro",
"YCgCo-R, odd add.", 0,
AV_OPT_TYPE_CONST, {.i64 =
AVCOL_SPC_YCGCO_RO }, INT_MIN, INT_MAX,
V|
E|
D, .unit =
"colorspace_type"},
362 {
"slices",
"set the number of slices, used in parallelized encoding",
OFFSET(slices),
AV_OPT_TYPE_INT, {.i64 = 0 }, 0, INT_MAX,
V|
E},
399 {
"ignore_level",
"ignore level even if the codec level used is unknown or higher than the maximum supported level reported by the hardware driver", 0,
AV_OPT_TYPE_CONST, { .i64 =
AV_HWACCEL_FLAG_IGNORE_LEVEL }, INT_MIN, INT_MAX,
V |
D, .unit =
"hwaccel_flags" },
400 {
"allow_high_depth",
"allow to output YUV pixel formats with a different chroma sampling than 4:2:0 and/or other than 8 bits per component", 0,
AV_OPT_TYPE_CONST, {.i64 =
AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH }, INT_MIN, INT_MAX,
V |
D, .unit =
"hwaccel_flags"},
402 {
"unsafe_output",
"allow potentially unsafe hwaccel frame output that might require special care to process successfully", 0,
AV_OPT_TYPE_CONST, {.i64 =
AV_HWACCEL_FLAG_UNSAFE_OUTPUT }, INT_MIN, INT_MAX,
V |
D, .unit =
"hwaccel_flags"},
403 {
"extra_hw_frames",
"Number of extra hardware frames to allocate for the user",
OFFSET(extra_hw_frames),
AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX,
V|
D },
404 {
"discard_damaged_percentage",
"Percentage of damaged samples to discard a frame",
OFFSET(discard_damaged_percentage),
AV_OPT_TYPE_INT, {.i64 = 95 }, 0, 100,
V|
D },
405 {
"side_data_prefer_packet",
"Comma-separated list of side data types for which user-supplied (container) data is preferred over coded bytestream",
@ AV_PKT_DATA_DISPLAYMATRIX
This side data contains a 3x3 transformation matrix describing an affine transformation that needs to...
#define AV_EF_EXPLODE
abort decoding on minor error detection
@ AVCOL_PRI_EBU3213
EBU Tech. 3213-E (nothing there) / one of JEDEC P22 group phosphors.
#define AV_EF_CAREFUL
consider things that violate the spec, are fast to calculate and have not been seen in the wild as er...
@ AV_OPT_TYPE_SAMPLE_FMT
Underlying C type is enum AVSampleFormat.
static int apply_cropping(AVCodecContext *avctx, AVFrame *frame)
#define AV_EF_COMPLIANT
consider all spec non compliances as errors
@ AVCOL_SPC_YCGCO_RE
YCgCo-R, even addition of bits.
@ AVCOL_TRC_LINEAR
"Linear transfer characteristics"
@ AV_PKT_DATA_MASTERING_DISPLAY_METADATA
Mastering display metadata (based on SMPTE-2086:2014).
@ AV_AUDIO_SERVICE_TYPE_NB
Not part of ABI.
#define AV_CODEC_FLAG_QSCALE
Use fixed qscale.
#define AV_CODEC_FLAG_UNALIGNED
Allow decoders to produce frames with data planes that are not aligned to CPU requirements (e....
@ AVCOL_RANGE_JPEG
Full range content.
@ AV_AUDIO_SERVICE_TYPE_VOICE_OVER
#define FF_COMPLIANCE_STRICT
Strictly conform to all the things in the spec no matter what consequences.
@ AVCOL_SPC_RGB
order of coefficients is actually GBR, also IEC 61966-2-1 (sRGB), YZX and ST 428-1
@ AVCOL_TRC_BT2020_12
ITU-R BT2020 for 12-bit system.
#define FF_COMPLIANCE_EXPERIMENTAL
Allow nonstandardized experimental things.
#define FF_SUB_CHARENC_MODE_PRE_DECODER
the AVPacket data needs to be recoded to UTF-8 before being fed to the decoder, requires iconv
#define AV_CODEC_FLAG_PSNR
error[?] variables will be set during encoding.
#define FF_BUG_HPEL_CHROMA
@ AV_OPT_TYPE_RATIONAL
Underlying C type is AVRational.
#define FF_COMPRESSION_DEFAULT
double cutoff
resampling cutoff frequency (swr: 6dB point; soxr: 0dB point).
#define AV_CODEC_FLAG_INTERLACED_ME
interlaced motion estimation
#define FF_SUB_CHARENC_MODE_AUTOMATIC
libavcodec will select the mode itself
@ AVCOL_SPC_BT2020_CL
ITU-R BT2020 constant luminance system.
#define AV_CODEC_FLAG_4MV
4 MV per MB allowed / advanced prediction for H.263.
#define AV_HWACCEL_FLAG_IGNORE_LEVEL
Hardware acceleration should be used for decoding even if the codec level used is unknown or higher t...
#define FF_DEBUG_PICT_INFO
#define AV_CODEC_FLAG2_IGNORE_CROP
Discard cropping information from SPS.
#define AV_CODEC_FLAG_GLOBAL_HEADER
Place global headers in extradata instead of every keyframe.
@ AV_FIELD_BT
Bottom coded first, top displayed first.
@ AVCOL_SPC_BT470BG
also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM / IEC 61966-2-4 xvYCC601
@ AV_PKT_DATA_REPLAYGAIN
This side data should be associated with an audio stream and contains ReplayGain information in form ...
#define AV_CODEC_FLAG_OUTPUT_CORRUPT
Output even those frames that might be corrupted.
@ AV_FIELD_TT
Top coded_first, top displayed first.
#define AV_CODEC_FLAG_COPY_OPAQUE
@ AVCOL_TRC_IEC61966_2_1
IEC 61966-2-1 (sRGB or sYCC)
#define AV_CODEC_FLAG_FRAME_DURATION
Signal to the encoder that the values of AVFrame.duration are valid and should be used (typically for...
#define FF_BUG_QPEL_CHROMA2
#define FF_BUG_MS
Work around various bugs in Microsoft's broken decoders.
#define AV_EF_BITSTREAM
detect bitstream specification deviations
@ AVCOL_TRC_GAMMA28
also ITU-R BT470BG
@ AVDISCARD_NONE
discard nothing
#define FF_SUB_CHARENC_MODE_DO_NOTHING
do nothing (demuxer outputs a stream supposed to be already in UTF-8, or the codec is bitmap for inst...
#define AV_CODEC_FLAG_LOW_DELAY
Force low delay.
#define AV_CODEC_FLAG2_NO_OUTPUT
Skip bitstream encoding.
@ AVCOL_TRC_LOG_SQRT
"Logarithmic transfer characteristic (100 * Sqrt(10) : 1 range)"
#define AV_CODEC_FLAG_LOOP_FILTER
loop filter.
@ AV_FIELD_TB
Top coded first, bottom displayed first.
@ AVCOL_TRC_GAMMA22
also ITU-R BT470M / ITU-R BT1700 625 PAL & SECAM
#define AV_CODEC_FLAG_INTERLACED_DCT
Use interlaced DCT.
#define AV_CODEC_FLAG_DROPCHANGED
Don't output frames whose parameters differ from first decoded frame in stream.
#define FF_IDCT_SIMPLEAUTO
#define AV_PROFILE_UNKNOWN
#define AV_HWACCEL_FLAG_UNSAFE_OUTPUT
Some hardware decoders (namely nvdec) can either output direct decoder surfaces, or make an on-device...
@ AVCOL_TRC_BT1361_ECG
ITU-R BT1361 Extended Colour Gamut.
@ AVCOL_SPC_SMPTE170M
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC / functionally identical to above
static enum AVPixelFormat pix_fmt
#define AV_CODEC_EXPORT_DATA_PRFT
Export encoder Producer Reference Time through packet side data.
#define FF_BUG_NO_PADDING
#define AV_EF_IGNORE_ERR
ignore errors and continue
@ AV_OPT_TYPE_INT64
Underlying C type is int64_t.
@ AV_PKT_DATA_STEREO3D
This side data should be associated with a video stream and contains Stereoscopic 3D information in f...
@ AVCOL_PRI_SMPTE428
SMPTE ST 428-1 (CIE 1931 XYZ)
@ AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED
#define AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH
Hardware acceleration can output YUV pixel formats with a different chroma sampling than 4:2:0 and/or...
@ AVCOL_PRI_SMPTE240M
identical to above, also called "SMPTE C" even though it uses D65
@ AVCOL_SPC_IPT_C2
SMPTE ST 2128, IPT-C2.
#define FF_BUG_DIRECT_BLOCKSIZE
@ AVDISCARD_BIDIR
discard all bidirectional frames
@ AVCOL_SPC_CHROMA_DERIVED_CL
Chromaticity-derived constant luminance system.
@ AVCOL_PRI_BT470BG
also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM
@ AVCOL_PRI_SMPTE170M
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
@ AVDISCARD_ALL
discard all
#define AV_CODEC_FLAG2_SKIP_MANUAL
Do not skip samples and export skip information as frame side data.
#define FF_COMPLIANCE_VERY_STRICT
Strictly conform to an older more strict version of the spec or reference software.
@ AVCHROMA_LOC_LEFT
MPEG-2/4 4:2:0, H.264 default for 4:2:0.
@ AVCHROMA_LOC_TOPLEFT
ITU-R 601, SMPTE 274M 296M S314M(DV 4:1:1), mpeg2 4:2:2.
@ AVCOL_TRC_IEC61966_2_4
IEC 61966-2-4.
@ AV_OPT_TYPE_IMAGE_SIZE
Underlying C type is two consecutive integers.
@ AVCOL_PRI_BT709
also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP 177 Annex B
#define AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH
Hardware acceleration should still be attempted for decoding when the codec profile does not match th...
#define AV_CODEC_FLAG2_FAST
Allow non spec compliant speedup tricks.
int log_level_offset
logging level offset
#define AV_CODEC_FLAG_AC_PRED
H.263 advanced intra coding / MPEG-4 AC prediction.
@ AVCOL_TRC_BT2020_10
ITU-R BT2020 for 10-bit system.
#define FF_MB_DECISION_SIMPLE
uses mb_cmp
#define FF_IDCT_SIMPLEARM
@ AVCOL_SPC_YCGCO
used by Dirac / VC-2 and H.264 FRext, see ITU-T SG16
@ AV_AUDIO_SERVICE_TYPE_EMERGENCY
#define AV_CODEC_FLAG2_ICC_PROFILES
Generate/parse ICC profiles on encode/decode, as appropriate for the type of file.
@ AV_OPT_TYPE_CHLAYOUT
Underlying C type is AVChannelLayout.
#define AV_EF_CRCCHECK
Verify checksums embedded in the bitstream (could be of either encoded or decoded data,...
#define FF_CMP_MEDIAN_SAD
@ AV_PKT_DATA_CONTENT_LIGHT_LEVEL
Content light level (based on CTA-861.3).
#define AV_PROFILE_HEVC_MAIN_10
@ AVCOL_RANGE_UNSPECIFIED
#define AV_CODEC_EXPORT_DATA_ENHANCEMENTS
Decoding only.
@ AVCOL_PRI_BT2020
ITU-R BT2020.
@ AV_PKT_DATA_SPHERICAL
This side data should be associated with a video stream and corresponds to the AVSphericalMapping str...
static const AVColorPrimariesDesc color_primaries[AVCOL_PRI_NB]
@ AVCOL_TRC_SMPTE2084
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems.
@ AVCOL_PRI_SMPTE431
SMPTE ST 431-2 (2011) / DCI P3.
#define FF_DEBUG_DCT_COEFF
#define AV_CODEC_FLAG_QPEL
Use qpel MC.
@ AVDISCARD_NONKEY
discard all frames except keyframes
#define AV_CODEC_FLAG_GRAY
Only decode/encode grayscale.
@ AVDISCARD_DEFAULT
discard useless packets like 0 size packets in avi
@ AVCOL_PRI_FILM
colour filters using Illuminant C
#define FF_IDCT_SIMPLEARMV6
@ AVCOL_SPC_YCGCO_RO
YCgCo-R, odd addition of bits.
@ AVCOL_TRC_LOG
"Logarithmic transfer characteristic (100:1 range)"
#define FF_THREAD_SLICE
Decode more than one part of a single frame at once.
@ AVCHROMA_LOC_UNSPECIFIED
#define AV_CODEC_FLAG_PASS2
Use internal 2pass ratecontrol in second pass mode.
#define FF_COMPLIANCE_NORMAL
#define FF_COMPLIANCE_UNOFFICIAL
Allow unofficial extensions.
@ AVCOL_SPC_CHROMA_DERIVED_NCL
Chromaticity-derived non-constant luminance system.
@ AVCOL_TRC_BT709
also ITU-R BT1361
#define FF_THREAD_FRAME
Decode more than one frame at once.
@ AV_OPT_TYPE_FLOAT
Underlying C type is float.
@ AVCOL_SPC_SMPTE240M
derived from 170M primaries and D65 white point, 170M is derived from BT470 System M's primaries
#define AV_OPT_FLAG_DEPRECATED
Set if option is deprecated, users should refer to AVOption.help text for more information.
static int bidir_refine(MpegEncContext *s, int mb_x, int mb_y)
#define AV_CODEC_FLAG_RECON_FRAME
Request the encoder to output reconstructed frames, i.e. frames that would be produced by decoding th...
@ AVDISCARD_NONINTRA
discard all non intra frames
#define AV_CODEC_FLAG2_SHOW_ALL
Show all frames before the first keyframe.
@ AVCOL_SPC_BT2020_NCL
ITU-R BT2020 non-constant luminance system.
#define FF_IDCT_SIMPLENEON
@ AV_FIELD_BB
Bottom coded first, bottom displayed first.
@ AV_PKT_DATA_ICC_PROFILE
ICC profile data consisting of an opaque octet buffer following the format described by ISO 15076-1.
#define FF_BUG_AUTODETECT
autodetection
#define FF_DEBUG_STARTCODE
@ AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED
#define FF_BUG_QPEL_CHROMA
@ AVCOL_RANGE_MPEG
Narrow or limited range content.
#define AV_CODEC_DEFAULT_BITRATE
#define AV_CODEC_FLAG_CLOSED_GOP
@ AVCOL_PRI_BT470M
also FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
#define AV_EF_AGGRESSIVE
consider things that a sane encoder/muxer should not do as an error
#define FF_DEBUG_GREEN_MD
@ AV_AUDIO_SERVICE_TYPE_KARAOKE
#define AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS
Decoding only.
#define AV_CODEC_FLAG2_CHUNKS
Input bitstream might be truncated at a packet boundaries instead of only at frame boundaries.
@ AVCOL_TRC_ARIB_STD_B67
ARIB STD-B67, known as "Hybrid log-gamma".
@ AVCHROMA_LOC_CENTER
MPEG-1 4:2:0, JPEG 4:2:0, H.263 4:2:0.
@ AVCOL_SPC_FCC
FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
@ AV_AUDIO_SERVICE_TYPE_COMMENTARY
#define AV_CODEC_FLAG2_LOCAL_HEADER
Place global headers at every keyframe instead of in extradata.
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AVCOL_TRC_SMPTE170M
also ITU-R BT601-6 525 or 625 / ITU-R BT1358 525 or 625 / ITU-R BT1700 NTSC
@ AV_OPT_TYPE_PIXEL_FMT
Underlying C type is enum AVPixelFormat.
#define FF_IDCT_SIMPLEARMV5TE
#define FF_MB_DECISION_RD
rate distortion
@ AV_PKT_DATA_AUDIO_SERVICE_TYPE
This side data should be associated with an audio stream and corresponds to enum AVAudioServiceType.
#define AV_CODEC_EXPORT_DATA_MVS
Export motion vectors through frame side data.
#define AV_EF_BUFFER
detect improper bitstream length
#define AV_CODEC_FLAG_BITEXACT
Use only bitexact stuff (except (I)DCT).
#define FF_BUG_XVID_ILACE
@ AVCOL_PRI_SMPTE432
SMPTE ST 432-1 (2010) / P3 D65 / Display P3.
#define AV_CODEC_FLAG2_EXPORT_MVS
Export motion vectors through frame side data.
@ AV_AUDIO_SERVICE_TYPE_EFFECTS
#define FF_MB_DECISION_BITS
chooses the one which needs the fewest bits
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
@ AVCOL_SPC_SMPTE2085
SMPTE 2085, Y'D'zD'x.
#define FF_IDCT_SIMPLEMMX
@ AV_OPT_TYPE_FLAGS
Underlying C type is unsigned int.
#define flags(name, subs,...)
static const AVOption avcodec_options[]
@ AVCOL_TRC_SMPTE428
SMPTE ST 428-1.
@ AV_AUDIO_SERVICE_TYPE_DIALOGUE
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...
#define FF_QP2LAMBDA
factor to convert from H.263 QP to lambda
@ AVDISCARD_NONREF
discard all non reference
#define AV_CODEC_FLAG2_RO_FLUSH_NOOP
Do not reset ASS ReadOrder field on flush (subtitles decoding)
#define FF_EC_FAVOR_INTER
@ AVCOL_SPC_BT709
also ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / derived in SMPTE RP 177 Annex B
#define FF_DEBUG_BITSTREAM
@ AVCOL_SPC_ICTCP
ITU-R BT.2100-0, ICtCp.
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.
@ AV_AUDIO_SERVICE_TYPE_MAIN
@ AVCHROMA_LOC_BOTTOMLEFT
#define AV_CODEC_EXPORT_DATA_FILM_GRAIN
Decoding only.
#define AV_CODEC_FLAG_PASS1
Use internal 2pass ratecontrol in first pass mode.
#define FF_SUB_CHARENC_MODE_IGNORE
neither convert the subtitles, nor check them for valid UTF-8