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"
#include "libavutil/mem_internal.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

◆ WIDTH

#define WIDTH   256

Definition at line 26 of file vf_eq.c.

◆ HEIGHT

#define HEIGHT   256

Definition at line 27 of file vf_eq.c.

◆ SRC_STRIDE

#define SRC_STRIDE   256

Definition at line 28 of file vf_eq.c.

◆ PIXELS

#define PIXELS   (WIDTH * HEIGHT)

Definition at line 29 of file vf_eq.c.

◆ RANDOM_RANGE

#define RANDOM_RANGE   80000

Definition at line 30 of file vf_eq.c.

◆ SCALE

#define SCALE   10000

Definition at line 31 of file vf_eq.c.

◆ randomize_buffers

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

Definition at line 33 of file vf_eq.c.

Function Documentation

◆ check_eq()

static void check_eq ( void  )
static

Definition at line 41 of file vf_eq.c.

Referenced by checkasm_check_vf_eq().

◆ checkasm_check_vf_eq()

void checkasm_check_vf_eq ( void  )

Definition at line 76 of file vf_eq.c.

rnd
#define rnd()
Definition: checkasm.h:115
size
int size
Definition: twinvq_data.h:10344