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

Opus-Custom reference implementation API. More...

#include "opus_defines.h"

Go to the source code of this file.

Macros

#define OPUS_CUSTOM_EXPORT
 
#define OPUS_CUSTOM_EXPORT_STATIC
 

Typedefs

typedef struct OpusCustomEncoder OpusCustomEncoder
 Encoder state. More...
 
typedef struct OpusCustomDecoder OpusCustomDecoder
 Decoder state. More...
 
typedef struct OpusCustomMode OpusCustomMode
 Mode configuration. More...
 

Functions

OPUS_CUSTOM_EXPORT OPUS_WARN_UNUSED_RESULT OpusCustomModeopus_custom_mode_create (opus_int32 Fs, int frame_size, int *error)
 
OPUS_CUSTOM_EXPORT void opus_custom_mode_destroy (OpusCustomMode *mode)
 
OPUS_CUSTOM_EXPORT_STATIC OPUS_WARN_UNUSED_RESULT int opus_custom_encoder_get_size (const OpusCustomMode *mode, int channels) OPUS_ARG_NONNULL(1)
 
OPUS_CUSTOM_EXPORT OPUS_WARN_UNUSED_RESULT OpusCustomEncoderopus_custom_encoder_create (const OpusCustomMode *mode, int channels, int *error) OPUS_ARG_NONNULL(1)
 
OPUS_CUSTOM_EXPORT void opus_custom_encoder_destroy (OpusCustomEncoder *st)
 
OPUS_CUSTOM_EXPORT OPUS_WARN_UNUSED_RESULT int opus_custom_encode_float (OpusCustomEncoder *st, const float *pcm, int frame_size, unsigned char *compressed, int maxCompressedBytes) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(2) OPUS_ARG_NONNULL(4)
 
OPUS_CUSTOM_EXPORT OPUS_WARN_UNUSED_RESULT int opus_custom_encode (OpusCustomEncoder *st, const opus_int16 *pcm, int frame_size, unsigned char *compressed, int maxCompressedBytes) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(2) OPUS_ARG_NONNULL(4)
 
OPUS_CUSTOM_EXPORT int opus_custom_encoder_ctl (OpusCustomEncoder *OPUS_RESTRICT st, int request,...) OPUS_ARG_NONNULL(1)
 
OPUS_CUSTOM_EXPORT_STATIC OPUS_WARN_UNUSED_RESULT int opus_custom_decoder_get_size (const OpusCustomMode *mode, int channels) OPUS_ARG_NONNULL(1)
 
OPUS_CUSTOM_EXPORT_STATIC int opus_custom_decoder_init (OpusCustomDecoder *st, const OpusCustomMode *mode, int channels) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(2)
 
OPUS_CUSTOM_EXPORT OPUS_WARN_UNUSED_RESULT OpusCustomDecoderopus_custom_decoder_create (const OpusCustomMode *mode, int channels, int *error) OPUS_ARG_NONNULL(1)
 
OPUS_CUSTOM_EXPORT void opus_custom_decoder_destroy (OpusCustomDecoder *st)
 
OPUS_CUSTOM_EXPORT OPUS_WARN_UNUSED_RESULT int opus_custom_decode_float (OpusCustomDecoder *st, const unsigned char *data, int len, float *pcm, int frame_size) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(4)
 
OPUS_CUSTOM_EXPORT OPUS_WARN_UNUSED_RESULT int opus_custom_decode (OpusCustomDecoder *st, const unsigned char *data, int len, opus_int16 *pcm, int frame_size) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(4)
 
OPUS_CUSTOM_EXPORT int opus_custom_decoder_ctl (OpusCustomDecoder *OPUS_RESTRICT st, int request,...) OPUS_ARG_NONNULL(1)
 

Detailed Description

Opus-Custom reference implementation API.

Macro Definition Documentation

◆ OPUS_CUSTOM_EXPORT

#define OPUS_CUSTOM_EXPORT

◆ OPUS_CUSTOM_EXPORT_STATIC

#define OPUS_CUSTOM_EXPORT_STATIC