#include <assert.h>
#include <stddef.h>
#include "checkasm.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/macros.h"
#include "libavutil/mem_internal.h"
#include "libavcodec/vp3dsp.h"
Go to the source code of this file.
◆ randomize_buffers
#define randomize_buffers |
( |
|
buf0, |
|
|
|
buf1, |
|
|
|
size |
|
) |
| |
Value: do { \
static_assert(sizeof(buf0[0]) == 1 && sizeof(buf1[0]) == 1, \
"Pointer arithmetic needs to be adapted"); \
for (
size_t k = 0; k < (
size & ~3); k += 4) { \
} \
for (
size_t k =
size & ~3; k <
size; ++k) \
buf0[k] = buf1[k] =
rnd(); \
} while (0)
Definition at line 37 of file vp3dsp.c.
◆ TEST
◆ anonymous enum
Enumerator |
---|
MAX_STRIDE | |
MIN_STRIDE | |
HORIZONTAL_BUF_SIZE | Horizontal tests operate on 4x8 blocks.
|
VERTICAL_BUF_SIZE | Vertical tests operate on 8x4 blocks.
|
Definition at line 28 of file vp3dsp.c.
◆ vp3_check_loop_filter()
static void vp3_check_loop_filter |
( |
void |
| ) |
|
|
static |
◆ checkasm_check_vp3dsp()
void checkasm_check_vp3dsp |
( |
void |
| ) |
|