FFmpeg  4.0
Macros | Functions
exrdsp.c File Reference
#include <string.h>
#include "checkasm.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/exrdsp.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Macros

#define BUF_SIZE   5120
 
#define PADDED_BUF_SIZE   BUF_SIZE+AV_INPUT_BUFFER_PADDING_SIZE*2
 
#define randomize_buffers()
 

Functions

static void check_reorder_pixels (void)
 
static void check_predictor (void)
 
void checkasm_check_exrdsp (void)
 

Macro Definition Documentation

◆ BUF_SIZE

#define BUF_SIZE   5120

Definition at line 28 of file exrdsp.c.

Referenced by check_predictor(), and check_reorder_pixels().

◆ PADDED_BUF_SIZE

#define PADDED_BUF_SIZE   BUF_SIZE+AV_INPUT_BUFFER_PADDING_SIZE*2

Definition at line 29 of file exrdsp.c.

Referenced by check_predictor(), and check_reorder_pixels().

◆ randomize_buffers

#define randomize_buffers ( )
Value:
do { \
int i; \
for (i = 0; i < BUF_SIZE; i += 4) { \
uint32_t r = rnd(); \
AV_WN32A(src + i, r); \
} \
} while (0)
#define src
Definition: vp8dsp.c:254
const char * r
Definition: vf_curves.c:111
#define BUF_SIZE
Definition: exrdsp.c:28
#define rnd()
Definition: checkasm.h:100

Definition at line 31 of file exrdsp.c.

Referenced by check_predictor(), and check_reorder_pixels().

Function Documentation

◆ check_reorder_pixels()

static void check_reorder_pixels ( void  )
static

Definition at line 40 of file exrdsp.c.

Referenced by checkasm_check_exrdsp().

◆ check_predictor()

static void check_predictor ( void  )
static

Definition at line 58 of file exrdsp.c.

Referenced by checkasm_check_exrdsp().

◆ checkasm_check_exrdsp()

void checkasm_check_exrdsp ( void  )

Definition at line 76 of file exrdsp.c.