FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

#define WIDTH   256

Definition at line 24 of file vf_threshold.c.

Referenced by check_threshold().

#define WIDTH_PADDED   256 + 32

Definition at line 25 of file vf_threshold.c.

Referenced by check_threshold().

#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)
uint8_t
ptrdiff_t size
Definition: opengl_enc.c:101
void * buf
Definition: avisynth_c.h:690
int
#define rnd()
Definition: checkasm.h:100
for(j=16;j >0;--j)

Definition at line 27 of file vf_threshold.c.

Referenced by check_threshold().

Function Documentation

static void check_threshold ( int  depth)
static

Definition at line 35 of file vf_threshold.c.

Referenced by checkasm_check_vf_threshold().

void checkasm_check_vf_threshold ( void  )

Definition at line 78 of file vf_threshold.c.