33 #ifndef OPUS_MULTISTREAM_H 34 #define OPUS_MULTISTREAM_H 47 #define __opus_check_encstate_ptr(ptr) ((ptr) + ((ptr) - (OpusEncoder**)(ptr))) 48 #define __opus_check_decstate_ptr(ptr) ((ptr) + ((ptr) - (OpusDecoder**)(ptr))) 55 #define OPUS_MULTISTREAM_GET_ENCODER_STATE_REQUEST 5120 56 #define OPUS_MULTISTREAM_GET_DECODER_STATE_REQUEST 5122 86 #define OPUS_MULTISTREAM_GET_ENCODER_STATE(x,y) OPUS_MULTISTREAM_GET_ENCODER_STATE_REQUEST, __opus_check_int(x), __opus_check_encstate_ptr(y) 99 #define OPUS_MULTISTREAM_GET_DECODER_STATE(x,y) OPUS_MULTISTREAM_GET_DECODER_STATE_REQUEST, __opus_check_int(x), __opus_check_decstate_ptr(y) 262 const unsigned char *mapping,
265 ) OPUS_ARG_NONNULL(5);
272 int *coupled_streams,
273 unsigned char *mapping,
276 ) OPUS_ARG_NONNULL(5);
332 const unsigned char *mapping,
334 ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(6);
342 int *coupled_streams,
343 unsigned char *mapping,
345 ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(6);
383 ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(2) OPUS_ARG_NONNULL(4);
428 ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(2) OPUS_ARG_NONNULL(4);
509 const unsigned char *mapping,
511 ) OPUS_ARG_NONNULL(5);
553 const unsigned char *mapping
554 ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(6);
587 const unsigned char *data,
592 ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(4);
625 const unsigned char *data,
630 ) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(4);
Definition: opus_multistream_encoder.c:82
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)
Definition: opus_multistream_encoder.c:1134
short opus_int16
Definition: opus_types.h:144
OPUS_EXPORT int opus_multistream_decoder_ctl(OpusMSDecoder *st, int request,...) OPUS_ARG_NONNULL(1)
Definition: opus_multistream_decoder.c:410
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_multistream_encoder_get_size(int streams, int coupled_streams)
Definition: opus_multistream_encoder.c:372
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT OpusMSEncoder * opus_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)
Definition: opus_multistream_encoder.c:580
OPUS_EXPORT void opus_multistream_decoder_destroy(OpusMSDecoder *st)
Definition: opus_multistream_decoder.c:534
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)
Definition: opus_multistream_decoder.c:396
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_multistream_decoder_get_size(int streams, int coupled_streams)
Definition: opus_multistream_decoder.c:50
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)
Definition: opus_multistream_decoder.c:63
application
Definition: main.py:87
sequence< MediaStream > streams
Definition: RTCTrackEvent.idl:45
OPENSSL_EXPORT const ASN1_OBJECT int const unsigned char int len
Definition: x509.h:1053
OPUS_EXPORT void opus_multistream_encoder_destroy(OpusMSEncoder *st)
Definition: opus_multistream_encoder.c:1348
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)
Definition: opus_multistream_encoder.c:505
int opus_int32
Definition: opus_types.h:146
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)
Definition: opus_multistream_encoder.c:490
OPUS_EXPORT int opus_multistream_encoder_ctl(OpusMSEncoder *st, int request,...) OPUS_ARG_NONNULL(1)
Definition: opus_multistream_encoder.c:1147
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)
Definition: opus_multistream_decoder.c:389
EGLStreamKHR EGLint EGLint EGLint const void * data
Definition: eglext.h:984
Definition: opus_multistream_decoder.c:40
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT OpusMSDecoder * opus_multistream_decoder_create(opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int *error) OPUS_ARG_NONNULL(5)
Definition: opus_multistream_decoder.c:110
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT OpusMSEncoder * opus_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)
Definition: opus_multistream_encoder.c:617
Opus reference implementation API.
const
Definition: upload.py:398
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_multistream_surround_encoder_get_size(int channels, int mapping_family)
Definition: opus_multistream_encoder.c:385
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)
Definition: opus_multistream_encoder.c:1122