FFmpeg  4.0
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"

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 27 of file jpeg2000dsp.c.

Referenced by check_ict_float(), and check_rct_int().

◆ randomize_buffers

#define randomize_buffers ( )
Value:
do { \
int i; \
for (i = 0; i < BUF_SIZE*3; i++) \
src[i] = rnd(); \
} while (0)
#define src
Definition: vp8dsp.c:254
#define BUF_SIZE
Definition: jpeg2000dsp.c:27
#define rnd()
Definition: checkasm.h:100

Definition at line 29 of file jpeg2000dsp.c.

Referenced by check_rct_int().

◆ 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)
#define src
Definition: vp8dsp.c:254
#define BUF_SIZE
Definition: jpeg2000dsp.c:27
#define rnd()
Definition: checkasm.h:100

Definition at line 36 of file jpeg2000dsp.c.

Referenced by check_ict_float().

Function Documentation

◆ check_rct_int()

static void check_rct_int ( void  )
static

Definition at line 43 of file jpeg2000dsp.c.

Referenced by checkasm_check_jpeg2000dsp().

◆ check_ict_float()

static void check_ict_float ( void  )
static

Definition at line 67 of file jpeg2000dsp.c.

Referenced by checkasm_check_jpeg2000dsp().

◆ checkasm_check_jpeg2000dsp()

void checkasm_check_jpeg2000dsp ( void  )

Definition at line 91 of file jpeg2000dsp.c.