Opus reference implementation constants. More...
#include "opus_types.h"
Go to the source code of this file.
Defines | |
#define | OPUS_OK |
No error. | |
#define | OPUS_BAD_ARG |
One or more invalid/out of range arguments. | |
#define | OPUS_BUFFER_TOO_SMALL |
The mode struct passed is invalid. | |
#define | OPUS_INTERNAL_ERROR |
An internal error was detected. | |
#define | OPUS_INVALID_PACKET |
The compressed data passed is corrupted. | |
#define | OPUS_UNIMPLEMENTED |
Invalid/unsupported request number. | |
#define | OPUS_INVALID_STATE |
An encoder or decoder structure is invalid or already freed. | |
#define | OPUS_ALLOC_FAIL |
Memory allocation has failed. | |
#define | OPUS_AUTO |
Auto/default setting. | |
#define | OPUS_BITRATE_MAX |
Maximum bitrate. | |
#define | OPUS_APPLICATION_VOIP |
Best for most VoIP/videoconference applications where listening quality and intelligibility matter most. | |
#define | OPUS_APPLICATION_AUDIO |
Best for broadcast/high-fidelity application where the decoded audio should be as close as possible to the input. | |
#define | OPUS_APPLICATION_RESTRICTED_LOWDELAY |
Only use when lowest-achievable latency is what matters most. | |
#define | OPUS_SIGNAL_VOICE 3001 |
Signal being encoded is voice. | |
#define | OPUS_SIGNAL_MUSIC 3002 |
Signal being encoded is music. | |
#define | OPUS_BANDWIDTH_NARROWBAND |
4kHz bandpass | |
#define | OPUS_BANDWIDTH_MEDIUMBAND |
6kHz bandpass | |
#define | OPUS_BANDWIDTH_WIDEBAND |
8kHz bandpass | |
#define | OPUS_BANDWIDTH_SUPERWIDEBAND |
12kHz bandpass | |
#define | OPUS_BANDWIDTH_FULLBAND |
20kHz bandpass | |
#define | OPUS_SET_COMPLEXITY(x) |
Configures the encoder's computational complexity. | |
#define | OPUS_GET_COMPLEXITY(x) |
Gets the encoder's complexity configuration,. | |
#define | OPUS_SET_BITRATE(x) |
Configures the bitrate in the encoder. | |
#define | OPUS_GET_BITRATE(x) |
Gets the encoder's bitrate configuration,. | |
#define | OPUS_SET_VBR(x) |
Configures VBR in the encoder. | |
#define | OPUS_GET_VBR(x) |
Gets the encoder's VBR configuration,. | |
#define | OPUS_SET_VBR_CONSTRAINT(x) |
Configures constrained VBR in the encoder. | |
#define | OPUS_GET_VBR_CONSTRAINT(x) |
Gets the encoder's constrained VBR configuration. | |
#define | OPUS_SET_FORCE_CHANNELS(x) |
Configures mono/stereo forcing in the encoder. | |
#define | OPUS_GET_FORCE_CHANNELS(x) |
Gets the encoder's forced channel configuration,. | |
#define | OPUS_SET_MAX_BANDWIDTH(x) |
Configures the encoder's maximum bandpass allowed,. | |
#define | OPUS_GET_MAX_BANDWIDTH(x) |
Gets the encoder's configured maximum bandpass allowed,. | |
#define | OPUS_SET_BANDWIDTH(x) |
Configures the encoder's bandpass,. | |
#define | OPUS_SET_SIGNAL(x) |
Configures the type of signal being encoded. | |
#define | OPUS_GET_SIGNAL(x) |
Gets the encoder's configured signal type,. | |
#define | OPUS_SET_APPLICATION(x) |
Configures the encoder's intended application. | |
#define | OPUS_GET_APPLICATION(x) |
Gets the encoder's configured application,. | |
#define | OPUS_GET_LOOKAHEAD(x) |
Gets the total samples of delay added by the entire codec. | |
#define | OPUS_SET_INBAND_FEC(x) |
Configures the encoder's use of inband forward error correction. | |
#define | OPUS_GET_INBAND_FEC(x) |
Gets encoder's configured use of inband forward error correction,. | |
#define | OPUS_SET_PACKET_LOSS_PERC(x) |
Configures the encoder's expected packet loss percentage. | |
#define | OPUS_GET_PACKET_LOSS_PERC(x) |
Gets the encoder's configured packet loss percentage,. | |
#define | OPUS_SET_DTX(x) |
Configures the encoder's use of discontinuous transmission. | |
#define | OPUS_GET_DTX(x) |
Gets encoder's configured use of discontinuous transmission,. | |
#define | OPUS_RESET_STATE |
Resets the codec state to be equivalent to a freshly initialized state. | |
#define | OPUS_GET_FINAL_RANGE(x) |
Gets the final state of the codec's entropy coder. | |
#define | OPUS_GET_PITCH(x) |
Gets the pitch of the last decoded frame, if available. | |
#define | OPUS_GET_BANDWIDTH(x) |
Gets the encoder's configured bandpass or the decoder's last bandpass,. | |
Functions | |
const char * | opus_strerror (int error) |
Converts an opus error code into a human readable string. | |
const char * | opus_get_version_string (void) |
Gets the libopus version string. |
Opus reference implementation constants.