FFmpeg
Macros | Functions
jpeg2000dsp.c File Reference
#include "checkasm.h"
#include "libavcodec/jpeg2000dsp.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.h"

Go to the source code of this file.

Macros

#define BUF_SIZE   512
 
#define randomize_buffers()
 
#define randomize_buffers_float()
 

Functions

static void check_rct_int (void)
 
static void check_ict_float (void)
 
void checkasm_check_jpeg2000dsp (void)
 

Macro Definition Documentation

◆ BUF_SIZE

#define BUF_SIZE   512

Definition at line 28 of file jpeg2000dsp.c.

◆ randomize_buffers

#define randomize_buffers ( )
Value:
do { \
int i; \
for (i = 0; i < BUF_SIZE*3; i++) \
src[i] = rnd(); \
} while (0)

Definition at line 30 of file jpeg2000dsp.c.

◆ randomize_buffers_float

#define randomize_buffers_float ( )
Value:
do { \
int i; \
for (i = 0; i < BUF_SIZE*3; i++) \
src[i] = (float)rnd() / (UINT_MAX >> 5); \
} while (0)

Definition at line 37 of file jpeg2000dsp.c.

Function Documentation

◆ check_rct_int()

static void check_rct_int ( void  )
static

Definition at line 44 of file jpeg2000dsp.c.

Referenced by checkasm_check_jpeg2000dsp().

◆ check_ict_float()

static void check_ict_float ( void  )
static

Definition at line 68 of file jpeg2000dsp.c.

Referenced by checkasm_check_jpeg2000dsp().

◆ checkasm_check_jpeg2000dsp()

void checkasm_check_jpeg2000dsp ( void  )

Definition at line 92 of file jpeg2000dsp.c.

rnd
#define rnd()
Definition: checkasm.h:172
BUF_SIZE
#define BUF_SIZE
Definition: jpeg2000dsp.c:28
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:256
src
#define src
Definition: vp8dsp.c:248