#include <internal.h>
Definition at line 48 of file internal.h.
When using frame-threaded decoding, this field is set for the first worker thread (e.g.
to decode extradata just once).
Definition at line 53 of file internal.h.
Referenced by cfhd_decode(), h264_decode_init(), and hevc_decode_init().
An audio frame with less than required samples has been submitted and padded with silence.
Reject all subsequent frames.
Definition at line 59 of file internal.h.
Referenced by encode_send_frame_internal().
Definition at line 61 of file internal.h.
Referenced by audio_get_buffer(), avcodec_close(), update_context_from_thread(), and update_frame_pool().
Definition at line 63 of file internal.h.
Referenced by avcodec_close(), ff_alloc_entries(), ff_frame_thread_free(), ff_frame_thread_init(), ff_reset_entries(), ff_slice_thread_execute_with_mainfunc(), ff_slice_thread_free(), ff_slice_thread_init(), ff_slice_thread_init_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_progress2(), main_function(), thread_execute(), thread_execute2(), thread_get_buffer_internal(), and worker_func().
This packet is used to hold the packet given to decoders implementing the .decode API; it is unused by the generic code for decoders implementing the .receive_frame API and may be freely used (but not freed) by them with the caveat that the packet will be unreferenced generically in avcodec_flush_buffers().
Definition at line 73 of file internal.h.
Referenced by avcodec_close(), avcodec_flush_buffers(), cuvid_decode_init(), decode_init(), decode_simple_internal(), ff_decode_preinit(), ff_mjpeg_decode_init(), ffmmal_init_decoder(), and init().
Definition at line 74 of file internal.h.
Referenced by avcodec_close(), avcodec_flush_buffers(), avcodec_send_packet(), cuvid_decode_init(), decode_bsfs_init(), and ff_decode_get_packet().
Properties (timestamps+side data) extracted from the last packet passed for decoding.
Definition at line 80 of file internal.h.
Referenced by avcodec_close(), avcodec_flush_buffers(), decode_receive_frame_internal(), decode_simple_internal(), extract_packet_props(), ff_decode_frame_props(), and ff_decode_preinit().
Definition at line 81 of file internal.h.
Referenced by avcodec_close(), avcodec_flush_buffers(), decode_receive_frame_internal(), extract_packet_props(), and ff_decode_preinit().
temporary buffer used for encoders to store their bitstream
Definition at line 86 of file internal.h.
Referenced by avcodec_close(), ff_alloc_packet(), and ff_mpv_encode_picture().
Definition at line 87 of file internal.h.
Referenced by avcodec_close(), ff_alloc_packet(), and ff_mpv_encode_picture().
This is set to AV_PKT_FLAG_KEY for encoders that encode intra-only formats (i.e.
whose codec descriptor has AV_CODEC_PROP_INTRA_ONLY set). This is used to set said flag generically for said encoders.
Definition at line 94 of file internal.h.
Referenced by encode_simple_internal(), and ff_encode_preinit().
Definition at line 96 of file internal.h.
Referenced by avcodec_close(), avcodec_open2(), encode_simple_internal(), ff_frame_thread_encoder_free(), ff_frame_thread_encoder_init(), ff_thread_video_encode_frame(), and worker().
The input frame is stored here for encoders implementing the simple encode API.
Not allocated in other cases.
Definition at line 104 of file internal.h.
Referenced by avcodec_close(), avcodec_flush_buffers(), encode_simple_internal(), and ff_encode_preinit().
If this is set, then FFCodec->close (if existing) needs to be called for the parent AVCodecContext.
Definition at line 110 of file internal.h.
Referenced by avcodec_close(), and avcodec_open2().
Number of audio samples to skip at the start of the next decoded frame.
Definition at line 115 of file internal.h.
Referenced by cng_decode_frame(), decode_fill(), decode_simple_internal(), ff_opus_parse_extradata(), flush(), libopus_decode_init(), libopus_flush(), wma_decode_init(), and xma_decode_packet().
hwaccel-specific private data
Definition at line 120 of file internal.h.
Referenced by avcodec_close(), dxva2_av1_decode_slice(), dxva2_av1_uninit(), ff_frame_thread_free(), ff_nvdec_decode_init(), ff_nvdec_decode_uninit(), ff_nvdec_end_frame(), ff_nvdec_simple_decode_slice(), ff_nvdec_simple_end_frame(), ff_nvdec_start_frame(), ff_nvdec_start_frame_sep_ref(), 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_vdpau_common_end_frame(), ff_vdpau_common_init(), ff_vdpau_common_reinit(), ff_vdpau_common_uninit(), ff_videotoolbox_avcc_extradata_create(), hwaccel_init(), hwaccel_uninit(), nvdec_av1_decode_slice(), nvdec_av1_start_frame(), nvdec_h264_decode_slice(), nvdec_h264_start_frame(), nvdec_hevc_decode_init(), nvdec_hevc_decode_slice(), nvdec_hevc_start_frame(), nvdec_mjpeg_start_frame(), nvdec_mpeg12_start_frame(), nvdec_mpeg4_start_frame(), nvdec_vc1_start_frame(), nvdec_vp8_start_frame(), nvdec_vp9_start_frame(), update_context_from_thread(), vaapi_av1_decode_init(), vaapi_av1_decode_uninit(), vaapi_av1_end_frame(), vaapi_av1_start_frame(), vaapi_decode_find_best_format(), and videotoolbox_vp9_decode_slice().
checks API usage: after codec draining, flush is required to resume operation
Definition at line 125 of file internal.h.
Referenced by avcodec_flush_buffers(), avcodec_send_frame(), avcodec_send_packet(), decode_simple_internal(), encode_simple_internal(), ff_decode_get_packet(), ff_encode_get_frame(), ff_nvenc_receive_packet(), and librav1e_receive_packet().
buffers for using new encode/decode API through legacy API
Definition at line 130 of file internal.h.
Referenced by avcodec_close(), avcodec_decode_subtitle2(), avcodec_flush_buffers(), avcodec_open2(), avcodec_receive_packet(), avcodec_send_frame(), and avcodec_send_packet().
Definition at line 131 of file internal.h.
Referenced by avcodec_close(), avcodec_flush_buffers(), avcodec_open2(), avcodec_receive_frame(), avcodec_send_frame(), avcodec_send_packet(), encode_send_frame_internal(), and ff_encode_get_frame().
Definition at line 132 of file internal.h.
Referenced by avcodec_flush_buffers(), decode_receive_frame_internal(), decode_simple_internal(), encode_receive_packet_internal(), and encode_simple_internal().
Definition at line 134 of file internal.h.
Referenced by decode_simple_internal().
Definition at line 136 of file internal.h.
Referenced by aac_decode_frame_int(), avcodec_open2(), and decode_simple_internal().
Definition at line 139 of file internal.h.
Referenced by avcodec_flush_buffers(), and decode_simple_internal().
Definition at line 142 of file internal.h.
Referenced by avcodec_receive_frame().
Definition at line 143 of file internal.h.
Referenced by avcodec_receive_frame().
Definition at line 144 of file internal.h.
Referenced by avcodec_receive_frame().
Definition at line 144 of file internal.h.
Referenced by avcodec_receive_frame().
Definition at line 145 of file internal.h.
Referenced by avcodec_receive_frame().
Definition at line 150 of file internal.h.
Referenced by avcodec_close(), and avcodec_receive_frame().