FFmpeg
4.0
|
#include <math.h>
#include <string.h>
#include "checkasm.h"
#include "libavcodec/vp9data.h"
#include "libavcodec/vp9.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
Go to the source code of this file.
Macros | |
#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() |
Typedefs | |
typedef void(* | ftx1d_fn) (double *out, const double *in, int sz) |
Functions | |
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) |
Variables | |
static const uint32_t | pixel_mask [3] = { 0xffffffff, 0x03ff03ff, 0x0fff0fff } |
#define SIZEOF_PIXEL ((bit_depth + 7) / 8) |
Definition at line 32 of file vp9dsp.c.
Referenced by check_ipred(), check_itxfm(), check_loopfilter(), and check_mc().
#define randomize_buffers | ( | ) |
Definition at line 540 of file vp9dsp.c.
Referenced by check_ipred(), check_itxfm(), check_loopfilter(), and check_mc().
#define randomize_buffers | ( | ) |
#define SIZEOF_COEF (2 * ((bit_depth + 7) / 8)) |
Definition at line 307 of file vp9dsp.c.
Referenced by check_itxfm().
Definition at line 379 of file vp9dsp.c.
Referenced by randomize_loopfilter_buffers().
Definition at line 390 of file vp9dsp.c.
Referenced by randomize_loopfilter_buffers().
#define randomize_buffers | ( | bidx, | |
lineoff, | |||
str | |||
) |
Referenced by check_loopfilter().
#define DST_BUF_SIZE (size * size * SIZEOF_PIXEL) |
Definition at line 535 of file vp9dsp.c.
Referenced by check_mc().
#define SRC_BUF_STRIDE 72 |
Definition at line 536 of file vp9dsp.c.
Referenced by check_mc().
#define SRC_BUF_SIZE ((size + 7) * SRC_BUF_STRIDE * SIZEOF_PIXEL) |
#define src (buf + 3 * SIZEOF_PIXEL * (SRC_BUF_STRIDE + 1)) |
Definition at line 538 of file vp9dsp.c.
Referenced by check_itxfm(), and check_mc().
#define randomize_buffers | ( | ) |
Definition at line 48 of file vp9dsp.c.
Referenced by checkasm_check_vp9dsp().
|
static |
Definition at line 229 of file vp9dsp.c.
Referenced by check_itxfm().
|
static |
Definition at line 251 of file vp9dsp.c.
Referenced by check_itxfm().
Definition at line 296 of file vp9dsp.c.
Referenced by check_itxfm().
Definition at line 309 of file vp9dsp.c.
Referenced by checkasm_check_vp9dsp().
Definition at line 450 of file vp9dsp.c.
Referenced by checkasm_check_vp9dsp().
Definition at line 557 of file vp9dsp.c.
Referenced by checkasm_check_vp9dsp().