FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fixed_dsp.c File Reference
#include "checkasm.h"
#include "libavutil/common.h"
#include "libavutil/fixed_dsp.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"

Go to the source code of this file.

Macros

#define BUF_SIZE   256
 
#define randomize_buffers()
 

Functions

static void check_vector_fmul (const int *src0, const int *src1)
 
static void check_vector_fmul_add (const int *src0, const int *src1, const int *src2)
 
static void check_vector_fmul_window (const int32_t *src0, const int32_t *src1, const int32_t *win)
 
static void check_vector_fmul_window_scaled (const int32_t *src0, const int32_t *src1, const int32_t *win)
 
static void check_butterflies (const int *src0, const int *src1)
 
static void check_scalarproduct_fixed (const int *src0, const int *src1)
 
void checkasm_check_fixed_dsp (void)
 

Macro Definition Documentation

#define BUF_SIZE   256
#define randomize_buffers ( )
Value:
do { \
int i; \
for (i = 0; i < BUF_SIZE; i++) { \
src0[i] = sign_extend(rnd(), 24); \
src1[i] = sign_extend(rnd(), 24); \
src2[i] = sign_extend(rnd(), 24); \
} \
} while (0)
#define BUF_SIZE
Definition: fixed_dsp.c:27
#define src1
Definition: h264pred.c:139
#define src0
Definition: h264pred.c:138
static av_const int sign_extend(int val, unsigned bits)
Definition: mathops.h:130
int
#define rnd()
Definition: checkasm.h:100
for(j=16;j >0;--j)

Definition at line 29 of file fixed_dsp.c.

Referenced by checkasm_check_fixed_dsp().

Function Documentation

static void check_vector_fmul ( const int src0,
const int src1 
)
static

Definition at line 39 of file fixed_dsp.c.

Referenced by checkasm_check_fixed_dsp().

static void check_vector_fmul_add ( const int src0,
const int src1,
const int src2 
)
static

Definition at line 53 of file fixed_dsp.c.

Referenced by checkasm_check_fixed_dsp().

static void check_vector_fmul_window ( const int32_t src0,
const int32_t src1,
const int32_t win 
)
static

Definition at line 67 of file fixed_dsp.c.

Referenced by checkasm_check_fixed_dsp().

static void check_vector_fmul_window_scaled ( const int32_t src0,
const int32_t src1,
const int32_t win 
)
static

Definition at line 81 of file fixed_dsp.c.

Referenced by checkasm_check_fixed_dsp().

static void check_butterflies ( const int src0,
const int src1 
)
static

Definition at line 95 of file fixed_dsp.c.

Referenced by checkasm_check_fixed_dsp().

static void check_scalarproduct_fixed ( const int src0,
const int src1 
)
static

Definition at line 119 of file fixed_dsp.c.

Referenced by checkasm_check_fixed_dsp().

void checkasm_check_fixed_dsp ( void  )

Definition at line 132 of file fixed_dsp.c.