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, float *localbuf)
 
static void check_verti_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

◆ WIDTH

#define WIDTH   256

Definition at line 24 of file vf_gblur.c.

◆ HEIGHT

#define HEIGHT   256

Definition at line 25 of file vf_gblur.c.

◆ PIXELS

#define PIXELS   (WIDTH * HEIGHT)

Definition at line 26 of file vf_gblur.c.

◆ BUF_SIZE

#define BUF_SIZE   (PIXELS * 4)

Definition at line 27 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 29 of file vf_gblur.c.

Function Documentation

◆ check_horiz_slice()

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

Definition at line 37 of file vf_gblur.c.

Referenced by checkasm_check_vf_gblur().

◆ check_verti_slice()

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

Definition at line 52 of file vf_gblur.c.

Referenced by checkasm_check_vf_gblur().

◆ check_postscale_slice()

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

Definition at line 68 of file vf_gblur.c.

Referenced by checkasm_check_vf_gblur().

◆ checkasm_check_vf_gblur()

void checkasm_check_vf_gblur ( void  )

Definition at line 81 of file vf_gblur.c.

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