Go to the source code of this file.
|
| static double | get (uint8_t *a[], int ch, int index, int ch_count, enum AVSampleFormat f) |
| |
| static void | set (uint8_t *a[], int ch, int index, int ch_count, enum AVSampleFormat f, double v) |
| |
| static void | shift (uint8_t *a[], int index, int ch_count, enum AVSampleFormat f) |
| |
| static void | setup_array (uint8_t *out[SWR_CH_MAX], uint8_t *in, enum AVSampleFormat format, int samples) |
| |
| static int | cmp (const void *a, const void *b) |
| |
| static void | audiogen (void *data, enum AVSampleFormat sample_fmt, int channels, int sample_rate, int nb_samples) |
| |
| int | main (int argc, char **argv) |
| |
◆ SAMPLES
◆ SWR_CH_MAX
◆ PUT_SAMPLE
◆ uint_rand
◆ dbl_rand
◆ get()
◆ set()
Definition at line 55 of file swresample.c.
Referenced by av_hwdevice_iterate_types(), checkasm_run_on_all_cores(), decode_channel(), ff_hashtable_set(), ff_vk_shader_add_descriptor_set(), ff_vk_shader_update_desc_buffer(), ff_vk_shader_update_img(), ff_vk_shader_update_img_array(), init_descriptors(), main(), main(), output_mpd(), planar_rgb_to_uv_lasx(), planar_rgb_to_y_lasx(), set_cpu_affinity(), and update_set_pool_write().
◆ shift()
| static void shift |
( |
uint8_t * | a[], |
|
|
int | index, |
|
|
int | ch_count, |
|
|
enum AVSampleFormat | f ) |
|
static |
◆ setup_array()
| static void setup_array |
( |
uint8_t * | out[SWR_CH_MAX], |
|
|
uint8_t * | in, |
|
|
enum AVSampleFormat | format, |
|
|
int | samples ) |
|
static |
◆ cmp()
| static int cmp |
( |
const void * | a, |
|
|
const void * | b ) |
|
static |
◆ audiogen()
| static void audiogen |
( |
void * | data, |
|
|
enum AVSampleFormat | sample_fmt, |
|
|
int | channels, |
|
|
int | sample_rate, |
|
|
int | nb_samples ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
◆ formats
Initial value:= {
}
@ AV_SAMPLE_FMT_FLTP
float, planar
@ AV_SAMPLE_FMT_S16P
signed 16 bits, planar
@ AV_SAMPLE_FMT_U8P
unsigned 8 bits, planar
@ AV_SAMPLE_FMT_S32P
signed 32 bits, planar
@ AV_SAMPLE_FMT_S32
signed 32 bits
@ AV_SAMPLE_FMT_U8
unsigned 8 bits
@ AV_SAMPLE_FMT_DBLP
double, planar
@ AV_SAMPLE_FMT_DBL
double
@ AV_SAMPLE_FMT_S16
signed 16 bits
Definition at line 86 of file swresample.c.
◆ rates
Initial value:= {
8000,
11025,
16000,
22050,
32000,
48000,
}
Definition at line 99 of file swresample.c.
Referenced by aac_encode_init(), get_wb_bitrate_mode(), main(), print_sample_rate(), query_formats(), query_formats(), test_av_parse_video_rate(), and test_check_frame_rate().
◆ layouts
Initial value:={
}
#define AV_CHANNEL_LAYOUT_4POINT0
#define AV_CHANNEL_LAYOUT_5POINT1_BACK
#define AV_CHANNEL_LAYOUT_7POINT1_WIDE
#define AV_CHANNEL_LAYOUT_5POINT0
#define AV_CHANNEL_LAYOUT_STEREO
#define AV_CHANNEL_LAYOUT_2_2
#define AV_CHANNEL_LAYOUT_5POINT0_BACK
#define AV_CHANNEL_LAYOUT_5POINT1
#define AV_CHANNEL_LAYOUT_MONO
#define AV_CHANNEL_LAYOUT_7POINT0
#define AV_CHANNEL_LAYOUT_SURROUND
#define AV_CHANNEL_LAYOUT_2_1
#define AV_CHANNEL_LAYOUT_7POINT1
#define AV_CHANNEL_LAYOUT_QUAD
Definition at line 108 of file swresample.c.