FFmpeg
Macros | Functions
vf_gblur.c File Reference
#include <float.h>
#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

static void check_horiz_slice (float *dst_ref, float *dst_new)
 
static void check_postscale_slice (float *dst_ref, float *dst_new)
 
void checkasm_check_vf_gblur (void)
 

Macro Definition Documentation

#define WIDTH   256

Definition at line 24 of file vf_gblur.c.

Referenced by check_horiz_slice().

#define HEIGHT   256

Definition at line 25 of file vf_gblur.c.

Referenced by check_horiz_slice().

#define PIXELS   (WIDTH * HEIGHT)

Definition at line 26 of file vf_gblur.c.

Referenced by check_horiz_slice(), check_postscale_slice(), and checkasm_check_vf_gblur().

#define BUF_SIZE   (PIXELS * 4)

Definition at line 27 of file vf_gblur.c.

Referenced by checkasm_check_vf_gblur().

#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)
ptrdiff_t size
Definition: opengl_enc.c:100
int
#define rnd()
Definition: checkasm.h:117
for(j=16;j >0;--j)

Definition at line 29 of file vf_gblur.c.

Referenced by checkasm_check_vf_gblur().

Function Documentation

static void check_horiz_slice ( float *  dst_ref,
float *  dst_new 
)
static

Definition at line 37 of file vf_gblur.c.

Referenced by checkasm_check_vf_gblur().

static void check_postscale_slice ( float *  dst_ref,
float *  dst_new 
)
static

Definition at line 52 of file vf_gblur.c.

Referenced by checkasm_check_vf_gblur().

void checkasm_check_vf_gblur ( void  )

Definition at line 65 of file vf_gblur.c.