webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Macros | Typedefs | Enumerations | Functions
opus_multistream_encoder.c File Reference
#include "opus_multistream.h"
#include "opus.h"
#include "opus_private.h"
#include "stack_alloc.h"
#include <stdarg.h>
#include "float_cast.h"
#include "os_support.h"
#include "mathops.h"
#include "mdct.h"
#include "modes.h"
#include "bands.h"
#include "quant_bands.h"
#include "pitch.h"

Classes

struct  VorbisLayout
 
struct  OpusMSEncoder
 

Macros

#define MS_FRAME_TMP   (3*1275+7)
 

Typedefs

typedef void(* opus_copy_channel_in_func) (opus_val16 *dst, int dst_stride, const void *src, int src_stride, int src_channel, int frame_size)
 

Enumerations

enum  MappingType { MAPPING_TYPE_NONE, MAPPING_TYPE_SURROUND }
 

Functions

void surround_analysis (const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32 *mem, opus_val32 *preemph_mem, int len, int overlap, int channels, int rate, opus_copy_channel_in_func copy_channel_in, int arch)
 
opus_int32 opus_multistream_encoder_get_size (int nb_streams, int nb_coupled_streams)
 
opus_int32 opus_multistream_surround_encoder_get_size (int channels, int mapping_family)
 
int opus_multistream_encoder_init (OpusMSEncoder *st, opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application)
 
int opus_multistream_surround_encoder_init (OpusMSEncoder *st, opus_int32 Fs, int channels, int mapping_family, int *streams, int *coupled_streams, unsigned char *mapping, int application)
 
OpusMSEncoderopus_multistream_encoder_create (opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application, int *error)
 
OpusMSEncoderopus_multistream_surround_encoder_create (opus_int32 Fs, int channels, int mapping_family, int *streams, int *coupled_streams, unsigned char *mapping, int application, int *error)
 
int opus_multistream_encode_float (OpusMSEncoder *st, const opus_val16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes)
 
int opus_multistream_encode (OpusMSEncoder *st, const opus_int16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes)
 
int opus_multistream_encoder_ctl (OpusMSEncoder *st, int request,...)
 
void opus_multistream_encoder_destroy (OpusMSEncoder *st)
 

Macro Definition Documentation

◆ MS_FRAME_TMP

#define MS_FRAME_TMP   (3*1275+7)

Typedef Documentation

◆ opus_copy_channel_in_func

typedef void(* opus_copy_channel_in_func) (opus_val16 *dst, int dst_stride, const void *src, int src_stride, int src_channel, int frame_size)

Enumeration Type Documentation

◆ MappingType

Enumerator
MAPPING_TYPE_NONE 
MAPPING_TYPE_SURROUND 

Function Documentation

◆ surround_analysis()

void surround_analysis ( const CELTMode celt_mode,
const void pcm,
opus_val16 bandLogE,
opus_val32 mem,
opus_val32 preemph_mem,
int  len,
int  overlap,
int  channels,
int  rate,
opus_copy_channel_in_func  copy_channel_in,
int  arch 
)