#include "swresample_internal.h"
#include "libavutil/audioconvert.h"
#include "libavutil/avassert.h"
#include "rematrix_template.c"
Go to the source code of this file.
Defines | |
#define | ONE (1.0) |
#define | R(x) x |
#define | SAMPLE float |
#define | COEFF float |
#define | RENAME(x) x ## _float |
#define | ONE (-32768) |
#define | R(x) (((x) + 16384)>>15) |
#define | SAMPLE int16_t |
#define | COEFF int |
#define | RENAME(x) x ## _s16 |
#define | FRONT_LEFT 0 |
#define | FRONT_RIGHT 1 |
#define | FRONT_CENTER 2 |
#define | LOW_FREQUENCY 3 |
#define | BACK_LEFT 4 |
#define | BACK_RIGHT 5 |
#define | FRONT_LEFT_OF_CENTER 6 |
#define | FRONT_RIGHT_OF_CENTER 7 |
#define | BACK_CENTER 8 |
#define | SIDE_LEFT 9 |
#define | SIDE_RIGHT 10 |
#define | TOP_CENTER 11 |
#define | TOP_FRONT_LEFT 12 |
#define | TOP_FRONT_CENTER 13 |
#define | TOP_FRONT_RIGHT 14 |
#define | TOP_BACK_LEFT 15 |
#define | TOP_BACK_CENTER 16 |
#define | TOP_BACK_RIGHT 17 |
Functions | |
static int | even (int64_t layout) |
static int | sane_layout (int64_t layout) |
int | swri_rematrix_init (SwrContext *s) |
int | swri_rematrix (SwrContext *s, AudioData *out, AudioData *in, int len, int mustcopy) |
#define BACK_CENTER 8 |
#define BACK_LEFT 4 |
#define BACK_RIGHT 5 |
#define COEFF int |
Definition at line 40 of file rematrix.c.
#define COEFF float |
Definition at line 40 of file rematrix.c.
#define FRONT_CENTER 2 |
#define FRONT_LEFT 0 |
#define FRONT_LEFT_OF_CENTER 6 |
#define FRONT_RIGHT 1 |
#define FRONT_RIGHT_OF_CENTER 7 |
#define LOW_FREQUENCY 3 |
Definition at line 48 of file rematrix.c.
#define ONE (-32768) |
Definition at line 37 of file rematrix.c.
#define ONE (1.0) |
Definition at line 37 of file rematrix.c.
#define R | ( | x | ) | (((x) + 16384)>>15) |
Definition at line 38 of file rematrix.c.
#define R | ( | x | ) | x |
Definition at line 38 of file rematrix.c.
#define RENAME | ( | x | ) | x ## _s16 |
Definition at line 41 of file rematrix.c.
#define RENAME | ( | x | ) | x ## _float |
Definition at line 41 of file rematrix.c.
#define SAMPLE int16_t |
Definition at line 39 of file rematrix.c.
#define SAMPLE float |
#define SIDE_LEFT 9 |
#define SIDE_RIGHT 10 |
#define TOP_BACK_CENTER 16 |
Definition at line 61 of file rematrix.c.
#define TOP_BACK_LEFT 15 |
Definition at line 60 of file rematrix.c.
#define TOP_BACK_RIGHT 17 |
Definition at line 62 of file rematrix.c.
#define TOP_CENTER 11 |
Definition at line 56 of file rematrix.c.
#define TOP_FRONT_CENTER 13 |
Definition at line 58 of file rematrix.c.
#define TOP_FRONT_LEFT 12 |
Definition at line 57 of file rematrix.c.
#define TOP_FRONT_RIGHT 14 |
Definition at line 59 of file rematrix.c.
static int even | ( | int64_t | layout | ) | [static] |
static int sane_layout | ( | int64_t | layout | ) | [static] |
int swri_rematrix | ( | SwrContext * | s, | |
AudioData * | out, | |||
AudioData * | in, | |||
int | len, | |||
int | mustcopy | |||
) |
int swri_rematrix_init | ( | SwrContext * | s | ) |