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

#define LEN   256

Definition at line 28 of file af_afir.c.

Referenced by checkasm_check_afir(), and test_fcmul_add().

#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) { \
buf[i] = bmg[0] * stddev + mean; \
buf[i + 1] = bmg[1] * stddev + mean; \
} \
} while(0);
void av_bmg_get(AVLFG *lfg, double out[2])
Get the next two numbers generated by a Box-Muller Gaussian generator using the random numbers issued...
Definition: lfg.c:49
AVLFG checkasm_lfg
Definition: checkasm.c:279
#define LEN
Definition: af_afir.c:28
int
for(j=16;j >0;--j)
int i
Definition: input.c:407

Definition at line 30 of file af_afir.c.

Referenced by checkasm_check_afir().

Function Documentation

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().

void checkasm_check_afir ( void  )

Definition at line 79 of file af_afir.c.