FFmpeg
Macros | Functions
rv34dsp.c File Reference
#include "libavutil/mem.h"
#include "libavutil/mem_internal.h"
#include "libavcodec/rv34dsp.h"
#include "checkasm.h"

Go to the source code of this file.

Macros

#define BUF_SIZE   1024
 
#define randomize(buf, len)
 

Functions

static void test_rv34_inv_transform_dc (RV34DSPContext *s)
 
static void test_rv34_idct_dc_add (RV34DSPContext *s)
 
void checkasm_check_rv34dsp (void)
 

Macro Definition Documentation

◆ BUF_SIZE

#define BUF_SIZE   1024

Definition at line 28 of file rv34dsp.c.

◆ randomize

#define randomize (   buf,
  len 
)
Value:
do { \
for (int i = 0; i < len; i++) \
buf[i] = rnd(); \
} while (0)

Definition at line 30 of file rv34dsp.c.

Function Documentation

◆ test_rv34_inv_transform_dc()

static void test_rv34_inv_transform_dc ( RV34DSPContext s)
static

Definition at line 36 of file rv34dsp.c.

Referenced by checkasm_check_rv34dsp().

◆ test_rv34_idct_dc_add()

static void test_rv34_idct_dc_add ( RV34DSPContext s)
static

Definition at line 59 of file rv34dsp.c.

Referenced by checkasm_check_rv34dsp().

◆ checkasm_check_rv34dsp()

void checkasm_check_rv34dsp ( void  )

Definition at line 82 of file rv34dsp.c.

rnd
#define rnd()
Definition: checkasm.h:169
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:256
len
int len
Definition: vorbis_enc_data.h:426