FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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()
 

Functions

static void check_mct (uint8_t *ref0, uint8_t *ref1, uint8_t *ref2, uint8_t *new0, uint8_t *new1, uint8_t *new2)
 
void checkasm_check_jpeg2000dsp (void)
 

Macro Definition Documentation

#define BUF_SIZE   512

Definition at line 27 of file jpeg2000dsp.c.

Referenced by check_mct(), and checkasm_check_jpeg2000dsp().

#define randomize_buffers ( )
Value:
do { \
int i; \
for (i = 0; i < BUF_SIZE; i += 4) { \
uint32_t r = rnd(); \
AV_WN32A(ref0 + i, r); \
AV_WN32A(new0 + i, r); \
r = rnd(); \
AV_WN32A(ref1 + i, r); \
AV_WN32A(new1 + i, r); \
r = rnd(); \
AV_WN32A(ref2 + i, r); \
AV_WN32A(new2 + i, r); \
} \
} while (0)
#define AV_WN32A(p, v)
Definition: intreadwrite.h:543
const char * r
Definition: vf_curves.c:111
#define BUF_SIZE
Definition: jpeg2000dsp.c:27
int
#define rnd()
Definition: checkasm.h:74
for(j=16;j >0;--j)

Definition at line 29 of file jpeg2000dsp.c.

Referenced by check_mct().

Function Documentation

static void check_mct ( uint8_t ref0,
uint8_t ref1,
uint8_t ref2,
uint8_t new0,
uint8_t new1,
uint8_t new2 
)
static

Definition at line 45 of file jpeg2000dsp.c.

Referenced by checkasm_check_jpeg2000dsp().

void checkasm_check_jpeg2000dsp ( void  )

Definition at line 58 of file jpeg2000dsp.c.