#include "dct32.h"
#include "mathops.h"
Go to the source code of this file.
Defines | |
#define | dct32 ff_dct32_fixed |
#define | FIXHR(a) ((int)((a) * (1LL<<32) + 0.5)) |
#define | MULH3(x, y, s) MULH((s)*(x), y) |
#define | INTFLOAT int |
#define | COS0_0 FIXHR(0.50060299823519630134/2) |
#define | COS0_1 FIXHR(0.50547095989754365998/2) |
#define | COS0_2 FIXHR(0.51544730992262454697/2) |
#define | COS0_3 FIXHR(0.53104259108978417447/2) |
#define | COS0_4 FIXHR(0.55310389603444452782/2) |
#define | COS0_5 FIXHR(0.58293496820613387367/2) |
#define | COS0_6 FIXHR(0.62250412303566481615/2) |
#define | COS0_7 FIXHR(0.67480834145500574602/2) |
#define | COS0_8 FIXHR(0.74453627100229844977/2) |
#define | COS0_9 FIXHR(0.83934964541552703873/2) |
#define | COS0_10 FIXHR(0.97256823786196069369/2) |
#define | COS0_11 FIXHR(1.16943993343288495515/4) |
#define | COS0_12 FIXHR(1.48416461631416627724/4) |
#define | COS0_13 FIXHR(2.05778100995341155085/8) |
#define | COS0_14 FIXHR(3.40760841846871878570/8) |
#define | COS0_15 FIXHR(10.19000812354805681150/32) |
#define | COS1_0 FIXHR(0.50241928618815570551/2) |
#define | COS1_1 FIXHR(0.52249861493968888062/2) |
#define | COS1_2 FIXHR(0.56694403481635770368/2) |
#define | COS1_3 FIXHR(0.64682178335999012954/2) |
#define | COS1_4 FIXHR(0.78815462345125022473/2) |
#define | COS1_5 FIXHR(1.06067768599034747134/4) |
#define | COS1_6 FIXHR(1.72244709823833392782/4) |
#define | COS1_7 FIXHR(5.10114861868916385802/16) |
#define | COS2_0 FIXHR(0.50979557910415916894/2) |
#define | COS2_1 FIXHR(0.60134488693504528054/2) |
#define | COS2_2 FIXHR(0.89997622313641570463/2) |
#define | COS2_3 FIXHR(2.56291544774150617881/8) |
#define | COS3_0 FIXHR(0.54119610014619698439/2) |
#define | COS3_1 FIXHR(1.30656296487637652785/4) |
#define | COS4_0 FIXHR(0.70710678118654752439/2) |
#define | BF(a, b, c, s) |
#define | BF0(a, b, c, s) |
#define | BF1(a, b, c, d) |
#define | BF2(a, b, c, d) |
#define | ADD(a, b) val##a += val##b |
Functions | |
void | dct32 (INTFLOAT *out, const INTFLOAT *tab) |
#define ADD | ( | a, | |||
b | ) | val##a += val##b |
Definition at line 112 of file dct32.c.
Referenced by dct32(), ff_vp3_idct_add_altivec(), idct_add_altivec(), and vc1_inv_trans_8x4_altivec().
#define BF | ( | a, | |||
b, | |||||
c, | |||||
s | ) |
#define BF0 | ( | a, | |||
b, | |||||
c, | |||||
s | ) |
#define BF1 | ( | a, | |||
b, | |||||
c, | |||||
d | ) |
#define BF2 | ( | a, | |||
b, | |||||
c, | |||||
d | ) |
#define COS0_0 FIXHR(0.50060299823519630134/2) |
#define COS0_1 FIXHR(0.50547095989754365998/2) |
#define COS0_10 FIXHR(0.97256823786196069369/2) |
#define COS0_11 FIXHR(1.16943993343288495515/4) |
#define COS0_12 FIXHR(1.48416461631416627724/4) |
#define COS0_13 FIXHR(2.05778100995341155085/8) |
#define COS0_14 FIXHR(3.40760841846871878570/8) |
#define COS0_15 FIXHR(10.19000812354805681150/32) |
#define COS0_2 FIXHR(0.51544730992262454697/2) |
#define COS0_3 FIXHR(0.53104259108978417447/2) |
#define COS0_4 FIXHR(0.55310389603444452782/2) |
#define COS0_5 FIXHR(0.58293496820613387367/2) |
#define COS0_6 FIXHR(0.62250412303566481615/2) |
#define COS0_7 FIXHR(0.67480834145500574602/2) |
#define COS0_8 FIXHR(0.74453627100229844977/2) |
#define COS0_9 FIXHR(0.83934964541552703873/2) |
#define COS1_0 FIXHR(0.50241928618815570551/2) |
#define COS1_1 FIXHR(0.52249861493968888062/2) |
#define COS1_2 FIXHR(0.56694403481635770368/2) |
#define COS1_3 FIXHR(0.64682178335999012954/2) |
#define COS1_4 FIXHR(0.78815462345125022473/2) |
#define COS1_5 FIXHR(1.06067768599034747134/4) |
#define COS1_6 FIXHR(1.72244709823833392782/4) |
#define COS1_7 FIXHR(5.10114861868916385802/16) |
#define COS2_0 FIXHR(0.50979557910415916894/2) |
#define COS2_1 FIXHR(0.60134488693504528054/2) |
#define COS2_2 FIXHR(0.89997622313641570463/2) |
#define COS2_3 FIXHR(2.56291544774150617881/8) |
#define COS3_0 FIXHR(0.54119610014619698439/2) |
#define COS3_1 FIXHR(1.30656296487637652785/4) |
#define dct32 ff_dct32_fixed |
#define FIXHR | ( | a | ) | ((int)((a) * (1LL<<32) + 0.5)) |
Definition at line 32 of file dct32.c.
Referenced by decode_init_static(), and ff_init_mpadsp_tabs_TMPL().
#define INTFLOAT int |
Definition at line 34 of file dct32.c.
Referenced by compute_antialias(), compute_imdct(), compute_stereo(), dct32(), decode_init_static(), ff_imdct36_blocks_TMPL(), ff_mpa_synth_init_TMPL(), imdct12(), imdct36(), and reorder_block().
#define MULH3 | ( | x, | |||
y, | |||||
s | ) | MULH((s)*(x), y) |