FFmpeg
Macros | Functions
g722dsp.c File Reference
#include <string.h>
#include "checkasm.h"
#include "libavcodec/g722.h"
#include "libavcodec/g722dsp.h"
#include "libavcodec/mathops.h"

Go to the source code of this file.

Macros

#define randomize_buffers()
 

Functions

static void check_qmf (void)
 
void checkasm_check_g722dsp (void)
 

Macro Definition Documentation

◆ randomize_buffers

#define randomize_buffers ( )
Value:
do { \
int i; \
for (i = 0; i < PREV_SAMPLES_BUF_SIZE; i++) { \
src0[i] = src1[i] = sign_extend(rnd(), 16); \
} \
} while (0)

Definition at line 25 of file g722dsp.c.

Function Documentation

◆ check_qmf()

static void check_qmf ( void  )
static

Definition at line 33 of file g722dsp.c.

Referenced by checkasm_check_g722dsp().

◆ checkasm_check_g722dsp()

void checkasm_check_g722dsp ( void  )

Definition at line 53 of file g722dsp.c.

PREV_SAMPLES_BUF_SIZE
#define PREV_SAMPLES_BUF_SIZE
Definition: g722.h:32
src1
const pixel * src1
Definition: h264pred_template.c:421
rnd
#define rnd()
Definition: checkasm.h:115
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:269
sign_extend
static av_const int sign_extend(int val, unsigned bits)
Definition: mathops.h:132