webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include "cpu_support.h"
#include "os_support.h"
#include "mdct.h"
#include <math.h>
#include "celt.h"
#include "pitch.h"
#include "bands.h"
#include "modes.h"
#include "entcode.h"
#include "quant_bands.h"
#include "rate.h"
#include "stack_alloc.h"
#include "mathops.h"
#include "float_cast.h"
#include <stdarg.h>
#include "celt_lpc.h"
#include "vq.h"
Classes | |
struct | OpusCustomEncoder |
Encoder state. More... | |
Macros | |
#define | CELT_ENCODER_C |
#define | ENCODER_RESET_START rng |
#define | MSWAP(a, b) do {opus_val16 tmp = a;a=b;b=tmp;} while(0) |
Functions | |
int | celt_encoder_get_size (int channels) |
OPUS_CUSTOM_NOSTATIC int | opus_custom_encoder_get_size (const CELTMode *mode, int channels) |
int | celt_encoder_init (CELTEncoder *st, opus_int32 sampling_rate, int channels, int arch) |
void | celt_preemphasis (const opus_val16 *OPUS_RESTRICT pcmp, celt_sig *OPUS_RESTRICT inp, int N, int CC, int upsample, const opus_val16 *coef, celt_sig *mem, int clip) |
int | celt_encode_with_ec (CELTEncoder *OPUS_RESTRICT st, const opus_val16 *pcm, int frame_size, unsigned char *compressed, int nbCompressedBytes, ec_enc *enc) |
int | opus_custom_encoder_ctl (CELTEncoder *OPUS_RESTRICT st, int request,...) |
#define CELT_ENCODER_C |
#define ENCODER_RESET_START rng |
int celt_encode_with_ec | ( | CELTEncoder *OPUS_RESTRICT | st, |
const opus_val16 * | pcm, | ||
int | frame_size, | ||
unsigned char * | compressed, | ||
int | nbCompressedBytes, | ||
ec_enc * | enc | ||
) |
< Interleaved signal MDCTs
< Interleaved normalised MDCTs
int celt_encoder_get_size | ( | int | channels | ) |
int celt_encoder_init | ( | CELTEncoder * | st, |
opus_int32 | sampling_rate, | ||
int | channels, | ||
int | arch | ||
) |
void celt_preemphasis | ( | const opus_val16 *OPUS_RESTRICT | pcmp, |
celt_sig *OPUS_RESTRICT | inp, | ||
int | N, | ||
int | CC, | ||
int | upsample, | ||
const opus_val16 * | coef, | ||
celt_sig * | mem, | ||
int | clip | ||
) |
int opus_custom_encoder_ctl | ( | CELTEncoder *OPUS_RESTRICT | st, |
int | request, | ||
... | |||
) |
OPUS_CUSTOM_NOSTATIC int opus_custom_encoder_get_size | ( | const CELTMode * | mode, |
int | channels | ||
) |