#include <math.h>
#include <stdint.h>
#include "libavutil/common.h"
#include "internal.h"
Go to the source code of this file.
|
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) |
|
◆ SET_TYPE
◆ FELEM
◆ FELEM2
◆ FELEML
◆ OUT
#define OUT |
( |
|
d, |
|
|
|
v |
|
) |
| d = av_clip_int16((v + (1 << 14)) >> 15) |
◆ DBL_TO_FELEM
#define DBL_TO_FELEM |
( |
|
d, |
|
|
|
v |
|
) |
| d = av_clip_int16(lrint(v * (1 << 15))) |
◆ resample_nearest()
◆ resample_linear()
◆ resample_one()
◆ set_filter()