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

#define randomize_buffers (   buf,
  size 
)
Value:
do { \
int j; \
for (j = 0; j < size; j++) \
buf[j] = rnd() & 0xFFFF; \
} while (0)
ptrdiff_t size
Definition: opengl_enc.c:100
int
#define rnd()
Definition: checkasm.h:107
for(j=16;j >0;--j)

Definition at line 31 of file huffyuvdsp.c.

Referenced by check_add_int16().

Function Documentation

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().

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.