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

#define BUF_SIZE   5120

Definition at line 28 of file exrdsp.c.

Referenced by check_predictor(), and check_reorder_pixels().

#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().

#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
#define AV_WN32A(p, v)
Definition: intreadwrite.h:538
const char * r
Definition: vf_curves.c:111
#define BUF_SIZE
Definition: exrdsp.c:28
int
#define rnd()
Definition: checkasm.h:100
for(j=16;j >0;--j)

Definition at line 31 of file exrdsp.c.

Referenced by check_predictor(), and check_reorder_pixels().

Function Documentation

static void check_reorder_pixels ( void  )
static

Definition at line 40 of file exrdsp.c.

Referenced by checkasm_check_exrdsp().

static void check_predictor ( void  )
static

Definition at line 58 of file exrdsp.c.

Referenced by checkasm_check_exrdsp().

void checkasm_check_exrdsp ( void  )

Definition at line 76 of file exrdsp.c.