FFmpeg
Macros | Functions
af_afir.c File Reference
#include "config.h"
#include <float.h>
#include <stdint.h>
#include "libavfilter/af_afir.h"
#include "libavutil/internal.h"
#include "checkasm.h"

Go to the source code of this file.

Macros

#define LEN   256
 
#define randomize_buffer(buf)
 

Functions

static void test_fcmul_add (const float *src0, const float *src1, const float *src2)
 
void checkasm_check_afir (void)
 

Macro Definition Documentation

◆ LEN

#define LEN   256

Definition at line 28 of file af_afir.c.

◆ randomize_buffer

#define randomize_buffer (   buf)
Value:
do { \
int i; \
double bmg[2], stddev = 10.0, mean = 0.0; \
for (i = 0; i < LEN*2+8; i += 2) { \
av_bmg_get(&checkasm_lfg, bmg); \
buf[i] = bmg[0] * stddev + mean; \
buf[i + 1] = bmg[1] * stddev + mean; \
} \
} while(0);

Definition at line 30 of file af_afir.c.

Function Documentation

◆ test_fcmul_add()

static void test_fcmul_add ( const float *  src0,
const float *  src1,
const float *  src2 
)
static

Definition at line 42 of file af_afir.c.

Referenced by checkasm_check_afir().

◆ checkasm_check_afir()

void checkasm_check_afir ( void  )

Definition at line 67 of file af_afir.c.

checkasm_lfg
AVLFG checkasm_lfg
Definition: checkasm.c:268
for
for(j=16;j >0;--j)
Definition: h264pred_template.c:469
LEN
#define LEN
Definition: af_afir.c:28
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:259