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
rnd
#define rnd()
Definition: checkasm.h:118
src1
#define src1
Definition: h264pred.c:140
i
int i
Definition: input.c:407
sign_extend
static av_const int sign_extend(int val, unsigned bits)
Definition: mathops.h:130