FFmpeg
|
Go to the source code of this file.
Macros | |
#define | SET_TYPE(func) func ## _s16 |
#define | FELEM int16_t |
#define | FELEM2 int32_t |
#define | FELEML int64_t |
#define | OUT(d, v) d = av_clip_int16((v + (1 << 14)) >> 15) |
#define | DBL_TO_FELEM(d, v) d = av_clip_int16(lrint(v * (1 << 15))) |
Functions | |
static void SET_TYPE() | resample_nearest (void *dst0, int dst_index, const void *src0, unsigned int index) |
static void SET_TYPE() | resample_linear (ResampleContext *c, void *dst0, int dst_index, const void *src0, unsigned int index, int frac) |
static void SET_TYPE() | resample_one (ResampleContext *c, void *dst0, int dst_index, const void *src0, unsigned int index, int frac) |
static void SET_TYPE() | set_filter (void *filter0, double *tab, int phase, int tap_count) |
Definition at line 49 of file resample_template.c.
#define FELEM int16_t |
Definition at line 50 of file resample_template.c.
Referenced by resample_common_TMPL(), resample_linear(), resample_linear_TMPL(), resample_nearest(), resample_one(), and set_filter().
#define FELEM2 int32_t |
Definition at line 51 of file resample_template.c.
Referenced by resample_common_TMPL(), resample_linear(), resample_linear_TMPL(), and resample_one().
#define FELEML int64_t |
Definition at line 52 of file resample_template.c.
Referenced by resample_common_TMPL(), resample_linear(), and resample_linear_TMPL().
#define OUT | ( | d, | |
v | |||
) | d = av_clip_int16((v + (1 << 14)) >> 15) |
Definition at line 53 of file resample_template.c.
Referenced by resample_linear(), and resample_one().
#define DBL_TO_FELEM | ( | d, | |
v | |||
) | d = av_clip_int16(lrint(v * (1 << 15))) |
Definition at line 54 of file resample_template.c.
Referenced by set_filter().
|
static |
Definition at line 57 of file resample_template.c.
|
static |
Definition at line 64 of file resample_template.c.
|
static |
Definition at line 85 of file resample_template.c.