FFmpeg
Macros | Functions
diracdsp.c File Reference
#include "checkasm.h"
#include "libavcodec/diracdsp.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.h"

Go to the source code of this file.

Macros

#define RANDOMIZE_DESTS(name, size)
 
#define RANDOMIZE_BUFFER8(name, size)
 
#define OBMC_STRIDE   32
 
#define XBLEN_MAX   32
 
#define YBLEN_MAX   64
 

Functions

static void check_add_obmc (size_t func_index, int xblen)
 
void checkasm_check_diracdsp (void)
 

Macro Definition Documentation

◆ RANDOMIZE_DESTS

#define RANDOMIZE_DESTS (   name,
  size 
)
Value:
do { \
int i; \
for (i = 0; i < size; ++i) { \
uint16_t r = rnd(); \
AV_WN16A(name##0 + i, r); \
AV_WN16A(name##1 + i, r); \
} \
} while (0)

Definition at line 28 of file diracdsp.c.

◆ RANDOMIZE_BUFFER8

#define RANDOMIZE_BUFFER8 (   name,
  size 
)
Value:
do { \
int i; \
for (i = 0; i < size; ++i) { \
uint8_t r = rnd(); \
name[i] = r; \
} \
} while (0)

Definition at line 38 of file diracdsp.c.

◆ OBMC_STRIDE

#define OBMC_STRIDE   32

Definition at line 47 of file diracdsp.c.

◆ XBLEN_MAX

#define XBLEN_MAX   32

Definition at line 48 of file diracdsp.c.

◆ YBLEN_MAX

#define YBLEN_MAX   64

Definition at line 49 of file diracdsp.c.

Function Documentation

◆ check_add_obmc()

static void check_add_obmc ( size_t  func_index,
int  xblen 
)
static

Definition at line 51 of file diracdsp.c.

Referenced by checkasm_check_diracdsp().

◆ checkasm_check_diracdsp()

void checkasm_check_diracdsp ( void  )

Definition at line 85 of file diracdsp.c.

name
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
Definition: writing_filters.txt:88
r
const char * r
Definition: vf_curves.c:127
rnd
#define rnd()
Definition: checkasm.h:173
size
int size
Definition: twinvq_data.h:10344
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:256