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

Go to the source code of this file.

Macros

#define WIDTH   512
 
#define HEIGHT   512
 
#define SRC_STRIDE   512
 
#define PIXELS   (WIDTH * HEIGHT)
 
#define randomize_buffers(buf, size)
 

Functions

static void check_sobel (const char *report_name)
 
void checkasm_check_vf_sobel (void)
 

Macro Definition Documentation

◆ WIDTH

#define WIDTH   512

Definition at line 26 of file vf_convolution.c.

◆ HEIGHT

#define HEIGHT   512

Definition at line 27 of file vf_convolution.c.

◆ SRC_STRIDE

#define SRC_STRIDE   512

Definition at line 28 of file vf_convolution.c.

◆ PIXELS

#define PIXELS   (WIDTH * HEIGHT)

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

Function Documentation

◆ check_sobel()

static void check_sobel ( const char *  report_name)
static

Definition at line 39 of file vf_convolution.c.

Referenced by checkasm_check_vf_sobel().

◆ checkasm_check_vf_sobel()

void checkasm_check_vf_sobel ( void  )

Definition at line 100 of file vf_convolution.c.

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