webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Functions
test_opus_encode.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <stdint.h>
#include <math.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include "opus_multistream.h"
#include "opus.h"
#include "../src/opus_private.h"
#include "test_opus_common.h"

Macros

#define MAX_PACKET   (1500)
 
#define SAMPLES   (48000*30)
 
#define SSAMPLES   (SAMPLES/3)
 
#define MAX_FRAME_SAMP   (5760)
 
#define PI   (3.141592653589793238462643f)
 

Functions

void generate_music (short *buf, opus_int32 len)
 
int run_test1 (int no_fuzz)
 
int main (int _argc, char **_argv)
 

Macro Definition Documentation

◆ MAX_FRAME_SAMP

#define MAX_FRAME_SAMP   (5760)

◆ MAX_PACKET

#define MAX_PACKET   (1500)

◆ PI

#define PI   (3.141592653589793238462643f)

◆ SAMPLES

#define SAMPLES   (48000*30)

◆ SSAMPLES

#define SSAMPLES   (SAMPLES/3)

Function Documentation

◆ generate_music()

void generate_music ( short *  buf,
opus_int32  len 
)

◆ main()

int main ( int  _argc,
char **  _argv 
)

◆ run_test1()

int run_test1 ( int  no_fuzz)