FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVCodecInternal Struct Reference

#include <internal.h>

Data Fields

int buffer_count
 internal buffer count used by default get/release/reget_buffer().
 
InternalBufferbuffer
 internal buffers used by default get/release/reget_buffer().
 
int is_copy
 Whether the parent AVCodecContext is a copy of the context which had init() called on it.
 
int last_audio_frame
 An audio frame with less than required samples has been submitted and padded with silence.
 
uint8_taudio_data
 The data for the last allocated audio frame.
 
uint8_tbyte_buffer
 temporary buffer used for encoders to store their bitstream
 
unsigned int byte_buffer_size
 
voidframe_thread_encoder
 
int skip_samples
 Number of audio samples to skip at the start of the next decoded frame.
 

Detailed Description

Definition at line 44 of file internal.h.

Field Documentation

int AVCodecInternal::buffer_count

internal buffer count used by default get/release/reget_buffer().

Definition at line 49 of file internal.h.

Referenced by avcodec_default_release_buffer(), video_free_buffers(), and video_get_buffer().

InternalBuffer* AVCodecInternal::buffer

internal buffers used by default get/release/reget_buffer().

Definition at line 55 of file internal.h.

Referenced by avcodec_default_release_buffer(), video_free_buffers(), and video_get_buffer().

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 63 of file internal.h.

Referenced by decode_init_thread_copy(), ff_MPV_common_end(), ff_rv34_decode_init_thread_copy(), frame_thread_init(), mimic_decode_end(), vp3_decode_end(), and vp8_decode_flush_impl().

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 77 of file internal.h.

Referenced by avcodec_encode_audio2().

uint8_t* AVCodecInternal::audio_data

The data for the last allocated audio frame.

Stored here so we can free it.

Definition at line 83 of file internal.h.

Referenced by audio_free_buffers(), and audio_get_buffer().

uint8_t* AVCodecInternal::byte_buffer

temporary buffer used for encoders to store their bitstream

Definition at line 88 of file internal.h.

Referenced by avcodec_close(), avcodec_encode_audio2(), avcodec_encode_video2(), and ff_alloc_packet2().

unsigned int AVCodecInternal::byte_buffer_size

Definition at line 89 of file internal.h.

Referenced by avcodec_close(), and ff_alloc_packet2().

void* AVCodecInternal::frame_thread_encoder
int AVCodecInternal::skip_samples

Number of audio samples to skip at the start of the next decoded frame.

Definition at line 96 of file internal.h.

Referenced by avcodec_decode_audio4(), decode_fill(), libopus_decode_init(), and libopus_flush().


The documentation for this struct was generated from the following file: