FFmpeg
Macros | Functions
vf_gblur.c File Reference
#include <string.h>
#include "checkasm.h"
#include "libavfilter/gblur.h"

Go to the source code of this file.

Macros

#define WIDTH   256
 
#define HEIGHT   256
 
#define PIXELS   (WIDTH * HEIGHT)
 
#define BUF_SIZE   (PIXELS * 4)
 
#define randomize_buffers(buf, size)
 

Functions

void checkasm_check_vf_gblur (void)
 

Macro Definition Documentation

◆ WIDTH

#define WIDTH   256

Definition at line 23 of file vf_gblur.c.

◆ HEIGHT

#define HEIGHT   256

Definition at line 24 of file vf_gblur.c.

◆ PIXELS

#define PIXELS   (WIDTH * HEIGHT)

Definition at line 25 of file vf_gblur.c.

◆ BUF_SIZE

#define BUF_SIZE   (PIXELS * 4)

Definition at line 26 of file vf_gblur.c.

◆ randomize_buffers

#define randomize_buffers (   buf,
  size 
)
Value:
do { \
int j; \
float *tmp_buf = (float *)buf; \
for (j = 0; j < size; j++) \
tmp_buf[j] = (float)(rnd() & 0xFF); \
} while (0)

Definition at line 28 of file vf_gblur.c.

Function Documentation

◆ checkasm_check_vf_gblur()

void checkasm_check_vf_gblur ( void  )

Definition at line 36 of file vf_gblur.c.

rnd
#define rnd()
Definition: checkasm.h:104
buf
void * buf
Definition: avisynth_c.h:766
size
int size
Definition: twinvq_data.h:11134