FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
alacdsp.c File Reference
#include <string.h>
#include "checkasm.h"
#include "libavcodec/alacdsp.h"
#include "libavcodec/mathops.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"

Go to the source code of this file.

Macros

#define BUF_SIZE   256
 
#define MAX_CHANNELS   2
 
#define randomize_buffers()
 
#define randomize_buffers()
 

Functions

static void check_decorrelate_stereo (void)
 
static void check_append_extra_bits (void)
 
void checkasm_check_alacdsp (void)
 

Macro Definition Documentation

#define BUF_SIZE   256

Definition at line 28 of file alacdsp.c.

Referenced by check_append_extra_bits(), and check_decorrelate_stereo().

#define MAX_CHANNELS   2

Definition at line 29 of file alacdsp.c.

Referenced by check_append_extra_bits(), and check_decorrelate_stereo().

#define randomize_buffers ( )
Value:
do { \
int i; \
for (i = 0; i < BUF_SIZE*MAX_CHANNELS; i++) { \
ref_buf[i] = r; \
new_buf[i] = r; \
} \
} while (0)
#define BUF_SIZE
Definition: alacdsp.c:28
#define MAX_CHANNELS
Definition: alacdsp.c:29
const char * r
Definition: vf_curves.c:107
int32_t
static av_const int sign_extend(int val, unsigned bits)
Definition: mathops.h:138
#define rnd()
Definition: checkasm.h:65
for(j=16;j >0;--j)

Definition at line 69 of file alacdsp.c.

Referenced by check_append_extra_bits(), and check_decorrelate_stereo().

#define randomize_buffers ( )
Value:
do { \
int i, j; \
for (i = 0; i < BUF_SIZE; i++) { \
for (j = 0; j < ch; j++) { \
ref[j][i] = r; \
new[j][i] = r; \
r = rnd() & 0xFF; \
ref_ebb[j][i] = r; \
new_ebb[j][i] = r; \
} \
} \
} while (0)
#define BUF_SIZE
Definition: alacdsp.c:28
const char * r
Definition: vf_curves.c:107
int32_t
static av_const int sign_extend(int val, unsigned bits)
Definition: mathops.h:138
#define rnd()
Definition: checkasm.h:65
for(j=16;j >0;--j)

Definition at line 69 of file alacdsp.c.

Function Documentation

static void check_decorrelate_stereo ( void  )
static

Definition at line 41 of file alacdsp.c.

Referenced by checkasm_check_alacdsp().

static void check_append_extra_bits ( void  )
static

Definition at line 84 of file alacdsp.c.

Referenced by checkasm_check_alacdsp().

void checkasm_check_alacdsp ( void  )

Definition at line 115 of file alacdsp.c.