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)
 
#define BUF_SIZE   1080
 

Functions

static void check_add_int16 (HuffYUVDSPContext *c, unsigned mask, int width, const char *name)
 
static void check_add_hfyu_left_pred_bgr32 (HuffYUVDSPContext *c)
 
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.

◆ BUF_SIZE

#define BUF_SIZE   1080

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

◆ check_add_hfyu_left_pred_bgr32()

static void check_add_hfyu_left_pred_bgr32 ( HuffYUVDSPContext c)
static

Definition at line 67 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 95 of file huffyuvdsp.c.

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