AVCodecInternal Struct Reference

#include <internal.h>

Data Fields

int buffer_count
 internal buffer count used by default get/release/reget_buffer(). More...
 
InternalBufferbuffer
 internal buffers used by default get/release/reget_buffer(). More...
 
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...
 
uint8_taudio_data
 The data for the last allocated audio frame. More...
 

Detailed Description

Definition at line 44 of file internal.h.

Field Documentation

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().

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::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().

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(), free_tables(), h264_decode_end(), 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().


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