Go to the source code of this file.
|
#define | SIZEOF_PIXEL ((bit_depth + 7) / 8) |
|
#define | randomize_buffers() |
|
#define | randomize_buffers() |
|
#define | SIZEOF_COEF (2 * ((bit_depth + 7) / 8)) |
|
#define | setpx(a, b, c) |
|
#define | setdx(a, b, c, d) setpx(a,b,c-(d)+(rnd()%((d)*2+1))) |
|
#define | setsx(a, b, c, d) setdx(a,b,c,(d) << (bit_depth - 8)) |
|
#define | randomize_buffers(bidx, lineoff, str) |
|
#define | M(a) (((a)[1] << 8) | (a)[0]) |
|
#define | DST_BUF_SIZE (size * size * SIZEOF_PIXEL) |
|
#define | SRC_BUF_STRIDE 72 |
|
#define | SRC_BUF_SIZE ((size + 7) * SRC_BUF_STRIDE * SIZEOF_PIXEL) |
|
#define | src (buf + 3 * SIZEOF_PIXEL * (SRC_BUF_STRIDE + 1)) |
|
#define | randomize_buffers() |
|
|
static void | check_ipred (void) |
|
static void | fwht_1d (double *out, const double *in, int sz) |
|
static void | fdct_1d (double *out, const double *in, int sz) |
|
static void | fadst4_1d (double *out, const double *in, int sz) |
|
static void | fadst_1d (double *out, const double *in, int sz) |
|
static void | ftx_2d (double *out, const double *in, enum TxfmMode tx, enum TxfmType txtp, int sz) |
|
static void | ftx (int16_t *buf, enum TxfmMode tx, enum TxfmType txtp, int sz, int bit_depth) |
|
static int | copy_subcoefs (int16_t *out, const int16_t *in, enum TxfmMode tx, enum TxfmType txtp, int sz, int sub, int bit_depth) |
|
static int | iszero (const int16_t *c, int sz) |
|
static void | check_itxfm (void) |
|
static void | randomize_loopfilter_buffers (int bidx, int lineoff, int str, int bit_depth, int dir, const int *E, const int *F, const int *H, const int *I, uint8_t *buf0, uint8_t *buf1) |
|
static void | check_loopfilter (void) |
|
static void | check_mc (void) |
|
void | checkasm_check_vp9dsp (void) |
|
|
static const uint32_t | pixel_mask [3] = { 0xffffffff, 0x03ff03ff, 0x0fff0fff } |
|
◆ SIZEOF_PIXEL
◆ randomize_buffers [1/4]
#define randomize_buffers |
( |
| ) |
|
Value: do { \
int k; \
} \
} \
} while (0)
Definition at line 540 of file vp9dsp.c.
◆ randomize_buffers [2/4]
#define randomize_buffers |
( |
| ) |
|
Value: do { \
for (y = 0; y < sz; y++) { \
} \
for (x = 0; x < sz; x++) { \
coef[y * sz + x] =
src[y * sz + x] - dst[y * sz + x]; \
} else { \
((uint16_t *)
src)[y * sz + x] - \
((uint16_t *) dst)[y * sz + x]; \
} \
} \
} \
} while(0)
Definition at line 540 of file vp9dsp.c.
◆ SIZEOF_COEF
#define SIZEOF_COEF (2 * ((bit_depth + 7) / 8)) |
◆ setpx
#define setpx |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
Value: do { \
buf0[(
a) + (
b) * jstride] = av_clip_uint8(
c); \
} else { \
((uint16_t *)buf0)[(
a) + (
b) * jstride] = av_clip_uintp2(
c,
bit_depth); \
} \
} while (0)
Definition at line 379 of file vp9dsp.c.
◆ setdx
◆ setsx
◆ randomize_buffers [3/4]
#define randomize_buffers |
( |
|
bidx, |
|
|
|
lineoff, |
|
|
|
str |
|
) |
| |
#define M |
( |
|
a | ) |
(((a)[1] << 8) | (a)[0]) |
◆ DST_BUF_SIZE
◆ SRC_BUF_STRIDE
#define SRC_BUF_STRIDE 72 |
◆ SRC_BUF_SIZE
◆ src
◆ randomize_buffers [4/4]
#define randomize_buffers |
( |
| ) |
|
Value: do { \
int k; \
} \
} \
} \
} while (0)
Definition at line 540 of file vp9dsp.c.
◆ ftx1d_fn
typedef void(* ftx1d_fn) (double *out, const double *in, int sz) |
◆ check_ipred()
static void check_ipred |
( |
void |
| ) |
|
|
static |
◆ fwht_1d()
static void fwht_1d |
( |
double * |
out, |
|
|
const double * |
in, |
|
|
int |
sz |
|
) |
| |
|
static |
◆ fdct_1d()
static void fdct_1d |
( |
double * |
out, |
|
|
const double * |
in, |
|
|
int |
sz |
|
) |
| |
|
static |
◆ fadst4_1d()
static void fadst4_1d |
( |
double * |
out, |
|
|
const double * |
in, |
|
|
int |
sz |
|
) |
| |
|
static |
◆ fadst_1d()
static void fadst_1d |
( |
double * |
out, |
|
|
const double * |
in, |
|
|
int |
sz |
|
) |
| |
|
static |
◆ ftx_2d()
static void ftx_2d |
( |
double * |
out, |
|
|
const double * |
in, |
|
|
enum TxfmMode |
tx, |
|
|
enum TxfmType |
txtp, |
|
|
int |
sz |
|
) |
| |
|
static |
◆ ftx()
◆ copy_subcoefs()
◆ iszero()
static int iszero |
( |
const int16_t * |
c, |
|
|
int |
sz |
|
) |
| |
|
static |
◆ check_itxfm()
static void check_itxfm |
( |
void |
| ) |
|
|
static |
◆ randomize_loopfilter_buffers()
static void randomize_loopfilter_buffers |
( |
int |
bidx, |
|
|
int |
lineoff, |
|
|
int |
str, |
|
|
int |
bit_depth, |
|
|
int |
dir, |
|
|
const int * |
E, |
|
|
const int * |
F, |
|
|
const int * |
H, |
|
|
const int * |
I, |
|
|
uint8_t * |
buf0, |
|
|
uint8_t * |
buf1 |
|
) |
| |
|
static |
◆ check_loopfilter()
static void check_loopfilter |
( |
void |
| ) |
|
|
static |
◆ check_mc()
static void check_mc |
( |
void |
| ) |
|
|
static |
◆ checkasm_check_vp9dsp()
void checkasm_check_vp9dsp |
( |
void |
| ) |
|
◆ pixel_mask
const uint32_t pixel_mask[3] = { 0xffffffff, 0x03ff03ff, 0x0fff0fff } |
|
static |
static void randomize_loopfilter_buffers(int bidx, int lineoff, int str, int bit_depth, int dir, const int *E, const int *F, const int *H, const int *I, uint8_t *buf0, uint8_t *buf1)
static int op(uint8_t **dst, const uint8_t *dst_end, GetByteContext *gb, int pixel, int count, int *x, int width, int linesize)
Perform decode operation.