FFmpeg
|
#include <internal.h>
Data Fields | |
int | is_copy |
Whether the parent AVCodecContext is a copy of the context which had init() called on it. More... | |
int | last_audio_frame |
An audio frame with less than required samples has been submitted and padded with silence. More... | |
AVFrame * | to_free |
AVBufferRef * | pool |
void * | thread_ctx |
DecodeSimpleContext | ds |
AVBSFContext * | bsf |
AVPacket * | last_pkt_props |
Properties (timestamps+side data) extracted from the last packet passed for decoding. More... | |
uint8_t * | byte_buffer |
temporary buffer used for encoders to store their bitstream More... | |
unsigned int | byte_buffer_size |
void * | frame_thread_encoder |
int | skip_samples |
Number of audio samples to skip at the start of the next decoded frame. More... | |
void * | hwaccel_priv_data |
hwaccel-specific private data More... | |
int | draining |
checks API usage: after codec draining, flush is required to resume operation More... | |
AVPacket * | buffer_pkt |
buffers for using new encode/decode API through legacy API More... | |
int | buffer_pkt_valid |
AVFrame * | buffer_frame |
int | draining_done |
int | compat_decode_warned |
size_t | compat_decode_consumed |
size_t | compat_decode_partial_size |
AVFrame * | compat_decode_frame |
int | showed_multi_packet_warning |
int | skip_samples_multiplier |
int | nb_draining_errors |
int | changed_frames_dropped |
int | initial_format |
int | initial_width |
int | initial_height |
int | initial_sample_rate |
int | initial_channels |
uint64_t | initial_channel_layout |
Definition at line 116 of file internal.h.
int AVCodecInternal::is_copy |
Whether the parent AVCodecContext is a copy of the context which had init() called on it.
This is used by multithreading - shared tables and picture pointers should be freed from the original context only.
Definition at line 123 of file internal.h.
Referenced by ff_frame_thread_free(), h264_decode_init(), and hevc_decode_init().
int AVCodecInternal::last_audio_frame |
An audio frame with less than required samples has been submitted and padded with silence.
Reject all subsequent frames.
Definition at line 129 of file internal.h.
Referenced by avcodec_encode_audio2().
AVFrame* AVCodecInternal::to_free |
Definition at line 131 of file internal.h.
Referenced by avcodec_close(), avcodec_flush_buffers(), avcodec_open2(), and unrefcount_frame().
AVBufferRef* AVCodecInternal::pool |
Definition at line 133 of file internal.h.
Referenced by audio_get_buffer(), avcodec_close(), avcodec_open2(), ff_frame_thread_free(), update_context_from_thread(), and update_frame_pool().
void* AVCodecInternal::thread_ctx |
Definition at line 135 of file internal.h.
Referenced by avcodec_close(), avcodec_open2(), 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_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().
DecodeSimpleContext AVCodecInternal::ds |
Definition at line 137 of file internal.h.
Referenced by avcodec_close(), avcodec_flush_buffers(), avcodec_open2(), and decode_simple_internal().
AVBSFContext* AVCodecInternal::bsf |
Definition at line 138 of file internal.h.
Referenced by avcodec_close(), avcodec_flush_buffers(), avcodec_open2(), avcodec_send_packet(), cuvid_decode_init(), ff_decode_bsfs_init(), and ff_decode_get_packet().
AVPacket* AVCodecInternal::last_pkt_props |
Properties (timestamps+side data) extracted from the last packet passed for decoding.
Definition at line 144 of file internal.h.
Referenced by avcodec_close(), avcodec_open2(), decode_simple_internal(), extract_packet_props(), and ff_decode_frame_props().
uint8_t* AVCodecInternal::byte_buffer |
temporary buffer used for encoders to store their bitstream
Definition at line 149 of file internal.h.
Referenced by avcodec_close(), avcodec_encode_audio2(), avcodec_encode_video2(), ff_alloc_packet2(), and ff_mpv_encode_picture().
unsigned int AVCodecInternal::byte_buffer_size |
Definition at line 150 of file internal.h.
Referenced by avcodec_close(), ff_alloc_packet2(), and ff_mpv_encode_picture().
void* AVCodecInternal::frame_thread_encoder |
Definition at line 152 of file internal.h.
Referenced by avcodec_close(), avcodec_encode_video2(), avcodec_open2(), ff_frame_thread_encoder_free(), ff_frame_thread_encoder_init(), ff_thread_video_encode_frame(), and worker().
int AVCodecInternal::skip_samples |
Number of audio samples to skip at the start of the next decoded frame.
Definition at line 157 of file internal.h.
Referenced by cng_decode_frame(), decode_fill(), decode_simple_internal(), ff_opus_parse_extradata(), libopus_decode_init(), and libopus_flush().
void* AVCodecInternal::hwaccel_priv_data |
hwaccel-specific private data
Definition at line 162 of file internal.h.
Referenced by avcodec_close(), 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_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_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(), and vaapi_decode_find_best_format().
int AVCodecInternal::draining |
checks API usage: after codec draining, flush is required to resume operation
Definition at line 167 of file internal.h.
Referenced by avcodec_flush_buffers(), avcodec_receive_packet(), avcodec_send_frame(), avcodec_send_packet(), compat_decode(), decode_simple_internal(), ff_decode_get_packet(), ff_nvenc_send_frame(), and librav1e_receive_packet().
AVPacket* AVCodecInternal::buffer_pkt |
buffers for using new encode/decode API through legacy API
Definition at line 172 of file internal.h.
Referenced by avcodec_close(), avcodec_flush_buffers(), avcodec_open2(), avcodec_receive_packet(), avcodec_send_packet(), and do_encode().
int AVCodecInternal::buffer_pkt_valid |
Definition at line 173 of file internal.h.
Referenced by avcodec_flush_buffers(), avcodec_receive_packet(), avcodec_send_frame(), and do_encode().
AVFrame* AVCodecInternal::buffer_frame |
Definition at line 174 of file internal.h.
Referenced by avcodec_close(), avcodec_flush_buffers(), avcodec_open2(), avcodec_receive_frame(), and avcodec_send_packet().
int AVCodecInternal::draining_done |
Definition at line 175 of file internal.h.
Referenced by avcodec_flush_buffers(), compat_decode(), decode_receive_frame_internal(), and decode_simple_internal().
int AVCodecInternal::compat_decode_warned |
Definition at line 176 of file internal.h.
Referenced by compat_decode().
size_t AVCodecInternal::compat_decode_consumed |
Definition at line 179 of file internal.h.
Referenced by compat_decode(), decode_simple_internal(), and ff_decode_get_packet().
size_t AVCodecInternal::compat_decode_partial_size |
Definition at line 182 of file internal.h.
Referenced by compat_decode().
AVFrame* AVCodecInternal::compat_decode_frame |
Definition at line 183 of file internal.h.
Referenced by avcodec_close(), avcodec_flush_buffers(), avcodec_open2(), and compat_decode().
int AVCodecInternal::showed_multi_packet_warning |
Definition at line 185 of file internal.h.
Referenced by decode_simple_internal().
int AVCodecInternal::skip_samples_multiplier |
Definition at line 187 of file internal.h.
Referenced by aac_decode_frame_int(), avcodec_open2(), and decode_simple_internal().
int AVCodecInternal::nb_draining_errors |
Definition at line 190 of file internal.h.
Referenced by avcodec_flush_buffers(), and decode_simple_internal().
int AVCodecInternal::changed_frames_dropped |
Definition at line 193 of file internal.h.
Referenced by avcodec_receive_frame().
int AVCodecInternal::initial_format |
Definition at line 194 of file internal.h.
Referenced by avcodec_receive_frame().
int AVCodecInternal::initial_width |
Definition at line 195 of file internal.h.
Referenced by avcodec_receive_frame().
int AVCodecInternal::initial_height |
Definition at line 195 of file internal.h.
Referenced by avcodec_receive_frame().
int AVCodecInternal::initial_sample_rate |
Definition at line 196 of file internal.h.
Referenced by avcodec_receive_frame().
int AVCodecInternal::initial_channels |
Definition at line 197 of file internal.h.
Referenced by avcodec_receive_frame().
uint64_t AVCodecInternal::initial_channel_layout |
Definition at line 198 of file internal.h.
Referenced by avcodec_receive_frame().