#include "dsputil.h"
#include "faandct.h"

Go to the source code of this file.
Defines | |
| #define | FLOAT float |
| #define | SCALE(x) postscale[x] |
| #define | B0 1.00000000000000000000 |
| #define | B1 0.72095982200694791383 |
| #define | B2 0.76536686473017954350 |
| #define | B3 0.85043009476725644878 |
| #define | B4 1.00000000000000000000 |
| #define | B5 1.27275858057283393842 |
| #define | B6 1.84775906502257351242 |
| #define | B7 3.62450978541155137218 |
| #define | A1 0.70710678118654752438 |
| #define | A2 0.54119610014619698435 |
| #define | A5 0.38268343236508977170 |
| #define | A4 1.30656296487637652774 |
Functions | |
| static always_inline void | row_fdct (FLOAT temp[64], DCTELEM *data) |
| void | ff_faandct (DCTELEM *data) |
| void | ff_faandct248 (DCTELEM *data) |
Variables | |
| static FLOAT | postscale [64] |
Definition in file faandct.c.
| #define A1 0.70710678118654752438 |
Definition at line 55 of file faandct.c.
Referenced by ff_faandct(), ff_faandct248(), horizontal_compose53i(), horizontal_composeX(), horizontal_decompose53i(), horizontal_decomposeX(), and row_fdct().
| #define A2 0.54119610014619698435 |
Definition at line 56 of file faandct.c.
Referenced by ff_faandct(), horizontal_compose53i(), horizontal_composeX(), horizontal_decompose53i(), horizontal_decomposeX(), and row_fdct().
| #define A4 1.30656296487637652774 |
Definition at line 58 of file faandct.c.
Referenced by ff_faandct(), horizontal_compose53i(), horizontal_composeX(), horizontal_decompose53i(), horizontal_decomposeX(), and row_fdct().
| #define A5 0.38268343236508977170 |
| #define FLOAT float |
Definition at line 32 of file faandct.c.
Referenced by add_db(), ff_faandct(), ff_faandct248(), fht(), parse_args(), psycho_0(), psycho_1(), psycho_1_fft(), psycho_1_hann_fft_pickmax(), psycho_2(), psycho_2_fft(), psycho_2_init(), psycho_3(), psycho_3_add_db(), psycho_3_fft(), psycho_3_init(), psycho_3_spl(), psycho_3_threshold(), psycho_4(), psycho_4_allocmem(), psycho_4_init(), FileEXR::read_frame(), row_fdct(), toolame(), and FileEXR::write_frame().
| #define SCALE | ( | x | ) | postscale[x] |
Definition at line 34 of file faandct.c.
Referenced by create_dct_matrix(), ff_faandct(), ff_faandct248(), psycho_1(), psycho_3(), window_subband12(), and WindowFilterSubband().
| void ff_faandct | ( | DCTELEM * | data | ) |
Definition at line 119 of file faandct.c.
References A1, A2, A4, A5, emms_c, FLOAT, lrintf(), row_fdct(), and SCALE.
Referenced by dct_error(), dsputil_init(), and main().

| void ff_faandct248 | ( | DCTELEM * | data | ) |
Definition at line 172 of file faandct.c.
References A1, emms_c, FLOAT, lrintf(), row_fdct(), and SCALE.
Referenced by dsputil_init().

| static always_inline void row_fdct | ( | FLOAT | temp[64], | |
| DCTELEM * | data | |||
| ) | [static] |
Definition at line 71 of file faandct.c.
References A1, A2, A4, A5, and FLOAT.
Referenced by fdct_ifast(), fdct_ifast248(), ff_faandct(), ff_faandct248(), ff_fdct248_islow(), and ff_jpeg_fdct_islow().
FLOAT postscale[64] [static] |
Initial value:
{
B0*B0, B0*B1, B0*B2, B0*B3, B0*B4, B0*B5, B0*B6, B0*B7,
B1*B0, B1*B1, B1*B2, B1*B3, B1*B4, B1*B5, B1*B6, B1*B7,
B2*B0, B2*B1, B2*B2, B2*B3, B2*B4, B2*B5, B2*B6, B2*B7,
B3*B0, B3*B1, B3*B2, B3*B3, B3*B4, B3*B5, B3*B6, B3*B7,
B4*B0, B4*B1, B4*B2, B4*B3, B4*B4, B4*B5, B4*B6, B4*B7,
B5*B0, B5*B1, B5*B2, B5*B3, B5*B4, B5*B5, B5*B6, B5*B7,
B6*B0, B6*B1, B6*B2, B6*B3, B6*B4, B6*B5, B6*B6, B6*B7,
B7*B0, B7*B1, B7*B2, B7*B3, B7*B4, B7*B5, B7*B6, B7*B7,
}
1.5.5