FFmpeg
Macros | Functions
vf_bwdif.c File Reference
#include <string.h>
#include "checkasm.h"
#include "libavfilter/bwdifdsp.h"
#include "libavutil/mem_internal.h"

Go to the source code of this file.

Macros

#define WIDTH   256
 
#define randomize_buffers(buf0, buf1, mask, count)
 
#define randomize_overflow_check(buf0, buf1, mask, count)
 
#define BODY(type, depth)
 

Functions

void checkasm_check_vf_bwdif (void)
 

Macro Definition Documentation

◆ WIDTH

#define WIDTH   256

Definition at line 24 of file vf_bwdif.c.

◆ randomize_buffers

#define randomize_buffers (   buf0,
  buf1,
  mask,
  count 
)
Value:
for (size_t i = 0; i < count; i++) \
buf0[i] = buf1[i] = rnd() & mask

Definition at line 26 of file vf_bwdif.c.

◆ randomize_overflow_check

#define randomize_overflow_check (   buf0,
  buf1,
  mask,
  count 
)
Value:
for (size_t i = 0; i < count; i++) \
buf0[i] = buf1[i] = (rnd() & 1) != 0 ? mask : 0;

Definition at line 30 of file vf_bwdif.c.

◆ BODY

#define BODY (   type,
  depth 
)

Definition at line 34 of file vf_bwdif.c.

Function Documentation

◆ checkasm_check_vf_bwdif()

void checkasm_check_vf_bwdif ( void  )

Definition at line 72 of file vf_bwdif.c.

rnd
#define rnd()
Definition: checkasm.h:163
mask
static const uint16_t mask[17]
Definition: lzw.c:38
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:255