FFmpeg
Macros | Functions
takdsp.c File Reference
#include <string.h>
#include "libavutil/mem.h"
#include "libavutil/mem_internal.h"
#include "libavcodec/takdsp.h"
#include "libavcodec/mathops.h"
#include "checkasm.h"

Go to the source code of this file.

Macros

#define randomize(buf, len)
 
#define BUF_SIZE   1024
 

Functions

static void test_decorrelate_ls (TAKDSPContext *s)
 
static void test_decorrelate_sr (TAKDSPContext *s)
 
static void test_decorrelate_sm (TAKDSPContext *s)
 
static void test_decorrelate_sf (TAKDSPContext *s)
 
void checkasm_check_takdsp (void)
 

Macro Definition Documentation

◆ randomize

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

Definition at line 31 of file takdsp.c.

◆ BUF_SIZE

#define BUF_SIZE   1024

Definition at line 37 of file takdsp.c.

Function Documentation

◆ test_decorrelate_ls()

static void test_decorrelate_ls ( TAKDSPContext s)
static

Definition at line 39 of file takdsp.c.

Referenced by checkasm_check_takdsp().

◆ test_decorrelate_sr()

static void test_decorrelate_sr ( TAKDSPContext s)
static

Definition at line 64 of file takdsp.c.

Referenced by checkasm_check_takdsp().

◆ test_decorrelate_sm()

static void test_decorrelate_sm ( TAKDSPContext s)
static

Definition at line 89 of file takdsp.c.

Referenced by checkasm_check_takdsp().

◆ test_decorrelate_sf()

static void test_decorrelate_sf ( TAKDSPContext s)
static

Definition at line 117 of file takdsp.c.

Referenced by checkasm_check_takdsp().

◆ checkasm_check_takdsp()

void checkasm_check_takdsp ( void  )

Definition at line 145 of file takdsp.c.

rnd
#define rnd()
Definition: checkasm.h:163
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:256
len
int len
Definition: vorbis_enc_data.h:426