FFmpeg
Loading...
Searching...
No Matches
scene_sad.c File Reference

Go to the source code of this file.

Macros

#define WIDTH   256
 
#define HEIGHT   256
 
#define STRIDE   WIDTH
 
#define randomize_buffers(type, buf, size, mask)
 

Functions

static void check_scene_sad (int depth)
 
void checkasm_check_scene_sad (void)
 

Macro Definition Documentation

◆ WIDTH

#define WIDTH   256

Definition at line 23 of file scene_sad.c.

◆ HEIGHT

#define HEIGHT   256

Definition at line 24 of file scene_sad.c.

◆ STRIDE

#define STRIDE   WIDTH

Definition at line 25 of file scene_sad.c.

◆ randomize_buffers

#define randomize_buffers ( type,
buf,
size,
mask )
Value:
do { \
int j; \
type *tmp_buf = (type *) buf; \
for (j = 0; j < size; j++) \
tmp_buf[j] = rnd() & mask; \
} while (0)
#define rnd
Definition checkasm.h:136
cl_device_type type
static const uint16_t mask[17]
Definition lzw.c:38
int size

Definition at line 27 of file scene_sad.c.

Referenced by check_scene_sad().

Function Documentation

◆ check_scene_sad()

static void check_scene_sad ( int depth)
static

Definition at line 35 of file scene_sad.c.

Referenced by checkasm_check_scene_sad().

◆ checkasm_check_scene_sad()

void checkasm_check_scene_sad ( void )

Definition at line 66 of file scene_sad.c.