FFmpeg
Macros | Functions
vf_threshold.c File Reference
#include <string.h>
#include "checkasm.h"
#include "libavfilter/vf_threshold_init.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.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 25 of file vf_threshold.c.

◆ WIDTH_PADDED

#define WIDTH_PADDED   256 + 32

Definition at line 26 of file vf_threshold.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 28 of file vf_threshold.c.

Function Documentation

◆ check_threshold()

static void check_threshold ( int  depth)
static

Definition at line 36 of file vf_threshold.c.

Referenced by checkasm_check_vf_threshold().

◆ checkasm_check_vf_threshold()

void checkasm_check_vf_threshold ( void  )

Definition at line 79 of file vf_threshold.c.

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