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 "libavutil/mem_internal.h"
#include "checkasm.h"

Go to the source code of this file.


#define LEN   256
#define randomize_buffer(buf)


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 29 of file af_afir.c.

Referenced by checkasm_check_afir(), and test_fcmul_add().

#define randomize_buffer (   buf)
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
static float mean(const float *input, int size)
Definition: vf_nnedi.c:864
#define LEN
Definition: af_afir.c:29
for(j=16;j >0;--j)
int i
Definition: input.c:407

Definition at line 31 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 

Definition at line 43 of file af_afir.c.

Referenced by checkasm_check_afir().

void checkasm_check_afir ( void  )

Definition at line 80 of file af_afir.c.