|
Libav
|
Audio buffer used for intermediate storage between conversion phases. More...
#include <audio_data.h>
Data Fields | |
| const AVClass * | class |
| AVClass for logging. More... | |
| uint8_t * | data [AVRESAMPLE_MAX_CHANNELS] |
| data plane pointers More... | |
| uint8_t * | buffer |
| data buffer More... | |
| unsigned int | buffer_size |
| allocated buffer size More... | |
| int | allocated_samples |
| number of samples the buffer can hold More... | |
| int | nb_samples |
| current number of samples More... | |
| enum AVSampleFormat | sample_fmt |
| sample format More... | |
| int | channels |
| channel count More... | |
| int | allocated_channels |
| allocated channel count More... | |
| int | is_planar |
| sample format is planar More... | |
| int | planes |
| number of data planes More... | |
| int | sample_size |
| bytes per sample More... | |
| int | stride |
| sample byte offset within a plane More... | |
| int | read_only |
| data is read-only More... | |
| int | allow_realloc |
| realloc is allowed More... | |
| int | ptr_align |
| minimum data pointer alignment More... | |
| int | samples_align |
| allocated samples alignment More... | |
| const char * | name |
| name for debug logging More... | |
Audio buffer used for intermediate storage between conversion phases.
Definition at line 37 of file audio_data.h.
| const AVClass* AudioData::class |
AVClass for logging.
Definition at line 38 of file audio_data.h.
Referenced by ff_audio_data_alloc(), and ff_audio_data_init().
| uint8_t* AudioData::data[AVRESAMPLE_MAX_CHANNELS] |
data plane pointers
Definition at line 39 of file audio_data.h.
Referenced by calc_ptr_alignment(), ff_audio_data_add_to_fifo(), ff_audio_data_combine(), ff_audio_data_copy(), ff_audio_data_drain(), ff_audio_data_init(), ff_audio_data_read_from_fifo(), ff_audio_data_realloc(), ff_audio_mix(), ff_audio_resample(), and ff_convert_dither().
| uint8_t* AudioData::buffer |
| unsigned int AudioData::buffer_size |
allocated buffer size
Definition at line 41 of file audio_data.h.
Referenced by ff_audio_data_realloc().
| int AudioData::allocated_samples |
number of samples the buffer can hold
Definition at line 42 of file audio_data.h.
Referenced by ff_audio_data_init(), ff_audio_data_realloc(), ff_audio_resample(), and handle_buffered_output().
| int AudioData::nb_samples |
current number of samples
Definition at line 43 of file audio_data.h.
Referenced by avresample_convert(), avresample_get_delay(), ff_audio_data_add_to_fifo(), ff_audio_data_combine(), ff_audio_data_copy(), ff_audio_data_drain(), ff_audio_data_init(), ff_audio_data_read_from_fifo(), ff_audio_data_realloc(), ff_audio_mix(), ff_audio_resample(), ff_audio_resample_init(), ff_convert_dither(), and handle_buffered_output().
| enum AVSampleFormat AudioData::sample_fmt |
sample format
Definition at line 44 of file audio_data.h.
Referenced by ff_audio_data_alloc(), ff_audio_data_combine(), ff_audio_data_copy(), ff_audio_data_init(), ff_audio_data_realloc(), and ff_convert_dither().
| int AudioData::channels |
channel count
Definition at line 45 of file audio_data.h.
Referenced by ff_audio_data_alloc(), ff_audio_data_combine(), ff_audio_data_copy(), ff_audio_data_init(), ff_audio_data_set_channels(), ff_audio_resample(), and ff_convert_dither().
| int AudioData::allocated_channels |
allocated channel count
Definition at line 46 of file audio_data.h.
Referenced by avresample_convert(), ff_audio_data_alloc(), ff_audio_data_init(), ff_audio_data_realloc(), and ff_audio_data_set_channels().
| int AudioData::is_planar |
sample format is planar
Definition at line 47 of file audio_data.h.
Referenced by ff_audio_data_alloc(), ff_audio_data_copy(), ff_audio_data_init(), ff_audio_data_realloc(), and ff_audio_data_set_channels().
| int AudioData::planes |
number of data planes
Definition at line 48 of file audio_data.h.
Referenced by calc_ptr_alignment(), ff_audio_data_add_to_fifo(), ff_audio_data_alloc(), ff_audio_data_combine(), ff_audio_data_copy(), ff_audio_data_drain(), ff_audio_data_init(), ff_audio_data_realloc(), and ff_audio_data_set_channels().
| int AudioData::sample_size |
bytes per sample
Definition at line 49 of file audio_data.h.
Referenced by ff_audio_data_alloc(), and ff_audio_data_init().
| int AudioData::stride |
sample byte offset within a plane
Definition at line 50 of file audio_data.h.
Referenced by ff_audio_data_add_to_fifo(), ff_audio_data_alloc(), ff_audio_data_combine(), ff_audio_data_copy(), ff_audio_data_drain(), ff_audio_data_init(), and ff_audio_data_realloc().
| int AudioData::read_only |
data is read-only
Definition at line 51 of file audio_data.h.
Referenced by ff_audio_data_alloc(), ff_audio_data_combine(), ff_audio_data_init(), ff_audio_data_read_from_fifo(), ff_audio_data_realloc(), and ff_audio_resample().
| int AudioData::allow_realloc |
realloc is allowed
Definition at line 52 of file audio_data.h.
Referenced by ff_audio_data_alloc(), ff_audio_data_init(), ff_audio_data_realloc(), and ff_audio_resample().
| int AudioData::ptr_align |
minimum data pointer alignment
Definition at line 53 of file audio_data.h.
Referenced by calc_ptr_alignment(), ff_audio_mix(), ff_convert_dither(), and if().
| int AudioData::samples_align |
allocated samples alignment
Definition at line 54 of file audio_data.h.
Referenced by ff_audio_data_init(), ff_audio_data_realloc(), ff_audio_mix(), ff_convert_dither(), and if().
| const char* AudioData::name |
name for debug logging
Definition at line 55 of file audio_data.h.
Referenced by avresample_convert(), ff_audio_data_alloc(), ff_audio_data_init(), and handle_buffered_output().
1.8.8