FFmpeg
Macros | Functions
exrdsp.c File Reference
#include <string.h>
#include "checkasm.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/exrdsp.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.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 29 of file exrdsp.c.

◆ PADDED_BUF_SIZE

#define PADDED_BUF_SIZE   BUF_SIZE+AV_INPUT_BUFFER_PADDING_SIZE*2

Definition at line 30 of file exrdsp.c.

◆ 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)

Definition at line 32 of file exrdsp.c.

Function Documentation

◆ check_reorder_pixels()

static void check_reorder_pixels ( void  )
static

Definition at line 41 of file exrdsp.c.

Referenced by checkasm_check_exrdsp().

◆ check_predictor()

static void check_predictor ( void  )
static

Definition at line 59 of file exrdsp.c.

Referenced by checkasm_check_exrdsp().

◆ checkasm_check_exrdsp()

void checkasm_check_exrdsp ( void  )

Definition at line 77 of file exrdsp.c.

r
const char * r
Definition: vf_curves.c:116
rnd
#define rnd()
Definition: checkasm.h:118
BUF_SIZE
#define BUF_SIZE
Definition: exrdsp.c:29
src
#define src
Definition: vp8dsp.c:255
i
int i
Definition: input.c:407