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

Go to the source code of this file.

Macros

#define randomize_int32(buf, len)
 
#define EPS   0.005
 

Functions

static void test_window (int len)
 
void checkasm_check_lpc (void)
 

Macro Definition Documentation

◆ randomize_int32

#define randomize_int32 (   buf,
  len 
)
Value:
do { \
for (int i = 0; i < len; i++) { \
int32_t f = ((int)(UINT32_MAX >> 17)) - ((int)(rnd() >> 16)); \
buf[i] = f; \
} \
} while (0)

Definition at line 25 of file lpc.c.

◆ EPS

#define EPS   0.005

Definition at line 33 of file lpc.c.

Function Documentation

◆ test_window()

static void test_window ( int  len)
static

Definition at line 35 of file lpc.c.

Referenced by checkasm_check_lpc().

◆ checkasm_check_lpc()

void checkasm_check_lpc ( void  )

Definition at line 60 of file lpc.c.

rnd
#define rnd()
Definition: checkasm.h:118
f
f
Definition: af_crystalizer.c:122
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:269
len
int len
Definition: vorbis_enc_data.h:426
int
int
Definition: ffmpeg_filter.c:156