FFmpeg  4.0
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)
int size
void * buf
Definition: avisynth_c.h:690
#define rnd()
Definition: checkasm.h:100

Definition at line 31 of file huffyuvdsp.c.

Referenced by check_add_int16().

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.