#include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h"
#include "webrtc/base/checks.h"
#include "webrtc/modules/audio_coding/codecs/opus/opus_inst.h"
#include <stdlib.h>
#include <string.h>
|
int16_t | WebRtcOpus_EncoderCreate (OpusEncInst **inst, size_t channels, int32_t application) |
|
int16_t | WebRtcOpus_EncoderFree (OpusEncInst *inst) |
|
int | WebRtcOpus_Encode (OpusEncInst *inst, const int16_t *audio_in, size_t samples, size_t length_encoded_buffer, uint8_t *encoded) |
|
int16_t | WebRtcOpus_SetBitRate (OpusEncInst *inst, int32_t rate) |
|
int16_t | WebRtcOpus_SetPacketLossRate (OpusEncInst *inst, int32_t loss_rate) |
|
int16_t | WebRtcOpus_SetMaxPlaybackRate (OpusEncInst *inst, int32_t frequency_hz) |
|
int16_t | WebRtcOpus_EnableFec (OpusEncInst *inst) |
|
int16_t | WebRtcOpus_DisableFec (OpusEncInst *inst) |
|
int16_t | WebRtcOpus_EnableDtx (OpusEncInst *inst) |
|
int16_t | WebRtcOpus_DisableDtx (OpusEncInst *inst) |
|
int16_t | WebRtcOpus_SetComplexity (OpusEncInst *inst, int32_t complexity) |
|
int16_t | WebRtcOpus_SetForceChannels (OpusEncInst *inst, size_t num_channels) |
|
int16_t | WebRtcOpus_DecoderCreate (OpusDecInst **inst, size_t channels) |
|
int16_t | WebRtcOpus_DecoderFree (OpusDecInst *inst) |
|
size_t | WebRtcOpus_DecoderChannels (OpusDecInst *inst) |
|
void | WebRtcOpus_DecoderInit (OpusDecInst *inst) |
|
int | WebRtcOpus_Decode (OpusDecInst *inst, const uint8_t *encoded, size_t encoded_bytes, int16_t *decoded, int16_t *audio_type) |
|
int | WebRtcOpus_DecodePlc (OpusDecInst *inst, int16_t *decoded, int number_of_lost_frames) |
|
int | WebRtcOpus_DecodeFec (OpusDecInst *inst, const uint8_t *encoded, size_t encoded_bytes, int16_t *decoded, int16_t *audio_type) |
|
int | WebRtcOpus_DurationEst (OpusDecInst *inst, const uint8_t *payload, size_t payload_length_bytes) |
|
int | WebRtcOpus_PlcDuration (OpusDecInst *inst) |
|
int | WebRtcOpus_FecDurationEst (const uint8_t *payload, size_t payload_length_bytes) |
|
int | WebRtcOpus_PacketHasFec (const uint8_t *payload, size_t payload_length_bytes) |
|
◆ anonymous enum
Enumerator |
---|
kWebRtcOpusMaxEncodeFrameSizeMs | |
kWebRtcOpusMaxDecodeFrameSizeMs | |
kWebRtcOpusMaxFrameSizePerChannel | |
kWebRtcOpusDefaultFrameSize | |
◆ WebRtcOpus_Decode()
◆ WebRtcOpus_DecodeFec()
◆ WebRtcOpus_DecodePlc()
int WebRtcOpus_DecodePlc |
( |
OpusDecInst * |
inst, |
|
|
int16_t * |
decoded, |
|
|
int |
number_of_lost_frames |
|
) |
| |
◆ WebRtcOpus_DecoderChannels()
◆ WebRtcOpus_DecoderCreate()
◆ WebRtcOpus_DecoderFree()
◆ WebRtcOpus_DecoderInit()
◆ WebRtcOpus_DisableDtx()
◆ WebRtcOpus_DisableFec()
◆ WebRtcOpus_DurationEst()
◆ WebRtcOpus_EnableDtx()
◆ WebRtcOpus_EnableFec()
◆ WebRtcOpus_Encode()
◆ WebRtcOpus_EncoderCreate()
◆ WebRtcOpus_EncoderFree()
◆ WebRtcOpus_FecDurationEst()
int WebRtcOpus_FecDurationEst |
( |
const uint8_t * |
payload, |
|
|
size_t |
payload_length_bytes |
|
) |
| |
◆ WebRtcOpus_PacketHasFec()
int WebRtcOpus_PacketHasFec |
( |
const uint8_t * |
payload, |
|
|
size_t |
payload_length_bytes |
|
) |
| |
◆ WebRtcOpus_PlcDuration()
◆ WebRtcOpus_SetBitRate()
◆ WebRtcOpus_SetComplexity()
◆ WebRtcOpus_SetForceChannels()
◆ WebRtcOpus_SetMaxPlaybackRate()
◆ WebRtcOpus_SetPacketLossRate()