FFmpeg
|
main external API structure. More...
#include <avcodec.h>
Data Fields | |
const AVClass * | av_class |
information on struct for av_log More... | |
int | log_level_offset |
enum AVMediaType | codec_type |
const struct AVCodec * | codec |
attribute_deprecated char | codec_name [32] |
enum AVCodecID | codec_id |
unsigned int | codec_tag |
fourcc (LSB first, so "ABCD" -> ('D'<<24) + ('C'<<16) + ('B'<<8) + 'A'). More... | |
attribute_deprecated unsigned int | stream_codec_tag |
void * | priv_data |
struct AVCodecInternal * | internal |
Private context used for internal data. More... | |
void * | opaque |
Private data of the user, can be used to carry app specific stuff. More... | |
int64_t | bit_rate |
the average bitrate More... | |
int | bit_rate_tolerance |
number of bits the bitstream is allowed to diverge from the reference. More... | |
int | global_quality |
Global quality for codecs which cannot change it per frame. More... | |
int | compression_level |
int | flags |
AV_CODEC_FLAG_*. More... | |
int | flags2 |
AV_CODEC_FLAG2_*. More... | |
uint8_t * | extradata |
some codecs need / can use extradata like Huffman tables. More... | |
int | extradata_size |
AVRational | time_base |
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented. More... | |
int | ticks_per_frame |
For some codecs, the time base is closer to the field rate than the frame rate. More... | |
int | delay |
Codec delay. More... | |
int | width |
picture width / height. More... | |
int | height |
int | coded_width |
Bitstream width / height, may be different from width/height e.g. More... | |
int | coded_height |
int | gop_size |
the number of pictures in a group of pictures, or 0 for intra_only More... | |
enum AVPixelFormat | pix_fmt |
Pixel format, see AV_PIX_FMT_xxx. More... | |
attribute_deprecated int | me_method |
This option does nothing. More... | |
void(* | draw_horiz_band )(struct AVCodecContext *s, const AVFrame *src, int offset[AV_NUM_DATA_POINTERS], int y, int type, int height) |
If non NULL, 'draw_horiz_band' is called by the libavcodec decoder to draw a horizontal band. More... | |
enum AVPixelFormat(* | get_format )(struct AVCodecContext *s, const enum AVPixelFormat *fmt) |
callback to negotiate the pixelFormat More... | |
int | max_b_frames |
maximum number of B-frames between non-B-frames Note: The output will be delayed by max_b_frames+1 relative to the input. More... | |
float | b_quant_factor |
qscale factor between IP and B-frames If > 0 then the last P-frame quantizer will be used (q= lastp_q*factor+offset). More... | |
attribute_deprecated int | rc_strategy |
attribute_deprecated int | b_frame_strategy |
float | b_quant_offset |
qscale offset between IP and B-frames More... | |
int | has_b_frames |
Size of the frame reordering buffer in the decoder. More... | |
attribute_deprecated int | mpeg_quant |
float | i_quant_factor |
qscale factor between P- and I-frames If > 0 then the last P-frame quantizer will be used (q = lastp_q * factor + offset). More... | |
float | i_quant_offset |
qscale offset between P and I-frames More... | |
float | lumi_masking |
luminance masking (0-> disabled) More... | |
float | temporal_cplx_masking |
temporary complexity masking (0-> disabled) More... | |
float | spatial_cplx_masking |
spatial complexity masking (0-> disabled) More... | |
float | p_masking |
p block masking (0-> disabled) More... | |
float | dark_masking |
darkness masking (0-> disabled) More... | |
int | slice_count |
slice count More... | |
attribute_deprecated int | prediction_method |
int * | slice_offset |
slice offsets in the frame in bytes More... | |
AVRational | sample_aspect_ratio |
sample aspect ratio (0 if unknown) That is the width of a pixel divided by the height of the pixel. More... | |
int | me_cmp |
motion estimation comparison function More... | |
int | me_sub_cmp |
subpixel motion estimation comparison function More... | |
int | mb_cmp |
macroblock comparison function (not supported yet) More... | |
int | ildct_cmp |
interlaced DCT comparison function More... | |
int | dia_size |
ME diamond size & shape. More... | |
int | last_predictor_count |
amount of previous MV predictors (2a+1 x 2a+1 square) More... | |
attribute_deprecated int | pre_me |
int | me_pre_cmp |
motion estimation prepass comparison function More... | |
int | pre_dia_size |
ME prepass diamond size & shape. More... | |
int | me_subpel_quality |
subpel ME quality More... | |
attribute_deprecated int | dtg_active_format |
DTG active format information (additional aspect ratio information only used in DVB MPEG-2 transport streams) 0 if not set. More... | |
int | me_range |
maximum motion estimation search range in subpel units If 0 then no limit. More... | |
attribute_deprecated int | intra_quant_bias |
attribute_deprecated int | inter_quant_bias |
int | slice_flags |
slice flags More... | |
int | mb_decision |
macroblock decision mode More... | |
uint16_t * | intra_matrix |
custom intra quantization matrix More... | |
uint16_t * | inter_matrix |
custom inter quantization matrix More... | |
attribute_deprecated int | scenechange_threshold |
attribute_deprecated int | noise_reduction |
attribute_deprecated int | me_threshold |
attribute_deprecated int | mb_threshold |
int | intra_dc_precision |
precision of the intra DC coefficient - 8 More... | |
int | skip_top |
Number of macroblock rows at the top which are skipped. More... | |
int | skip_bottom |
Number of macroblock rows at the bottom which are skipped. More... | |
attribute_deprecated float | border_masking |
int | mb_lmin |
minimum MB Lagrange multiplier More... | |
int | mb_lmax |
maximum MB Lagrange multiplier More... | |
attribute_deprecated int | me_penalty_compensation |
int | bidir_refine |
attribute_deprecated int | brd_scale |
int | keyint_min |
minimum GOP size More... | |
int | refs |
number of reference frames More... | |
attribute_deprecated int | chromaoffset |
attribute_deprecated int | scenechange_factor |
Multiplied by qscale for each frame and added to scene_change_score. More... | |
int | mv0_threshold |
Note: Value depends upon the compare function used for fullpel ME. More... | |
attribute_deprecated int | b_sensitivity |
enum AVColorPrimaries | color_primaries |
Chromaticity coordinates of the source primaries. More... | |
enum AVColorTransferCharacteristic | color_trc |
Color Transfer Characteristic. More... | |
enum AVColorSpace | colorspace |
YUV colorspace type. More... | |
enum AVColorRange | color_range |
MPEG vs JPEG YUV range. More... | |
enum AVChromaLocation | chroma_sample_location |
This defines the location of chroma samples. More... | |
int | slices |
Number of slices. More... | |
enum AVFieldOrder | field_order |
Field order. More... | |
int | sample_rate |
samples per second More... | |
int | channels |
number of audio channels More... | |
enum AVSampleFormat | sample_fmt |
audio sample format More... | |
int | frame_size |
Number of samples per channel in an audio frame. More... | |
int | frame_number |
Frame counter, set by libavcodec. More... | |
int | block_align |
number of bytes per packet if constant and known or 0 Used by some WAV based audio codecs. More... | |
int | cutoff |
Audio cutoff bandwidth (0 means "automatic") More... | |
uint64_t | channel_layout |
Audio channel layout. More... | |
uint64_t | request_channel_layout |
Request decoder to use this channel layout if it can (0 for default) More... | |
enum AVAudioServiceType | audio_service_type |
Type of service that the audio stream conveys. More... | |
enum AVSampleFormat | request_sample_fmt |
desired sample format More... | |
int(* | get_buffer2 )(struct AVCodecContext *s, AVFrame *frame, int flags) |
This callback is called at the beginning of each frame to get data buffer(s) for it. More... | |
attribute_deprecated int | refcounted_frames |
If non-zero, the decoded audio and video frames returned from avcodec_decode_video2() and avcodec_decode_audio4() are reference-counted and are valid indefinitely. More... | |
float | qcompress |
amount of qscale change between easy & hard scenes (0.0-1.0) More... | |
float | qblur |
amount of qscale smoothing over time (0.0-1.0) More... | |
int | qmin |
minimum quantizer More... | |
int | qmax |
maximum quantizer More... | |
int | max_qdiff |
maximum quantizer difference between frames More... | |
attribute_deprecated float | rc_qsquish |
attribute_deprecated float | rc_qmod_amp |
attribute_deprecated int | rc_qmod_freq |
int | rc_buffer_size |
decoder bitstream buffer size More... | |
int | rc_override_count |
ratecontrol override, see RcOverride More... | |
RcOverride * | rc_override |
attribute_deprecated const char * | rc_eq |
int64_t | rc_max_rate |
maximum bitrate More... | |
int64_t | rc_min_rate |
minimum bitrate More... | |
attribute_deprecated float | rc_buffer_aggressivity |
attribute_deprecated float | rc_initial_cplx |
float | rc_max_available_vbv_use |
Ratecontrol attempt to use, at maximum, of what can be used without an underflow. More... | |
float | rc_min_vbv_overflow_use |
Ratecontrol attempt to use, at least, times the amount needed to prevent a vbv overflow. More... | |
int | rc_initial_buffer_occupancy |
Number of bits which should be loaded into the rc buffer before decoding starts. More... | |
attribute_deprecated int | coder_type |
attribute_deprecated int | context_model |
attribute_deprecated int | lmin |
attribute_deprecated int | lmax |
attribute_deprecated int | frame_skip_threshold |
attribute_deprecated int | frame_skip_factor |
attribute_deprecated int | frame_skip_exp |
attribute_deprecated int | frame_skip_cmp |
int | trellis |
trellis RD quantization More... | |
attribute_deprecated int | min_prediction_order |
attribute_deprecated int | max_prediction_order |
attribute_deprecated int64_t | timecode_frame_start |
attribute_deprecated void(* | rtp_callback )(struct AVCodecContext *avctx, void *data, int size, int mb_nb) |
attribute_deprecated int | rtp_payload_size |
attribute_deprecated int | mv_bits |
attribute_deprecated int | header_bits |
attribute_deprecated int | i_tex_bits |
attribute_deprecated int | p_tex_bits |
attribute_deprecated int | i_count |
attribute_deprecated int | p_count |
attribute_deprecated int | skip_count |
attribute_deprecated int | misc_bits |
attribute_deprecated int | frame_bits |
char * | stats_out |
pass1 encoding statistics output buffer More... | |
char * | stats_in |
pass2 encoding statistics input buffer Concatenated stuff from stats_out of pass1 should be placed here. More... | |
int | workaround_bugs |
Work around bugs in encoders which sometimes cannot be detected automatically. More... | |
int | strict_std_compliance |
strictly follow the standard (MPEG-4, ...). More... | |
int | error_concealment |
error concealment flags More... | |
int | debug |
debug More... | |
int | debug_mv |
debug More... | |
int | err_recognition |
Error recognition; may misdetect some more or less valid parts as errors. More... | |
int64_t | reordered_opaque |
opaque 64-bit number (generally a PTS) that will be reordered and output in AVFrame.reordered_opaque More... | |
struct AVHWAccel * | hwaccel |
Hardware accelerator in use. More... | |
void * | hwaccel_context |
Hardware accelerator context. More... | |
uint64_t | error [AV_NUM_DATA_POINTERS] |
error More... | |
int | dct_algo |
DCT algorithm, see FF_DCT_* below. More... | |
int | idct_algo |
IDCT algorithm, see FF_IDCT_* below. More... | |
int | bits_per_coded_sample |
bits per sample/pixel from the demuxer (needed for huffyuv). More... | |
int | bits_per_raw_sample |
Bits per sample/pixel of internal libavcodec pixel/sample format. More... | |
int | lowres |
low resolution decoding, 1-> 1/2 size, 2->1/4 size More... | |
attribute_deprecated AVFrame * | coded_frame |
the picture in the bitstream More... | |
int | thread_count |
thread count is used to decide how many independent tasks should be passed to execute() More... | |
int | thread_type |
Which multithreading methods to use. More... | |
int | active_thread_type |
Which multithreading methods are in use by the codec. More... | |
int | thread_safe_callbacks |
Set by the client if its custom get_buffer() callback can be called synchronously from another thread, which allows faster multithreaded decoding. More... | |
int(* | execute )(struct AVCodecContext *c, int(*func)(struct AVCodecContext *c2, void *arg), void *arg2, int *ret, int count, int size) |
The codec may call this to execute several independent things. More... | |
int(* | execute2 )(struct AVCodecContext *c, int(*func)(struct AVCodecContext *c2, void *arg, int jobnr, int threadnr), void *arg2, int *ret, int count) |
The codec may call this to execute several independent things. More... | |
int | nsse_weight |
noise vs. More... | |
int | profile |
profile More... | |
int | level |
level More... | |
enum AVDiscard | skip_loop_filter |
Skip loop filtering for selected frames. More... | |
enum AVDiscard | skip_idct |
Skip IDCT/dequantization for selected frames. More... | |
enum AVDiscard | skip_frame |
Skip decoding for selected frames. More... | |
uint8_t * | subtitle_header |
Header containing style information for text subtitles. More... | |
int | subtitle_header_size |
attribute_deprecated int | error_rate |
attribute_deprecated uint64_t | vbv_delay |
VBV delay coded in the last frame (in periods of a 27 MHz clock). More... | |
attribute_deprecated int | side_data_only_packets |
Encoding only and set by default. More... | |
int | initial_padding |
Audio only. More... | |
AVRational | framerate |
enum AVPixelFormat | sw_pix_fmt |
Nominal unaccelerated pixel format, see AV_PIX_FMT_xxx. More... | |
AVRational | pkt_timebase |
Timebase in which pkt_dts/pts and AVPacket.dts/pts are. More... | |
const AVCodecDescriptor * | codec_descriptor |
AVCodecDescriptor. More... | |
int64_t | pts_correction_num_faulty_pts |
Current statistics for PTS correction. More... | |
int64_t | pts_correction_num_faulty_dts |
Number of incorrect PTS values so far. More... | |
int64_t | pts_correction_last_pts |
Number of incorrect DTS values so far. More... | |
int64_t | pts_correction_last_dts |
PTS of the last frame. More... | |
char * | sub_charenc |
DTS of the last frame. More... | |
int | sub_charenc_mode |
Subtitles character encoding mode. More... | |
int | skip_alpha |
Skip processing alpha if supported by codec. More... | |
int | seek_preroll |
Number of samples to skip after a discontinuity. More... | |
uint16_t * | chroma_intra_matrix |
custom intra quantization matrix More... | |
uint8_t * | dump_separator |
dump format separator. More... | |
char * | codec_whitelist |
',' separated list of allowed decoders. More... | |
unsigned | properties |
Properties of the stream that gets decoded. More... | |
AVPacketSideData * | coded_side_data |
Additional data associated with the entire coded stream. More... | |
int | nb_coded_side_data |
AVBufferRef * | hw_frames_ctx |
A reference to the AVHWFramesContext describing the input (for encoding) or output (decoding) frames. More... | |
int | sub_text_format |
Control the form of AVSubtitle.rects[N]->ass. More... | |
int | trailing_padding |
Audio only. More... | |
int64_t | max_pixels |
The number of pixels per image to maximally accept. More... | |
AVBufferRef * | hw_device_ctx |
A reference to the AVHWDeviceContext describing the device which will be used by a hardware encoder/decoder. More... | |
int | hwaccel_flags |
Bit set of AV_HWACCEL_FLAG_* flags, which affect hardware accelerated decoding (if active). More... | |
int | apply_cropping |
Video decoding only. More... | |
main external API structure.
New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. You can use AVOptions (av_opt* / av_set/get*()) to access these fields from user applications. The name string for AVOptions options matches the associated command line parameter name and can be found in libavcodec/options_table.h The AVOption/command line parameter names differ in some cases from the C structure field names for historic reasons or brevity. sizeof(AVCodecContext) must not be used outside libav*.
const AVClass* AVCodecContext::av_class |
information on struct for av_log
Definition at line 1766 of file avcodec.h.
Referenced by init_context_defaults().
enum AVMediaType AVCodecContext::codec_type |
Definition at line 1769 of file avcodec.h.
Referenced by add_av_stream(), add_codec(), av_parser_parse2(), avcodec_default_get_buffer2(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_receive_frame(), avcodec_string(), avformat_find_stream_info(), check_video_streams(), compute_bandwidth(), configure_input_audio_filter(), configure_input_video_filter(), decoder_decode_frame(), do_encode(), do_streamcopy(), do_video_stats(), ff_pixblockdsp_init(), ffserver_opt_preset(), ffserver_parse_config_stream(), ffserver_set_codec(), find_video_stream_info(), flush_encoders(), get_bit_rate(), get_buffer_internal(), has_codec_parameters(), init_context_defaults(), init_filter(), init_input_filter(), init_output_stream_encode(), LLVMFuzzerTestOneInput(), new_audio_stream(), new_output_stream(), new_subtitle_stream(), open_input_file(), open_input_stream(), open_output_file(), print_final_stats(), print_report(), process_input(), process_input_packet(), reget_buffer_internal(), release_delayed_buffers(), seek_to_start(), stream_component_open(), try_decode_frame(), update_frame_pool(), validate_avframe_allocation(), and write_packet().
const struct AVCodec* AVCodecContext::codec |
Definition at line 1770 of file avcodec.h.
Referenced by a64multi_encode_init(), add_av_stream1(), adpcm_compress_trellis(), adpcm_decode_frame(), adpcm_decode_init(), adpcm_encode_frame(), adpcm_encode_init(), alloc_frame_buffer(), apply_param_change(), avcodec_close(), avcodec_copy_context(), avcodec_decode_subtitle2(), avcodec_encode_audio2(), avcodec_encode_subtitle(), avcodec_encode_video2(), avcodec_flush_buffers(), avcodec_open2(), avcodec_receive_frame(), avcodec_receive_packet(), avcodec_send_frame(), avcodec_send_packet(), avcodec_string(), avformat_find_stream_info(), binkaudio_receive_frame(), bsfs_init(), codec_child_next(), compat_decode(), config_input(), context_to_name(), cuvid_decode_init(), cuvid_test_capabilities(), decode_end(), decode_init(), decode_nal_units(), decode_receive_frame_internal(), decode_simple_internal(), do_video_out(), dpcm_decode_frame(), dpcm_decode_init(), dump_stream_format(), eightsvx_decode_init(), encode_init(), er_supported(), ff_decode_get_packet(), ff_frame_thread_encoder_init(), ff_frame_thread_free(), ff_frame_thread_init(), ff_get_format(), ff_h263_decode_frame(), ff_h263_decode_init(), ff_h264_execute_decode_slices(), ff_h264_field_end(), ff_init_buffer_info(), ff_mjpeg_decode_init(), ff_mjpeg_encode_picture_header(), ff_mjpeg_init_hvsample(), ff_mpeg_framesize_alloc(), ff_mpv_decode_init(), ff_mpv_encode_init(), ff_mpv_frame_start(), ff_print_debug_info2(), ff_slice_thread_init(), ff_snow_get_buffer(), ff_thread_can_start_frame(), ff_thread_flush(), ff_v4l2_m2m_codec_full_reinit(), ff_vc1_parse_frame_header(), ff_wma_init(), ffmmal_init_decoder(), ffserver_save_avoption(), ffserver_set_codec(), flush_encoders(), frame_worker_thread(), get_buffer_internal(), get_category(), get_nb_samples(), get_pixel_format(), h263_get_format(), h264_frame_start(), h264_slice_header_init(), hap_decode(), init(), init_band_stepsize(), init_context_defaults(), init_output_stream(), mpeg_decode_init(), nvenc_codec_specific_pic_params(), nvenc_setup_codec_config(), nvenc_setup_device(), nvenc_setup_encoder(), omx_component_init(), omx_encode_init(), open_audio(), pcm_decode_frame(), pcm_decode_init(), pcm_encode_frame(), pcm_encode_init(), process_frame(), process_output_surface(), reap_filters(), show_stream(), submit_packet(), test_copy(), test_copy_print_codec(), thread_get_buffer_internal(), try_decode_frame(), try_decode_video_frame(), update_context_from_thread(), v4l2_configure_contexts(), v4l2_get_framesize_compressed(), vaapi_mpeg4_start_frame(), validate_thread_parameters(), vc1_decode_frame(), vc1_decode_init(), vdadec_init(), vdpau_mpeg4_start_frame(), vp6_decode_init(), vp78_decode_frame(), vp78_decode_init(), and wma_decode_init().
attribute_deprecated char AVCodecContext::codec_name[32] |
enum AVCodecID AVCodecContext::codec_id |
Definition at line 1778 of file avcodec.h.
Referenced by add_av_stream(), add_stream(), adpcm_encode_frame(), alloc_frame_buffer(), amr_decode_fix_avctx(), atrac3_decode_init(), atrac3p_decode_frame(), av_get_audio_frame_duration(), av_parser_parse2(), av_vdpau_get_profile(), avcodec_align_dimensions2(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), avformat_find_stream_info(), avpriv_mpa_decode_header(), choose_pix_fmts(), choose_pixel_fmt(), commit_bitstream_and_slice_buffer(), cyuv_decode_frame(), decode_end(), decode_frame(), decode_frame_common(), decode_idat_chunk(), decode_init(), decode_mb(), decode_nal_units(), decode_packet(), decode_video(), determinable_frame_size(), do_subtitle_out(), dump_video_param(), dxva2_vc1_decode_slice(), dxva_adjust_hwframes(), dxva_check_codec_compatibility(), dxva_get_decoder_configuration(), encode_apng(), encode_frame(), encode_init(), encode_mb(), estimate_best_b_count(), ff_aac_ac3_parse(), ff_ac3_encode_init(), ff_AMediaCodecProfile_getProfileFromAVCodecContext(), ff_draw_horiz_band(), ff_er_frame_end(), ff_frame_thread_encoder_init(), ff_h263_decode_frame(), ff_init_me(), ff_mjpeg_encode_picture_header(), ff_mjpeg_find_marker(), ff_mpeg_unref_picture(), ff_mpv_encode_init(), ff_pnm_decode_header(), ff_print_debug_info2(), ff_psy_init(), ff_psy_preprocess_init(), ff_qsv_process_data(), ff_rv34_decode_init(), ff_slice_thread_init(), ff_thread_decode_frame(), ff_vc1_decode_init_alloc_tables(), ff_vc1_parse_frame_header(), ff_vdpau_common_init(), ffat_create_decoder(), ffat_decode(), ffat_get_magic_cookie(), ffat_init_encoder(), ffat_update_ctx(), ffat_usable_extradata(), ffmmal_init_decoder(), ffserver_opt_preset(), ffserver_parse_config_stream(), ffserver_save_avoption(), ffserver_set_codec(), fill_slice(), g729_parse(), get_bit_rate(), get_rate(), gsm_decode_frame(), gsm_init(), gsm_parse(), h264_slice_header_init(), handle_rstn(), has_codec_parameters(), imc_decode_block(), imc_decode_init(), init_context_defaults(), init_input_stream(), init_output_stream_encode(), init_video_param(), is_intra_more_likely(), ivi_decode_blocks(), jpeg_table_header(), libgsm_decode_init(), libgsm_encode_frame(), libgsm_encode_init(), libgsm_flush(), mace_decode_frame(), main(), mediacodec_decode_init(), mlp_encode_init(), mpeg1_decode_sequence(), mpeg_decode_postinit(), mpeg_decode_sequence_extension(), mpeg_get_pixelformat(), mpegaudio_parse(), mpegvideo_extract_headers(), mvc_decode_frame(), mvc_decode_init(), open_output_file(), parse(), pcm_decode_frame(), pcm_decode_init(), png_write_image_data(), qsv_decode_init(), qsv_retrieve_enc_params(), read_access_unit(), read_frame_internal(), read_major_sync(), read_matrix_params(), read_restart_header(), rkmpp_get_codingtype(), rkmpp_init_decoder(), rv34_parse(), set_mv_strides(), set_pix_fmt(), setup_hwaccel(), sp5x_decode_frame(), stream_component_open(), tb_unreliable(), try_decode_frame(), try_decode_video_frame(), update_stream_avctx(), v408_decode_frame(), v408_encode_frame(), v4l2_decode_init(), v4l2_encode_init(), v4l2_prepare_encoder(), vaapi_decode_make_config(), vaapi_vc1_decode_slice(), vc1_decode_frame(), vc1_decode_init(), vcr2_init_sequence(), vp3_decode_init(), vpx_decode(), vpx_free(), vpx_init(), vtenc_init(), write_major_sync(), X264_init(), xma_decode_init(), and xvid_encode_init().
unsigned int AVCodecContext::codec_tag |
fourcc (LSB first, so "ABCD" -> ('D'<<24) + ('C'<<16) + ('B'<<8) + 'A').
This is used to work around some encoder bugs. A demuxer should set this to what is stored in the field used to identify the codec. If there are multiple such fields in a container then the demuxer should choose the one which maximizes the information about the used codec. If the codec tag field in a container is larger than 32 bits then the demuxer should remap the longer ID to 32 bits with a table or other structure. Alternatively a new extra_codec_tag + size could be added but for this a clear advantage must be demonstrated first.
Definition at line 1793 of file avcodec.h.
Referenced by a64multi_encode_init(), aasc_decode_frame(), av_get_audio_frame_duration(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), avformat_find_stream_info(), avformat_transfer_internal_stream_timing_info(), bitpacked_init_decoder(), clv_decode_frame(), decode_frame(), decode_frame_common(), decode_init(), dnxhd_encode_init(), dpcm_decode_frame(), dpcm_decode_init(), encode_init(), extract_header(), ff_dv_frame_profile(), ff_h263_decode_init(), ff_h264_decode_seq_parameter_set(), ff_mjpeg_decode_init(), ff_mjpeg_decode_sos(), ff_mpv_decode_init(), ff_update_duplicate_context(), hap_init(), hap_parse_frame_header(), init_duplicate_context(), libspeex_decode_init(), mjpeg_decode_com(), mpeg_decode_frame(), mpeg_decode_init(), new_output_stream(), on2avc_decode_init(), prores_encode_init(), raw_encode(), raw_encode_init(), raw_init_decoder(), rscc_init(), speedhq_decode_init(), tb_unreliable(), utvideo_encode_init(), videotoolbox_retrieve_data(), vp3_decode_init(), xsub_encoder_init(), xvid_encode_init(), zero12v_decode_frame(), and zero12v_decode_init().
attribute_deprecated unsigned int AVCodecContext::stream_codec_tag |
void* AVCodecContext::priv_data |
Definition at line 1803 of file avcodec.h.
Referenced by a64multi_close_encoder(), a64multi_encode_frame(), a64multi_encode_init(), aac_decode_close(), aac_decode_er_frame(), aac_decode_frame(), aac_decode_frame_int(), aac_decode_init(), aac_encode_close(), aac_encode_end(), aac_encode_frame(), aac_encode_init(), aasc_decode_end(), aasc_decode_frame(), aasc_decode_init(), ac3_decode_end(), ac3_decode_frame(), ac3_decode_init(), ac3_fixed_encode_init(), add_codec(), add_color_attr(), adpcm_compress_trellis(), adpcm_decode_frame(), adpcm_decode_init(), adpcm_encode_close(), adpcm_encode_frame(), adpcm_encode_init(), adpcm_flush(), adpcm_swf_decode(), adx_decode_flush(), adx_decode_frame(), adx_decode_init(), adx_encode_frame(), adx_encode_header(), adx_encode_init(), aic_decode_close(), aic_decode_frame(), aic_decode_init(), al_decode_frame(), alac_decode_close(), alac_decode_frame(), alac_decode_init(), alac_encode_close(), alac_encode_frame(), alac_encode_init(), alloc_buffers(), allocate_buffers(), allocate_tables(), amr_wb_encode_close(), amr_wb_encode_frame(), amr_wb_encode_init(), amrnb_decode_frame(), amrnb_decode_init(), amrwb_decode_frame(), amrwb_decode_init(), ape_decode_close(), ape_decode_frame(), ape_decode_init(), ape_flush(), apng_encode_frame(), append_to_cached_buf(), apply_window_and_mdct(), ass_encode_frame(), atrac1_decode_end(), atrac1_decode_frame(), atrac1_decode_init(), atrac3_decode_close(), atrac3_decode_frame(), atrac3_decode_init(), atrac3p_decode_close(), atrac3p_decode_frame(), atrac3p_decode_init(), avcodec_close(), avcodec_copy_context(), avcodec_open2(), avpriv_h264_has_num_reorder_frames(), avs_decode_end(), avs_decode_frame(), avs_decode_init(), bethsoftvid_decode_end(), bethsoftvid_decode_frame(), bethsoftvid_decode_init(), bfi_decode_close(), bfi_decode_frame(), bfi_decode_init(), binkaudio_receive_frame(), bitpacked_decode(), bitpacked_init_decoder(), build_color_map(), build_huffman(), cavs_decode_frame(), cavs_flush(), cdg_decode_end(), cdg_decode_frame(), cdg_decode_init(), cdxl_decode_end(), cdxl_decode_frame(), cdxl_decode_init(), cfhd_close_decoder(), cfhd_decode(), cfhd_decode_init(), check_cu(), cinaudio_decode_frame(), cinaudio_decode_init(), cinepak_decode_end(), cinepak_decode_frame(), cinepak_decode_init(), cinepak_encode_end(), cinepak_encode_frame(), cinepak_encode_init(), cinvideo_decode_end(), cinvideo_decode_frame(), cinvideo_decode_init(), cllc_decode_close(), cllc_decode_frame(), cllc_decode_init(), close_decoder(), clv_decode_end(), clv_decode_frame(), clv_decode_init(), cmap_read_palette(), cmv_decode_end(), cmv_decode_frame(), cmv_decode_init(), cng_decode_close(), cng_decode_flush(), cng_decode_frame(), cng_decode_init(), cng_encode_close(), cng_encode_frame(), cng_encode_init(), codec_child_next(), codec_reinit(), codecctl_int(), combine_residual_frame(), commit_bitstream_and_slice_buffer(), compress_texture(), cook_decode_close(), cook_decode_frame(), cook_decode_init(), copy_frame(), copy_processed_frame(), count_colors(), cpia_decode_end(), cpia_decode_frame(), cpia_decode_init(), create_cv_pixel_buffer(), crystalhd_decode_packet(), crystalhd_receive_frame(), cuvid_decode_end(), cuvid_decode_frame(), cuvid_decode_init(), cuvid_decode_packet(), cuvid_flush(), cuvid_handle_picture_decode(), cuvid_handle_picture_display(), cuvid_handle_video_sequence(), cuvid_is_buffer_full(), cuvid_output_frame(), cuvid_test_capabilities(), cyuv_decode_frame(), cyuv_decode_init(), dcadec_close(), dcadec_decode_frame(), dcadec_flush(), dcadec_init(), dds_decode(), decode(), decode_ac_coeffs(), decode_aiff_header(), decode_argb(), decode_argbi(), decode_argx(), decode_argxi(), decode_aybr(), decode_aybri(), decode_block(), decode_byry(), decode_byryi(), decode_c82i(), decode_c82p(), decode_ca2i(), decode_ca2p(), decode_ca4i(), decode_ca4p(), decode_chunks(), decode_close(), decode_element(), decode_end(), decode_flush(), decode_frame(), decode_frame_header(), decode_hq_slice_row(), decode_init(), decode_interframe_v4(), decode_interframe_v4a(), decode_lowdelay_slice(), decode_mb_row_no_filter(), decode_packet(), decode_picture(), decode_picture_header(), decode_plane(), decode_rgb(), decode_rgbi(), decode_rgbx(), decode_rgbxi(), decode_slice(), decode_slice_chroma(), decode_slice_luma(), decode_slice_thread(), decode_subband_arith(), decode_subband_golomb(), decode_tag(), decode_tiles(), decode_wmv9(), decode_ybr(), decode_ybr10(), decode_ybr10i(), decode_ybri(), decode_ybyr(), decode_yry10(), decode_yry10i(), decoder_init(), decompress_2(), decompress_5(), decompress_68(), decompress_chunks_thread(), decompress_i(), decompress_p(), decompress_texture_thread(), determine_bitrate(), dfa_decode_end(), dfa_decode_frame(), dfa_decode_init(), dirac_decode_data_unit(), dirac_decode_end(), dirac_decode_flush(), dirac_decode_frame(), dirac_decode_init(), display_end_segment(), dnxhd_calc_bits_thread(), dnxhd_decode_close(), dnxhd_decode_frame(), dnxhd_decode_init(), dnxhd_decode_init_thread_copy(), dnxhd_decode_row(), dnxhd_encode_end(), dnxhd_encode_init(), dnxhd_encode_picture(), dnxhd_encode_thread(), dnxhd_mb_var_thread(), dnxhd_write_header(), dolby_e_close(), dolby_e_decode_frame(), dolby_e_flush(), dolby_e_init(), dpcm_decode_frame(), dpcm_decode_init(), draw_char(), dss_sp_decode_frame(), dss_sp_decode_init(), dv_decode_video_segment(), dv_encode_video_segment(), dvbsub_close_decoder(), dvbsub_decode(), dvbsub_display_end_segment(), dvbsub_encode(), dvbsub_init_decoder(), dvbsub_parse_clut_segment(), dvbsub_parse_display_definition_segment(), dvbsub_parse_object_segment(), dvbsub_parse_page_segment(), dvbsub_parse_pixel_data_block(), dvbsub_parse_region_segment(), dvdsub_decode(), dvdsub_flush(), dvdsub_init(), dvdsub_parse_extradata(), dvvideo_decode_frame(), dvvideo_decode_init(), dvvideo_encode_frame(), dvvideo_encode_init(), dxv_close(), dxv_decode(), dxv_decompress_dxt1(), dxv_decompress_dxt5(), dxv_decompress_lzf(), dxv_decompress_raw(), dxv_init(), dxva2_h264_decode_slice(), dxva2_h264_end_frame(), dxva2_h264_start_frame(), dxva2_hevc_decode_slice(), dxva2_hevc_end_frame(), dxva2_hevc_start_frame(), dxva2_mpeg2_decode_slice(), dxva2_mpeg2_end_frame(), dxva2_mpeg2_start_frame(), dxva2_vc1_decode_slice(), dxva2_vc1_end_frame(), dxva2_vc1_start_frame(), dxva2_vp9_decode_slice(), dxva2_vp9_end_frame(), dxva2_vp9_start_frame(), eightsvx_decode_close(), eightsvx_decode_frame(), eightsvx_decode_init(), encode_apng(), encode_callback(), encode_close(), encode_dvd_subtitles(), encode_end(), encode_frame(), encode_gbrp10(), encode_gbrp12(), encode_headers(), encode_init(), encode_nals(), encode_picture_ls(), encode_plane(), encode_png(), encode_rgb48_10bit(), encode_slice(), encode_slice_data(), encode_slice_plane(), encode_superframe(), end(), erase_line(), erase_screen(), escape124_decode_close(), escape124_decode_frame(), escape124_decode_init(), escape130_decode_close(), escape130_decode_frame(), escape130_decode_init(), evrc_decode_frame(), evrc_decode_init(), execute_code(), extract_header(), fdk_aac_decode_close(), fdk_aac_decode_flush(), fdk_aac_decode_frame(), fdk_aac_decode_init(), ff_ac3_encode_close(), ff_ac3_encode_init(), ff_ac3_float_encode_init(), ff_ass_decoder_flush(), ff_asv_common_init(), ff_cavs_end(), ff_cavs_init(), ff_dca_check_crc(), ff_dca_core_filter_frame(), ff_dca_core_parse_exss(), ff_dca_xll_filter_frame(), ff_dvvideo_init(), ff_ffv1_close(), ff_ffv1_common_init(), ff_frame_thread_encoder_init(), ff_frame_thread_free(), ff_frame_thread_init(), ff_h263_decode_end(), ff_h263_decode_frame(), ff_h263_decode_init(), ff_h263_resync(), ff_h264_update_thread_context(), ff_huffyuv_common_init(), ff_ivi_decode_close(), ff_ivi_decode_frame(), ff_libwebp_encode_init_common(), ff_mjpeg_decode_end(), ff_mjpeg_decode_frame(), ff_mjpeg_decode_init(), ff_mjpeg_encode_picture_header(), ff_mpeg4_frame_end(), ff_mpeg4_workaround_bugs(), ff_mpeg_flush(), ff_mpeg_update_thread_context(), ff_mpv_encode_end(), ff_mpv_encode_init(), ff_mpv_encode_picture(), ff_msmpeg4_decode_init(), ff_nvenc_encode_close(), ff_nvenc_encode_frame(), ff_nvenc_encode_init(), ff_nvenc_receive_packet(), ff_nvenc_send_frame(), ff_rv34_decode_end(), ff_rv34_decode_frame(), ff_rv34_decode_init(), ff_rv34_decode_init_thread_copy(), ff_rv34_decode_update_thread_context(), ff_snow_common_init_after_header(), ff_snow_release_buffer(), ff_twinvq_decode_close(), ff_twinvq_decode_frame(), ff_twinvq_decode_init(), ff_v4l2_m2m_codec_end(), ff_v4l2_m2m_codec_init(), ff_vaapi_encode2(), ff_vaapi_encode_close(), ff_vaapi_encode_init(), ff_vc1_decode_end(), ff_videotoolbox_avcc_extradata_create(), ff_videotoolbox_h264_decode_slice(), ff_videotoolbox_h264_start_frame(), ff_videotoolbox_hvcc_extradata_create(), ff_vp56_decode_frame(), ff_vp56_decode_mbs(), ff_vp56_free(), ff_vp56_init(), ff_vp8_decode_free(), ff_vp9_loopfilter_sb(), ff_wma_end(), ff_wma_init(), ff_xvmc_field_end(), ff_xvmc_field_start(), ffat_close_decoder(), ffat_close_encoder(), ffat_copy_samples(), ffat_create_decoder(), ffat_decode(), ffat_decode_callback(), ffat_decode_flush(), ffat_encode(), ffat_encode_callback(), ffat_encode_flush(), ffat_get_magic_cookie(), ffat_init_decoder(), ffat_init_encoder(), ffat_set_extradata(), ffat_update_ctx(), ffat_usable_extradata(), ffmal_copy_frame(), ffmal_update_format(), ffmmal_add_packet(), ffmmal_close_decoder(), ffmmal_decode(), ffmmal_fill_input_port(), ffmmal_fill_output_port(), ffmmal_flush(), ffmmal_init_decoder(), ffmmal_read_frame(), ffmmal_stop_decoder(), ffserver_save_avoption(), ffserver_set_codec(), fic_decode_close(), fic_decode_frame(), fic_decode_init(), fic_decode_slice(), fic_draw_cursor(), fill_slice(), fill_slice_long(), filter_frame_fixed(), filter_mb_row(), find_quant_thread(), find_slice_quant(), finish_frame(), fits_decode_frame(), flac_decode_close(), flac_decode_frame(), flac_decode_init(), flac_encode_close(), flac_encode_frame(), flac_encode_init(), flashsv2_encode_end(), flashsv2_encode_frame(), flashsv2_encode_init(), flashsv_decode_block(), flashsv_decode_end(), flashsv_decode_frame(), flashsv_decode_init(), flashsv_encode_end(), flashsv_encode_frame(), flashsv_encode_init(), flic_decode_end(), flic_decode_frame_15_16BPP(), flic_decode_frame_24BPP(), flic_decode_frame_8BPP(), flic_decode_init(), flush(), flush_cache(), flush_decoder(), flush_dpb(), force_lossy_output(), frame_configure_elements(), free_buffers(), free_tables(), g2m_decode_end(), g2m_decode_frame(), g2m_decode_init(), g722_decode_frame(), g722_decode_init(), g722_encode_close(), g722_encode_frame(), g722_encode_init(), g723_1_decode_frame(), g723_1_decode_init(), g723_1_encode_frame(), g723_1_encode_init(), gdv_decode_close(), gdv_decode_frame(), gdv_decode_init(), get_buffer(), get_cv_pixel_info(), get_nb_samples(), get_stats(), get_stream_info(), get_vt_profile_level(), gif_decode_close(), gif_decode_frame(), gif_decode_init(), gif_encode_close(), gif_encode_frame(), gif_encode_init(), gif_image_write_image(), gsm_decode_block(), gsm_flush(), h261_decode_end(), h261_decode_frame(), h261_decode_init(), h264_decode_end(), h264_decode_frame(), h264_decode_init(), hap_close(), hap_compress_frame(), hap_decode(), hap_encode(), hap_init(), hap_parse_frame_header(), hevc_decode_flush(), hevc_decode_frame(), hevc_decode_free(), hevc_decode_init(), hevc_init_context(), hevc_init_thread_copy(), hevc_update_thread_context(), hls_decode_entry(), hls_decode_entry_wpp(), hnm_decode_end(), hnm_decode_frame(), hnm_decode_init(), hnm_update_palette(), hq_hqa_decode_close(), hq_hqa_decode_frame(), hq_hqa_decode_init(), hqx_decode_close(), hqx_decode_frame(), hqx_decode_init(), hscroll(), idcin_decode_frame(), idcin_decode_init(), ilbc_decode_frame(), ilbc_decode_init(), ilbc_encode_frame(), ilbc_encode_init(), imc_decode_close(), imc_decode_frame(), imc_decode_init(), init(), init_context_defaults(), init_decoder(), init_frames(), init_idct(), init_ref(), init_thread_copy(), input_callback(), ipvideo_decode_end(), ipvideo_decode_frame(), ipvideo_decode_init(), ir2_decode_end(), ir2_decode_frame(), ir2_decode_init(), j2kenc_destroy(), j2kenc_init(), jacosub_decode_frame(), jpeg2000_decode_frame(), jpeg2000_decode_init(), jpeg2000_decode_tile(), jpeg_table_header(), lag_decode_end(), lag_decode_frame(), lag_decode_init(), latm_decode_frame(), latm_decode_init(), libcelt_dec_close(), libcelt_dec_decode(), libcelt_dec_init(), libgsm_decode_close(), libgsm_decode_frame(), libgsm_decode_init(), libgsm_encode_close(), libgsm_encode_frame(), libgsm_encode_init(), libgsm_flush(), libkvazaar_close(), libkvazaar_encode(), libkvazaar_init(), libopenjpeg_decode_frame(), libopenjpeg_decode_init(), libopenjpeg_encode_close(), libopenjpeg_encode_frame(), libopenjpeg_encode_init(), libopus_decode(), libopus_decode_close(), libopus_decode_init(), libopus_encode(), libopus_encode_close(), libopus_encode_init(), libopus_flush(), librsvg_decode_frame(), libshine_encode_close(), libshine_encode_frame(), libshine_encode_init(), libspeex_decode_close(), libspeex_decode_flush(), libspeex_decode_frame(), libspeex_decode_init(), libvorbis_encode_close(), libvorbis_encode_frame(), libvorbis_encode_init(), libvorbis_setup(), libwebp_anim_encode_close(), libwebp_anim_encode_frame(), libwebp_anim_encode_init(), libwebp_encode_close(), libwebp_encode_frame(), libx265_encode_close(), libx265_encode_frame(), libx265_encode_init(), ljpeg_encode_bgr(), ljpeg_encode_close(), ljpeg_encode_frame(), ljpeg_encode_init(), ljpeg_encode_yuv(), log_encoder_error(), mace_decode_frame(), magy_decode_end(), magy_decode_frame(), magy_decode_init(), magy_decode_slice(), magy_decode_slice10(), main(), mediacodec_decode_close(), mediacodec_decode_flush(), mediacodec_decode_frame(), mediacodec_decode_init(), mediacodec_process_data(), metasound_decode_init(), microdvd_decode_frame(), mimic_decode_end(), mimic_decode_frame(), mimic_decode_init(), mjpegb_decode_frame(), mlp_decode_init(), mlp_encode_close(), mlp_encode_frame(), mlp_encode_init(), mm_decode_end(), mm_decode_frame(), mm_decode_init(), mov_text_decode_close(), mov_text_decode_frame(), mov_text_encode_close(), mov_text_encode_frame(), mov_text_encode_init(), mov_text_flush(), mov_text_init(), mp3lame_encode_close(), mp3lame_encode_frame(), mp3lame_encode_init(), mp_decode_end(), mp_decode_frame(), mp_decode_init(), MPA_encode_frame(), MPA_encode_init(), mpc7_decode_close(), mpc7_decode_flush(), mpc7_decode_frame(), mpc7_decode_init(), mpc8_decode_flush(), mpc8_decode_frame(), mpc8_decode_init(), mpeg1_decode_picture(), mpeg1_decode_sequence(), mpeg_decode_a53_cc(), mpeg_decode_end(), mpeg_decode_frame(), mpeg_decode_gop(), mpeg_decode_init(), mpeg_decode_postinit(), mpeg_decode_user_data(), mpeg_get_pixelformat(), mpl2_decode_frame(), msrle_decode_end(), msrle_decode_frame(), msrle_decode_init(), mss1_decode_end(), mss1_decode_frame(), mss1_decode_init(), mss2_decode_end(), mss2_decode_frame(), mss2_decode_init(), mss3_decode_end(), mss3_decode_frame(), mss3_decode_init(), mss4_decode_end(), mss4_decode_frame(), mss4_decode_init(), msvideo1_decode_end(), msvideo1_decode_frame(), msvideo1_decode_init(), mvc_decode_frame(), mvc_decode_init(), mxpeg_decode_end(), mxpeg_decode_frame(), mxpeg_decode_init(), nvenc_alloc_surface(), nvenc_check_cap(), nvenc_check_capabilities(), nvenc_check_codec_support(), nvenc_check_device(), nvenc_codec_specific_pic_params(), nvenc_find_free_reg_resource(), nvenc_load_libraries(), nvenc_open_session(), nvenc_override_rate_control(), nvenc_recalc_surfaces(), nvenc_register_frame(), nvenc_set_timestamp(), nvenc_setup_device(), nvenc_setup_encoder(), nvenc_setup_extradata(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), nvenc_setup_rate_control(), nvenc_setup_surfaces(), nvenc_upload_frame(), oggvorbis_decode_close(), oggvorbis_decode_frame(), oggvorbis_decode_init(), omx_component_init(), omx_encode_end(), omx_encode_frame(), omx_encode_init(), on2avc_decode_close(), on2avc_decode_frame(), on2avc_decode_init(), opus_decode_close(), opus_decode_flush(), opus_decode_init(), opus_decode_packet(), opus_encode_end(), opus_encode_frame(), opus_encode_init(), output_callback(), output_ready(), paf_video_close(), paf_video_decode(), paf_video_init(), parse_decoder_init(), parse_object_segment(), parse_optional_info(), parse_palette_segment(), parse_pixel_format(), parse_presentation_segment(), parse_sub_headers(), pcm_decode_close(), pcm_decode_frame(), pcm_decode_init(), pcm_dvd_decode_frame(), pcm_dvd_decode_init(), pcm_dvd_decode_samples(), pcm_dvd_decode_uninit(), pcm_dvd_parse_header(), pixlet_close(), pixlet_decode_frame(), png_dec_end(), png_dec_init(), png_enc_close(), png_enc_init(), png_write_image_data(), png_write_row(), pnm_decode_frame(), postprocess_current_frame(), process_output_surface(), prores_encode_close(), prores_encode_init(), put_audio_specific_config(), qcelp_decode_frame(), qcelp_decode_init(), qdm2_decode_close(), qdm2_decode_frame(), qdm2_decode_init(), qdmc_decode_close(), qdmc_decode_frame(), qdmc_decode_init(), qdmc_flush(), qsv_decode_close(), qsv_decode_flush(), qsv_decode_frame(), qsv_decode_init(), qsv_enc_close(), qsv_enc_frame(), qsv_enc_init(), qsv_h264_set_encode_ctrl(), qtrle_decode_end(), qtrle_decode_frame(), qtrle_decode_init(), qtrle_encode_end(), qtrle_encode_frame(), qtrle_encode_init(), queue_frames(), ra144_decode_frame(), ra144_decode_init(), ra144_encode_close(), ra144_encode_frame(), ra144_encode_init(), ra288_decode_close(), ra288_decode_frame(), ra288_decode_init(), raw_close_decoder(), raw_init_decoder(), read_access_unit(), read_colorspace_details(), read_high_coeffs(), read_highpass(), read_huffman_tree(), read_low_coeffs(), realtext_decode_frame(), receive_frame(), reconfig_encoder(), reconstruction(), render_charset(), restore_context(), rkmpp_close_decoder(), rkmpp_flush(), rkmpp_init_decoder(), rkmpp_receive_frame(), rkmpp_retrieve_frame(), rkmpp_send_packet(), rkmpp_write_data(), rl2_decode_end(), rl2_decode_frame(), rl2_decode_init(), roq_decode_end(), roq_decode_frame(), roq_decode_init(), roq_dpcm_encode_close(), roq_dpcm_encode_frame(), roq_dpcm_encode_init(), roq_encode_end(), roq_encode_frame(), roq_encode_init(), rpza_decode_end(), rpza_decode_frame(), rpza_decode_init(), rscc_close(), rscc_decode_frame(), rscc_init(), run_postproc(), rv10_decode_end(), rv10_decode_frame(), rv10_decode_init(), rv10_decode_packet(), rv30_decode_init(), rv40_decode_init(), s302m_decode_frame(), s302m_encode2_frame(), s302m_encode_init(), sami_close(), sami_decode_frame(), sami_flush(), sami_init(), sami_paragraph_to_ass(), save_subtitle_set(), screenpresso_close(), screenpresso_decode_frame(), screenpresso_init(), select_palette(), seqvideo_decode_end(), seqvideo_decode_frame(), seqvideo_decode_init(), set_constqp(), set_context(), set_lossless(), set_sample_rate_params(), set_vbr(), setup_hwaccel_for_pixfmt(), sgi_decode_init(), shorten_decode_close(), shorten_decode_frame(), shorten_decode_init(), show_stream(), sipr_decode_frame(), sipr_decoder_init(), slice_end(), smc_decode_end(), smc_decode_frame(), smc_decode_init(), smvjpeg_decode_end(), smvjpeg_decode_frame(), smvjpeg_decode_init(), speedhq_decode_frame(), speedhq_decode_init(), srt_decode_frame(), srt_encode_close(), srt_encode_init(), submit_stats(), subviewer_decode_frame(), sunrast_encode_frame(), sunrast_encode_init(), sunrast_image_write_header(), sunrast_image_write_image(), svc_decode_close(), svc_decode_frame(), svc_decode_init(), svc_encode_close(), svc_encode_frame(), svc_encode_init(), svq1_decode_end(), svq1_decode_frame(), svq1_decode_frame_header(), svq1_decode_init(), svq1_encode_end(), svq1_encode_frame(), svq1_encode_init(), svq1_flush(), svq3_decode_end(), svq3_decode_frame(), svq3_decode_init(), svq3_decode_slice_header(), synth_frame(), synth_superframe(), tak_decode_close(), tak_decode_frame(), tak_decode_init(), targa_encode_frame(), tdsc_close(), tdsc_decode_frame(), tdsc_decode_jpeg_tile(), tdsc_decode_tiles(), tdsc_init(), tdsc_load_cursor(), tdsc_paint_cursor(), tdsc_parse_dtsm(), tdsc_parse_tdsf(), teletext_close_decoder(), teletext_decode_frame(), teletext_init_decoder(), test_copy(), test_copy_print_codec(), text_decode_frame(), text_flush(), tgq_decode_frame(), tgq_decode_init(), tgv_decode_end(), tgv_decode_frame(), tgv_decode_init(), tiff_end(), tiff_init(), tqi_decode_end(), tqi_decode_frame(), tqi_decode_init(), tqi_idct_put(), truemotion1_decode_end(), truemotion1_decode_frame(), truemotion1_decode_init(), truemotion2rt_decode_frame(), truemotion2rt_decode_header(), truespeech_decode_frame(), truespeech_decode_init(), tscc2_decode_end(), tscc2_decode_frame(), tscc2_decode_init(), tta_decode_close(), tta_decode_frame(), tta_decode_init(), tta_encode_close(), tta_encode_frame(), tta_encode_init(), twinvq_decode_init(), twolame_encode_close(), twolame_encode_frame(), twolame_encode_init(), ulti_decode_end(), ulti_decode_frame(), ulti_decode_init(), uninit(), unpack_intraframe(), unsupported(), update_block_buffers(), update_canvas_size(), update_frames(), update_size(), utvideo_encode_close(), utvideo_encode_frame(), utvideo_encode_init(), v4l2_decode_init(), v4l2_encode_init(), v4l2_receive_frame(), v4l2_receive_packet(), v4l2_send_frame(), v4l2_try_start(), vaapi_encode_alloc_output_buffer(), vaapi_encode_clear_old(), vaapi_encode_config_attributes(), vaapi_encode_create_recon_frames(), vaapi_encode_free_output_buffer(), vaapi_encode_get_next(), vaapi_encode_h264_configure(), vaapi_encode_h264_init(), vaapi_encode_h264_init_picture_params(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h264_init_slice_params(), vaapi_encode_h264_write_extra_header(), vaapi_encode_h264_write_sequence_header(), vaapi_encode_h264_write_slice_header(), vaapi_encode_h265_configure(), vaapi_encode_h265_init(), vaapi_encode_h265_init_picture_params(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_h265_init_slice_params(), vaapi_encode_h265_write_sequence_header(), vaapi_encode_h265_write_slice_header(), vaapi_encode_init_rate_control(), vaapi_encode_issue(), vaapi_encode_make_packed_header(), vaapi_encode_make_param_buffer(), vaapi_encode_mjpeg_configure(), vaapi_encode_mjpeg_init(), vaapi_encode_mjpeg_init_picture_params(), vaapi_encode_mjpeg_init_tables(), vaapi_encode_mjpeg_write_extra_buffer(), vaapi_encode_mjpeg_write_image_header(), vaapi_encode_mpeg2_configure(), vaapi_encode_mpeg2_init(), vaapi_encode_mpeg2_init_picture_params(), vaapi_encode_mpeg2_init_sequence_params(), vaapi_encode_mpeg2_init_slice_params(), vaapi_encode_mpeg2_write_sequence_header(), vaapi_encode_output(), vaapi_encode_step(), vaapi_encode_truncate_gop(), vaapi_encode_vp8_configure(), vaapi_encode_vp8_init(), vaapi_encode_vp8_init_picture_params(), vaapi_encode_vp8_init_sequence_params(), vaapi_encode_vp8_write_quant_table(), vaapi_encode_vp9_configure(), vaapi_encode_vp9_init(), vaapi_encode_vp9_init_picture_params(), vaapi_encode_vp9_init_sequence_params(), vaapi_encode_wait(), vaapi_h264_decode_slice(), vaapi_h264_end_frame(), vaapi_h264_start_frame(), vaapi_hevc_decode_slice(), vaapi_hevc_end_frame(), vaapi_hevc_start_frame(), vaapi_mpeg2_decode_slice(), vaapi_mpeg2_end_frame(), vaapi_mpeg2_start_frame(), vaapi_mpeg4_decode_slice(), vaapi_mpeg4_end_frame(), vaapi_mpeg4_start_frame(), vaapi_vc1_decode_slice(), vaapi_vc1_end_frame(), vaapi_vc1_start_frame(), vaapi_vp9_decode_slice(), vaapi_vp9_end_frame(), vaapi_vp9_start_frame(), vble_decode_close(), vble_decode_frame(), vble_decode_init(), vc1_decode_frame(), vc1_decode_init(), vc2_encode_end(), vc2_encode_frame(), vc2_encode_init(), vcr1_decode_frame(), vcr2_init_sequence(), vda_h264_end_frame(), vda_old_h264_end_frame(), vdadec_close(), vdadec_decode(), vdadec_init(), vdpau_h264_decode_slice(), vdpau_h264_end_frame(), vdpau_h264_set_reference_frames(), vdpau_h264_start_frame(), vdpau_hevc_decode_slice(), vdpau_hevc_end_frame(), vdpau_hevc_start_frame(), vdpau_mpeg4_start_frame(), vdpau_mpeg_decode_slice(), vdpau_mpeg_start_frame(), vdpau_vc1_decode_slice(), vdpau_vc1_start_frame(), vmdaudio_decode_frame(), vmdaudio_decode_init(), vmdvideo_decode_end(), vmdvideo_decode_frame(), vmdvideo_decode_init(), vorbis_decode_close(), vorbis_decode_flush(), vorbis_decode_frame(), vorbis_decode_init(), vorbis_encode_close(), vorbis_encode_frame(), vorbis_encode_init(), vp3_decode_end(), vp3_decode_flush(), vp3_decode_frame(), vp3_decode_init(), vp5_decode_init(), vp6_decode_free(), vp6_decode_init(), vp78_decode_frame(), vp78_decode_init(), vp78_decode_mb_row_sliced(), vp78_decode_mv_mb_modes(), vp8_decode_flush_impl(), vp8_lossless_decode_frame(), vp8_lossy_decode_alpha(), vp8_lossy_decode_frame(), vp9_decode_flush(), vp9_decode_frame(), vp9_decode_free(), vp9_decode_init(), vp9_frame_alloc(), vpx_decode(), vpx_encode(), vpx_free(), vpx_init(), vqa_decode_end(), vqa_decode_frame(), vqa_decode_init(), vtenc_close(), vtenc_cm_to_avpacket(), vtenc_create_encoder(), vtenc_frame(), vtenc_init(), vtenc_output_callback(), vtenc_populate_extradata(), wavesynth_close(), wavesynth_decode(), wavesynth_init(), wavesynth_parse_extradata(), wavpack_decode_block(), wavpack_decode_end(), wavpack_decode_flush(), wavpack_decode_frame(), wavpack_decode_init(), wavpack_encode_close(), wavpack_encode_frame(), wavpack_encode_init(), webp_decode_close(), webp_decode_frame(), webvtt_decode_frame(), webvtt_encode_close(), webvtt_encode_frame(), webvtt_encode_init(), wma_decode_init(), wma_decode_superframe(), wmapro_decode_end(), wmapro_decode_init(), wmapro_decode_packet(), wmapro_flush(), wmavoice_decode_end(), wmavoice_decode_init(), wmavoice_decode_packet(), wmavoice_flush(), wmv2_decode_end(), wmv2_decode_init(), wmv2_encode_init(), wmv9_init(), X264_close(), X264_frame(), X264_init(), xan_decode_chroma(), xan_decode_end(), xan_decode_frame(), xan_decode_frame_type0(), xan_decode_frame_type1(), xan_decode_init(), XAVS_close(), XAVS_frame(), XAVS_init(), xface_decode_frame(), xface_encode_frame(), xma_decode_end(), xma_decode_init(), xma_decode_packet(), xma_flush(), xpm_decode_close(), xpm_decode_frame(), xvid_encode_close(), xvid_encode_frame(), xvid_encode_init(), yop_decode_close(), yop_decode_frame(), yop_decode_init(), zerocodec_decode_close(), zerocodec_decode_frame(), and zerocodec_decode_init().
struct AVCodecInternal* AVCodecContext::internal |
Private context used for internal data.
Unlike priv_data, this is not codec-specific. It is used in general libavcodec functions.
Definition at line 1811 of file avcodec.h.
Referenced by aac_decode_frame_int(), audio_get_buffer(), avcodec_close(), avcodec_copy_context(), avcodec_decode_subtitle2(), avcodec_encode_audio2(), avcodec_encode_video2(), avcodec_flush_buffers(), avcodec_is_open(), avcodec_open2(), avcodec_receive_frame(), avcodec_receive_packet(), avcodec_send_frame(), avcodec_send_packet(), bsfs_init(), bsfs_poll(), cfhd_close_decoder(), cng_decode_frame(), compat_decode(), decode_fill(), decode_init(), decode_receive_frame_internal(), decode_simple_internal(), do_encode(), encode_thread(), ff_alloc_entries(), ff_alloc_packet2(), ff_decode_bsfs_uninit(), ff_decode_get_packet(), ff_frame_thread_encoder_free(), ff_frame_thread_encoder_init(), ff_frame_thread_free(), ff_frame_thread_init(), ff_get_format(), ff_init_buffer_info(), ff_mpv_encode_picture(), ff_mpv_reallocate_putbitbuffer(), ff_reset_entries(), ff_rv34_decode_init(), ff_rv34_decode_init_thread_copy(), ff_slice_thread_execute_with_mainfunc(), ff_slice_thread_free(), ff_slice_thread_init(), ff_thread_await_progress(), ff_thread_await_progress2(), ff_thread_can_start_frame(), ff_thread_decode_frame(), ff_thread_finish_setup(), ff_thread_flush(), ff_thread_get_format(), ff_thread_release_buffer(), ff_thread_report_progress(), ff_thread_report_progress2(), ff_thread_video_encode_frame(), ff_vaapi_decode_destroy_buffers(), ff_vaapi_decode_init(), ff_vaapi_decode_issue(), ff_vaapi_decode_make_param_buffer(), ff_vaapi_decode_make_slice_buffer(), ff_vaapi_decode_uninit(), ff_vda_output_callback(), ff_vdpau_common_end_frame(), ff_vdpau_common_init(), ff_vdpau_common_reinit(), ff_vdpau_common_uninit(), ff_videotoolbox_h264_decode_slice(), ff_videotoolbox_h264_start_frame(), ff_videotoolbox_uninit(), frame_worker_thread(), h264_decode_init(), hevc_decode_init(), hqx_decode_close(), libopus_decode_init(), libopus_flush(), main_function(), mimic_decode_end(), mimic_decode_init(), png_dec_init(), setup_hwaccel(), thread_execute(), thread_execute2(), thread_get_buffer_internal(), update_context_from_thread(), update_frame_pool(), vaapi_decode_make_config(), vda_h264_end_frame(), vda_old_h264_decode_slice(), vda_old_h264_end_frame(), vda_old_h264_start_frame(), video_get_buffer(), vp3_decode_end(), vp3_decode_init(), vp78_decode_init(), vp9_decode_init(), worker(), and worker_func().
void* AVCodecContext::opaque |
Private data of the user, can be used to carry app specific stuff.
Definition at line 1818 of file avcodec.h.
Referenced by cuvid_init(), cuvid_uninit(), get_buffer(), get_format(), hwaccel_decode_init(), hwaccel_retrieve_data(), init_input_stream(), main(), qsv_get_buffer(), qsv_init(), qsv_uninit(), update_context_from_user(), videotoolbox_init(), videotoolbox_retrieve_data(), and videotoolbox_uninit().
int64_t AVCodecContext::bit_rate |
the average bitrate
Definition at line 1826 of file avcodec.h.
Referenced by aac_encode_frame(), aac_encode_init(), ac3_decode_frame(), add_av_stream(), add_codec(), add_stream(), amr_wb_encode_frame(), amr_wb_encode_init(), av_get_audio_frame_duration(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), celt_gauge_psy_weight(), compute_bandwidth(), decode_frame(), decode_ppc(), dump_cook_context(), encode_init(), estimate_timings_from_bit_rate(), ff_aac_ac3_parse(), ff_adx_decode_header(), ff_dca_core_filter_frame(), ff_dca_lbr_filter_frame(), ff_dca_xll_filter_frame(), ff_dnxhd_find_cid(), ff_mpv_encode_init(), ff_opus_psy_postencode_update(), ff_wma_init(), ff_xvid_rate_control_init(), ffat_create_decoder(), ffat_init_encoder(), g723_1_encode_init(), g729_parse(), get_bit_rate(), get_ilbc_mode(), get_mode(), init_bitstream_params(), init_output_stream(), init_video_param(), lame_window_init(), libgsm_encode_init(), libkvazaar_init(), libopus_configure_encoder(), libopus_encode_init(), libshine_encode_init(), libspeex_decode_frame(), libvorbis_setup(), libx265_encode_init(), LLVMFuzzerTestOneInput(), main(), mark_pns(), metasound_decode_init(), mlp_parse(), mp3lame_encode_init(), MPA_encode_init(), mpegaudio_parse(), mpegvideo_extract_headers(), nvenc_setup_encoder(), nvenc_setup_rate_control(), omx_component_init(), open_output_file(), optimum_dist(), optimum_use15_7(), opus_encode_init(), pcm_bluray_parse_header(), pcm_dvd_parse_header(), pcm_encode_init(), print_enc_params(), psy_3gpp_init(), qdm2_decode_init(), qdmc_decode_init(), qsv_retrieve_enc_params(), ra144_encode_init(), raw_encode_init(), read_frame_internal(), reconfig_encoder(), roq_dpcm_encode_init(), s302m_decode_frame(), s302m_encode_init(), search_for_pns(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), select_rc_mode(), sipr_decoder_init(), sipr_split(), svc_encode_init(), twinvq_decode_init(), twolame_encode_init(), v308_encode_init(), v408_encode_init(), v410_encode_init(), v4l2_prepare_encoder(), vaapi_encode_h264_configure(), vaapi_encode_h264_init(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_configure(), vaapi_encode_h265_init(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_init_rate_control(), vaapi_encode_mpeg2_init_sequence_params(), vaapi_encode_vp8_init(), vaapi_encode_vp8_init_sequence_params(), vaapi_encode_vp9_init(), vaapi_encode_vp9_init_sequence_params(), validate_options(), vc2_encode_frame(), vorbis_encode_init(), vpx_init(), vtenc_create_encoder(), X264_init(), XAVS_init(), xvid_encode_init(), and y41p_encode_init().
int AVCodecContext::bit_rate_tolerance |
number of bits the bitstream is allowed to diverge from the reference.
the reference can be CBR (for CBR pass1) or VBR (for pass2)
Definition at line 1834 of file avcodec.h.
Referenced by add_codec(), ff_mpv_encode_init(), ff_rate_estimate_qscale(), and XAVS_init().
int AVCodecContext::global_quality |
Global quality for codecs which cannot change it per frame.
This should be proportional to MPEG-1/2/4 qscale.
Definition at line 1842 of file avcodec.h.
Referenced by a64multi_encode_init(), aac_encode_frame(), aac_encode_init(), config_input(), config_props(), do_video_out(), encode_init(), ff_libwebp_encode_init_common(), ffat_init_encoder(), init_video_param(), lame_window_init(), libopus_configure_encoder(), libvorbis_setup(), mp3lame_encode_init(), new_output_stream(), nvenc_setup_rate_control(), optimum_use15_7(), psy_3gpp_init(), search_for_quantizers_twoloop(), select_rc_mode(), twolame_encode_init(), vaapi_encode_mjpeg_configure(), vaapi_encode_mpeg2_configure(), vaapi_encode_vp8_configure(), vaapi_encode_vp9_configure(), vorbis_encode_init(), and X264_init().
int AVCodecContext::compression_level |
Definition at line 1848 of file avcodec.h.
Referenced by alac_encode_init(), encode_init(), ff_libwebp_encode_init_common(), ff_vaapi_encode_init(), flac_encode_init(), flashsv2_encode_init(), libopenjpeg_encode_init(), libopus_encode_init(), mp3lame_encode_init(), png_enc_init(), print_enc_params(), vaapi_encode_h264_configure(), and wavpack_encode_init().
int AVCodecContext::flags |
AV_CODEC_FLAG_*.
Definition at line 1856 of file avcodec.h.
Referenced by aac_decode_init(), aac_encode_frame(), aac_encode_init(), ac3_decode_init(), add_input_streams(), add_stream(), apply_8x8(), apply_cropping(), apply_obmc(), atrac1_decode_init(), atrac3_decode_init(), atrac3p_decode_init(), av_parser_change(), avcodec_encode_video2(), avcodec_open2(), avcodec_string(), comp_block(), config_input(), config_props(), configure_input_video_filter(), dct_get(), dct_init(), decode_init(), decode_slice_thread(), decode_vop_header(), dnxhd_decode_macroblock(), dnxhd_encode_init(), do_video_out(), do_video_stats(), dsp_init(), dv_guess_dct_mode(), encode_frame(), encode_init(), encode_mb_internal(), encode_picture(), encode_q_branch(), encode_slice_data(), encode_thread(), estimate_best_b_count(), estimate_qp(), ff_ac3_encode_init(), ff_ac3_float_encode_init(), ff_ass_subtitle_header(), ff_celt_init(), ff_dca_core_filter_frame(), ff_dnxhd_find_cid(), ff_estimate_b_frame_motion(), ff_estimate_p_frame_motion(), ff_ffv1_common_init(), ff_fix_long_p_mvs(), ff_frame_thread_encoder_init(), ff_h263_decode_frame(), ff_h263_encode_mb(), ff_huffyuv_common_init(), ff_idctdsp_init_arm(), ff_idctdsp_init_armv6(), ff_idctdsp_init_ppc(), ff_init_me(), ff_mjpeg_decode_init(), ff_mpeg4_decode_picture_header(), ff_mpeg4_encode_mb(), ff_mpeg4_encode_picture_header(), ff_mpegvideoencdsp_init_x86(), ff_mpv_common_init_x86(), ff_mpv_encode_end(), ff_mpv_encode_init(), ff_mpv_encode_picture(), ff_mspel_motion(), ff_nvenc_encode_init(), ff_nvenc_send_frame(), ff_opus_psy_init(), ff_rate_control_init(), ff_rate_estimate_qscale(), ff_twinvq_decode_init(), ff_vc1_apply_p_loop_filter(), ff_vc1_interp_mc(), ff_vc1_loop_filter_iblk(), ff_vc1_loop_filter_iblk_delayed(), ff_vc1_mc_1mv(), ff_vc1_mc_4mv_chroma(), ff_vc1_mc_4mv_chroma4(), ff_vc1_smooth_overlap_filter_iblk(), ff_vp56_init_context(), ff_wmv2_add_mb(), ff_xvmc_decode_mb(), ffat_init_encoder(), finalize_frame(), get_consumed_bytes(), get_cox(), get_flags(), gmc1_motion(), gmc_motion(), h263_get_format(), h264_decode_frame(), h264_init_context(), h264_select_output_frame(), http_prepare_data(), idct_put(), imc_decode_init(), init(), init_context_frame(), init_video_param(), ipvideo_decode_init(), jpeg_put_comments(), lame_window_init(), libkvazaar_init(), libvorbis_encode_init(), libvorbis_setup(), libx265_encode_init(), main(), mark_pns(), mimic_decode_init(), mp3lame_encode_init(), mpeg1_decode_sequence(), mpeg1_encode_sequence_header(), mpeg4_encode_gop_header(), mpeg4_encode_vol_header(), mpeg_decode_frame(), mpeg_decode_sequence_extension(), mpeg_get_pixelformat(), mpeg_motion_internal(), mpeg_motion_lowres(), MPV_motion_lowres(), mpv_reconstruct_mb_internal(), new_output_stream(), new_video_stream(), nvenc_setup_encoder(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), omx_encode_frame(), omx_encode_init(), on2avc_decode_init(), open_output_file(), opus_encode_init(), pixlet_decode_frame(), png_enc_init(), print_final_stats(), print_report(), psy_3gpp_init(), put_com(), qpel_motion(), ra288_decode_init(), render_slice(), search_for_pns(), search_for_quantizers_twoloop(), select_input_picture(), select_rc_mode(), smvjpeg_decode_init(), stream_component_open(), svc_encode_frame(), svc_encode_init(), svq1_decode_frame(), svq1_decode_init(), svq1_encode_init(), svq3_decode_init(), svq3_mc_dir_part(), tdsc_init(), tgq_idct_put_mb(), tgq_idct_put_mb_dconly(), tqi_idct_put(), twolame_encode_init(), unpack_dct_coeffs(), update_context_from_user(), update_size(), v4l2_prepare_encoder(), vaapi_encode_vp8_init(), vaapi_encode_vp9_init(), validate_thread_parameters(), vble_decode_frame(), vc1_decode_b_mb(), vc1_decode_b_mb_intfi(), vc1_decode_b_mb_intfr(), vc1_decode_frame(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_init(), vc1_decode_p_mb(), vc1_decode_p_mb_intfi(), vc1_decode_p_mb_intfr(), vc1_put_signed_blocks_clamped(), vc2_encode_frame(), vorbis_encode_init(), vorbis_parse_id_hdr(), vp3_decode_init(), vpx_encode(), vpx_free(), vpx_init(), vtenc_cm_to_avpacket(), vtenc_init(), vtenc_output_callback(), wmv2_decode_init(), write_slice_end(), X264_init(), XAVS_init(), and xvid_encode_init().
int AVCodecContext::flags2 |
AV_CODEC_FLAG2_*.
Definition at line 1863 of file avcodec.h.
Referenced by alloc_picture_tables(), av_parser_change(), decode_chunks(), decode_frame(), decode_nal_units(), decode_simple_internal(), decode_vui(), encode_422_bitstream(), encode_bgra_bitstream(), encode_frame(), encode_gray_bitstream(), encode_init(), encode_plane_bitstream(), ff_ass_decoder_flush(), ff_h263_encode_motion_vector(), ff_h264_decode_seq_parameter_set(), ff_hevc_parse_sps(), ff_print_debug_info2(), finalize_frame(), flush_decoder(), h264_decode_frame(), h264_select_output_frame(), h264_slice_init(), mov_text_flush(), mpeg4_encode_blocks(), mpeg_decode_mb(), sami_flush(), stream_component_open(), tdsc_init(), teletext_close_decoder(), text_flush(), update_context_from_user(), and validate_thread_parameters().
uint8_t* AVCodecContext::extradata |
some codecs need / can use extradata like Huffman tables.
MJPEG: Huffman tables rv10: additional flags MPEG-4: global headers (they can be in the bitstream or here) The allocated memory should be AV_INPUT_BUFFER_PADDING_SIZE bytes larger than extradata_size to avoid problems if it is read with the bitstream reader. The bytewise contents of extradata must not depend on the architecture or CPU endianness.
Definition at line 1876 of file avcodec.h.
Referenced by a64multi_encode_frame(), a64multi_encode_init(), aac_decode_frame(), aac_decode_init(), aac_encode_close(), aac_encode_init(), aasc_decode_init(), adpcm_decode_frame(), adpcm_decode_init(), adpcm_encode_init(), adx_decode_init(), alac_encode_close(), alac_encode_init(), alac_set_info(), alloc_buffers(), ape_decode_init(), ass_decode_init(), ass_encode_init(), atrac3_decode_init(), av_bitstream_filter_filter(), av_get_audio_frame_duration(), av_parser_change(), avcodec_close(), avcodec_copy_context(), avcodec_free_context(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avformat_find_stream_info(), avpriv_bprint_to_extradata(), avui_decode_frame(), avui_encode_init(), bfi_decode_frame(), cmap_read_palette(), concatenate_packet(), cook_decode_init(), cook_parse(), copy_context_reset(), cuvid_decode_init(), decode_chunks(), decode_ext_header(), decode_flush(), decode_frame(), decode_header_trees(), decode_init(), dfa_decode_frame(), dummy_close(), dummy_init(), dvbsub_init_decoder(), dvdsub_parse_extradata(), encode_close(), encode_end(), encode_ext_header(), encode_init(), extract_extradata(), extract_header(), fdk_aac_decode_init(), ff_flac_is_extradata_valid(), ff_h263_decode_frame(), ff_h263_decode_init(), ff_mjpeg_decode_init(), ff_mpv_encode_end(), ff_mss12_decode_init(), ff_opus_parse_extradata(), ff_vaapi_encode_init(), ffat_init_decoder(), ffat_init_encoder(), ffmmal_decode(), flac_decode_init(), flac_encode_close(), flac_encode_frame(), flac_encode_init(), flic_decode_init(), generate_fake_vps(), get_nb_samples(), h264_decode_init(), h264_parse(), hevc_decode_init(), hevc_parse(), hnm_decode_init(), idcin_decode_init(), init(), latm_decode_audio_specific_config(), latm_decode_frame(), libcelt_dec_init(), libkvazaar_close(), libkvazaar_init(), libopus_decode_init(), libopus_encode_close(), libopus_encode_init(), libopus_write_header(), libspeex_decode_init(), libvorbis_encode_close(), libvorbis_encode_init(), libx265_encode_init(), m101_decode_frame(), m101_decode_init(), main(), metasound_decode_init(), microdvd_init(), mov_text_encode_init(), mov_text_tx3g(), mp_decode_frame(), mpc7_decode_init(), mpc8_decode_init(), mpeg4_decode_header(), mpeg_decode_frame(), msrle_decode_init(), msvideo1_decode_init(), mvc_decode_init(), nvenc_setup_extradata(), oggvorbis_decode_init(), omx_encode_frame(), omx_encode_init(), opus_encode_end(), opus_encode_init(), opus_find_frame_end(), opus_write_extradata(), parse_nal_units(), put_audio_specific_config(), qdm2_decode_init(), qdmc_decode_init(), qsv_retrieve_enc_params(), raw_init_decoder(), read_audio_mux_element(), read_extra_header(), read_specific_config(), rkmpp_send_packet(), rl2_decode_init(), rv10_decode_init(), rv20_decode_picture_header(), rv30_decode_init(), rv30_parse_slice_header(), set_extradata(), smvjpeg_decode_init(), svc_encode_init(), svq3_decode_init(), tta_decode_init(), twinvq_decode_init(), utvideo_encode_init(), vc1_decode_init(), vdadec_init(), vmdvideo_decode_init(), vorbis_decode_init(), vorbis_encode_close(), vorbis_encode_init(), vqa_decode_init(), vtenc_output_callback(), vtenc_populate_extradata(), wavesynth_parse_extradata(), wma_decode_init(), wmavoice_decode_init(), wmv2_encode_init(), write_extradata(), X264_close(), X264_init(), XAVS_close(), XAVS_init(), xma_decode_init(), xvid_encode_close(), xvid_encode_init(), xvid_strip_vol_header(), and yop_decode_init().
int AVCodecContext::extradata_size |
Definition at line 1877 of file avcodec.h.
Referenced by a64multi_encode_init(), aac_decode_frame(), aac_decode_init(), aac_encode_init(), aasc_decode_init(), adpcm_decode_frame(), adpcm_decode_init(), adpcm_encode_init(), adx_decode_init(), alac_decode_init(), alac_encode_close(), alac_encode_init(), alac_set_info(), ape_decode_init(), ass_decode_init(), ass_encode_init(), atrac3_decode_init(), av_bitstream_filter_filter(), av_parser_change(), avcodec_copy_context(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avpriv_bprint_to_extradata(), avui_decode_frame(), avui_encode_init(), bfi_decode_frame(), cmap_read_palette(), concatenate_packet(), cook_decode_init(), cook_parse(), copy_context_reset(), cuvid_decode_init(), decode_ext_header(), decode_flush(), decode_frame(), decode_header_trees(), decode_init(), dfa_decode_frame(), dummy_close(), dummy_init(), dvbsub_init_decoder(), dvdsub_parse_extradata(), encode_close(), encode_ext_header(), encode_init(), extract_extradata(), extract_header(), fdk_aac_decode_init(), ff_flac_is_extradata_valid(), ff_h263_decode_frame(), ff_h263_decode_init(), ff_mjpeg_decode_init(), ff_mss12_decode_init(), ff_opus_parse_extradata(), ff_vaapi_encode_init(), ffat_init_decoder(), ffat_init_encoder(), ffmmal_decode(), flac_encode_close(), flac_encode_frame(), flac_encode_init(), flic_decode_init(), generate_fake_vps(), h264_decode_init(), h264_parse(), hevc_decode_init(), hevc_parse(), hnm_decode_init(), idcin_decode_init(), init(), latm_decode_audio_specific_config(), latm_decode_frame(), latm_decode_init(), libcelt_dec_init(), libkvazaar_init(), libopus_decode_init(), libopus_encode_init(), libspeex_decode_init(), libvorbis_encode_init(), libx265_encode_init(), m101_decode_init(), main(), metasound_decode_init(), mov_text_encode_init(), mov_text_tx3g(), mp_decode_init(), mpc7_decode_init(), mpc8_decode_init(), mpeg4_decode_header(), mpeg_decode_frame(), msrle_decode_init(), msvideo1_decode_init(), mvc_decode_init(), nvenc_setup_extradata(), oggvorbis_decode_init(), omx_encode_frame(), omx_encode_init(), opus_encode_init(), print_final_stats(), put_audio_specific_config(), qdm2_decode_init(), qdmc_decode_init(), qsv_retrieve_enc_params(), raw_init_decoder(), read_extra_header(), read_header(), read_specific_config(), rkmpp_send_packet(), rl2_decode_init(), rv10_decode_init(), rv20_decode_picture_header(), rv30_decode_init(), rv30_parse_slice_header(), set_extradata(), smvjpeg_decode_init(), svc_encode_init(), svq3_decode_init(), tta_decode_init(), twinvq_decode_init(), utvideo_encode_init(), vc1_decode_init(), vdadec_init(), vmdvideo_decode_init(), vorbis_decode_init(), vorbis_encode_init(), vqa_decode_init(), vtenc_populate_extradata(), wavesynth_parse_extradata(), wma_decode_init(), wmavoice_decode_init(), wmv2_encode_init(), write_extradata(), X264_init(), XAVS_init(), xma_decode_init(), xvid_encode_init(), xvid_strip_vol_header(), and yop_decode_init().
AVRational AVCodecContext::time_base |
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented.
For fixed-fps content, timebase should be 1/framerate and timestamp increments should be identically 1. This often, but not always is the inverse of the frame rate or field rate for video. 1/time_base is not the average frame rate if the frame rate is not constant.
Like containers, elementary streams also can store timestamps, 1/time_base is the unit in which these timestamps are specified. As example of such codec time base see ISO/IEC 14496-2:2001(E) vop_time_increment_resolution and fixed_vop_rate (fixed_vop_rate == 0 implies that it is different from the framerate)
Definition at line 1898 of file avcodec.h.
Referenced by add_av_stream(), add_av_stream1(), add_codec(), add_stream(), av_bitstream_filter_filter(), av_stream_get_codec_timebase(), avcodec_decode_subtitle2(), avcodec_open2(), avcodec_string(), avformat_find_stream_info(), avformat_transfer_internal_stream_timing_info(), check_recording_time(), close_output_stream(), config_input(), config_props(), cpia_decode_init(), decode_packet(), decode_vol_header(), decode_vop_header(), do_audio_out(), do_subtitle_out(), do_video_out(), do_video_stats(), dvd_nav_parse(), dvvideo_encode_init(), encode_ext_header(), encode_frame_rate(), encode_init(), estimate_best_b_count(), ff_af_queue_add(), ff_compute_frame_duration(), ff_flv_encode_picture_header(), ff_guess_coded_bitrate(), ff_h261_encode_picture_header(), ff_h263_encode_picture_header(), ff_mjpeg_decode_sof(), ff_mpeg4_encode_picture_header(), ff_mpv_encode_init(), ff_mpv_encode_picture(), ff_msmpeg4_encode_ext_header(), ff_qsv_encode(), ff_samples_to_time_base(), ff_set_mpeg4_time(), ff_xvid_rate_control_init(), ff_xvid_rate_estimate_qscale(), find_frame_rate_index(), flush_encoders(), get_audio_frame(), get_fps(), get_video_frame(), h264_decode_init(), h264_parse(), init_context_defaults(), init_encoder_time_base(), init_filter(), init_output_stream(), init_output_stream_encode(), init_video_param(), libkvazaar_init(), libwebp_anim_encode_frame(), libx265_encode_init(), main(), mpeg4_decode_header(), mpeg4_encode_gop_header(), mpeg4_encode_vol_header(), mpegvideo_extract_headers(), nvenc_setup_encoder(), oggvorbis_decode_init(), omx_component_init(), omx_encode_frame(), open_output_file(), optimum_dist(), optimum_use15_7(), parse_forced_key_frames(), reap_filters(), set_frame_distances(), show_stream(), submit_frame(), svc_encode_init(), tb_unreliable(), test_copy(), update_context_from_thread(), v4l2_get_pts(), v4l2_set_pts(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_init_rate_control(), vaapi_encode_mpeg2_init_sequence_params(), vc1_extract_header(), vc2_encode_frame(), vc2_encode_init(), vpx_init(), vtenc_cm_to_avpacket(), vtenc_send_frame(), write_audio_frame(), write_video_frame(), X264_init(), XAVS_init(), xvid_correct_framerate(), and xvid_encode_init().
int AVCodecContext::ticks_per_frame |
For some codecs, the time base is closer to the field rate than the frame rate.
Most notably, H.264 and MPEG-2 specify time_base as half of frame duration if no telecine is used ...
Set to time_base ticks per frame. Default 1, e.g., H.264/MPEG-2 set it to 2.
Definition at line 1907 of file avcodec.h.
Referenced by av_guess_frame_rate(), avcodec_open2(), avformat_find_stream_info(), avformat_transfer_internal_stream_timing_info(), decode_sequence_header_adv(), decode_vol_header(), decode_vop_header(), ff_compute_frame_duration(), ff_msmpeg4_encode_ext_header(), get_fps(), h264_decode_init(), h264_parse(), h264_slice_header_init(), libkvazaar_init(), libx265_encode_init(), mpegvideo_extract_headers(), nvenc_setup_encoder(), optimum_dist(), optimum_use15_7(), process_input_packet(), update_context_from_thread(), vc1_extract_header(), vpx_encode(), and X264_init().
int AVCodecContext::delay |
Codec delay.
Encoding: Number of frames delay there will be from the encoder input to the decoder output. (we assume the decoder matches the spec) Decoding: Number of frames delay in addition to what a standard decoder as specified in the spec would produce.
Video: Number of frames the decoded output will be delayed relative to the encoded input.
Audio: For encoding, this field is unused (see initial_padding).
For decoding, this is the number of samples the decoder needs to output before the decoder's output is valid. When seeking, you should start decoding this many samples prior to your desired seek point.
Definition at line 1931 of file avcodec.h.
Referenced by avcodec_encode_audio2(), avcodec_open2(), avcodec_parameters_to_context(), ff_mpv_encode_init(), ff_opus_parse_extradata(), libopus_decode_init(), and update_context_from_thread().
int AVCodecContext::width |
picture width / height.
Definition at line 1948 of file avcodec.h.
Referenced by a64multi_encode_frame(), aasc_decode_frame(), add_av_stream(), add_codec(), add_input_streams(), add_stream(), aic_decode_header(), aic_decode_init(), alloc_buffers(), alloc_frame_buffer(), apply_param_change(), aura_decode_frame(), aura_decode_init(), avcodec_encode_video2(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), avformat_find_stream_info(), avui_decode_frame(), avui_encode_frame(), avui_encode_init(), bethsoftvid_decode_frame(), bfi_decode_frame(), bfi_decode_init(), bink_decode_plane(), binkb_decode_plane(), bitline2chunky(), bitpacked_decode_uyvy422(), bitpacked_decode_yuv422p10(), bitpacked_init_decoder(), bitplanar2chunky(), bmp_decode_frame(), bmp_encode_frame(), cdg_decode_init(), cdxl_decode_frame(), cdxl_decode_ham6(), cdxl_decode_ham8(), chunky2chunky(), cinepak_decode_init(), cinepak_encode_init(), cinvideo_decode_frame(), cinvideo_decode_init(), cllc_decode_frame(), clv_decode_init(), cmv_decode_inter(), cmv_decode_intra(), cmv_process_header(), codec_reinit(), compress_texture(), compute_crc_of_packets(), config_input(), config_props(), create_cv_pixel_buffer_info(), cuvid_handle_video_sequence(), cuvid_init(), cuvid_output_frame(), cyuv_decode_init(), dds_decode(), decode_13(), decode_argb(), decode_argbi(), decode_argx(), decode_argxi(), decode_aybr(), decode_aybri(), decode_block(), decode_byry(), decode_byryi(), decode_c82i(), decode_c82p(), decode_ca2i(), decode_ca2p(), decode_ca4i(), decode_ca4p(), decode_frame(), decode_frame_header(), decode_header(), decode_i2_frame(), decode_i_frame(), decode_init(), decode_p_frame(), decode_picture_header(), decode_rgb(), decode_rgbi(), decode_rgbx(), decode_rgbxi(), decode_rle(), decode_rle16(), decode_rle_bpp2(), decode_rle_bpp4(), decode_sequence_header_adv(), decode_simple_internal(), decode_video(), decode_ybr(), decode_ybr10(), decode_ybr10i(), decode_ybri(), decode_ybyr(), decode_yry10(), decode_yry10i(), decompress_i(), decompress_p(), dfa_decode_frame(), dfa_decode_init(), dirac_unpack_idwt_params(), dnxhd_decode_frame(), dnxhd_decode_init(), dnxhd_encode_init(), dnxhd_get_blocks(), dnxhd_mb_var_thread(), dnxhd_write_header(), do_video_stats(), draw_char(), draw_horiz_band(), dv_write_pack(), dvbsub_decode(), dvbsub_parse_display_definition_segment(), dvdsub_init(), dvvideo_encode_init(), dxtory_decode_v1_410(), dxtory_decode_v1_420(), dxtory_decode_v1_444(), dxtory_decode_v1_rgb(), dxv_init(), encode_apng(), encode_frame(), encode_frame_size(), encode_gbrp10(), encode_gbrp12(), encode_headers(), encode_init(), encode_picture_ls(), encode_png(), encode_rgb48_10bit(), encode_slice(), erase_screen(), escape124_decode_frame(), escape124_decode_init(), escape130_decode_frame(), escape130_decode_init(), estimate_best_b_count(), execute_code(), export_stream_params(), ff_asv_common_init(), ff_ccitt_unpack(), ff_dnxhd_find_cid(), ff_ffv1_common_init(), ff_ffv1_init_slice_contexts(), ff_guess_coded_bitrate(), ff_h264_update_thread_context(), ff_huffyuv_common_init(), ff_libwebp_get_frame(), ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar(), ff_mediacodec_sw_buffer_copy_yuv420_planar(), ff_mediacodec_sw_buffer_copy_yuv420_semi_planar(), ff_mjpeg_encode_picture_header(), ff_mpeg_update_thread_context(), ff_mpv_encode_init(), ff_mpv_frame_start(), ff_msmpeg4_decode_init(), ff_mss12_decode_init(), ff_pnm_decode_header(), ff_print_debug_info2(), ff_qsv_process_data(), ff_set_dimensions(), ff_set_sar(), ff_snow_alloc_blocks(), ff_snow_common_init_after_header(), ff_snow_get_buffer(), ff_vda_default_init(), ff_videotoolbox_alloc_frame(), ff_vp56_decode_frame(), ffmal_copy_frame(), ffmal_update_format(), ffmmal_init_decoder(), fic_decode_frame(), fic_decode_init(), fic_draw_cursor(), fill_picture_parameters(), find_slice_quant(), fits_encode_frame(), flashsv2_encode_init(), flashsv_decode_frame(), flashsv_encode_init(), flic_decode_frame_15_16BPP(), flic_decode_frame_24BPP(), flic_decode_frame_8BPP(), g2m_decode_frame(), g2m_decode_init(), gdv_decode_frame(), gdv_decode_init(), get_buffer_internal(), get_buffer_with_edge(), get_cv_pixel_info(), gif_encode_frame(), gif_encode_init(), gif_image_write_image(), h264_init_context(), halfpel_interpol(), hap_init(), has_codec_parameters(), hnm_decode_init(), hq_decode_frame(), hqa_decode_frame(), hqx_decode_frame(), hscroll(), idcin_decode_vlcs(), idct_put(), init(), init_bundles(), init_dimensions(), init_filter(), init_filters(), init_image(), init_output_stream_encode(), init_video_param(), ipvideo_decode_format_06_opcodes(), ipvideo_decode_format_10_opcodes(), ipvideo_decode_format_11_opcodes(), ipvideo_decode_frame(), ipvideo_decode_init(), ir2_decode_frame(), j2kenc_init(), jpeg_table_header(), lag_decode_arith_plane(), lag_decode_frame(), libkvazaar_init(), libopenjpeg_copy_packed12(), libopenjpeg_copy_packed16(), libopenjpeg_copy_packed8(), libopenjpeg_copy_unpacked16(), libopenjpeg_copy_unpacked8(), libopenjpeg_encode_init(), librsvg_decode_frame(), libwebp_anim_encode_init(), libx265_encode_init(), ljpeg_encode_frame(), ljpeg_encode_init(), ljpeg_encode_yuv(), LLVMFuzzerTestOneInput(), load_buffer(), m101_decode_frame(), main(), mca(), mediacodec_dec_parse_format(), mediacodec_decode_init(), mediacodec_wrap_hw_buffer(), mediacodec_wrap_sw_buffer(), mimic_decode_frame(), mj2_create_image(), mm_decode_init(), mm_decode_inter(), mm_decode_intra(), motion_compensation(), mp_decode_frame(), mp_decode_frame_helper(), mp_decode_init(), mp_decode_line(), mp_read_changes_map(), mpeg4_decode_header(), mpegvideo_extract_headers(), msrle_decode_frame(), msrle_decode_pal4(), mss1_decode_frame(), mss2_decode_frame(), mss3_decode_frame(), mss3_decode_init(), mss4_decode_frame(), mss4_decode_init(), msvideo1_decode_16bit(), msvideo1_decode_8bit(), msvideo1_decode_frame(), mvc_decode_frame(), mvc_decode_init(), new_subtitle_stream(), new_video_stream(), nvenc_alloc_surface(), nvenc_check_capabilities(), nvenc_copy_frame(), nvenc_setup_encoder(), omx_component_init(), omx_encode_frame(), open_output_file(), open_video(), paf_video_init(), pam_encode_frame(), parse_object_segment(), parse_presentation_segment(), pcx_encode_frame(), pixlet_decode_frame(), pnm_decode_frame(), pnm_encode_frame(), pnm_parse(), print_report(), prores_encode_frame(), prores_encode_init(), prores_encode_picture(), qtrle_encode_init(), read_argb_line(), read_rgb24_component_line(), read_yuv_component_line(), receive_frame(), reget_buffer_internal(), rkmpp_retrieve_frame(), rl2_decode_init(), rl2_rle_decode(), rle_uncompress(), roq_decode_init(), roq_encode_init(), rpza_decode_stream(), rscc_decode_frame(), rscc_init(), screenpresso_decode_frame(), screenpresso_init(), sgirle_decode_frame(), smc_decode_stream(), smvjpeg_decode_frame(), sp5x_decode_frame(), speedhq_decode_frame(), sub2video_get_blank_frame(), sub2video_prepare(), subtitle_thread(), sunrast_encode_init(), sunrast_image_write_header(), sunrast_image_write_image(), svc_decode_frame(), svc_encode_frame(), svc_encode_init(), svq1_decode_init(), svq1_encode_end(), svq1_encode_init(), svq3_decode_init(), targa_encode_frame(), targa_encode_init(), tdsc_decode_frame(), tdsc_init(), tdsc_load_cursor(), tdsc_parse_tdsf(), teletext_init_decoder(), test_copy(), test_copy_print_codec(), tgq_decode_frame(), tgv_decode_frame(), tgv_decode_inter(), tm2_decode_blocks(), tm2_motion_block(), tmv_decode_frame(), to_meta_with_crop(), truemotion1_decode_16bit(), truemotion1_decode_24bit(), truemotion1_decode_header(), truemotion1_decode_init(), truemotion2rt_decode_frame(), tscc2_decode_init(), txd_decode_frame(), ulti_decode_init(), update_context_from_thread(), update_dimensions(), utvideo_encode_frame(), utvideo_encode_init(), v308_decode_frame(), v308_decode_init(), v308_encode_frame(), v308_encode_init(), v408_decode_frame(), v408_encode_frame(), v410_decode_frame(), v410_decode_init(), v410_encode_frame(), v410_encode_init(), v4l2_encode_init(), vaapi_encode_h264_configure(), vaapi_encode_h264_init(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_configure(), vaapi_encode_h265_init(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_mjpeg_init(), vaapi_encode_mjpeg_init_picture_params(), vaapi_encode_mpeg2_configure(), vaapi_encode_mpeg2_init(), vaapi_encode_mpeg2_init_sequence_params(), vaapi_encode_vp8_init(), vaapi_encode_vp8_init_sequence_params(), vaapi_encode_vp9_init(), vaapi_encode_vp9_init_sequence_params(), vaapi_vp9_start_frame(), vb_decode_framedata(), vble_decode_frame(), vble_decode_init(), vc1_decode_frame(), vc1_decode_init(), vc2_encode_init(), vcr1_decode_frame(), vcr1_decode_init(), vdadec_init(), video_decode(), video_decode_example(), vmd_decode(), vp7_decode_frame_header(), vp8_decode_frame_header(), vp8_lossy_decode_frame(), vpx_decode(), vpx_init(), vtenc_create_encoder(), vtenc_populate_extradata(), X264_init(), xan_decode_chroma(), xan_decode_frame_type0(), xan_decode_frame_type1(), xan_decode_init(), xan_wc3_copy_pixel_run(), xan_wc3_decode_frame(), xan_wc3_output_pixel_run(), XAVS_init(), xbm_decode_frame(), xbm_encode_frame(), xface_decode_init(), xface_encode_frame(), xpm_decode_frame(), xvid_encode_frame(), xvid_encode_init(), xwd_decode_frame(), xwd_encode_frame(), y216_decode_frame(), y41p_decode_frame(), y41p_decode_init(), y41p_encode_frame(), y41p_encode_init(), yop_decode_frame(), yop_decode_init(), yuv4_decode_frame(), yuv4_encode_frame(), zero12v_decode_frame(), zerocodec_decode_frame(), and zmbv_me().
int AVCodecContext::height |
Definition at line 1948 of file avcodec.h.
Referenced by a64multi_encode_frame(), aasc_decode_frame(), add_av_stream(), add_codec(), add_input_streams(), add_stream(), aic_decode_header(), aic_decode_init(), alloc_buffers(), alloc_frame_buffer(), apply_param_change(), aura_decode_frame(), avcodec_encode_video2(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), avformat_find_stream_info(), avui_decode_frame(), avui_encode_frame(), avui_encode_init(), bethsoftvid_decode_frame(), bfi_decode_frame(), bfi_decode_init(), bink_decode_plane(), binkb_decode_plane(), bitline2chunky(), bitpacked_decode_uyvy422(), bitpacked_decode_yuv422p10(), bitpacked_init_decoder(), bitplanar2chunky(), bmp_decode_frame(), bmp_encode_frame(), cdg_decode_frame(), cdg_decode_init(), cdxl_decode_frame(), cdxl_decode_ham6(), cdxl_decode_ham8(), chunky2chunky(), cinepak_decode_init(), cinepak_decode_vectors(), cinepak_encode_init(), cinvideo_decode_frame(), cinvideo_decode_init(), cllc_decode_frame(), clv_decode_init(), cmv_decode_inter(), cmv_decode_intra(), cmv_process_header(), codec_reinit(), comp_block(), compress_texture(), compute_crc_of_packets(), config_input(), config_props(), create_cv_pixel_buffer_info(), cuvid_handle_video_sequence(), cuvid_init(), cuvid_output_frame(), cyuv_decode_init(), dds_decode(), decode_13(), decode_argb(), decode_argb_frame(), decode_argbi(), decode_argx(), decode_argxi(), decode_aybr(), decode_aybri(), decode_byry(), decode_byryi(), decode_c82i(), decode_c82p(), decode_ca2i(), decode_ca2p(), decode_ca4i(), decode_ca4p(), decode_frame(), decode_frame_header(), decode_header(), decode_i2_frame(), decode_i_frame(), decode_init(), decode_p_block(), decode_p_frame(), decode_picture_header(), decode_rgb(), decode_rgb24_frame(), decode_rgbi(), decode_rgbx(), decode_rgbxi(), decode_rle(), decode_rle16(), decode_rle_bpp2(), decode_rle_bpp4(), decode_sequence_header_adv(), decode_simple_internal(), decode_video(), decode_ybr(), decode_ybr10(), decode_ybr10i(), decode_ybri(), decode_ybyr(), decode_yry10(), decode_yry10i(), decode_yuv_frame(), decompress_i(), decompress_p(), dfa_decode_frame(), dfa_decode_init(), dirac_unpack_idwt_params(), dnxhd_decode_frame(), dnxhd_decode_init(), dnxhd_encode_init(), dnxhd_get_blocks(), dnxhd_mb_var_thread(), dnxhd_write_header(), do_video_stats(), draw_char(), draw_horiz_band(), dv_write_pack(), dvbsub_decode(), dvbsub_parse_display_definition_segment(), dvdsub_init(), dvvideo_encode_init(), dxtory_decode_v1_410(), dxtory_decode_v1_420(), dxtory_decode_v1_444(), dxtory_decode_v1_rgb(), dxtory_decode_v2(), dxv_init(), dxva2_h264_end_frame(), dxva2_mpeg2_end_frame(), dxva2_vc1_end_frame(), encode_apng(), encode_frame(), encode_frame_size(), encode_gbrp10(), encode_gbrp12(), encode_headers(), encode_init(), encode_picture_ls(), encode_png(), encode_rgb48_10bit(), encode_slice(), erase_screen(), escape124_decode_init(), escape130_decode_frame(), escape130_decode_init(), estimate_best_b_count(), execute_code(), export_stream_params(), ff_asv_common_init(), ff_dnxhd_find_cid(), ff_draw_horiz_band(), ff_er_frame_end(), ff_ffv1_common_init(), ff_ffv1_init_slice_contexts(), ff_guess_coded_bitrate(), ff_h264_draw_horiz_band(), ff_h264_update_thread_context(), ff_huffyuv_common_init(), ff_libwebp_get_frame(), ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar(), ff_mediacodec_sw_buffer_copy_yuv420_planar(), ff_mediacodec_sw_buffer_copy_yuv420_semi_planar(), ff_mjpeg_decode_sof(), ff_mjpeg_encode_picture_header(), ff_mpeg_update_thread_context(), ff_mpv_encode_init(), ff_mpv_frame_start(), ff_msmpeg4_decode_init(), ff_mss12_decode_init(), ff_pnm_decode_header(), ff_print_debug_info2(), ff_qsv_process_data(), ff_set_dimensions(), ff_set_sar(), ff_slice_thread_init(), ff_snow_alloc_blocks(), ff_snow_common_init_after_header(), ff_snow_get_buffer(), ff_vda_default_init(), ff_videotoolbox_alloc_frame(), ff_vp56_decode_frame(), ffmal_copy_frame(), ffmmal_init_decoder(), fic_decode_frame(), fic_decode_init(), fic_draw_cursor(), fill_picture_parameters(), find_slice_quant(), fits_encode_frame(), flashsv2_encode_init(), flashsv_decode_frame(), flashsv_encode_init(), flic_decode_frame_15_16BPP(), flic_decode_frame_24BPP(), flic_decode_frame_8BPP(), flip(), g2m_decode_frame(), g2m_decode_init(), gdv_decode_frame(), gdv_decode_init(), get_buffer_internal(), get_buffer_with_edge(), get_cv_pixel_info(), gif_encode_frame(), gif_encode_init(), gif_image_write_image(), h264_init_context(), halfpel_interpol(), hap_init(), hnm_decode_init(), hq_decode_frame(), hqa_decode_frame(), hqx_decode_frame(), hscroll(), idcin_decode_vlcs(), import_format(), init(), init_bundles(), init_dimensions(), init_filter(), init_filters(), init_image(), init_output_stream_encode(), init_video_param(), ipvideo_decode_format_06_opcodes(), ipvideo_decode_format_10_opcodes(), ipvideo_decode_format_11_opcodes(), ipvideo_decode_frame(), ipvideo_decode_init(), ir2_decode_frame(), j2kenc_init(), lag_decode_frame(), libkvazaar_init(), libopenjpeg_copy_packed12(), libopenjpeg_copy_packed16(), libopenjpeg_copy_packed8(), libopenjpeg_copy_unpacked16(), libopenjpeg_copy_unpacked8(), libopenjpeg_encode_init(), libwebp_anim_encode_init(), libx265_encode_init(), ljpeg_encode_frame(), ljpeg_encode_yuv(), LLVMFuzzerTestOneInput(), load_buffer(), m101_decode_frame(), main(), mca(), mediacodec_dec_parse_format(), mediacodec_decode_init(), mediacodec_wrap_hw_buffer(), mediacodec_wrap_sw_buffer(), mimic_decode_frame(), mj2_create_image(), mm_decode_init(), mm_decode_inter(), mm_decode_intra(), motion_compensation(), mp_decode_frame(), mp_decode_frame_helper(), mp_decode_init(), mp_read_changes_map(), mpeg4_decode_header(), mpegvideo_extract_headers(), msrle_decode_8_16_24_32(), msrle_decode_frame(), msrle_decode_pal4(), mss1_decode_frame(), mss2_decode_frame(), mss2_decode_init(), mss3_decode_frame(), mss3_decode_init(), mss4_decode_frame(), msvideo1_decode_16bit(), msvideo1_decode_8bit(), msvideo1_decode_frame(), mvc_decode_frame(), mvc_decode_init(), new_subtitle_stream(), new_video_stream(), nvenc_alloc_surface(), nvenc_check_capabilities(), nvenc_copy_frame(), nvenc_setup_encoder(), omx_component_init(), omx_encode_frame(), open_output_file(), open_video(), paf_video_init(), pam_encode_frame(), parse_object_segment(), parse_palette_segment(), parse_presentation_segment(), pcx_encode_frame(), pixlet_decode_frame(), pnm_decode_frame(), pnm_encode_frame(), pnm_parse(), print_report(), prores_encode_frame(), prores_encode_init(), prores_encode_picture(), qtrle_decode_16bpp(), qtrle_decode_1bpp(), qtrle_decode_24bpp(), qtrle_decode_2n4bpp(), qtrle_decode_32bpp(), qtrle_decode_8bpp(), qtrle_decode_frame(), qtrle_encode_init(), receive_frame(), reget_buffer_internal(), rkmpp_retrieve_frame(), rl2_decode_init(), rl2_rle_decode(), roq_decode_init(), roq_encode_init(), rpza_decode_stream(), rscc_decode_frame(), rscc_init(), screenpresso_decode_frame(), screenpresso_init(), sgirle_decode_frame(), smc_decode_stream(), smvjpeg_decode_frame(), sp5x_decode_frame(), speedhq_decode_frame(), sub2video_get_blank_frame(), sub2video_prepare(), subtitle_thread(), sunrast_encode_init(), sunrast_image_write_header(), sunrast_image_write_image(), svc_decode_frame(), svc_encode_frame(), svc_encode_init(), svq1_decode_init(), svq1_encode_end(), svq1_encode_init(), svq3_decode_frame(), svq3_decode_init(), targa_encode_frame(), targa_encode_init(), tdsc_decode_frame(), tdsc_init(), tdsc_load_cursor(), tdsc_parse_tdsf(), teletext_init_decoder(), test_copy(), test_copy_print_codec(), tgq_decode_frame(), tgv_decode_frame(), tgv_decode_inter(), tm2_decode_blocks(), tm2_motion_block(), tmv_decode_frame(), to_meta_with_crop(), truemotion1_decode_16bit(), truemotion1_decode_24bit(), truemotion1_decode_header(), truemotion2rt_decode_frame(), tscc2_decode_init(), txd_decode_frame(), ulti_decode_init(), update_context_from_thread(), update_dimensions(), utvideo_encode_frame(), utvideo_encode_init(), v308_decode_frame(), v308_encode_frame(), v408_decode_frame(), v408_encode_frame(), v410_decode_frame(), v410_encode_frame(), v4l2_encode_init(), vaapi_encode_h264_configure(), vaapi_encode_h264_init(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_configure(), vaapi_encode_h265_init(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_mjpeg_init(), vaapi_encode_mjpeg_init_picture_params(), vaapi_encode_mpeg2_configure(), vaapi_encode_mpeg2_init(), vaapi_encode_mpeg2_init_sequence_params(), vaapi_encode_vp8_init(), vaapi_encode_vp8_init_sequence_params(), vaapi_encode_vp9_init(), vaapi_encode_vp9_init_sequence_params(), vaapi_h264_end_frame(), vaapi_mpeg2_end_frame(), vaapi_mpeg4_end_frame(), vaapi_vc1_end_frame(), vaapi_vp9_start_frame(), vb_decode_framedata(), vble_decode_frame(), vble_decode_init(), vc1_decode_frame(), vc1_decode_init(), vc2_encode_init(), vcr1_decode_frame(), vcr1_decode_init(), vdadec_init(), vdpau_h264_end_frame(), video_decode(), video_decode_example(), vmd_decode(), vp7_decode_frame_header(), vp8_decode_frame_header(), vp8_lossy_decode_frame(), vpx_decode(), vpx_init(), vtenc_create_encoder(), vtenc_populate_extradata(), X264_init(), xan_decode_chroma(), xan_decode_frame(), xan_decode_frame_type0(), xan_decode_frame_type1(), xan_decode_init(), xan_wc3_copy_pixel_run(), xan_wc3_decode_frame(), XAVS_init(), xbm_decode_frame(), xbm_encode_frame(), xface_decode_init(), xface_encode_frame(), xpm_decode_frame(), xvid_encode_frame(), xvid_encode_init(), xwd_decode_frame(), xwd_encode_frame(), y216_decode_frame(), y41p_decode_frame(), y41p_encode_frame(), yop_decode_frame(), yop_decode_init(), yuv4_decode_frame(), yuv4_encode_frame(), zero12v_decode_frame(), zerocodec_decode_frame(), and zmbv_me().
int AVCodecContext::coded_width |
Bitstream width / height, may be different from width/height e.g.
when the decoded frame is cropped before being output or lowres is enabled.
Definition at line 1963 of file avcodec.h.
Referenced by add_input_streams(), avcodec_default_get_buffer2(), avcodec_open2(), avcodec_string(), avformat_find_stream_info(), cuvid_decode_init(), dds_decode(), decode_init(), decompress_texture_thread(), dnxhd_decode_init(), dump_stream_format(), dxv_decode(), dxv_init(), dxva_adjust_hwframes(), export_stream_params(), ff_dv_frame_profile(), ff_h263_decode_frame(), ff_h264_update_thread_context(), ff_mpeg_update_thread_context(), ff_mpv_decode_init(), ff_mss12_decode_init(), ff_qsv_process_data(), ff_set_dimensions(), ff_vaapi_decode_init(), ff_vc1_interp_mc(), ff_vc1_mc_1mv(), ff_vc1_mc_4mv_chroma(), ff_vc1_mc_4mv_chroma4(), ff_vc1_mc_4mv_luma(), ff_vdpau_common_init(), ff_vdpau_common_reinit(), ff_vp56_decode_frame(), get_buffer_internal(), get_format(), h261_decode_frame(), h264_init_ps(), hap_decode(), hap_init(), hq_decode_frame(), hqa_decode_frame(), hqx_decode_frame(), init_dimensions(), magy_decode_frame(), magy_decode_slice(), magy_decode_slice10(), mpeg4_decode_header(), mpeg_decode_init(), mpegvideo_extract_headers(), qsv_decode_init(), qsv_init(), rv10_decode_init(), rv30_decode_init(), show_stream(), sp5x_decode_frame(), speedhq_decode_frame(), txd_decode_frame(), update_context_from_thread(), update_dimensions(), v4l2_decode_init(), v4l2_try_start(), vaapi_decode_make_config(), vaapi_vc1_start_frame(), vc1_decode_frame(), vc1_decode_init(), vcr2_init_sequence(), verify_md5(), vp3_decode_init(), and vp56_size_changed().
int AVCodecContext::coded_height |
Definition at line 1963 of file avcodec.h.
Referenced by add_input_streams(), avcodec_default_get_buffer2(), avcodec_open2(), avcodec_string(), avformat_find_stream_info(), cuvid_decode_init(), dds_decode(), decode_init(), decompress_texture_thread(), dnxhd_decode_init(), dump_stream_format(), dxv_decode(), dxv_init(), dxva_adjust_hwframes(), export_stream_params(), ff_dv_frame_profile(), ff_h263_decode_frame(), ff_h264_update_thread_context(), ff_mjpeg_decode_init(), ff_mpeg_update_thread_context(), ff_mpv_decode_init(), ff_mss12_decode_init(), ff_qsv_process_data(), ff_set_dimensions(), ff_vaapi_decode_init(), ff_vc1_interp_mc(), ff_vc1_mc_1mv(), ff_vc1_mc_4mv_chroma(), ff_vc1_mc_4mv_chroma4(), ff_vc1_mc_4mv_luma(), ff_vdpau_common_init(), ff_vdpau_common_reinit(), ff_vp56_decode_frame(), get_buffer_internal(), get_format(), h261_decode_frame(), h264_init_ps(), hap_decode(), hap_init(), hq_decode_frame(), hqa_decode_frame(), hqx_decode_frame(), init_dimensions(), magy_decode_frame(), magy_decode_slice(), magy_decode_slice10(), mpeg4_decode_header(), mpeg_decode_init(), mpegvideo_extract_headers(), qsv_decode_init(), qsv_init(), rv10_decode_init(), rv30_decode_init(), show_stream(), sp5x_decode_frame(), speedhq_decode_frame(), txd_decode_frame(), update_context_from_thread(), update_dimensions(), v4l2_decode_init(), v4l2_try_start(), vaapi_decode_make_config(), vaapi_vc1_start_frame(), vc1_decode_frame(), vc1_decode_init(), vcr2_init_sequence(), verify_md5(), vp3_decode_init(), and vp56_size_changed().
int AVCodecContext::gop_size |
the number of pictures in a group of pictures, or 0 for intra_only
Definition at line 1974 of file avcodec.h.
Referenced by add_av_stream(), add_stream(), config_input(), config_props(), encode_frame(), encode_init(), ff_mpv_encode_init(), flashsv2_encode_frame(), flashsv_encode_frame(), init_video_param(), main(), new_video_stream(), nvenc_setup_encoder(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), omx_component_init(), qtrle_encode_frame(), recommend_keyframe(), roq_encode_frame(), svc_encode_init(), svq1_encode_frame(), v4l2_prepare_encoder(), vaapi_encode_config_attributes(), vaapi_encode_get_next(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_mpeg2_init_sequence_params(), vaapi_encode_vp8_init_sequence_params(), vaapi_encode_vp9_init_sequence_params(), vpx_init(), vtenc_create_encoder(), write_extradata(), X264_init(), XAVS_init(), and xvid_encode_init().
enum AVPixelFormat AVCodecContext::pix_fmt |
Pixel format, see AV_PIX_FMT_xxx.
May be set by the demuxer if known from headers. May be overridden by the decoder if it knows better.
Definition at line 1989 of file avcodec.h.
Referenced by aasc_decode_frame(), aasc_decode_init(), add_stream(), aic_decode_init(), alloc_buffers(), alloc_frame_buffer(), aura_decode_init(), avcodec_align_dimensions(), avcodec_align_dimensions2(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), avformat_find_stream_info(), avs_decode_init(), avui_decode_init(), bethsoftvid_decode_init(), bfi_decode_init(), bitpacked_decode_uyvy422(), bitpacked_init_decoder(), bmp_decode_frame(), bmp_encode_frame(), bmp_encode_init(), cdg_decode_init(), cdxl_decode_frame(), cfhd_decode(), choose_pix_fmts(), cinepak_decode_init(), cinepak_encode_end(), cinepak_encode_init(), cinvideo_decode_init(), cllc_decode_frame(), clv_decode_init(), cmv_decode_init(), commit_bitstream_and_slice_buffer(), compute_crc_of_packets(), config_input(), config_props(), copy_frame(), cpia_decode_init(), create_cv_pixel_buffer(), create_cv_pixel_buffer_info(), cuvid_decode_init(), cuvid_output_frame(), cyuv_decode_frame(), dds_decode(), decode_fctl_chunk(), decode_frame(), decode_frame_header(), decode_header(), decode_idat_chunk(), decode_init(), decode_plane(), decode_simple_internal(), decode_slice(), decode_slice_thread(), decode_video(), decode_wmv9(), dfa_decode_init(), dirac_decode_data_unit(), dnxhd_decode_frame(), dnxhd_encode_init(), dnxhd_encode_thread(), dnxhd_write_header(), draw_horiz_band(), dvvideo_decode_frame(), dvvideo_encode_frame(), dvvideo_encode_init(), dxtory_decode_v1_410(), dxtory_decode_v1_420(), dxtory_decode_v1_444(), dxtory_decode_v1_rgb(), dxtory_decode_v2(), dxv_init(), encode_frame(), encode_init(), encode_init_ls(), encode_picture_ls(), encode_plane(), encode_slice(), escape124_decode_init(), escape130_decode_init(), estimate_best_b_count(), export_stream_params(), extract_header(), ff_cavs_init(), ff_draw_horiz_band(), ff_dxva2_commit_buffer(), ff_dxva2_common_end_frame(), ff_dxva2_get_surface_index(), ff_dxva2_is_d3d11(), ff_guess_coded_bitrate(), ff_h263_decode_frame(), ff_h263_decode_init(), ff_h264_draw_horiz_band(), ff_huffyuvencdsp_init_x86(), ff_init_buffer_info(), ff_jpegls_decode_lse(), ff_libwebp_get_frame(), ff_mjpeg_decode_frame(), ff_mjpeg_decode_sof(), ff_mjpeg_decode_sos(), ff_mjpeg_encode_picture_header(), ff_mjpeg_init_hvsample(), ff_mpv_common_init(), ff_mpv_encode_init(), ff_mpv_frame_start(), ff_nvenc_encode_close(), ff_nvenc_encode_init(), ff_pnm_decode_header(), ff_print_debug_info2(), ff_qsv_process_data(), ff_rv34_decode_init(), ff_snow_common_init_after_header(), ff_videotoolbox_alloc_frame(), ff_vp56_decode_frame(), ff_vp56_init_context(), ffmal_copy_frame(), ffmal_update_format(), ffmmal_init_decoder(), fic_decode_init(), filter(), fits_decode_frame(), fits_encode_frame(), flashsv_decode_init(), flic_decode_frame(), flic_decode_init(), frame_end(), g2m_decode_init(), gdv_decode_init(), get_buffer_internal(), get_buffer_with_edge(), get_pixel_format(), get_siz(), gif_decode_init(), gif_encode_frame(), gif_encode_init(), h261_decode_init(), h263_get_format(), h264_init_ps(), h264_slice_header_init(), handle_p_frame_apng(), hap_init(), has_codec_parameters(), hevc_update_thread_context(), hnm_decode_init(), hq_decode_frame(), hqa_decode_frame(), hqx_decode_frame(), idcin_decode_init(), init(), init_context_defaults(), init_decoder(), init_filter(), init_filters(), init_image(), init_output_stream_encode(), init_video_param(), ipvideo_decode_init(), ir2_decode_init(), j2kenc_init(), jpeg2000_decode_frame(), jpeg_put_comments(), lag_decode_arith_plane(), lag_decode_frame(), lag_pred_line(), libkvazaar_encode(), libopenjpeg_decode_frame(), libopenjpeg_encode_frame(), librsvg_decode_frame(), libx265_encode_frame(), libx265_encode_init(), ljpeg_encode_bgr(), ljpeg_encode_frame(), ljpeg_encode_init(), load_input_picture(), m101_decode_frame(), m101_decode_init(), magy_decode_frame(), main(), mediacodec_dec_parse_format(), mediacodec_wrap_hw_buffer(), mediacodec_wrap_sw_buffer(), mimic_decode_frame(), mj2_create_image(), mjpeg_decode_scan(), mm_decode_init(), mp_decode_init(), msrle_decode_frame(), msrle_decode_init(), mss1_decode_init(), mss2_decode_frame(), mss2_decode_init(), mss3_decode_init(), mss4_decode_init(), msvideo1_decode_8bit(), msvideo1_decode_init(), mvc_decode_init(), new_video_stream(), nvenc_alloc_surface(), nvenc_setup_device(), nvenc_upload_frame(), omx_encode_frame(), open_output_file(), open_video(), paf_video_init(), pam_encode_frame(), parse_palette(), parse_pixel_format(), pcx_decode_frame(), pcx_encode_frame(), pix_decode_frame(), pixlet_init(), png_enc_init(), pnm_decode_frame(), pnm_encode_frame(), pnm_parse(), process_output_surface(), prores_encode_init(), ptx_decode_frame(), put_cod(), qsv_decode(), qsv_decode_init(), qtrle_decode_init(), qtrle_encode_init(), qtrle_encode_line(), raw_encode_init(), raw_init_decoder(), read_header(), reget_buffer_internal(), rkmpp_init_decoder(), rl2_decode_init(), roq_decode_init(), rpza_decode_init(), rscc_decode_frame(), rscc_init(), rv10_decode_init(), screenpresso_decode_frame(), seqvideo_decode_init(), set_pix_fmt(), set_sps(), setup_hwaccel_for_pixfmt(), sgirle_decode_init(), smc_decode_init(), smvjpeg_decode_frame(), speedhq_decode_init(), sunrast_decode_frame(), sunrast_encode_init(), svc_decode_frame(), svc_decode_init(), svq1_decode_init(), svq1_encode_frame(), svq3_decode_init(), targa_encode_frame(), tdsc_init(), tgq_decode_init(), tgv_decode_init(), tiff_unpack_fax(), tiff_unpack_strip(), tmv_decode_init(), tqi_decode_init(), truemotion1_decode_header(), truemotion2rt_decode_init(), tscc2_decode_init(), txd_decode_frame(), ulti_decode_init(), update_context_from_thread(), update_frame_pool(), update_size(), utvideo_encode_frame(), utvideo_encode_init(), v308_decode_init(), v408_decode_init(), v410_decode_init(), v4l2_decode_init(), v4l2_encode_init(), v4l2_try_start(), vble_decode_init(), vc1_decode_frame(), vc1_decode_init(), vc2_encode_init(), vcr1_decode_init(), vcr2_init_sequence(), vdadec_decode(), vdadec_init(), video_decode(), video_decode_example(), vmdvideo_decode_init(), vp3_decode_init(), vp78_decode_frame(), vp78_decode_init(), vp8_lossless_decode_frame(), vp8_lossy_decode_frame(), vpx_decode(), vpx_init(), vqa_decode_init(), vtenc_init(), vtenc_populate_extradata(), X264_frame(), X264_init(), xan_decode_init(), xbm_decode_frame(), xface_decode_init(), xpm_decode_frame(), xvid_encode_frame(), xwd_decode_frame(), xwd_encode_frame(), y216_decode_init(), y41p_decode_init(), yop_decode_init(), yuv4_decode_init(), zero12v_decode_init(), and zerocodec_decode_init().
attribute_deprecated int AVCodecContext::me_method |
This option does nothing.
Definition at line 1996 of file avcodec.h.
Referenced by encode_frame(), encode_init(), ff_mpv_encode_init(), svq1_encode_plane(), X264_init(), XAVS_init(), and xvid_encode_init().
void(* AVCodecContext::draw_horiz_band)(struct AVCodecContext *s, const AVFrame *src, int offset[AV_NUM_DATA_POINTERS], int y, int type, int height) |
If non NULL, 'draw_horiz_band' is called by the libavcodec decoder to draw a horizontal band.
It improves cache usage. Not all codecs can do that. You must check the codec capabilities beforehand. When multithreading is used, it may be called from multiple threads at the same time; threads might draw different parts of the same AVFrame, or multiple AVFrames, and there is no guarantee that slices will be drawn in order. The function is also used by hardware acceleration APIs. It is called at least once during frame decoding to pass the data needed for hardware render. In that mode instead of pixel data, AVFrame points to a structure specific to the acceleration API. The application reads the structure and can change some fields to indicate progress or mark state.
height | the height of the slice |
y | the y position of the slice |
type | 1->top field, 2->bottom field, 3->frame |
offset | offset into the AVFrame.data from which the slice should be read |
Definition at line 2022 of file avcodec.h.
Referenced by draw_slice(), ff_draw_horiz_band(), ff_h264_draw_horiz_band(), ff_init_block_index(), mpv_reconstruct_mb_internal(), update_context_from_user(), video_decode(), and vp3_draw_horiz_band().
enum AVPixelFormat(* AVCodecContext::get_format)(struct AVCodecContext *s, const enum AVPixelFormat *fmt) |
callback to negotiate the pixelFormat
fmt | is the list of formats which are supported by the codec, it is terminated by -1 as 0 is a valid format, the formats are ordered by quality. The first is always the native one. |
Definition at line 2039 of file avcodec.h.
Referenced by ff_get_format(), ff_thread_get_format(), init_context_defaults(), init_input_stream(), main(), restore_context(), set_context(), submit_packet(), and vdadec_init().
int AVCodecContext::max_b_frames |
maximum number of B-frames between non-B-frames Note: The output will be delayed by max_b_frames+1 relative to the input.
Definition at line 2047 of file avcodec.h.
Referenced by add_stream(), config_input(), config_props(), decode_sequence_header_adv(), estimate_best_b_count(), ff_mpv_encode_init(), ff_vaapi_encode_init(), ff_vc1_decode_sequence_header(), ff_vc1_parse_frame_header(), init_video_param(), main(), nvenc_check_capabilities(), nvenc_set_timestamp(), nvenc_setup_encoder(), output_ready(), v4l2_check_b_frame_support(), v4l2_prepare_encoder(), vaapi_encode_config_attributes(), vaapi_encode_create_recon_frames(), vaapi_encode_h264_init(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_vp8_init(), vaapi_encode_vp9_init_picture_params(), vaapi_vc1_start_frame(), vc1_decode_init(), vtenc_init(), wmv9_init(), X264_init(), XAVS_frame(), XAVS_init(), and xvid_encode_init().
float AVCodecContext::b_quant_factor |
qscale factor between IP and B-frames If > 0 then the last P-frame quantizer will be used (q= lastp_q*factor+offset).
If < 0 then normal ratecontrol will be done (q= -normal_q*factor+offset).
Definition at line 2056 of file avcodec.h.
Referenced by ff_xvid_rate_estimate_qscale(), get_diff_limited_q(), get_qminmax(), get_qscale(), init_video_param(), set_constqp(), set_vbr(), vaapi_encode_h264_configure(), vaapi_encode_h265_configure(), vaapi_encode_mpeg2_configure(), vaapi_encode_vp9_configure(), X264_init(), XAVS_init(), and xvid_encode_init().
attribute_deprecated int AVCodecContext::rc_strategy |
Definition at line 2060 of file avcodec.h.
Referenced by ff_mpv_encode_init().
attribute_deprecated int AVCodecContext::b_frame_strategy |
Definition at line 2067 of file avcodec.h.
Referenced by ff_mpv_encode_init(), init_video_param(), X264_init(), and XAVS_init().
float AVCodecContext::b_quant_offset |
qscale offset between IP and B-frames
Definition at line 2075 of file avcodec.h.
Referenced by ff_xvid_rate_estimate_qscale(), get_diff_limited_q(), get_qminmax(), get_qscale(), init_video_param(), set_constqp(), set_vbr(), vaapi_encode_h264_configure(), vaapi_encode_h265_configure(), vaapi_encode_mpeg2_configure(), vaapi_encode_vp9_configure(), and xvid_encode_init().
int AVCodecContext::has_b_frames |
Size of the frame reordering buffer in the decoder.
For MPEG-2 it is 1 IPB or 0 low delay IP.
Definition at line 2083 of file avcodec.h.
Referenced by avcodec_parameters_from_context(), avcodec_parameters_to_context(), compute_pkt_fields(), decode_simple_internal(), decode_video(), dirac_combine_frame(), export_stream_params(), ff_h263_decode_frame(), ff_h264_execute_ref_pic_marking(), ff_mpeg4_decode_picture_header(), ff_mpv_encode_init(), ff_rv34_decode_init(), h264_decode_init(), h264_select_output_frame(), has_decode_delay_been_guessed(), mpegvideo_extract_headers(), nvenc_setup_encoder(), process_input_packet(), rv10_decode_init(), select_from_pts_buffer(), svq3_decode_init(), update_context_from_thread(), update_dts_from_pts(), update_initial_durations(), vc1_decode_frame(), vc1_decode_init(), vcr2_init_sequence(), vtenc_init(), X264_init(), XAVS_frame(), and XAVS_init().
attribute_deprecated int AVCodecContext::mpeg_quant |
Definition at line 2088 of file avcodec.h.
Referenced by ff_mpv_encode_init(), and xvid_encode_init().
float AVCodecContext::i_quant_factor |
qscale factor between P- and I-frames If > 0 then the last P-frame quantizer will be used (q = lastp_q * factor + offset).
If < 0 then normal ratecontrol will be done (q= -normal_q*factor+offset).
Definition at line 2098 of file avcodec.h.
Referenced by get_diff_limited_q(), get_qminmax(), get_qscale(), init_video_param(), set_constqp(), set_vbr(), vaapi_encode_h264_configure(), vaapi_encode_h265_configure(), vaapi_encode_mpeg2_configure(), vaapi_encode_vp8_configure(), vaapi_encode_vp9_configure(), X264_init(), and XAVS_init().
float AVCodecContext::i_quant_offset |
qscale offset between P and I-frames
Definition at line 2105 of file avcodec.h.
Referenced by get_diff_limited_q(), get_qminmax(), get_qscale(), init_video_param(), set_constqp(), set_vbr(), vaapi_encode_h264_configure(), vaapi_encode_h265_configure(), vaapi_encode_mpeg2_configure(), vaapi_encode_vp8_configure(), and vaapi_encode_vp9_configure().
float AVCodecContext::lumi_masking |
luminance masking (0-> disabled)
Definition at line 2112 of file avcodec.h.
Referenced by adaptive_quantization(), ff_mpv_encode_init(), and xvid_encode_init().
float AVCodecContext::temporal_cplx_masking |
temporary complexity masking (0-> disabled)
Definition at line 2119 of file avcodec.h.
Referenced by adaptive_quantization(), and ff_mpv_encode_init().
float AVCodecContext::spatial_cplx_masking |
spatial complexity masking (0-> disabled)
Definition at line 2126 of file avcodec.h.
Referenced by adaptive_quantization(), and ff_mpv_encode_init().
float AVCodecContext::p_masking |
p block masking (0-> disabled)
Definition at line 2133 of file avcodec.h.
Referenced by adaptive_quantization(), and ff_mpv_encode_init().
float AVCodecContext::dark_masking |
darkness masking (0-> disabled)
Definition at line 2140 of file avcodec.h.
Referenced by adaptive_quantization(), and ff_mpv_encode_init().
int AVCodecContext::slice_count |
slice count
Definition at line 2147 of file avcodec.h.
Referenced by ff_rv34_decode_frame(), get_slice_offset(), rv10_decode_frame(), and update_context_from_user().
attribute_deprecated int AVCodecContext::prediction_method |
Definition at line 2152 of file avcodec.h.
Referenced by encode_init(), encode_picture_ls(), ff_mpv_encode_init(), j2kenc_init(), ljpeg_encode_bgr(), ljpeg_encode_yuv(), png_enc_init(), and utvideo_encode_init().
int* AVCodecContext::slice_offset |
slice offsets in the frame in bytes
Definition at line 2163 of file avcodec.h.
Referenced by avcodec_copy_context(), ff_frame_thread_free(), get_slice_offset(), and update_context_from_user().
AVRational AVCodecContext::sample_aspect_ratio |
sample aspect ratio (0 if unknown) That is the width of a pixel divided by the height of the pixel.
Numerator and denominator must be relatively prime and smaller than 256 for some video standards.
Definition at line 2172 of file avcodec.h.
Referenced by add_av_stream1(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), decode_frame(), decode_phys_chunk(), decode_sequence_header_adv(), decode_simple_internal(), decode_vol_header(), dnxhd_decode_header(), dv_write_pack(), encode_aspect_ratio(), encode_frame(), encode_headers(), encode_init(), ff_canopus_parse_info_tag(), ff_flv_decode_picture_header(), ff_h263_decode_frame(), ff_h263_decode_picture_header(), ff_h263_encode_picture_header(), ff_init_buffer_info(), ff_intel_h263_decode_picture_header(), ff_mpv_encode_init(), ff_rv34_decode_frame(), ff_set_sar(), ffmal_update_format(), ffmmal_init_decoder(), gif_read_header1(), h264_init_ps(), init_context_defaults(), init_filter(), init_filters(), init_output_stream_encode(), init_video_param(), jpeg2000_decode_frame(), jpeg_put_comments(), libkvazaar_init(), libx265_encode_init(), mjpeg_decode_app(), mjpeg_decode_com(), mpeg1_encode_sequence_header(), mpeg4_encode_vol_header(), mpeg_decode_postinit(), new_video_stream(), nvenc_setup_encoder(), open_output_file(), pcx_decode_frame(), pcx_encode_frame(), reap_filters(), receive_frame(), reconfig_encoder(), rv20_decode_picture_header(), set_sar(), truemotion1_decode_header(), update_context_from_thread(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vtenc_create_encoder(), X264_init(), XAVS_init(), and xvid_encode_frame().
int AVCodecContext::me_cmp |
motion estimation comparison function
Definition at line 2179 of file avcodec.h.
Referenced by config_props(), encode_init(), encode_q_branch(), estimate_best_b_count(), estimate_motion_b(), ff_estimate_p_frame_motion(), ff_init_me(), get_4block_rd(), get_block_rd(), hpel_motion_search(), qpel_motion_search(), X264_init(), and XAVS_init().
int AVCodecContext::me_sub_cmp |
subpixel motion estimation comparison function
Definition at line 2185 of file avcodec.h.
Referenced by config_props(), direct_search(), encode_init(), encode_q_branch(), estimate_best_b_count(), estimate_motion_b(), ff_estimate_p_frame_motion(), ff_init_me(), hpel_motion_search(), and qpel_motion_search().
int AVCodecContext::mb_cmp |
macroblock comparison function (not supported yet)
Definition at line 2191 of file avcodec.h.
Referenced by check_bidir_mv(), config_props(), direct_search(), encode_q_branch(), estimate_best_b_count(), estimate_motion_b(), ff_estimate_p_frame_motion(), ff_init_me(), h263_mv4_search(), interlaced_search(), and sse_mb().
int AVCodecContext::ildct_cmp |
interlaced DCT comparison function
Definition at line 2197 of file avcodec.h.
Referenced by dvvideo_encode_init(), encode_mb_internal(), and ff_mpv_encode_init().
int AVCodecContext::dia_size |
ME diamond size & shape.
Definition at line 2221 of file avcodec.h.
Referenced by config_props(), encode_frame(), estimate_motion_thread(), ff_init_me(), iterative_me(), and svq1_encode_plane().
int AVCodecContext::last_predictor_count |
amount of previous MV predictors (2a+1 x 2a+1 square)
Definition at line 2228 of file avcodec.h.
Referenced by epzs_motion_search_internal().
attribute_deprecated int AVCodecContext::pre_me |
Definition at line 2233 of file avcodec.h.
Referenced by ff_mpv_encode_init().
int AVCodecContext::me_pre_cmp |
motion estimation prepass comparison function
Definition at line 2241 of file avcodec.h.
Referenced by ff_init_me(), and ff_pre_estimate_p_frame_motion().
int AVCodecContext::pre_dia_size |
ME prepass diamond size & shape.
Definition at line 2248 of file avcodec.h.
Referenced by ff_init_me(), and pre_estimate_motion_thread().
int AVCodecContext::me_subpel_quality |
subpel ME quality
Definition at line 2255 of file avcodec.h.
Referenced by qpel_motion_search(), X264_init(), and XAVS_init().
attribute_deprecated int AVCodecContext::dtg_active_format |
DTG active format information (additional aspect ratio information only used in DVB MPEG-2 transport streams) 0 if not set.
Definition at line 2267 of file avcodec.h.
Referenced by decode_nal_units(), mpeg_decode_user_data(), and update_context_from_thread().
int AVCodecContext::me_range |
maximum motion estimation search range in subpel units If 0 then no limit.
Definition at line 2284 of file avcodec.h.
Referenced by encode_init(), ff_fix_long_mvs(), ff_fix_long_p_mvs(), ff_get_best_fcode(), get_limits(), mpeg1_encode_sequence_header(), X264_init(), and XAVS_init().
attribute_deprecated int AVCodecContext::intra_quant_bias |
Definition at line 2290 of file avcodec.h.
Referenced by dnxhd_encode_init(), and ff_mpv_encode_init().
attribute_deprecated int AVCodecContext::inter_quant_bias |
Definition at line 2296 of file avcodec.h.
Referenced by ff_mpv_encode_init().
int AVCodecContext::slice_flags |
slice flags
Definition at line 2304 of file avcodec.h.
Referenced by ff_draw_horiz_band(), ff_h264_draw_horiz_band(), mpeg_field_start(), and update_context_from_user().
int AVCodecContext::mb_decision |
macroblock decision mode
Definition at line 2324 of file avcodec.h.
Referenced by add_stream(), clip_coeffs(), dnxhd_calc_bits_thread(), dnxhd_encode_picture(), dnxhd_init_rc(), encode_mb_hq(), encode_thread(), estimate_best_b_count(), ff_estimate_b_frame_motion(), ff_estimate_p_frame_motion(), ff_mpv_encode_init(), ff_mpv_encode_picture(), mpv_reconstruct_mb_internal(), and xvid_encode_init().
uint16_t* AVCodecContext::intra_matrix |
custom intra quantization matrix
Definition at line 2334 of file avcodec.h.
Referenced by avcodec_copy_context(), avcodec_free_context(), copy_context_reset(), encode_picture(), ff_mpv_encode_init(), mpeg1_encode_sequence_header(), mpeg4_encode_vol_header(), new_video_stream(), and xvid_encode_init().
uint16_t* AVCodecContext::inter_matrix |
custom inter quantization matrix
Definition at line 2341 of file avcodec.h.
Referenced by avcodec_copy_context(), avcodec_free_context(), copy_context_reset(), ff_mpv_encode_init(), mpeg1_encode_sequence_header(), mpeg4_encode_vol_header(), new_video_stream(), and xvid_encode_init().
attribute_deprecated int AVCodecContext::scenechange_threshold |
Definition at line 2346 of file avcodec.h.
Referenced by encode_frame(), ff_mpv_encode_init(), X264_init(), and XAVS_init().
attribute_deprecated int AVCodecContext::noise_reduction |
Definition at line 2350 of file avcodec.h.
Referenced by ff_mpv_encode_init(), vpx_init(), X264_init(), and XAVS_init().
attribute_deprecated int AVCodecContext::me_threshold |
attribute_deprecated int AVCodecContext::mb_threshold |
Definition at line 2364 of file avcodec.h.
Referenced by vpx_init().
int AVCodecContext::intra_dc_precision |
precision of the intra DC coefficient - 8
Definition at line 2372 of file avcodec.h.
Referenced by ff_mpv_encode_init().
int AVCodecContext::skip_top |
Number of macroblock rows at the top which are skipped.
Definition at line 2379 of file avcodec.h.
Referenced by ff_er_add_slice(), and ff_er_frame_end().
int AVCodecContext::skip_bottom |
Number of macroblock rows at the bottom which are skipped.
Definition at line 2386 of file avcodec.h.
Referenced by decode_chunks(), and ff_er_frame_end().
attribute_deprecated float AVCodecContext::border_masking |
Definition at line 2393 of file avcodec.h.
Referenced by ff_mpv_encode_init().
int AVCodecContext::mb_lmin |
minimum MB Lagrange multiplier
Definition at line 2401 of file avcodec.h.
Referenced by adaptive_quantization(), and encode_init().
int AVCodecContext::mb_lmax |
maximum MB Lagrange multiplier
Definition at line 2408 of file avcodec.h.
Referenced by adaptive_quantization(), and encode_init().
attribute_deprecated int AVCodecContext::me_penalty_compensation |
Definition at line 2415 of file avcodec.h.
Referenced by ff_mpv_encode_init().
int AVCodecContext::bidir_refine |
Definition at line 2422 of file avcodec.h.
Referenced by bidir_refine().
attribute_deprecated int AVCodecContext::brd_scale |
Definition at line 2427 of file avcodec.h.
Referenced by ff_mpv_encode_init().
int AVCodecContext::keyint_min |
minimum GOP size
Definition at line 2435 of file avcodec.h.
Referenced by cinepak_encode_init(), encode_frame(), encode_init(), flashsv2_encode_frame(), vpx_init(), X264_init(), and XAVS_init().
int AVCodecContext::refs |
number of reference frames
Definition at line 2442 of file avcodec.h.
Referenced by avcodec_string(), config_props(), encode_init(), ff_vdpau_common_init(), h264_init_ps(), init_video_param(), nvenc_setup_encoder(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), show_stream(), X264_init(), and XAVS_init().
attribute_deprecated int AVCodecContext::chromaoffset |
Definition at line 2447 of file avcodec.h.
Referenced by X264_init(), and XAVS_init().
attribute_deprecated int AVCodecContext::scenechange_factor |
int AVCodecContext::mv0_threshold |
Note: Value depends upon the compare function used for fullpel ME.
Definition at line 2464 of file avcodec.h.
Referenced by epzs_motion_search_internal().
attribute_deprecated int AVCodecContext::b_sensitivity |
Definition at line 2469 of file avcodec.h.
Referenced by ff_mpv_encode_init().
enum AVColorPrimaries AVCodecContext::color_primaries |
Chromaticity coordinates of the source primaries.
Definition at line 2477 of file avcodec.h.
Referenced by avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), decode_frame_header(), dirac_decode_data_unit(), encode_color_spec(), encode_init(), export_stream_params(), ff_init_buffer_info(), get_cv_color_primaries(), h264_init_ps(), libx265_encode_init(), mpeg1_encode_sequence_header(), mpeg_decode_sequence_display_extension(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), update_context_from_thread(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vc1_decode_init(), vtenc_populate_extradata(), and X264_init().
enum AVColorTransferCharacteristic AVCodecContext::color_trc |
Color Transfer Characteristic.
Definition at line 2484 of file avcodec.h.
Referenced by avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), decode_frame(), decode_frame_header(), dirac_decode_data_unit(), encode_color_spec(), export_stream_params(), ff_init_buffer_info(), get_cv_transfer_function(), h264_export_frame_props(), h264_init_ps(), libx265_encode_init(), mpeg1_encode_sequence_header(), mpeg_decode_sequence_display_extension(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), set_side_data(), update_context_from_thread(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vc1_decode_init(), vtenc_populate_extradata(), and X264_init().
enum AVColorSpace AVCodecContext::colorspace |
YUV colorspace type.
Definition at line 2491 of file avcodec.h.
Referenced by avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), decode_frame(), decode_frame_header(), decode_init(), dirac_decode_data_unit(), dnxhd_decode_init(), encode_color_spec(), export_stream_params(), ff_init_buffer_info(), ff_mjpeg_decode_init(), ffmal_update_format(), get_cv_ycbcr_matrix(), get_pixel_format(), h264_init_ps(), libx265_encode_init(), mpeg1_encode_sequence_header(), mpeg_decode_sequence_display_extension(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), parse_pixel_format(), read_colorspace_details(), set_pix_fmt(), speedhq_decode_init(), update_context_from_thread(), utvideo_encode_init(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vc1_decode_init(), vp78_decode_frame(), vtenc_populate_extradata(), and X264_init().
enum AVColorRange AVCodecContext::color_range |
MPEG vs JPEG YUV range.
Definition at line 2498 of file avcodec.h.
Referenced by avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), create_cv_pixel_buffer_info(), decode_frame(), decode_frame_header(), decode_init(), dirac_decode_data_unit(), export_stream_params(), ff_init_buffer_info(), ff_mjpeg_decode_sof(), ff_mpv_encode_init(), get_pixel_format(), h263_get_format(), h264_init_ps(), jpeg_put_comments(), ljpeg_encode_init(), mpeg_decode_init(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), pixlet_init(), png_dec_init(), read_colorspace_details(), roq_decode_init(), set_pix_fmt(), svq3_decode_init(), update_context_from_thread(), vc1_decode_init(), vc2_encode_init(), vp78_decode_frame(), vtenc_populate_extradata(), and X264_init().
enum AVChromaLocation AVCodecContext::chroma_sample_location |
This defines the location of chroma samples.
Definition at line 2505 of file avcodec.h.
Referenced by avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), decode_init(), decode_vui_parameters(), encode_frame(), ff_dvvideo_init(), ff_h263_decode_init(), ff_init_buffer_info(), ff_mjpeg_decode_init(), h264_init_context(), init_output_stream_encode(), speedhq_decode_init(), update_context_from_thread(), and vp3_decode_init().
int AVCodecContext::slices |
Number of slices.
Indicates number of picture subdivisions. Used for parallelized decoding.
Definition at line 2514 of file avcodec.h.
Referenced by encode_init(), ff_mpv_common_init(), ff_mpv_encode_init(), init_video_param(), svc_encode_init(), utvideo_encode_init(), vpx_init(), and X264_init().
enum AVFieldOrder AVCodecContext::field_order |
Field order.
Definition at line 2520 of file avcodec.h.
Referenced by avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), avui_encode_frame(), avui_encode_init(), decode_frame(), ff_canopus_parse_info_tag(), ff_mjpeg_decode_init(), ff_qsv_process_data(), qsv_decode_init(), and vc2_encode_init().
int AVCodecContext::sample_rate |
samples per second
Definition at line 2523 of file avcodec.h.
Referenced by aac_decode_er_frame(), aac_decode_frame_int(), aac_decode_init(), aac_encode_frame(), aac_encode_init(), ac3_decode_frame(), add_av_stream(), add_codec(), add_stream(), adpcm_encode_init(), adx_encode_header(), adx_encode_init(), alac_decode_init(), alac_encode_init(), amr_decode_fix_avctx(), amr_wb_encode_init(), amrnb_decode_init(), amrwb_decode_init(), apply_param_change(), av_get_audio_frame_duration(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), celt_gauge_psy_weight(), cng_decode_init(), create_vorbis_context(), dca_parse(), decode_aiff_header(), decode_audio(), decode_frame(), decode_init(), decode_ppc(), decode_simple_internal(), decode_tag(), decode_wave_header(), do_streamcopy(), dolby_e_decode_frame(), dss_sp_decode_init(), dump_cook_context(), encode_init(), ff_aac_ac3_parse(), ff_aac_search_for_is(), ff_adx_decode_header(), ff_af_queue_add(), ff_dca_lbr_filter_frame(), ff_dca_xll_filter_frame(), ff_flac_parse_streaminfo(), ff_init_buffer_info(), ff_opus_psy_postencode_update(), ff_psy_preprocess_init(), ff_samples_to_time_base(), ff_wma_init(), ffat_create_decoder(), ffat_decode(), ffat_init_decoder(), ffat_init_encoder(), ffat_update_ctx(), filter_frame_fixed(), filter_frame_float(), flac_encode_init(), flac_parse(), g723_1_encode_init(), get_best_header(), get_bit_rate(), get_rate(), get_stream_info(), gsm_init(), has_codec_parameters(), ilbc_decode_init(), ilbc_encode_init(), imc_decode_init(), init_bitstream_params(), init_encoder(), init_filter(), init_filters(), init_output_frame(), init_output_stream_encode(), init_resampler(), libcelt_dec_init(), libgsm_decode_init(), libgsm_encode_init(), libopus_decode_init(), libopus_encode_init(), libopus_write_header(), libshine_encode_init(), libspeex_decode_init(), libvorbis_setup(), main(), mark_pns(), metasound_decode_init(), mlp_encode_init(), mlp_parse(), mp3lame_encode_init(), MPA_encode_init(), mpegaudio_parse(), new_audio_stream(), oggvorbis_decode_init(), old_flac_header(), on2avc_decode_init(), open_audio(), open_output_file(), opus_decode_init(), opus_write_extradata(), parse_packet(), pcm_bluray_parse_header(), pcm_dvd_parse_header(), pcm_encode_init(), process_input_packet(), psy_3gpp_init(), psy_output_groups(), qdm2_decode_init(), qdmc_decode_init(), read_frame_internal(), read_major_sync(), read_specific_config(), roq_dpcm_encode_init(), run_test(), s302m_decode_frame(), search_for_pns(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), seek_to_start(), set_sample_rate_params(), set_samplerate(), stream_component_open(), tak_decode_frame(), tta_decode_init(), tta_encode_init(), twinvq_decode_init(), twolame_encode_init(), update_context_from_thread(), validate_options(), vmdaudio_decode_init(), vorbis_decode_frame(), vorbis_decode_init(), wavesynth_parse_extradata(), wavpack_decode_block(), wavpack_encode_block(), wavpack_encode_init(), wmavoice_decode_init(), and write_audio_frame().
int AVCodecContext::channels |
number of audio channels
Definition at line 2524 of file avcodec.h.
Referenced by aac_decode_frame_int(), aac_decode_init(), aac_encode_frame(), aac_encode_init(), ac3_decode_frame(), ac3_decode_init(), add_av_stream(), add_codec(), add_stream(), adpcm_decode_frame(), adpcm_decode_init(), adpcm_encode_frame(), adpcm_encode_init(), adpcm_swf_decode(), adx_decode_frame(), adx_decode_init(), adx_encode_frame(), adx_encode_header(), adx_encode_init(), al_decode_frame(), alac_decode_init(), alac_encode_frame(), alac_encode_init(), allocate_buffers(), amr_decode_fix_avctx(), amr_wb_encode_init(), amrnb_decode_init(), amrwb_decode_init(), analyze_sample_buffer(), ape_decode_init(), apply_param_change(), apply_window_and_mdct(), atrac1_decode_frame(), atrac1_decode_init(), atrac3_decode_init(), av_get_audio_frame_duration(), avcodec_encode_audio2(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), binkaudio_receive_frame(), bmv_aud_decode_init(), celt_gauge_psy_weight(), celt_search_for_tf(), cinaudio_decode_init(), clear_channel_params(), cng_decode_init(), cng_encode_init(), configure_output_audio_filter(), construct_perm_table(), cook_decode_init(), cook_parse(), copy_restart_frame_params(), create_vorbis_context(), dec_bark_env(), dec_gain(), decode(), decode_block(), decode_end(), decode_extension_payload(), decode_frame(), decode_init(), decode_ppc(), decode_simple_internal(), decoder_init(), dolby_e_decode_frame(), dpcm_decode_frame(), dpcm_decode_init(), dss_sp_decode_init(), dump_cook_context(), eightsvx_decode_frame(), eightsvx_decode_init(), encode_block(), encode_frame(), encode_init(), evrc_decode_init(), fdk_aac_decode_frame(), ff_aac_ac3_parse(), ff_ac3_validate_metadata(), ff_adx_decode_header(), ff_dca_lbr_filter_frame(), ff_dca_set_channel_layout(), ff_dca_xll_filter_frame(), ff_flac_parse_streaminfo(), ff_flac_set_channel_layout(), ff_init_buffer_info(), ff_opus_parse_extradata(), ff_opus_psy_celt_frame_init(), ff_opus_psy_init(), ff_psy_init(), ff_psy_preprocess_end(), ff_psy_preprocess_init(), ff_wma_init(), ffat_create_decoder(), ffat_decode(), ffat_encode(), ffat_encode_callback(), ffat_init_decoder(), ffat_init_encoder(), ffat_update_ctx(), filter_frame_fixed(), filter_frame_float(), flac_encode_init(), frame_configure_elements(), g722_decode_init(), g723_1_decode_init(), g723_1_encode_init(), get_best_header(), get_bit_rate(), get_nb_samples(), get_stream_info(), gsm_init(), guess_input_channel_layout(), has_codec_parameters(), ilbc_decode_init(), ilbc_encode_init(), imc_decode_block(), imc_decode_frame(), imc_decode_init(), imdct_output(), init_bitstream_params(), init_converted_samples(), init_fifo(), init_filter(), init_filters(), init_mdct_win(), init_output_stream_encode(), init_resampler(), input_to_sample_buffer(), lame_window_init(), libcelt_dec_decode(), libcelt_dec_init(), libgsm_decode_init(), libgsm_encode_init(), libopus_check_max_channels(), libopus_check_vorbis_layout(), libopus_decode(), libopus_decode_init(), libopus_encode(), libopus_encode_init(), libopus_validate_layout_and_get_channel_map(), libopus_write_header(), libshine_encode_init(), libspeex_decode_frame(), libspeex_decode_init(), libvorbis_setup(), mace_decode_frame(), mace_decode_init(), main(), mark_pns(), metasound_decode_init(), metasound_read_bitstream(), mlp_encode_frame(), mlp_encode_init(), mlp_parse(), mp3lame_encode_frame(), mp3lame_encode_init(), MPA_encode_init(), mpc7_decode_init(), mpc8_decode_frame(), mpc8_decode_init(), mpegaudio_parse(), new_audio_stream(), oggvorbis_decode_init(), on2avc_decode_init(), on2avc_decode_subframe(), on2avc_reconstruct_channel_ext(), open_audio(), open_output_file(), opus_decode_packet(), opus_encode_init(), opus_write_extradata(), output_configure(), output_data(), pad_last_frame(), paf_audio_init(), pcm_bluray_decode_frame(), pcm_bluray_parse_header(), pcm_decode_frame(), pcm_decode_init(), pcm_dvd_decode_samples(), pcm_dvd_parse_header(), pcm_encode_frame(), pcm_encode_init(), pop_output_configuration(), print_enc_params(), psy_3gpp_init(), qcelp_decode_init(), qdm2_decode_init(), qdmc_decode_init(), ra144_decode_init(), ra144_encode_init(), ra288_decode_init(), read_and_decode_spectrum(), read_channel_data(), read_diff_float_data(), read_frame_data(), read_frame_internal(), read_header(), read_major_sync(), read_restart_header(), read_specific_config(), reap_filters(), revert_channel_correlation(), roq_dpcm_encode_frame(), roq_dpcm_encode_init(), run_test(), s302m_decode_frame(), s302m_encode2_frame(), s302m_encode_init(), s302m_parse_frame_header(), search_for_pns(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), set_best_codebook(), set_channel_params(), set_major_params(), sipr_decoder_init(), smka_decode_frame(), smka_decode_init(), step_collect_psy_metrics(), stream_component_open(), tak_decode_frame(), truespeech_decode_init(), tta_decode_init(), tta_encode_frame(), tta_encode_init(), twinvq_decode_init(), twinvq_read_bitstream(), twolame_encode_init(), update_context_from_thread(), validate_options(), vmdaudio_decode_frame(), vmdaudio_decode_init(), vorbis_decode_frame(), vorbis_decode_init(), vorbis_encode_init(), wavesynth_decode(), wavesynth_init(), wavpack_decode_block(), wavpack_decode_frame(), wavpack_encode_block(), wavpack_encode_frame(), wavpack_encode_init(), wma_decode_block(), wma_decode_frame(), wmavoice_decode_init(), write_frame(), ws_snd_decode_init(), and xma_decode_init().
enum AVSampleFormat AVCodecContext::sample_fmt |
audio sample format
Definition at line 2531 of file avcodec.h.
Referenced by aac_decode_init(), ac3_decode_init(), add_stream(), adpcm_decode_init(), adx_decode_init(), alac_decode_init(), alac_encode_init(), amr_decode_fix_avctx(), amrnb_decode_init(), amrwb_decode_init(), ape_decode_init(), atrac1_decode_init(), atrac3_decode_init(), atrac3p_decode_init(), avcodec_encode_audio2(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), avformat_find_stream_info(), bmv_aud_decode_init(), cinaudio_decode_init(), cng_decode_init(), cook_decode_init(), copy_samples(), decode(), decode_frame(), decode_init(), decode_simple_internal(), decoder_init(), dolby_e_decode_frame(), dpcm_decode_init(), dprint_options(), dss_sp_decode_init(), eightsvx_decode_init(), evrc_decode_init(), fdk_aac_decode_frame(), fdk_aac_decode_init(), ff_dca_lbr_filter_frame(), ff_dca_xll_filter_frame(), ff_init_buffer_info(), ff_twinvq_decode_init(), ffat_copy_samples(), ffat_create_decoder(), ffat_decode(), ffat_encode_callback(), ffat_init_encoder(), fill_buffer(), filter_frame_fixed(), filter_frame_float(), flac_decode_init(), flac_encode_init(), flac_set_bps(), g722_decode_init(), g723_1_decode_init(), gsm_init(), has_codec_parameters(), ilbc_decode_init(), imc_decode_init(), init_context_defaults(), init_converted_samples(), init_encoder(), init_fifo(), init_filter(), init_filters(), init_offset(), init_output_frame(), init_output_stream_encode(), init_resampler(), init_sample_buffers(), input_data(), libcelt_dec_init(), libgsm_decode_init(), libopus_decode(), libopus_decode_init(), libopus_encode(), libopus_encode_init(), libspeex_decode_frame(), mace_decode_init(), main(), mlp_encode_init(), mlp_parse(), mp3lame_encode_frame(), mp3lame_encode_init(), mp_decode_frame(), mpc7_decode_init(), mpc8_decode_init(), new_audio_stream(), oggvorbis_decode_init(), on2avc_decode_init(), open_audio(), open_output_file(), opus_decode_init(), output_data(), pad_last_frame(), paf_audio_init(), parse_streaminfo(), pcm_bluray_decode_frame(), pcm_bluray_parse_header(), pcm_decode_init(), pcm_dvd_parse_header(), qcelp_decode_init(), qdm2_decode_init(), qdmc_decode_init(), ra144_decode_init(), ra288_decode_init(), read_decoding_params(), read_major_sync(), read_restart_header(), rematrix_channels(), run_test(), s302m_encode_init(), s302m_parse_frame_header(), set_bps_params(), sipr_decoder_init(), smka_decode_frame(), smka_decode_init(), spawn_empty_frame(), stream_component_open(), tak_decode_frame(), truespeech_decode_init(), tta_decode_init(), tta_encode_frame(), tta_encode_init(), twolame_encode_frame(), update_context_from_thread(), vmdaudio_decode_init(), vorbis_decode_init(), wavesynth_init(), wavpack_decode_block(), wavpack_decode_frame(), wavpack_encode_frame(), wma_decode_init(), wmavoice_decode_init(), write_element(), and ws_snd_decode_init().
int AVCodecContext::frame_size |
Number of samples per channel in an audio frame.
Definition at line 2543 of file avcodec.h.
Referenced by aac_decode_frame_int(), aac_encode_frame(), aac_encode_init(), adpcm_encode_init(), adx_encode_init(), alac_encode_init(), amr_wb_encode_init(), av_get_audio_frame_duration(), avcodec_encode_audio2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), celt_apply_preemph_filter(), celt_frame_setup_input(), cng_decode_frame(), cng_decode_init(), cng_encode_init(), configure_filtergraph(), decode_frame(), decoder_init(), do_streamcopy(), dprint_compression_options(), encode_frame(), encode_init(), fdk_aac_decode_frame(), ff_ac3_encode_init(), ff_psy_preprocess(), ffat_create_decoder(), ffat_decode(), ffat_encode(), ffat_init_encoder(), ffat_update_ctx(), flac_encode_init(), flush_encoders(), g722_encode_init(), g723_1_encode_init(), g729_parse(), get_stream_info(), gsm_decode_frame(), gsm_init(), has_codec_parameters(), ilbc_encode_init(), init_output_stream(), libcelt_dec_decode(), libcelt_dec_init(), libgsm_decode_frame(), libgsm_decode_init(), libgsm_encode_init(), libopus_encode_init(), libshine_encode_frame(), libshine_encode_init(), libvorbis_encode_init(), load_encode_and_write(), main(), mlp_encode_frame(), mlp_encode_init(), mp3lame_encode_frame(), mp3lame_encode_init(), mp_decode_frame(), MPA_encode_init(), open_audio(), opus_encode_frame(), opus_encode_init(), pad_last_frame(), pcm_encode_init(), print_enc_params(), process_input_packet(), ra144_encode_frame(), ra144_encode_init(), read_major_sync(), roq_dpcm_encode_frame(), roq_dpcm_encode_init(), run_test(), s302m_encode_init(), spawn_empty_frame(), tta_encode_init(), twolame_encode_init(), vorbis_encode_frame(), vorbis_encode_init(), wavpack_encode_frame(), and wavpack_encode_init().
int AVCodecContext::frame_number |
Frame counter, set by libavcodec.
encoding: total number of frames passed to the encoder so far.
Definition at line 2554 of file avcodec.h.
Referenced by aac_encode_frame(), apng_encode_frame(), avcodec_decode_subtitle2(), avcodec_encode_audio2(), avcodec_encode_subtitle(), avcodec_encode_video2(), avcodec_open2(), avcodec_receive_frame(), bfi_decode_frame(), cdg_decode_frame(), decode(), decode_band_numwavs(), decode_frame(), decode_packet(), eightsvx_decode_frame(), encode_apng(), encode_frame(), epic_jb_decode_tile(), ff_eac3_output_frame_header(), ff_h263_decode_picture_header(), ff_mjpeg_decode_end(), ff_print_debug_info2(), flashsv2_encode_frame(), flashsv_encode_frame(), h261_decode_frame(), h264_select_output_frame(), ipvideo_decode_format_10_opcodes(), ipvideo_decode_format_11_opcodes(), ipvideo_format_06_firstpass(), mlp_encode_frame(), optimum_use15_7(), png_write_image_data(), qtrle_encode_frame(), rv10_decode_frame(), svq1_encode_end(), svq1_encode_frame(), svq3_decode_frame(), update_context_from_user(), warn_insufficient_frame_quality(), XAVS_frame(), and yop_decode_frame().
int AVCodecContext::block_align |
number of bytes per packet if constant and known or 0 Used by some WAV based audio codecs.
Definition at line 2560 of file avcodec.h.
Referenced by adpcm_decode_frame(), adpcm_encode_frame(), adpcm_encode_init(), atrac1_decode_frame(), atrac1_decode_init(), atrac3_decode_frame(), atrac3_decode_init(), atrac3p_decode_frame(), atrac3p_decode_init(), av_get_audio_frame_duration(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), cook_decode_frame(), cook_decode_init(), decode_frame(), decode_init(), decode_packet(), dvaudio_parse(), encode_frame(), encode_init(), encode_superframe(), ff_twinvq_decode_frame(), ff_twinvq_decode_init(), ff_wma_init(), ffat_create_decoder(), ffat_update_ctx(), get_ilbc_mode(), get_mode(), get_nb_samples(), gsm_decode_frame(), gsm_init(), gsm_parse(), ilbc_encode_init(), libgsm_decode_frame(), libgsm_decode_init(), libgsm_encode_frame(), libgsm_encode_init(), pcm_encode_init(), ra288_decode_frame(), ra288_decode_init(), sipr_decoder_init(), sipr_split(), tta_decode_init(), twinvq_decode_init(), vmdaudio_decode_frame(), vmdaudio_decode_init(), wma_decode_init(), wma_decode_superframe(), wmavoice_decode_init(), and wmavoice_decode_packet().
int AVCodecContext::cutoff |
Audio cutoff bandwidth (0 means "automatic")
Definition at line 2567 of file avcodec.h.
Referenced by aac_encode_init(), ff_psy_init(), ff_psy_preprocess_init(), libopus_configure_encoder(), libopus_encode_init(), libvorbis_setup(), mark_pns(), mp3lame_encode_init(), search_for_pns(), search_for_quantizers_twoloop(), and validate_options().
uint64_t AVCodecContext::channel_layout |
Audio channel layout.
Definition at line 2574 of file avcodec.h.
Referenced by aac_encode_init(), ac3_decode_frame(), add_stream(), alac_decode_init(), amr_decode_fix_avctx(), amrnb_decode_init(), amrwb_decode_init(), ape_decode_init(), apply_param_change(), atrac3p_decode_init(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), bmv_aud_decode_init(), cinaudio_decode_init(), configure_output_audio_filter(), cook_decode_init(), decode_frame(), decode_init(), decode_simple_internal(), dolby_e_decode_frame(), dprint_options(), dss_sp_decode_init(), encode_init(), evrc_decode_init(), ff_aac_ac3_parse(), ff_dca_lbr_filter_frame(), ff_dca_set_channel_layout(), ff_flac_parse_streaminfo(), ff_flac_set_channel_layout(), ff_init_buffer_info(), ff_opus_parse_extradata(), ffat_init_encoder(), ffat_update_ctx(), flac_encode_init(), g722_decode_init(), g723_1_decode_init(), get_best_header(), get_stream_info(), gsm_init(), guess_input_channel_layout(), ilbc_decode_init(), imc_decode_init(), init_decoder(), init_encoder(), init_filter(), init_filters(), init_output_frame(), init_output_stream_encode(), libgsm_decode_init(), libopus_check_vorbis_layout(), libopus_decode_init(), libspeex_decode_init(), libvorbis_setup(), main(), metasound_decode_init(), mlp_encode_init(), mlp_parse(), mpc7_decode_init(), mpc8_decode_init(), on2avc_decode_init(), open_audio(), open_output_file(), output_configure(), paf_audio_init(), pcm_bluray_decode_frame(), pcm_bluray_parse_header(), pop_output_configuration(), qcelp_decode_init(), qdm2_decode_init(), qdmc_decode_init(), ra144_decode_init(), ra288_decode_init(), read_frame_internal(), read_major_sync(), read_restart_header(), run_test(), s302m_parse_frame_header(), set_channel_params(), sipr_decoder_init(), smka_decode_init(), spawn_empty_frame(), stream_component_open(), tak_decode_frame(), truespeech_decode_init(), tta_decode_init(), twinvq_decode_init(), update_context_from_thread(), validate_options(), vmdaudio_decode_init(), vorbis_decode_frame(), vorbis_decode_init(), wavpack_decode_block(), wavpack_encode_block(), wavpack_encode_init(), wmavoice_decode_init(), and ws_snd_decode_init().
uint64_t AVCodecContext::request_channel_layout |
Request decoder to use this channel layout if it can (0 for default)
Definition at line 2581 of file avcodec.h.
Referenced by ac3_decode_frame(), ac3_decode_init(), dcadec_init(), dolby_e_init(), fdk_aac_decode_init(), ff_aac_ac3_parse(), ff_dca_set_channel_layout(), filter_frame(), init_decoder(), mlp_parse(), output_configure(), and read_restart_header().
enum AVAudioServiceType AVCodecContext::audio_service_type |
Type of service that the audio stream conveys.
Definition at line 2588 of file avcodec.h.
Referenced by ac3_decode_frame(), avcodec_encode_audio2(), avformat_find_stream_info(), ff_aac_ac3_parse(), ff_ac3_encode_init(), and ff_ac3_validate_metadata().
enum AVSampleFormat AVCodecContext::request_sample_fmt |
desired sample format
Definition at line 2596 of file avcodec.h.
Referenced by decode_init(), flac_set_bps(), init_decoder(), and libopus_decode_init().
This callback is called at the beginning of each frame to get data buffer(s) for it.
There may be one contiguous buffer for all the data or there may be a buffer per each data plane or anything in between. What this means is, you may set however many entries in buf[] you feel necessary. Each buffer must be reference-counted using the AVBuffer API (see description of buf[] below).
The following fields will be set in the frame before this callback is called:
This callback must fill the following fields in the frame:
If AV_CODEC_CAP_DR1 is not set then get_buffer2() must call avcodec_default_get_buffer2() instead of providing buffers allocated by some other means.
Each data plane must be aligned to the maximum required by the target CPU.
Video:
If AV_GET_BUFFER_FLAG_REF is set in flags then the frame may be reused (read and/or written to if it is writable) later by libavcodec.
avcodec_align_dimensions2() should be used to find the required width and height, as they normally need to be rounded up to the next multiple of 16.
Some decoders do not support linesizes changing between frames.
If frame multithreading is used and thread_safe_callbacks is set, this callback may be called from a different thread, but not from more than one at once. Does not need to be reentrant.
Audio:
Decoders request a buffer of a particular size by setting AVFrame.nb_samples prior to calling get_buffer2(). The decoder may, however, utilize only part of the buffer by setting AVFrame.nb_samples to a smaller value in the output frame.
As a convenience, av_samples_get_buffer_size() and av_samples_fill_arrays() in libavutil may be used by custom get_buffer2() functions to find the required data size and to fill data pointers and linesize. In AVFrame.linesize, only linesize[0] may be set for audio since all planes must be the same size.
Definition at line 2678 of file avcodec.h.
Referenced by ff_thread_release_buffer(), get_buffer_internal(), init_context_defaults(), init_input_stream(), restore_context(), set_context(), submit_packet(), thread_get_buffer_internal(), and update_context_from_user().
attribute_deprecated int AVCodecContext::refcounted_frames |
If non-zero, the decoded audio and video frames returned from avcodec_decode_video2() and avcodec_decode_audio4() are reference-counted and are valid indefinitely.
The caller must free them with av_frame_unref() when they are not needed anymore. Otherwise, the decoded frames must not be freed by the caller and are only valid until the next decode call.
This is always automatically enabled if avcodec_receive_frame() is used.
Definition at line 2694 of file avcodec.h.
Referenced by avcodec_flush_buffers(), compat_decode(), init(), main(), open_stream(), and smvjpeg_decode_init().
float AVCodecContext::qcompress |
amount of qscale change between easy & hard scenes (0.0-1.0)
Definition at line 2697 of file avcodec.h.
Referenced by get_qscale(), vpx_init(), X264_init(), and XAVS_init().
float AVCodecContext::qblur |
amount of qscale smoothing over time (0.0-1.0)
Definition at line 2698 of file avcodec.h.
Referenced by ff_rate_control_init(), ff_rate_estimate_qscale(), init_pass2(), X264_init(), and XAVS_init().
int AVCodecContext::qmin |
minimum quantizer
Definition at line 2705 of file avcodec.h.
Referenced by avcodec_string(), dump_stream_format(), encode_thread(), ff_init_qscale_tab(), ff_mpv_encode_init(), ff_xvid_rate_estimate_qscale(), init_pass2(), nvenc_override_rate_control(), nvenc_setup_rate_control(), print_stream_params(), set_constqp(), set_lossless(), set_vbr(), update_qscale(), v4l2_prepare_encoder(), vaapi_encode_init_rate_control(), vpx_init(), X264_init(), XAVS_init(), and xvid_encode_init().
int AVCodecContext::qmax |
maximum quantizer
Definition at line 2712 of file avcodec.h.
Referenced by avcodec_string(), dnxhd_encode_init(), dnxhd_encode_rdo(), dnxhd_find_qscale(), dnxhd_init_qmat(), dnxhd_init_rc(), dump_stream_format(), encode_thread(), ff_init_qscale_tab(), ff_mpv_encode_init(), ff_vbv_update(), ff_xvid_rate_estimate_qscale(), init_pass2(), nvenc_setup_rate_control(), print_stream_params(), set_constqp(), set_lossless(), set_vbr(), update_qscale(), v4l2_prepare_encoder(), vpx_init(), X264_init(), XAVS_init(), and xvid_encode_init().
int AVCodecContext::max_qdiff |
maximum quantizer difference between frames
Definition at line 2719 of file avcodec.h.
Referenced by get_diff_limited_q(), X264_init(), and XAVS_init().
attribute_deprecated float AVCodecContext::rc_qsquish |
Definition at line 2726 of file avcodec.h.
Referenced by ff_mpv_encode_init().
attribute_deprecated float AVCodecContext::rc_qmod_amp |
Definition at line 2729 of file avcodec.h.
Referenced by ff_mpv_encode_init().
attribute_deprecated int AVCodecContext::rc_qmod_freq |
Definition at line 2731 of file avcodec.h.
Referenced by ff_mpv_encode_init().
int AVCodecContext::rc_buffer_size |
decoder bitstream buffer size
Definition at line 2739 of file avcodec.h.
Referenced by add_codec(), avcodec_open2(), ff_mpv_encode_init(), ff_mpv_encode_picture(), ff_rate_control_init(), ff_vbv_update(), ff_xvid_rate_control_init(), init_pass2(), load_input_picture(), modify_qscale(), mpeg1_decode_sequence(), mpeg1_encode_sequence_header(), mpeg_decode_sequence_extension(), nvenc_setup_rate_control(), qsv_retrieve_enc_params(), reconfig_encoder(), select_input_picture(), vaapi_encode_init_rate_control(), vaapi_encode_mpeg2_init_sequence_params(), vpx_init(), X264_init(), and XAVS_init().
int AVCodecContext::rc_override_count |
ratecontrol override, see RcOverride
Definition at line 2746 of file avcodec.h.
Referenced by avcodec_copy_context(), get_qscale(), and new_video_stream().
RcOverride* AVCodecContext::rc_override |
Definition at line 2747 of file avcodec.h.
Referenced by avcodec_copy_context(), avcodec_free_context(), copy_context_reset(), get_qscale(), and new_video_stream().
attribute_deprecated const char* AVCodecContext::rc_eq |
Definition at line 2754 of file avcodec.h.
Referenced by add_codec(), and ff_mpv_encode_init().
int64_t AVCodecContext::rc_max_rate |
maximum bitrate
Definition at line 2762 of file avcodec.h.
Referenced by add_codec(), avcodec_string(), ff_mpv_encode_init(), ff_mpv_encode_picture(), ff_rate_control_init(), ff_vbv_update(), ff_xvid_rate_control_init(), ffat_init_encoder(), init_video_param(), libvorbis_setup(), modify_qscale(), mpeg1_encode_sequence_header(), mpegvideo_extract_headers(), nvenc_setup_rate_control(), qsv_retrieve_enc_params(), reconfig_encoder(), select_rc_mode(), svc_encode_init(), vaapi_encode_h264_init(), vaapi_encode_h265_init(), vaapi_encode_init_rate_control(), vaapi_encode_vp8_init(), vaapi_encode_vp9_init(), vpx_init(), vtenc_create_encoder(), X264_init(), and XAVS_init().
int64_t AVCodecContext::rc_min_rate |
minimum bitrate
Definition at line 2769 of file avcodec.h.
Referenced by ff_mpv_encode_init(), ff_mpv_encode_picture(), ff_vbv_update(), libvorbis_setup(), modify_qscale(), qsv_retrieve_enc_params(), and vpx_init().
attribute_deprecated float AVCodecContext::rc_buffer_aggressivity |
Definition at line 2776 of file avcodec.h.
Referenced by ff_mpv_encode_init(), and vpx_init().
attribute_deprecated float AVCodecContext::rc_initial_cplx |
Definition at line 2779 of file avcodec.h.
Referenced by ff_mpv_encode_init().
float AVCodecContext::rc_max_available_vbv_use |
Ratecontrol attempt to use, at maximum, of what can be used without an underflow.
Definition at line 2787 of file avcodec.h.
Referenced by ff_mpv_encode_picture(), ff_rate_control_init(), and modify_qscale().
float AVCodecContext::rc_min_vbv_overflow_use |
Ratecontrol attempt to use, at least, times the amount needed to prevent a vbv overflow.
Definition at line 2794 of file avcodec.h.
Referenced by modify_qscale().
int AVCodecContext::rc_initial_buffer_occupancy |
Number of bits which should be loaded into the rc buffer before decoding starts.
Definition at line 2801 of file avcodec.h.
Referenced by avcodec_open2(), ff_rate_control_init(), ff_xvid_rate_control_init(), init_video_param(), vaapi_encode_init_rate_control(), vpx_init(), X264_init(), and XAVS_init().
attribute_deprecated int AVCodecContext::coder_type |
Definition at line 2815 of file avcodec.h.
Referenced by encode_frame(), encode_init(), init_video_param(), sunrast_encode_init(), svc_encode_init(), targa_encode_frame(), and X264_init().
attribute_deprecated int AVCodecContext::context_model |
Definition at line 2821 of file avcodec.h.
Referenced by encode_init().
attribute_deprecated int AVCodecContext::lmin |
Definition at line 2829 of file avcodec.h.
Referenced by ff_mpv_encode_init().
attribute_deprecated int AVCodecContext::lmax |
Definition at line 2835 of file avcodec.h.
Referenced by ff_mpv_encode_init().
attribute_deprecated int AVCodecContext::frame_skip_threshold |
Definition at line 2841 of file avcodec.h.
Referenced by ff_mpv_encode_init(), and vpx_init().
attribute_deprecated int AVCodecContext::frame_skip_factor |
Definition at line 2845 of file avcodec.h.
Referenced by ff_mpv_encode_init().
attribute_deprecated int AVCodecContext::frame_skip_exp |
Definition at line 2849 of file avcodec.h.
Referenced by ff_mpv_encode_init().
attribute_deprecated int AVCodecContext::frame_skip_cmp |
Definition at line 2853 of file avcodec.h.
Referenced by ff_mpv_encode_init().
int AVCodecContext::trellis |
trellis RD quantization
Definition at line 2861 of file avcodec.h.
Referenced by adpcm_compress_trellis(), adpcm_encode_frame(), adpcm_encode_init(), encode_block(), encode_end(), encode_init(), ff_dct_encode_init(), ff_mpv_encode_init(), ff_mpv_encode_picture(), g722_encode_frame(), g722_encode_init(), X264_init(), XAVS_init(), and xvid_encode_init().
attribute_deprecated int AVCodecContext::min_prediction_order |
Definition at line 2866 of file avcodec.h.
Referenced by alac_encode_init(), and flac_encode_init().
attribute_deprecated int AVCodecContext::max_prediction_order |
Definition at line 2870 of file avcodec.h.
Referenced by alac_encode_init(), and flac_encode_init().
attribute_deprecated int64_t AVCodecContext::timecode_frame_start |
Definition at line 2874 of file avcodec.h.
Referenced by encode_init(), mpeg_decode_gop(), and show_stream().
attribute_deprecated void(* AVCodecContext::rtp_callback)(struct AVCodecContext *avctx, void *data, int size, int mb_nb) |
attribute_deprecated int AVCodecContext::rtp_payload_size |
Definition at line 2894 of file avcodec.h.
Referenced by ff_mpv_encode_init().
attribute_deprecated int AVCodecContext::mv_bits |
Definition at line 2905 of file avcodec.h.
Referenced by encode_frame(), and ff_mpv_encode_picture().
attribute_deprecated int AVCodecContext::header_bits |
Definition at line 2907 of file avcodec.h.
Referenced by ff_mpv_encode_picture().
attribute_deprecated int AVCodecContext::i_tex_bits |
Definition at line 2909 of file avcodec.h.
Referenced by ff_mpv_encode_picture().
attribute_deprecated int AVCodecContext::p_tex_bits |
Definition at line 2911 of file avcodec.h.
Referenced by encode_frame(), and ff_mpv_encode_picture().
attribute_deprecated int AVCodecContext::i_count |
Definition at line 2913 of file avcodec.h.
Referenced by ff_mpv_encode_picture().
attribute_deprecated int AVCodecContext::p_count |
Definition at line 2915 of file avcodec.h.
Referenced by ff_mpv_encode_picture().
attribute_deprecated int AVCodecContext::skip_count |
Definition at line 2917 of file avcodec.h.
Referenced by ff_mpv_encode_picture().
attribute_deprecated int AVCodecContext::misc_bits |
Definition at line 2919 of file avcodec.h.
Referenced by encode_frame(), and ff_mpv_encode_picture().
attribute_deprecated int AVCodecContext::frame_bits |
Definition at line 2923 of file avcodec.h.
Referenced by encode_frame(), and ff_mpv_encode_picture().
char* AVCodecContext::stats_out |
pass1 encoding statistics output buffer
Definition at line 2931 of file avcodec.h.
Referenced by avcodec_encode_video2(), do_video_out(), encode_close(), encode_end(), encode_frame(), encode_init(), ff_ffv1_close(), ff_mpv_encode_end(), ff_mpv_encode_init(), ff_write_pass1_stats(), flush_encoders(), get_stats(), vpx_encode(), vpx_free(), xvid_encode_close(), and xvid_encode_frame().
char* AVCodecContext::stats_in |
pass2 encoding statistics input buffer Concatenated stuff from stats_out of pass1 should be placed here.
Definition at line 2939 of file avcodec.h.
Referenced by encode_init(), ff_rate_control_init(), new_video_stream(), submit_stats(), transcode(), vpx_init(), and xvid_encode_init().
int AVCodecContext::workaround_bugs |
Work around bugs in encoders which sometimes cannot be detected automatically.
Definition at line 2946 of file avcodec.h.
Referenced by ff_mpeg4_set_direct_mv(), ff_mpv_decode_init(), and h264_init_context().
int AVCodecContext::strict_std_compliance |
strictly follow the standard (MPEG-4, ...).
Definition at line 2981 of file avcodec.h.
Referenced by aac_encode_init(), amr_wb_encode_init(), avcodec_open2(), choose_pix_fmts(), choose_pixel_fmt(), config_input(), config_props(), decode_frame_common(), decode_header(), dvbsub_parse_clut_segment(), encode_frame(), encode_init(), ff_dnxhd_find_cid(), ff_fix_long_p_mvs(), ff_get_best_fcode(), ff_h264_decode_seq_parameter_set(), ff_mpv_encode_init(), find_frame_rate_index(), h264_select_output_frame(), init_video_param(), libgsm_encode_init(), ljpeg_encode_init(), open_output_file(), set_default_channel_config(), setup_hwaccel(), and vc2_encode_init().
int AVCodecContext::error_concealment |
error concealment flags
Definition at line 2993 of file avcodec.h.
Referenced by dv_decode_video_segment(), ff_er_add_slice(), ff_er_frame_end(), ff_er_frame_start(), ff_vp56_decode_mbs(), guess_mv(), is_intra_more_likely(), and LLVMFuzzerTestOneInput().
int AVCodecContext::debug |
debug
Definition at line 3003 of file avcodec.h.
Referenced by aac_decode_frame_int(), audio_get_buffer(), check_keyboard_interaction(), dct_init(), decode_chunks(), decode_ext_header(), decode_extension_payload(), decode_fill(), decode_frame(), decode_frame_common(), decode_ihdr_chunk(), decode_init(), decode_nal_units(), dvbsub_decode(), ff_er_frame_end(), ff_flv_decode_picture_header(), ff_frame_thread_init(), ff_h263_show_pict_info(), ff_h264_decode_picture_parameter_set(), ff_h264_decode_seq_parameter_set(), ff_h264_execute_ref_pic_marking(), ff_hevc_decode_nal_sps(), ff_jpegls_decode_lse(), ff_jpegls_decode_picture(), ff_mjpeg_decode_frame(), ff_mjpeg_decode_sos(), ff_mpeg4_decode_picture_header(), ff_mpeg4_workaround_bugs(), ff_mpv_frame_start(), ff_msmpeg4_decode_picture_header(), ff_print_debug_info2(), ff_rate_estimate_qscale(), ff_thread_release_buffer(), ff_vbv_update(), ff_wmv2_decode_secondary_picture_header(), find_short(), h264_slice_init(), mjpeg_decode_app(), mjpeg_decode_com(), mjpegb_decode_frame(), modify_qscale(), 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(), mpv_reconstruct_mb_internal(), parse_avid(), pcm_bluray_decode_frame(), pcm_bluray_parse_header(), pcm_dvd_parse_header(), predict_slice(), predict_slice_buffered(), print_long_term(), print_short_term(), read_extra_header(), remove_short(), rv10_decode_init(), rv20_decode_picture_header(), submit_packet(), svq3_decode_frame(), truemotion1_decode_header(), update_context_from_user(), vc1_decode_frame(), and video_get_buffer().
int AVCodecContext::debug_mv |
debug
Definition at line 3039 of file avcodec.h.
Referenced by alloc_picture_tables(), avcodec_open2(), ff_frame_thread_init(), ff_print_debug_info2(), and update_context_from_user().
int AVCodecContext::err_recognition |
Error recognition; may misdetect some more or less valid parts as errors.
Definition at line 3050 of file avcodec.h.
Referenced by aac_decode_init(), ac3_decode_frame(), apply_param_change(), dcadec_decode_frame(), decode(), decode_chunks(), decode_frame(), decode_ics_info(), decode_init(), decode_nal_unit(), decode_nal_units(), decode_region_inter(), decode_region_masked(), decode_rle(), decode_slice(), display_end_segment(), ff_ccitt_unpack(), ff_dca_check_crc(), ff_dca_core_parse(), ff_dca_core_parse_exss(), ff_dca_lbr_parse(), ff_er_frame_end(), ff_h263_decode_frame(), ff_h264_execute_ref_pic_marking(), ff_h264_queue_decode_slice(), ff_hevc_decode_nal_vps(), ff_hevc_parse_sps(), ff_mjpeg_decode_frame(), ff_mpeg4_pred_dc(), ff_msmpeg4_decode_block(), flac_decode_frame(), get_last_needed_nal(), h261_decode_gob_header(), h263_decode_block(), h264_decode_frame(), h264_decode_init(), h264_field_start(), h264_parse(), h264_slice_header_parse(), hevc_decode_extradata(), hevc_decode_frame(), hls_slice_header(), mjpegb_decode_frame(), mpeg1_decode_picture(), mpeg1_decode_sequence(), mpeg4_decode_block(), mpeg4_decode_dc(), mpeg4_decode_mb(), mpeg_decode_frame(), mpeg_decode_slice(), mxpeg_decode_frame(), opus_decode_frame(), opus_decode_subpacket(), parse_audio(), parse_band_data(), parse_optional_info(), parse_presentation_segment(), pcx_decode_frame(), read_specific_config(), slice_decode_thread(), tak_decode_frame(), tdsc_decode_jpeg_tile(), tdsc_parse_dtsm(), tiff_decode_tag(), tta_decode_frame(), v410_decode_init(), vc1_decode_frame(), wavpack_decode_block(), wv_unpack_mono(), and wv_unpack_stereo().
int64_t AVCodecContext::reordered_opaque |
opaque 64-bit number (generally a PTS) that will be reordered and output in AVFrame.reordered_opaque
Definition at line 3075 of file avcodec.h.
Referenced by ff_init_buffer_info(), init_context_defaults(), and update_context_from_user().
struct AVHWAccel* AVCodecContext::hwaccel |
Hardware accelerator in use.
Definition at line 3082 of file avcodec.h.
Referenced by alloc_frame(), alloc_frame_buffer(), alloc_picture(), avcodec_close(), avcodec_copy_context(), decode_chunks(), decode_nal_unit(), decode_nal_units(), decode_slice(), er_supported(), ff_blockdsp_init_x86(), ff_dxva2_decode_init(), ff_er_add_slice(), ff_er_frame_end(), ff_get_format(), ff_h263_decode_frame(), ff_h264_execute_decode_slices(), ff_h264_field_end(), ff_mpeg_framesize_alloc(), ff_mpv_frame_start(), ff_print_debug_info2(), ff_thread_finish_setup(), ff_vdpau_common_reinit(), finalize_frame(), frame_worker_thread(), generate_missing_ref(), get_buffer_internal(), get_consumed_bytes(), h264_frame_start(), hevc_decode_frame(), hevc_frame_start(), is_intra_more_likely(), mpeg_decode_slice(), mpeg_field_start(), mpv_reconstruct_mb_internal(), set_sps(), setup_hwaccel(), setup_hwaccel_for_pixfmt(), slice_end(), update_context_from_thread(), vc1_decode_frame(), vp9_decode_frame(), and vp9_frame_alloc().
void* AVCodecContext::hwaccel_context |
Hardware accelerator context.
For some hardware accelerators, a global context needs to be provided by the user. In that case, this holds display-dependent data FFmpeg cannot instantiate itself. Please refer to the FFmpeg HW accelerator documentation to know how to fill this is. e.g. for VA API, this is a struct vaapi_context.
Definition at line 3094 of file avcodec.h.
Referenced by av_vdpau_bind_context(), ff_dxva2_decode_init(), ff_mediacodec_dec_init(), ff_qsv_enc_init(), ff_vaapi_decode_init(), ff_vda_default_init(), ff_vdpau_common_end_frame(), ff_vdpau_common_init(), ff_vdpau_common_reinit(), qsv_decode_init(), qsv_init_opaque_alloc(), qsvenc_init_session(), restore_context(), set_context(), update_context_from_thread(), vda_h264_end_frame(), vda_old_h264_decode_slice(), vda_old_h264_end_frame(), and vda_old_h264_start_frame().
uint64_t AVCodecContext::error[AV_NUM_DATA_POINTERS] |
error
Definition at line 3101 of file avcodec.h.
Referenced by encode_frame(), estimate_best_b_count(), ff_mpv_encode_picture(), print_report(), and storeframe().
int AVCodecContext::dct_algo |
DCT algorithm, see FF_DCT_* below.
Definition at line 3108 of file avcodec.h.
Referenced by avcodec_dct_init(), ff_dct_encode_init_x86(), ff_fdctdsp_init(), ff_fdctdsp_init_ppc(), ff_fdctdsp_init_x86(), ff_mpv_common_init_ppc(), and tdsc_init().
int AVCodecContext::idct_algo |
IDCT algorithm, see FF_IDCT_* below.
Definition at line 3121 of file avcodec.h.
Referenced by avcodec_dct_init(), ff_idctdsp_init(), ff_idctdsp_init_aarch64(), ff_idctdsp_init_alpha(), ff_idctdsp_init_arm(), ff_idctdsp_init_armv5te(), ff_idctdsp_init_armv6(), ff_idctdsp_init_neon(), ff_idctdsp_init_ppc(), ff_idctdsp_init_x86(), ff_mpeg4_workaround_bugs(), ff_xvid_idct_init(), ff_xvid_idct_init_x86(), init(), setup_hwaccel_for_pixfmt(), smvjpeg_decode_init(), tdsc_init(), and update_context_from_thread().
int AVCodecContext::bits_per_coded_sample |
bits per sample/pixel from the demuxer (needed for huffyuv).
Definition at line 3157 of file avcodec.h.
Referenced by aasc_decode_frame(), aasc_decode_init(), adpcm_decode_frame(), adpcm_decode_init(), adpcm_encode_init(), ape_decode_init(), av_get_audio_frame_duration(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avformat_find_stream_info(), avui_decode_frame(), bitpacked_init_decoder(), bmp_encode_frame(), bmp_encode_init(), cinepak_decode_init(), cmap_read_palette(), decode_aiff_header(), decode_frame(), decode_init(), decode_wave_header(), decompress_i(), decompress_p(), encode_frame(), encode_init(), ff_guess_coded_bitrate(), get_nb_samples(), hap_init(), ipvideo_decode_init(), lag_decode_frame(), LLVMFuzzerTestOneInput(), msrle_decode_frame(), msrle_decode_init(), msvideo1_decode_init(), pcm_bluray_parse_header(), pcm_decode_init(), pcm_dvd_decode_samples(), pcm_dvd_parse_header(), pcm_encode_init(), png_enc_init(), qtrle_decode_frame(), qtrle_decode_init(), qtrle_encode_init(), raw_encode_init(), raw_init_decoder(), rle_uncompress(), rscc_init(), smka_decode_init(), tak_decode_init(), targa_encode_frame(), tta_decode_init(), update_context_from_thread(), utvideo_encode_init(), v308_encode_init(), v408_encode_init(), v410_encode_init(), vmdaudio_decode_init(), xsub_encoder_init(), and y41p_encode_init().
int AVCodecContext::bits_per_raw_sample |
Bits per sample/pixel of internal libavcodec pixel/sample format.
Definition at line 3164 of file avcodec.h.
Referenced by alac_decode_init(), alac_encode_frame(), alac_encode_init(), avcodec_dct_init(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), cfhd_decode_init(), checkasm_check_pixblockdsp(), cllc_decode_frame(), copy_samples(), dct_init(), decode_channel(), decode_frame(), decode_init(), decode_plane(), dnxhd_decode_header(), dnxhd_encode_init(), encode_init(), ff_dca_lbr_filter_frame(), ff_dca_xll_filter_frame(), ff_fdctdsp_init(), ff_flac_parse_streaminfo(), ff_idctdsp_init(), ff_idctdsp_init_x86(), ff_jpegls_decode_lse(), ff_mjpeg_decode_sof(), ff_mpegvideoencdsp_init_x86(), ff_mpv_encode_init(), ff_pixblockdsp_init(), ff_xvid_idct_init(), ffat_create_decoder(), ffat_init_encoder(), fic_decode_init(), fill_buffer(), filter_frame_fixed(), filter_frame_float(), flac_encode_frame(), flac_encode_init(), get_siz(), h264_slice_header_init(), hq_decode_frame(), hqa_decode_frame(), hqx_decode_frame(), init_frame(), init_output_stream_encode(), init_sample_buffers(), libopenjpeg_decode_frame(), mlp_encode_init(), mlp_parse(), new_video_stream(), pcm_bluray_parse_header(), pcm_decode_init(), pcm_dvd_parse_header(), pnm_decode_frame(), prores_encode_init(), read_const_block_data(), read_extra_header(), read_header(), read_major_sync(), read_var_block_data(), s302m_decode_frame(), s302m_encode2_frame(), s302m_encode_init(), s302m_parse_frame_header(), set_bps_params(), show_stream(), svq3_decode_init(), tak_decode_frame(), tak_decode_init(), tta_decode_init(), tta_encode_init(), update_context_from_thread(), update_md5_sum(), v410_decode_init(), vble_decode_init(), wavpack_decode_frame(), wavpack_encode_frame(), write_element(), write_streaminfo(), y216_decode_init(), y41p_decode_init(), zero12v_decode_init(), and zerocodec_decode_init().
int AVCodecContext::lowres |
low resolution decoding, 1-> 1/2 size, 2->1/4 size
Definition at line 3172 of file avcodec.h.
Referenced by avcodec_align_dimensions2(), avcodec_open2(), chroma_4mv_motion_lowres(), decode_slice(), dv_decode_video_segment(), dvvideo_decode_init(), ff_er_frame_end(), ff_h263_decode_picture_header(), ff_idctdsp_init(), ff_idctdsp_init_aarch64(), ff_idctdsp_init_alpha(), ff_idctdsp_init_arm(), ff_idctdsp_init_armv5te(), ff_idctdsp_init_armv6(), ff_idctdsp_init_neon(), ff_idctdsp_init_ppc(), ff_idctdsp_init_x86(), ff_init_block_index(), ff_intel_h263_decode_picture_header(), ff_mjpeg_decode_sof(), ff_mpv_reconstruct_mb(), ff_msmpeg4_pred_dc(), ff_set_dimensions(), ff_update_block_index(), ff_xvid_idct_init(), get_buffer_internal(), hpel_motion_lowres(), init(), libopenjpeg_decode_frame(), mjpeg_decode_scan(), mjpeg_idct_scan_progressive_ac(), mpeg_decode_slice(), mpeg_motion_lowres(), MPV_motion_lowres(), mpv_reconstruct_mb_internal(), rv20_decode_picture_header(), and shift_output().
attribute_deprecated AVFrame* AVCodecContext::coded_frame |
the picture in the bitstream
Definition at line 3183 of file avcodec.h.
Referenced by avcodec_close(), avcodec_copy_context(), avcodec_open2(), bmp_encode_frame(), copy_context_reset(), dnxhd_encode_init(), dnxhd_encode_picture(), dnxhd_load_picture(), dvvideo_encode_frame(), encode_frame(), encode_init(), encode_init_ls(), filter(), filter_frame(), flashsv_encode_frame(), frame_end(), gif_encode_init(), libx265_encode_frame(), ljpeg_encode_init(), pam_encode_init(), pcx_encode_init(), png_enc_init(), pnm_encode_init(), process_output_surface(), qtrle_encode_frame(), raw_encode_init(), storeframe(), svq1_encode_frame(), targa_encode_init(), update_context_from_thread(), utvideo_encode_frame(), v410_encode_frame(), X264_frame(), XAVS_frame(), and xvid_encode_frame().
int AVCodecContext::thread_count |
thread count is used to decide how many independent tasks should be passed to execute()
Definition at line 3192 of file avcodec.h.
Referenced by avcodec_close(), avcodec_open2(), dds_decode(), decode_chunks(), decode_end(), decode_init(), decode_lowdelay(), dnxhd_decode_frame(), dnxhd_decode_init(), dnxhd_decode_init_thread_copy(), dnxhd_encode_end(), dnxhd_encode_init(), dnxhd_load_picture(), dxv_init(), dxva_adjust_hwframes(), encode_close(), encode_init(), ff_alloc_entries(), ff_frame_thread_encoder_free(), ff_frame_thread_encoder_init(), ff_frame_thread_init(), ff_mpv_common_init(), ff_mpv_encode_init(), ff_slice_thread_init(), ff_thread_decode_frame(), ff_thread_flush(), ff_thread_free(), h264_init_context(), hap_init(), hevc_decode_init(), libx265_encode_init(), svc_encode_init(), thread_execute(), update_context_from_thread(), update_dimensions(), vaapi_decode_make_config(), validate_thread_parameters(), video_decode(), vp78_decode_frame(), vpx_init(), X264_init(), XAVS_init(), and xvid_encode_init().
int AVCodecContext::thread_type |
Which multithreading methods to use.
Use of FF_THREAD_FRAME will increase decoding delay by one frame per thread, so clients which cannot provide future frames should not use it.
Definition at line 3202 of file avcodec.h.
Referenced by ff_frame_thread_encoder_init(), validate_thread_parameters(), and X264_init().
int AVCodecContext::active_thread_type |
Which multithreading methods are in use by the codec.
Definition at line 3211 of file avcodec.h.
Referenced by avcodec_close(), avcodec_encode_video2(), avcodec_flush_buffers(), avcodec_open2(), await_reference_mb_row(), decode_chunks(), decode_frame_header(), decode_nal_units(), decode_simple_internal(), decode_slice(), dnxhd_encode_init(), dxva_adjust_hwframes(), ff_alloc_entries(), ff_er_add_slice(), ff_frame_thread_encoder_init(), ff_frame_thread_init(), ff_h264_field_end(), ff_mjpeg_encode_stuffing(), ff_mpv_common_init(), ff_mpv_encode_init(), ff_rv34_decode_frame(), ff_slice_thread_init(), ff_thread_can_start_frame(), ff_thread_finish_setup(), ff_thread_free(), ff_thread_get_format(), ff_thread_init(), ff_thread_release_buffer(), finish_frame(), h264_decode_init(), h264_init_context(), h264_slice_header_init(), hevc_decode_init(), jpeg_table_header(), mimic_decode_frame(), mpeg_field_start(), mpv_reconstruct_mb_internal(), render_slice(), rv34_decode_mv(), rv34_decode_slice(), rv34_mc(), slice_end(), thread_execute(), thread_get_buffer_internal(), update_dimensions(), update_size(), vaapi_decode_make_config(), validate_thread_parameters(), vp3_decode_frame(), vp3_draw_horiz_band(), vp78_decode_frame(), vp78_decode_mb_row_sliced(), and vp9_decode_frame().
int AVCodecContext::thread_safe_callbacks |
Set by the client if its custom get_buffer() callback can be called synchronously from another thread, which allows faster multithreaded decoding.
draw_horiz_band() will be called from other threads regardless of this setting. Ignored if the default get_buffer() is used.
Definition at line 3221 of file avcodec.h.
Referenced by ff_thread_get_format(), ff_thread_release_buffer(), init_input_stream(), submit_packet(), thread_get_buffer_internal(), and update_context_from_user().
int(* AVCodecContext::execute)(struct AVCodecContext *c, int(*func)(struct AVCodecContext *c2, void *arg), void *arg2, int *ret, int count, int size) |
The codec may call this to execute several independent things.
It will return only after finishing all tasks. The user may replace this with some multithreaded implementation, the default implementation will execute the parts serially.
count | the number of things to execute
|
Definition at line 3232 of file avcodec.h.
Referenced by calc_slice_sizes(), decode_chunks(), decode_component(), decode_frame(), decode_lowdelay(), decode_picture(), dvvideo_decode_frame(), dvvideo_encode_frame(), encode_frame(), encode_picture(), encode_slices(), ff_h264_execute_decode_slices(), ff_slice_thread_init(), fic_decode_frame(), hls_slice_data(), and init_context_defaults().
int(* AVCodecContext::execute2)(struct AVCodecContext *c, int(*func)(struct AVCodecContext *c2, void *arg, int jobnr, int threadnr), void *arg2, int *ret, int count) |
The codec may call this to execute several independent things.
It will return only after finishing all tasks. The user may replace this with some multithreaded implementation, the default implementation will execute the parts serially. Also see avcodec_thread_init and e.g. the –enable-pthread configure option.
c | context passed also to func |
count | the number of things to execute |
arg2 | argument passed unchanged to func |
ret | return values of executed functions, must have space for "count" values. May be NULL. |
func | function that will be called count times, with jobnr from 0 to count-1. threadnr will be in the range 0 to c->thread_count-1 < MAX_THREADS and so that no two instances of func executing at the same time will have the same threadnr. |
Definition at line 3252 of file avcodec.h.
Referenced by dds_decode(), decode_frame(), decode_lowdelay(), decode_picture(), dnxhd_decode_frame(), dnxhd_encode_fast(), dnxhd_encode_picture(), dnxhd_encode_rdo(), dnxhd_find_qscale(), dxv_decode(), encode_frame(), ff_slice_thread_init(), ff_vp56_decode_frame(), hap_decode(), hls_slice_data_wpp(), hqx_decode_frame(), init_context_defaults(), jpeg2000_decode_frame(), magy_decode_frame(), and vp78_decode_frame().
int AVCodecContext::nsse_weight |
noise vs.
sse weight for the nsse comparison function
Definition at line 3259 of file avcodec.h.
Referenced by hadamard_func(), nsse16_c(), and nsse8_c().
int AVCodecContext::profile |
profile
Definition at line 3266 of file avcodec.h.
Referenced by aac_decode_er_frame(), aac_decode_frame_int(), aac_encode_init(), av_vdpau_get_profile(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), dca_parse(), decode_extension_payload(), decode_frame_header(), dirac_decode_data_unit(), dnxhd_decode_header(), dnxhd_encode_init(), dnxhd_find_hr_cid(), dxva_check_codec_compatibility(), encode_init(), encode_slice(), export_stream_params(), ff_AMediaCodecProfile_getProfileFromAVCodecContext(), ff_dca_core_filter_frame(), ff_dca_lbr_filter_frame(), ff_dca_xll_filter_frame(), ff_dnxhd_find_cid(), ff_qsv_process_data(), ffat_create_decoder(), ffat_init_encoder(), get_siz(), h264_init_ps(), hevc_parse_slice_header(), mpeg1_encode_sequence_header(), mpeg4_decode_profile_level(), mpeg4_encode_visual_object_header(), mpeg_decode_sequence_extension(), mpeg_decode_slice(), nvenc_setup_h264_config(), nvenc_setup_hevc_config(), omx_component_init(), parse(), parse_nal_units(), prores_encode_frame(), prores_encode_init(), prores_encode_picture(), qsv_decode_init(), read_colorspace_details(), read_sbr_extension(), set_pix_fmt(), update_context_from_thread(), v4l2_prepare_encoder(), vaapi_decode_make_config(), vaapi_encode_h264_init(), vaapi_encode_h265_init(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_mpeg2_init(), vaapi_encode_mpeg2_init_sequence_params(), vaapi_encode_vp9_init(), vc1_decode_init(), vdpau_h264_init(), vdpau_hevc_init(), vdpau_mpeg4_init(), vdpau_vc1_init(), vpx_init(), and X264_init().
int AVCodecContext::level |
level
Definition at line 3364 of file avcodec.h.
Referenced by avcodec_parameters_from_context(), avcodec_parameters_to_context(), dirac_decode_data_unit(), encode_init(), export_stream_params(), ff_qsv_process_data(), h264_init_ps(), hevc_parse_slice_header(), init_video_param(), mpeg1_encode_sequence_header(), mpeg4_decode_profile_level(), mpeg4_encode_visual_object_header(), mpeg_decode_sequence_extension(), mpeg_decode_slice(), parse_nal_units(), qsv_decode_init(), update_context_from_thread(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_mpeg2_init_picture_params(), vaapi_encode_mpeg2_init_sequence_params(), vc1_decode_init(), vdpau_h264_init(), vdpau_hevc_init(), vdpau_mpeg4_init(), vdpau_vc1_init(), X264_init(), and XAVS_init().
enum AVDiscard AVCodecContext::skip_loop_filter |
Skip loop filtering for selected frames.
Definition at line 3372 of file avcodec.h.
Referenced by decode_wmv9(), ff_hevc_hls_filter(), ff_vc1_decode_entry_point(), ff_vc1_decode_sequence_header(), h264_slice_init(), vc1_decode_p_blocks(), and vp78_decode_frame().
enum AVDiscard AVCodecContext::skip_idct |
Skip IDCT/dequantization for selected frames.
Definition at line 3379 of file avcodec.h.
Referenced by mpv_reconstruct_mb_internal().
enum AVDiscard AVCodecContext::skip_frame |
Skip decoding for selected frames.
Definition at line 3386 of file avcodec.h.
Referenced by decode_chunks(), decode_frame(), decode_frame_common(), decode_nal_units(), ff_h263_decode_frame(), ff_h264_queue_decode_slice(), ff_mjpeg_decode_frame(), ff_mjpeg_decode_sof(), ff_rv34_decode_frame(), h261_decode_frame(), h264_decode_frame(), svq1_decode_frame(), svq3_decode_frame(), try_decode_frame(), try_decode_video_frame(), vc1_decode_frame(), and vp78_decode_frame().
uint8_t* AVCodecContext::subtitle_header |
Header containing style information for text subtitles.
For SUBTITLE_ASS subtitle type, it should contain the whole ASS [Script Info] and [V4+ Styles] section, plus the [Events] line and the Format line following. It shouldn't include any Dialogue line.
Definition at line 3396 of file avcodec.h.
Referenced by ass_decode_init(), ass_encode_init(), avcodec_copy_context(), avcodec_free_context(), avcodec_open2(), avformat_find_stream_info(), copy_context_reset(), ff_ass_subtitle_header(), init_output_stream(), mov_text_encode_init(), srt_encode_init(), and webvtt_encode_init().
int AVCodecContext::subtitle_header_size |
Definition at line 3397 of file avcodec.h.
Referenced by ass_decode_init(), ass_encode_init(), avcodec_copy_context(), avformat_find_stream_info(), copy_context_reset(), ff_ass_subtitle_header(), and init_output_stream().
attribute_deprecated int AVCodecContext::error_rate |
Definition at line 3405 of file avcodec.h.
Referenced by ff_mpv_encode_init().
attribute_deprecated uint64_t AVCodecContext::vbv_delay |
VBV delay coded in the last frame (in periods of a 27 MHz clock).
Used for compliant TS muxing.
Definition at line 3418 of file avcodec.h.
Referenced by ff_mpv_encode_picture().
attribute_deprecated int AVCodecContext::side_data_only_packets |
Encoding only and set by default.
Allow encoders to output packets that do not contain any encoded data, only side data.
Some encoders need to output such packets, e.g. to update some stream parameters at the end of encoding.
Definition at line 3433 of file avcodec.h.
Referenced by flac_encode_frame().
int AVCodecContext::initial_padding |
Audio only.
The number of "priming" samples (padding) inserted by the encoder at the beginning of the audio. I.e. this number of leading decoded samples must be discarded by the caller to get the original audio without leading padding.
Definition at line 3451 of file avcodec.h.
Referenced by aac_encode_init(), amr_wb_encode_frame(), amr_wb_encode_init(), avcodec_encode_audio2(), avcodec_open2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avcodec_string(), encode_frame(), encode_init(), encode_superframe(), ff_ac3_encode_init(), ff_af_queue_init(), ffat_update_ctx(), g722_encode_frame(), g722_encode_init(), libopus_encode_init(), libopus_write_header(), libvorbis_encode_frame(), mp3lame_encode_frame(), mp3lame_encode_init(), MPA_encode_frame(), MPA_encode_init(), opus_encode_init(), opus_write_extradata(), ra144_encode_init(), twolame_encode_frame(), and twolame_encode_init().
AVRational AVCodecContext::framerate |
Definition at line 3460 of file avcodec.h.
Referenced by add_input_streams(), av_guess_frame_rate(), avcodec_open2(), avformat_find_stream_info(), cmv_process_header(), cuvid_output_frame(), decode_frame(), decode_seq_header(), decode_sequence_header_adv(), decode_vol_header(), decode_vop_header(), dirac_decode_data_unit(), dvvideo_decode_frame(), export_stream_params(), ff_compute_frame_duration(), ff_guess_coded_bitrate(), ff_h263_decode_picture_header(), ff_h263_show_pict_info(), ff_raw_video_read_header(), ffmal_update_format(), h261_decode_picture_header(), h264_parse(), h264_slice_header_init(), hevc_parse_slice_header(), init_context_defaults(), init_output_stream_encode(), init_video_param(), main(), mpegvideo_extract_headers(), mpegvideo_parse(), omx_component_init(), open_input_file(), open_output_file(), process_input_packet(), tgq_decode_init(), tgv_decode_init(), tqi_decode_init(), update_context_from_thread(), v4l2_prepare_encoder(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_init_rate_control(), vaapi_encode_mpeg2_init_sequence_params(), vaapi_mpeg4_start_frame(), vc1_extract_header(), and vdpau_mpeg4_start_frame().
enum AVPixelFormat AVCodecContext::sw_pix_fmt |
Nominal unaccelerated pixel format, see AV_PIX_FMT_xxx.
Definition at line 3467 of file avcodec.h.
Referenced by avcodec_open2(), cuvid_init(), dxva_adjust_hwframes(), ff_get_format(), ff_vdpau_common_init(), fill_picture_parameters(), get_buffer_internal(), get_format(), init_context_defaults(), init_video_param(), qsv_decode_init(), qsv_init(), update_context_from_thread(), vaapi_decode_make_config(), and vaapi_vp9_start_frame().
AVRational AVCodecContext::pkt_timebase |
Timebase in which pkt_dts/pts and AVPacket.dts/pts are.
Definition at line 3474 of file avcodec.h.
Referenced by avcodec_decode_subtitle2(), cuvid_decode_init(), cuvid_output_frame(), decode_frame(), decode_simple_internal(), ff_mediacodec_dec_decode(), init_context_defaults(), mediacodec_wrap_hw_buffer(), mediacodec_wrap_sw_buffer(), and teletext_decode_frame().
const AVCodecDescriptor* AVCodecContext::codec_descriptor |
Definition at line 3481 of file avcodec.h.
Referenced by avcodec_decode_subtitle2(), and avcodec_open2().
int64_t AVCodecContext::pts_correction_num_faulty_pts |
Current statistics for PTS correction.
Definition at line 3497 of file avcodec.h.
Referenced by avcodec_open2(), guess_correct_pts(), and video_refresh().
int64_t AVCodecContext::pts_correction_num_faulty_dts |
Number of incorrect PTS values so far.
Definition at line 3498 of file avcodec.h.
Referenced by avcodec_open2(), guess_correct_pts(), and video_refresh().
int64_t AVCodecContext::pts_correction_last_pts |
Number of incorrect DTS values so far.
Definition at line 3499 of file avcodec.h.
Referenced by avcodec_flush_buffers(), avcodec_open2(), and guess_correct_pts().
int64_t AVCodecContext::pts_correction_last_dts |
PTS of the last frame.
Definition at line 3500 of file avcodec.h.
Referenced by avcodec_flush_buffers(), avcodec_open2(), and guess_correct_pts().
char* AVCodecContext::sub_charenc |
DTS of the last frame.
Character encoding of the input subtitles file.
Definition at line 3507 of file avcodec.h.
Referenced by avcodec_open2(), and recode_subtitle().
int AVCodecContext::sub_charenc_mode |
Subtitles character encoding mode.
Formats or codecs might be adjusting this setting (if they are doing the conversion themselves for instance).
Definition at line 3515 of file avcodec.h.
Referenced by avcodec_open2(), and recode_subtitle().
int AVCodecContext::skip_alpha |
Skip processing alpha if supported by codec.
Note that if the format uses pre-multiplied alpha (common with VP6, and recommended due to better video quality/compression) the image will look as if alpha-blended onto a black background. However for formats that do not use pre-multiplied alpha there might be serious artefacts (though e.g. libswscale currently assumes pre-multiplied alpha anyway).
Definition at line 3532 of file avcodec.h.
Referenced by decode_frame_header(), ff_vp56_init_context(), and read_header().
int AVCodecContext::seek_preroll |
Number of samples to skip after a discontinuity.
Definition at line 3539 of file avcodec.h.
Referenced by avcodec_parameters_from_context(), and avcodec_parameters_to_context().
uint16_t* AVCodecContext::chroma_intra_matrix |
custom intra quantization matrix
Definition at line 3558 of file avcodec.h.
Referenced by encode_picture(), and new_video_stream().
uint8_t* AVCodecContext::dump_separator |
dump format separator.
can be ", " or "\n " or anything else
Definition at line 3566 of file avcodec.h.
Referenced by avcodec_string().
char* AVCodecContext::codec_whitelist |
',' separated list of allowed decoders.
If NULL then all are allowed
Definition at line 3574 of file avcodec.h.
Referenced by avcodec_open2().
unsigned AVCodecContext::properties |
Properties of the stream that gets decoded.
Definition at line 3581 of file avcodec.h.
Referenced by avcodec_string(), avformat_find_stream_info(), decode_frame_header(), dump_stream_format(), ff_mjpeg_decode_frame(), get_cox(), h264_export_frame_props(), mpeg_decode_a53_cc(), set_side_data(), and webp_decode_frame().
AVPacketSideData* AVCodecContext::coded_side_data |
Additional data associated with the entire coded stream.
Definition at line 3591 of file avcodec.h.
Referenced by avcodec_close(), avcodec_copy_context(), copy_context_reset(), ff_add_cpb_side_data(), and init_output_stream().
int AVCodecContext::nb_coded_side_data |
Definition at line 3592 of file avcodec.h.
Referenced by avcodec_close(), avcodec_copy_context(), copy_context_reset(), ff_add_cpb_side_data(), and init_output_stream().
AVBufferRef* AVCodecContext::hw_frames_ctx |
A reference to the AVHWFramesContext describing the input (for encoding) or output (decoding) frames.
The reference is set by the caller and afterwards owned (and freed) by libavcodec - it should never be read by the caller after being set.
decoding: This field should be set by the caller from the get_format() callback. The previous reference (if any) will always be unreffed by libavcodec before the get_format() call.
If the default get_buffer2() is used with a hwaccel pixel format, then this AVHWFramesContext will be used for allocating the frame buffers.
encoding: For hardware encoders configured to use a hwaccel pixel format, this field should be set by the caller to a reference to the AVHWFramesContext describing input frames. AVHWFramesContext.format must be equal to AVCodecContext.pix_fmt.
This field should be set before avcodec_open2() is called.
Definition at line 3616 of file avcodec.h.
Referenced by avcodec_close(), avcodec_copy_context(), avcodec_default_get_buffer2(), avcodec_open2(), copy_context_reset(), cuvid_decode_init(), ff_dxva2_decode_init(), ff_frame_thread_free(), ff_get_format(), ff_nvenc_encode_init(), ff_qsv_enc_init(), ff_vaapi_decode_init(), ff_vaapi_encode_init(), ff_vdpau_common_init(), get_format(), init_output_stream(), init_video_param(), nvenc_setup_device(), qsv_decode_init(), qsvenc_init_session(), and update_context_from_thread().
int AVCodecContext::sub_text_format |
Control the form of AVSubtitle.rects[N]->ass.
Definition at line 3623 of file avcodec.h.
Referenced by avcodec_decode_subtitle2().
int AVCodecContext::trailing_padding |
Audio only.
The amount of padding (in samples) appended by the encoder to the end of the audio. I.e. this number of decoded samples must be discarded by the caller from the end of the stream to get the original audio without any trailing padding.
Definition at line 3638 of file avcodec.h.
Referenced by avcodec_parameters_from_context(), avcodec_parameters_to_context(), and avcodec_string().
int64_t AVCodecContext::max_pixels |
The number of pixels per image to maximally accept.
Definition at line 3646 of file avcodec.h.
Referenced by avcodec_encode_video2(), avcodec_open2(), decode_init(), dirac_decode_data_unit(), dvbsub_parse_region_segment(), ff_ivi_init_planes(), ff_set_dimensions(), get_buffer_internal(), and LLVMFuzzerTestOneInput().
AVBufferRef* AVCodecContext::hw_device_ctx |
A reference to the AVHWDeviceContext describing the device which will be used by a hardware encoder/decoder.
The reference is set by the caller and afterwards owned (and freed) by libavcodec.
This should be used if either the codec device does not require hardware frames or any that are used are to be allocated internally by libavcodec. If the user wishes to supply any of the frames used as encoder input or decoder output then hw_frames_ctx should be used instead. When hw_frames_ctx is set in get_format() for a decoder, this field will be ignored while decoding the associated stream segment, but may again be used on a following one after another get_format() call.
For both encoders and decoders this field should be set before avcodec_open2() is called and must not be written to thereafter.
Note that some decoders may require this field to be set initially in order to support hw_frames_ctx at all - in that case, all frames contexts used must be created on the same device.
Definition at line 3668 of file avcodec.h.
Referenced by avcodec_close(), avcodec_copy_context(), copy_context_reset(), cuvid_decode_init(), ff_dxva2_decode_init(), ff_vaapi_decode_init(), ff_vdpau_common_init(), hw_decoder_init(), hw_device_setup_for_decode(), hw_device_setup_for_encode(), nvenc_setup_device(), qsv_decode_init(), qsvenc_init_session(), and vaapi_decode_make_config().
int AVCodecContext::hwaccel_flags |
Bit set of AV_HWACCEL_FLAG_* flags, which affect hardware accelerated decoding (if active).
Definition at line 3677 of file avcodec.h.
Referenced by dxva_check_codec_compatibility(), ff_vdpau_common_init(), update_context_from_thread(), and vaapi_decode_make_config().
int AVCodecContext::apply_cropping |
Video decoding only.
Certain video codecs support cropping, meaning that only a sub-rectangle of the decoded frame is intended for display. This option controls how cropping is handled by libavcodec.
When set to 1 (the default), libavcodec will apply cropping internally. I.e. it will modify the output frame width/height fields and offset the data pointers (only by as much as possible while preserving alignment, or by the full amount if the AV_CODEC_FLAG_UNALIGNED flag is set) so that the frames output by the decoder refer only to the cropped area. The crop_* fields of the output frames will be zero.
When set to 0, the width/height fields of the output frames will be set to the coded dimensions and the crop_* fields will describe the cropping rectangle. Applying the cropping is left to the caller.
Definition at line 3704 of file avcodec.h.
Referenced by apply_cropping().