#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/audioconvert.h"
#include "swresample.h"
Go to the source code of this file.
Defines | |
#define | SAMPLES 1000 |
#define | ASSERT_LEVEL 2 |
Functions | |
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 | setup_array (uint8_t *out[SWR_CH_MAX], uint8_t *in, enum AVSampleFormat format, int samples) |
int | main (int argc, char **argv) |
Variables | |
uint64_t | layouts [] |
#define ASSERT_LEVEL 2 |
Definition at line 29 of file swresample_test.c.
#define SAMPLES 1000 |
static double get | ( | uint8_t * | a[], | |
int | ch, | |||
int | index, | |||
int | ch_count, | |||
enum AVSampleFormat | f | |||
) | [static] |
Definition at line 31 of file swresample_test.c.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 101 of file swresample_test.c.
static void set | ( | uint8_t * | a[], | |
int | ch, | |||
int | index, | |||
int | ch_count, | |||
enum AVSampleFormat | f, | |||
double | v | |||
) | [static] |
Definition at line 51 of file swresample_test.c.
static void setup_array | ( | uint8_t * | out[SWR_CH_MAX], | |
uint8_t * | in, | |||
enum AVSampleFormat | format, | |||
int | samples | |||
) | [static] |
uint64_t layouts[] |
Initial value:
{ AV_CH_LAYOUT_MONO , AV_CH_LAYOUT_STEREO , AV_CH_LAYOUT_2_1 , AV_CH_LAYOUT_SURROUND , AV_CH_LAYOUT_4POINT0 , AV_CH_LAYOUT_2_2 , AV_CH_LAYOUT_QUAD , AV_CH_LAYOUT_5POINT0 , AV_CH_LAYOUT_5POINT1 , AV_CH_LAYOUT_5POINT0_BACK , AV_CH_LAYOUT_5POINT1_BACK , AV_CH_LAYOUT_7POINT0 , AV_CH_LAYOUT_7POINT1 , AV_CH_LAYOUT_7POINT1_WIDE , 0 }
Definition at line 70 of file swresample_test.c.
Referenced by ff_mov_get_channel_layout_tag(), ff_mov_read_chan(), ff_mov_write_chan(), and main().