FFmpeg
Macros | Functions
huffyuvdsp.c File Reference
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "libavcodec/huffyuvdsp.h"
#include "checkasm.h"

Go to the source code of this file.

Macros

#define randomize_buffers(buf, size)
 

Functions

static void check_add_int16 (HuffYUVDSPContext c, unsigned mask, int width, const char *name)
 
void checkasm_check_huffyuvdsp (void)
 

Macro Definition Documentation

◆ randomize_buffers

#define randomize_buffers (   buf,
  size 
)
Value:
do { \
int j; \
for (j = 0; j < size; j++) \
buf[j] = rnd() & 0xFFFF; \
} while (0)

Definition at line 31 of file huffyuvdsp.c.

Function Documentation

◆ check_add_int16()

static void check_add_int16 ( HuffYUVDSPContext  c,
unsigned  mask,
int  width,
const char *  name 
)
static

Definition at line 38 of file huffyuvdsp.c.

Referenced by checkasm_check_huffyuvdsp().

◆ checkasm_check_huffyuvdsp()

void checkasm_check_huffyuvdsp ( void  )

test width not multiple of mmsize

test always with the same size (for perf test)

Definition at line 67 of file huffyuvdsp.c.

rnd
#define rnd()
Definition: checkasm.h:111
size
int size
Definition: twinvq_data.h:10344