FFmpeg
Data Fields
AudioData Struct Reference

#include <swresample_internal.h>

Data Fields

uint8_t * ch [SWR_CH_MAX]
 samples buffer per channel More...
 
uint8_t * data
 samples buffer More...
 
int ch_count
 number of channels More...
 
int bps
 bytes per sample More...
 
int count
 number of samples More...
 
int planar
 1 if planar audio, 0 otherwise More...
 
enum AVSampleFormat fmt
 sample format More...
 

Detailed Description

Definition at line 45 of file swresample_internal.h.

Field Documentation

◆ ch

uint8_t* AudioData::ch[SWR_CH_MAX]

◆ data

uint8_t* AudioData::data

samples buffer

Definition at line 47 of file swresample_internal.h.

Referenced by av_write_frame(), and swri_realloc_audio().

◆ ch_count

int AudioData::ch_count

number of channels

Definition at line 48 of file swresample_internal.h.

Referenced by copy(), multiple_resample(), resample(), swr_convert_internal(), swr_init(), and swri_rematrix().

◆ bps

int AudioData::bps

bytes per sample

Definition at line 49 of file swresample_internal.h.

Referenced by copy(), and swr_convert_internal().

◆ count

int AudioData::count

number of samples

Definition at line 50 of file swresample_internal.h.

◆ planar

int AudioData::planar

1 if planar audio, 0 otherwise

Definition at line 51 of file swresample_internal.h.

Referenced by buf_set(), copy(), and resample().

◆ fmt

enum AVSampleFormat AudioData::fmt

sample format

Definition at line 52 of file swresample_internal.h.

Referenced by resample().


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