webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Typedefs
opus_multistream.h File Reference

Opus reference implementation multistream API. More...

#include "opus.h"

Go to the source code of this file.

Macros

#define OPUS_MULTISTREAM_GET_ENCODER_STATE(x, y)
 
#define OPUS_MULTISTREAM_GET_DECODER_STATE(x, y)
 

Typedefs

typedef struct OpusMSEncoder OpusMSEncoder
 
typedef struct OpusMSDecoder OpusMSDecoder
 

Functions

Multistream encoder functions
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_multistream_encoder_get_size (int streams, int coupled_streams)
 
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_multistream_surround_encoder_get_size (int channels, int mapping_family)
 
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT OpusMSEncoderopus_multistream_encoder_create (opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application, int *error) OPUS_ARG_NONNULL(5)
 
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT 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) OPUS_ARG_NONNULL(5)
 
OPUS_EXPORT int opus_multistream_encoder_init (OpusMSEncoder *st, opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(6)
 
OPUS_EXPORT 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) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(6)
 
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT int opus_multistream_encode (OpusMSEncoder *st, const opus_int16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(2) OPUS_ARG_NONNULL(4)
 
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT int opus_multistream_encode_float (OpusMSEncoder *st, const float *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(2) OPUS_ARG_NONNULL(4)
 
OPUS_EXPORT void opus_multistream_encoder_destroy (OpusMSEncoder *st)
 
OPUS_EXPORT int opus_multistream_encoder_ctl (OpusMSEncoder *st, int request,...) OPUS_ARG_NONNULL(1)
 
Multistream decoder functions
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_multistream_decoder_get_size (int streams, int coupled_streams)
 
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT OpusMSDecoderopus_multistream_decoder_create (opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int *error) OPUS_ARG_NONNULL(5)
 
OPUS_EXPORT int opus_multistream_decoder_init (OpusMSDecoder *st, opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(6)
 
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT int opus_multistream_decode (OpusMSDecoder *st, const unsigned char *data, opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(4)
 
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT int opus_multistream_decode_float (OpusMSDecoder *st, const unsigned char *data, opus_int32 len, float *pcm, int frame_size, int decode_fec) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(4)
 
OPUS_EXPORT int opus_multistream_decoder_ctl (OpusMSDecoder *st, int request,...) OPUS_ARG_NONNULL(1)
 
OPUS_EXPORT void opus_multistream_decoder_destroy (OpusMSDecoder *st)
 

Detailed Description

Opus reference implementation multistream API.