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

Go to the source code of this file.

Macros

#define randomize(buf, len)
 
#define EPS   0.0001
 

Functions

static void test_sum64x5 (void)
 
static void test_sum_square (void)
 
static void test_neg_odd_64 (void)
 
static void test_qmf_pre_shuffle (void)
 
static void test_qmf_post_shuffle (void)
 
static void test_qmf_deint_neg (void)
 
static void test_qmf_deint_bfly (void)
 
static void test_autocorrelate (void)
 
static void test_hf_gen (void)
 
static void test_hf_g_filt (void)
 
static void test_hf_apply_noise (const SBRDSPContext *sbrdsp)
 
void checkasm_check_sbrdsp (void)
 

Macro Definition Documentation

◆ randomize

#define randomize (   buf,
  len 
)
Value:
do { \
int i; \
for (i = 0; i < len; i++) { \
const INTFLOAT f = (INTFLOAT)rnd() / UINT_MAX; \
(buf)[i] = f; \
} \
} while (0)

Definition at line 23 of file sbrdsp.c.

◆ EPS

#define EPS   0.0001

Definition at line 31 of file sbrdsp.c.

Function Documentation

◆ test_sum64x5()

static void test_sum64x5 ( void  )
static

Definition at line 33 of file sbrdsp.c.

Referenced by checkasm_check_sbrdsp().

◆ test_sum_square()

static void test_sum_square ( void  )
static

Definition at line 49 of file sbrdsp.c.

Referenced by checkasm_check_sbrdsp().

◆ test_neg_odd_64()

static void test_neg_odd_64 ( void  )
static

Definition at line 65 of file sbrdsp.c.

Referenced by checkasm_check_sbrdsp().

◆ test_qmf_pre_shuffle()

static void test_qmf_pre_shuffle ( void  )
static

Definition at line 81 of file sbrdsp.c.

Referenced by checkasm_check_sbrdsp().

◆ test_qmf_post_shuffle()

static void test_qmf_post_shuffle ( void  )
static

Definition at line 97 of file sbrdsp.c.

Referenced by checkasm_check_sbrdsp().

◆ test_qmf_deint_neg()

static void test_qmf_deint_neg ( void  )
static

Definition at line 113 of file sbrdsp.c.

Referenced by checkasm_check_sbrdsp().

◆ test_qmf_deint_bfly()

static void test_qmf_deint_bfly ( void  )
static

Definition at line 129 of file sbrdsp.c.

Referenced by checkasm_check_sbrdsp().

◆ test_autocorrelate()

static void test_autocorrelate ( void  )
static

Definition at line 150 of file sbrdsp.c.

Referenced by checkasm_check_sbrdsp().

◆ test_hf_gen()

static void test_hf_gen ( void  )
static

Definition at line 169 of file sbrdsp.c.

Referenced by checkasm_check_sbrdsp().

◆ test_hf_g_filt()

static void test_hf_g_filt ( void  )
static

Definition at line 197 of file sbrdsp.c.

Referenced by checkasm_check_sbrdsp().

◆ test_hf_apply_noise()

static void test_hf_apply_noise ( const SBRDSPContext sbrdsp)
static

Definition at line 217 of file sbrdsp.c.

Referenced by checkasm_check_sbrdsp().

◆ checkasm_check_sbrdsp()

void checkasm_check_sbrdsp ( void  )

Definition at line 250 of file sbrdsp.c.

INTFLOAT
#define INTFLOAT
Definition: dct32_template.c:44
rnd
#define rnd()
Definition: checkasm.h:104
buf
void * buf
Definition: avisynth_c.h:766
f
#define f(width, name)
Definition: cbs_vp9.c:255
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:259
len
int len
Definition: vorbis_enc_data.h:452
INTFLOAT
float INTFLOAT
Definition: aac_defines.h:86