FFmpeg
Macros | Functions
opusdsp.c File Reference
#include "libavcodec/opusdsp.h"
#include "checkasm.h"

Go to the source code of this file.

Macros

#define randomize_float(buf, len)
 
#define EPS   0.005
 
#define MAX_SIZE   (960)
 

Functions

static void test_postfilter (int period)
 
static void test_deemphasis (void)
 
void checkasm_check_opusdsp (void)
 

Macro Definition Documentation

#define randomize_float (   buf,
  len 
)
Value:
do { \
for (int i = 0; i < len; i++) { \
float f = (float)rnd() / (UINT_MAX >> 5) - 16.0f; \
buf[i] = f; \
} \
} while (0)
#define f(width, name)
Definition: cbs_vp9.c:255
#define rnd()
Definition: checkasm.h:107
int len
for(j=16;j >0;--j)
int i
Definition: input.c:407

Definition at line 23 of file opusdsp.c.

Referenced by test_deemphasis(), and test_postfilter().

#define EPS   0.005

Definition at line 31 of file opusdsp.c.

Referenced by test_deemphasis(), and test_postfilter().

#define MAX_SIZE   (960)

Definition at line 32 of file opusdsp.c.

Referenced by test_deemphasis(), and test_postfilter().

Function Documentation

static void test_postfilter ( int  period)
static

Definition at line 35 of file opusdsp.c.

Referenced by checkasm_check_opusdsp().

static void test_deemphasis ( void  )
static

Definition at line 63 of file opusdsp.c.

Referenced by checkasm_check_opusdsp().

void checkasm_check_opusdsp ( void  )

Definition at line 83 of file opusdsp.c.