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

Go to the source code of this file.

Macros

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

Functions

static void test_abs_pow34 (AACEncDSPContext *s)
 
void checkasm_check_aacencdsp (void)
 

Macro Definition Documentation

◆ randomize_float

#define randomize_float (   buf,
  len 
)
Value:
do { \
int i; \
for (i = 0; i < len; i++) { \
float f = (float)rnd() / (UINT_MAX >> 5) - 16.0f; \
buf[i] = f; \
} \
} while (0)

Definition at line 29 of file aacencdsp.c.

◆ BUF_SIZE

#define BUF_SIZE   1024

Function Documentation

◆ test_abs_pow34()

static void test_abs_pow34 ( AACEncDSPContext s)
static

Definition at line 38 of file aacencdsp.c.

Referenced by checkasm_check_aacencdsp().

◆ checkasm_check_aacencdsp()

void checkasm_check_aacencdsp ( void  )

Definition at line 64 of file aacencdsp.c.

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