FFmpeg
Macros | Functions
vf_eq.c File Reference
#include <string.h>
#include "checkasm.h"
#include "libavfilter/avfilter.h"
#include "libavfilter/vf_eq.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Macros

#define WIDTH   256
 
#define HEIGHT   256
 
#define SRC_STRIDE   256
 
#define PIXELS   (WIDTH * HEIGHT)
 
#define RANDOM_RANGE   80000
 
#define SCALE   10000
 
#define randomize_buffers(buf, size)
 

Functions

static void check_eq (void)
 
void checkasm_check_vf_eq (void)
 

Macro Definition Documentation

#define WIDTH   256

Definition at line 25 of file vf_eq.c.

Referenced by check_eq().

#define HEIGHT   256

Definition at line 26 of file vf_eq.c.

Referenced by check_eq().

#define SRC_STRIDE   256

Definition at line 27 of file vf_eq.c.

Referenced by check_eq().

#define PIXELS   (WIDTH * HEIGHT)

Definition at line 28 of file vf_eq.c.

Referenced by check_eq().

#define RANDOM_RANGE   80000

Definition at line 29 of file vf_eq.c.

Referenced by check_eq().

#define SCALE   10000

Definition at line 30 of file vf_eq.c.

Referenced by check_eq().

#define randomize_buffers (   buf,
  size 
)
Value:
do { \
int j; \
uint8_t *tmp_buf = (uint8_t *)buf;\
for (j = 0; j< size; j++) \
tmp_buf[j] = rnd() & 0xFF; \
} while (0)
uint8_t
ptrdiff_t size
Definition: opengl_enc.c:100
int
#define rnd()
Definition: checkasm.h:107
for(j=16;j >0;--j)

Definition at line 32 of file vf_eq.c.

Referenced by check_eq().

Function Documentation

static void check_eq ( void  )
static

Definition at line 40 of file vf_eq.c.

Referenced by checkasm_check_vf_eq().

void checkasm_check_vf_eq ( void  )

Definition at line 75 of file vf_eq.c.