#include <stdlib.h>
#include <stdio.h>
#include "libavutil/common.h"
#include "dsputil.h"
Go to the source code of this file.
Defines | |
#define | DCTSIZE 8 |
#define | GLOBAL(x) x |
#define | RIGHT_SHIFT(x, n) ((x) >> (n)) |
#define | CONST_BITS 8 |
#define | FIX_0_382683433 ((int32_t) 98) |
#define | FIX_0_541196100 ((int32_t) 139) |
#define | FIX_0_707106781 ((int32_t) 181) |
#define | FIX_1_306562965 ((int32_t) 334) |
#define | DESCALE(x, n) RIGHT_SHIFT(x, n) |
#define | MULTIPLY(var, const) ((DCTELEM) DESCALE((var) * (const), CONST_BITS)) |
Functions | |
static av_always_inline void | row_fdct (DCTELEM *data) |
ff_fdct_ifast (DCTELEM *data) | |
ff_fdct_ifast248 (DCTELEM *data) |
Definition in file jfdctfst.c.
#define CONST_BITS 8 |
Definition at line 105 of file jfdctfst.c.
Referenced by ff_fdct248_islow(), ff_j_rev_dct(), ff_j_rev_dct4(), ff_jpeg_fdct_islow(), and row_fdct().
#define DCTSIZE 8 |
Definition at line 74 of file jfdctfst.c.
Referenced by ff_fdct248_islow(), ff_fdct_ifast(), ff_fdct_ifast248(), ff_j_rev_dct(), ff_j_rev_dct4(), ff_jpeg_fdct_islow(), and row_fdct().
#define DESCALE | ( | x, | |||
n | ) | RIGHT_SHIFT(x, n) |
Definition at line 135 of file jfdctfst.c.
Referenced by ff_fdct248_islow(), ff_idct_sh4(), ff_j_rev_dct(), ff_j_rev_dct4(), ff_jpeg_fdct_islow(), and row_fdct().
#define FIX_0_382683433 ((int32_t) 98) |
#define FIX_0_541196100 ((int32_t) 139) |
Definition at line 117 of file jfdctfst.c.
Referenced by ff_fdct248_islow(), ff_fdct_ifast(), ff_j_rev_dct(), ff_j_rev_dct4(), ff_jpeg_fdct_islow(), and row_fdct().
#define FIX_0_707106781 ((int32_t) 181) |
Definition at line 118 of file jfdctfst.c.
Referenced by ff_fdct_ifast(), ff_fdct_ifast248(), and row_fdct().
#define FIX_1_306562965 ((int32_t) 334) |
Definition at line 119 of file jfdctfst.c.
Referenced by ff_fdct_ifast(), ff_j_rev_dct(), ff_j_rev_dct4(), and row_fdct().
#define GLOBAL | ( | x | ) | x |
Definition at line 75 of file jfdctfst.c.
#define MULTIPLY | ( | var, | |||
const | ) | ((DCTELEM) DESCALE((var) * (const), CONST_BITS)) |
Definition at line 143 of file jfdctfst.c.
#define RIGHT_SHIFT | ( | x, | |||
n | ) | ((x) >> (n)) |
Definition at line 76 of file jfdctfst.c.
ff_fdct_ifast | ( | DCTELEM * | data | ) |
Definition at line 208 of file jfdctfst.c.
Referenced by dct_quantize_trellis_c(), ff_convert_matrix(), and ff_dsputil_init().
ff_fdct_ifast248 | ( | DCTELEM * | data | ) |
static av_always_inline void row_fdct | ( | DCTELEM * | data | ) | [static] |
Definition at line 145 of file jfdctfst.c.