FFmpeg  4.0
Macros | Functions
vf_threshold.c File Reference
#include <string.h>
#include "checkasm.h"
#include "libavfilter/threshold.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Macros

#define WIDTH   256
 
#define WIDTH_PADDED   256 + 32
 
#define randomize_buffers(buf, size)
 

Functions

static void check_threshold (int depth)
 
void checkasm_check_vf_threshold (void)
 

Macro Definition Documentation

◆ WIDTH

#define WIDTH   256

Definition at line 24 of file vf_threshold.c.

Referenced by check_threshold().

◆ WIDTH_PADDED

#define WIDTH_PADDED   256 + 32

Definition at line 25 of file vf_threshold.c.

Referenced by check_threshold().

◆ 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)
int size
uint8_t
void * buf
Definition: avisynth_c.h:690
#define rnd()
Definition: checkasm.h:100

Definition at line 27 of file vf_threshold.c.

Referenced by check_threshold().

Function Documentation

◆ check_threshold()

static void check_threshold ( int  depth)
static

Definition at line 35 of file vf_threshold.c.

Referenced by checkasm_check_vf_threshold().

◆ checkasm_check_vf_threshold()

void checkasm_check_vf_threshold ( void  )

Definition at line 78 of file vf_threshold.c.