#include <stdint.h>#include "libavutil/mem.h"#include "dct32.h"#include "mathops.h"#include "mpegaudiodsp.h"#include "mpegaudio.h"#include "mpegaudiodata.h"Go to the source code of this file.
Defines | |
| #define | RENAME(n) n##_fixed |
| #define | OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 15) |
| #define | MULS(ra, rb) MUL64(ra, rb) |
| #define | MACS(rt, ra, rb) MAC64(rt, ra, rb) |
| #define | MLSS(rt, ra, rb) MLS64(rt, ra, rb) |
| #define | SUM8(op, sum, w, p) |
| #define | SUM8P2(sum1, op1, sum2, op2, w1, w2, p) |
Functions | |
| static int | round_sample (int64_t *sum) |
| void | ff_mpadsp_apply_window_TMPL (MPA_INT *synth_buf, MPA_INT *window, int *dither_state, OUT_INT *samples, int incr) |
| void | ff_mpa_synth_filter_TMPL (MPADSPContext *s, MPA_INT *synth_buf_ptr, int *synth_buf_offset, MPA_INT *window, int *dither_state, OUT_INT *samples, int incr, MPA_INT *sb_samples) |
| void av_cold | ff_mpa_synth_init_TMPL (MPA_INT *window) |
Variables | |
| MPA_INT | ff_mpa_synth_window_TMPL [512+256] |
| #define MACS | ( | rt, | |||
| ra, | |||||
| rb | ) | MAC64(rt, ra, rb) |
Definition at line 58 of file mpegaudiodsp_template.c.
Referenced by apply_window_mp3(), and ff_mpadsp_apply_window_TMPL().
| #define MLSS | ( | rt, | |||
| ra, | |||||
| rb | ) | MLS64(rt, ra, rb) |
Definition at line 59 of file mpegaudiodsp_template.c.
Referenced by apply_window_mp3(), and ff_mpadsp_apply_window_TMPL().
| #define MULS | ( | ra, | |||
| rb | ) | MUL64(ra, rb) |
Definition at line 57 of file mpegaudiodsp_template.c.
| #define OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 15) |
| #define RENAME | ( | n | ) | n##_fixed |
Definition at line 46 of file mpegaudiodsp_template.c.
| #define SUM8 | ( | op, | |||
| sum, | |||||
| w, | |||||
| p | ) |
Value:
{ \
op(sum, (w)[0 * 64], (p)[0 * 64]); \
op(sum, (w)[1 * 64], (p)[1 * 64]); \
op(sum, (w)[2 * 64], (p)[2 * 64]); \
op(sum, (w)[3 * 64], (p)[3 * 64]); \
op(sum, (w)[4 * 64], (p)[4 * 64]); \
op(sum, (w)[5 * 64], (p)[5 * 64]); \
op(sum, (w)[6 * 64], (p)[6 * 64]); \
op(sum, (w)[7 * 64], (p)[7 * 64]); \
}
Definition at line 64 of file mpegaudiodsp_template.c.
Referenced by apply_window_mp3(), and ff_mpadsp_apply_window_TMPL().
| #define SUM8P2 | ( | sum1, | |||
| op1, | |||||
| sum2, | |||||
| op2, | |||||
| w1, | |||||
| w2, | |||||
| p | ) |
Value:
{ \
INTFLOAT tmp;\
tmp = p[0 * 64];\
op1(sum1, (w1)[0 * 64], tmp);\
op2(sum2, (w2)[0 * 64], tmp);\
tmp = p[1 * 64];\
op1(sum1, (w1)[1 * 64], tmp);\
op2(sum2, (w2)[1 * 64], tmp);\
tmp = p[2 * 64];\
op1(sum1, (w1)[2 * 64], tmp);\
op2(sum2, (w2)[2 * 64], tmp);\
tmp = p[3 * 64];\
op1(sum1, (w1)[3 * 64], tmp);\
op2(sum2, (w2)[3 * 64], tmp);\
tmp = p[4 * 64];\
op1(sum1, (w1)[4 * 64], tmp);\
op2(sum2, (w2)[4 * 64], tmp);\
tmp = p[5 * 64];\
op1(sum1, (w1)[5 * 64], tmp);\
op2(sum2, (w2)[5 * 64], tmp);\
tmp = p[6 * 64];\
op1(sum1, (w1)[6 * 64], tmp);\
op2(sum2, (w2)[6 * 64], tmp);\
tmp = p[7 * 64];\
op1(sum1, (w1)[7 * 64], tmp);\
op2(sum2, (w2)[7 * 64], tmp);\
}
Definition at line 76 of file mpegaudiodsp_template.c.
Referenced by ff_mpadsp_apply_window_TMPL().
| void ff_mpa_synth_filter_TMPL | ( | MPADSPContext * | s, | |
| MPA_INT * | synth_buf_ptr, | |||
| int * | synth_buf_offset, | |||
| MPA_INT * | window, | |||
| int * | dither_state, | |||
| OUT_INT * | samples, | |||
| int | incr, | |||
| MPA_INT * | sb_samples | |||
| ) |
Definition at line 160 of file mpegaudiodsp_template.c.
| void av_cold ff_mpa_synth_init_TMPL | ( | MPA_INT * | window | ) |
Definition at line 179 of file mpegaudiodsp_template.c.
| void ff_mpadsp_apply_window_TMPL | ( | MPA_INT * | synth_buf, | |
| MPA_INT * | window, | |||
| int * | dither_state, | |||
| OUT_INT * | samples, | |||
| int | incr | |||
| ) |
Definition at line 105 of file mpegaudiodsp_template.c.
| static int round_sample | ( | int64_t * | sum | ) | [inline, static] |
| MPA_INT ff_mpa_synth_window_TMPL[512+256] |
Definition at line 62 of file mpegaudiodsp_template.c.
1.5.8