FFmpeg
Macros | Functions
svq1enc.c File Reference
#include "libavutil/mem.h"
#include "libavutil/mem_internal.h"
#include "libavcodec/svq1encdsp.h"
#include "checkasm.h"

Go to the source code of this file.

Macros

#define BUF_SIZE   1024
 
#define randomize(buf, len)
 

Functions

static void test_ssd_int8_vs_int16 (SVQ1EncDSPContext *s)
 
void checkasm_check_svq1enc (void)
 

Macro Definition Documentation

◆ BUF_SIZE

#define BUF_SIZE   1024

Definition at line 28 of file svq1enc.c.

◆ randomize

#define randomize (   buf,
  len 
)
Value:
do { \
for (int i = 0; i < len; i++) \
buf[i] = ((rnd() % 65281) - 32641); \
} while (0)

Definition at line 30 of file svq1enc.c.

Function Documentation

◆ test_ssd_int8_vs_int16()

static void test_ssd_int8_vs_int16 ( SVQ1EncDSPContext s)
static

Definition at line 36 of file svq1enc.c.

Referenced by checkasm_check_svq1enc().

◆ checkasm_check_svq1enc()

void checkasm_check_svq1enc ( void  )

Definition at line 62 of file svq1enc.c.

rnd
#define rnd()
Definition: checkasm.h:163
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:255
len
int len
Definition: vorbis_enc_data.h:426