search for: opus_set_complexity

Displaying 12 results from an estimated 12 matches for "opus_set_complexity".

2019 Feb 17
2
Custom mode
...red result. *Setup code:* mode = opus_custom_mode_create(15625, 64, &err); size = opus_custom_encoder_get_size(mode, 1); enc = malloc(size); err = opus_custom_encoder_init(enc, mode, 1); err = opus_custom_encoder_ctl(enc, OPUS_SET_BITRATE(16000)); err = opus_custom_encoder_ctl(enc, OPUS_SET_COMPLEXITY(0)); size = opus_custom_decoder_get_size(mode, 1); dec = malloc(size); err = opus_custom_decoder_init(dec, mode, 1); *ISR code (called once every 4.096ms):* nbBytes = opus_custom_encode( enc, (opus_int16 *)lMicBuf, 64, codedMicBuf, 64); frame_size = opus_custom_decode...
2014 Feb 27
1
OPUS_SET_MAX_BANDWIDTH does not have expected results
...esults to passing an 8Khz sample rate stream, but OPUS_SET_MAX_BANDWIDTH has almost no effect with any settings. My test data has 4Khz bandwidth. I am testing the opus encoder (latest versions) with the following opus_encoder_ctl options: OPUS_SET_VBR=1, OPUS_SET_VBR_CONSTRAINT=unconstrained, OPUS_SET_COMPLEXITY=10, OPUS_APPLICATION_AUDIO, frame=60ms I compress 2 separate audio streams which only differ in the sample rate. One is 8Khz and the other is 16Khz. Both contain identical 4Khz bandwidth audio (the 16Khz file is a properly up-sampled copy of the 8Khz file). When compressing these, the 16Kh...
2019 Feb 20
0
Fwd: Custom mode
...nts even further ? Is there any document explaining the purpose/implication of each define, e.g. OPUS_ARM_INLINE_MEDIA ??? Fixed point vs. float ? Many questions seek answers ... Thanks Peter Den tis 19 feb. 2019 kl 11:31 skrev Emily Bowman <silverbacknet at gmail.com>: > Don't use OPUS_SET_COMPLEXITY(0) unless you absolutely have to. That means > "give me all the distortions" so I wouldn't be surprised if that's where > those are coming from. If your encoding path can't handle full 10 > complexity, dial it down to 9, 8, etc until it runs ok. > > opus_custom_...
2015 Apr 02
1
Opus multi-stream/surround: Audio corruption on decoded content
...m_MSEnc, OPUS_SET_BITRATE(bitRate)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_BANDWIDTH(OPUS_AUTO)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_VBR(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_VBR_CONSTRAINT(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_COMPLEXITY(10)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_INBAND_FEC(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_FORCE_CHANNELS(OPUS_AUTO)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_DTX(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_PACKET_LOSS_PERC(0))...
2018 Jan 15
1
Ask for suggestions about optimizing opus on STM32F407
...enc = opus_encoder_create(fs, chans, OPUS_APPLICATION_AUDIO, &opus_err); opus_encoder_ctl(enc, OPUS_SET_BITRATE(fs * 2)); opus_encoder_ctl(enc, OPUS_SET_BANDWIDTH(OPUS_AUTO)); opus_encoder_ctl(enc, OPUS_SET_VBR(1)); opus_encoder_ctl(enc, OPUS_SET_VBR_CONSTRAINT(0)); opus_encoder_ctl(enc, OPUS_SET_COMPLEXITY(0)); opus_encoder_ctl(enc, OPUS_SET_INBAND_FEC(0)); opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS(OPUS_AUTO)); opus_encoder_ctl(enc, OPUS_SET_DTX(0)); opus_encoder_ctl(enc, OPUS_SET_PACKET_LOSS_PERC(0)); opus_encoder_ctl(enc, OPUS_GET_LOOKAHEAD(&lookahead)); opus_encoder_ctl(enc, OPUS_SE...
2014 Nov 17
0
Opus complexity and VOIP for mobile devices
Hi,? Anyone could provide more information on the level of complexity (OPUS_SET_COMPLEXITY(x) , x between 0 and 10 ?) which is recommended for generic Android devices ? How about the iPhone devices ??Is there a way to choose this complexity level according to the device model ? Any hints ? We've seen they set 5 in webrtc :http://code.google.com/p/webrtc/issues/detail?id=3093Freeswit...
2013 Sep 20
2
help to add assembly files
Hi , I am trying to optimize OPUS codec to TI compiler C64XX in CCS. I have created the make file and compiled the code in optlevel = 3. The MIPS are pretty high(99 MIPS for 8Khz stereo) for LFE channels and the most MIPS intensive function is the silk_noise_shape_quantizer_del_dec() function. 1. I am trying to convert this entire function to assembly. I have tried to incoporate .asm file but I
2015 Apr 02
0
Opus multi-stream/surround: Audio corruption on decoded content
...m_MSEnc, OPUS_SET_BITRATE(bitRate)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_BANDWIDTH(OPUS_AUTO)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_VBR(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_VBR_CONSTRAINT(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_COMPLEXITY(10)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_INBAND_FEC(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_FORCE_CHANNELS(OPUS_AUTO)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_DTX(0)); opus_multistream_encoder_ctl(m_MSEnc, OPUS_SET_PACKET_LOSS_PERC(0))...
2018 Feb 23
3
[EXTERNAL] Re: Developing OPUS on TI CC3220
...; i32error = opus_encoder_init(sOpusEnc, 16000, 1, OPUS_APPLICATION_RESTRICTED_LOWDELAY); opus_encoder_ctl(sOpusEnc, OPUS_SET_BITRATE(16000)); opus_encoder_ctl(sOpusEnc, OPUS_SET_VBR(1)); opus_encoder_ctl(sOpusEnc, OPUS_SET_VBR_CONSTRAINT(0)); opus_encoder_ctl(sOpusEnc, OPUS_SET_COMPLEXITY(0)); opus_encoder_ctl(sOpusEnc, OPUS_SET_INBAND_FEC(0)); opus_encoder_ctl(sOpusEnc, OPUS_SET_FORCE_CHANNELS(1));//Mono opus_encoder_ctl(sOpusEnc, OPUS_SET_PACKET_LOSS_PERC(0)); opus_encoder_ctl(sOpusEnc, OPUS_SET_LSB_DEPTH(16) ); opus_encoder_ctl(sOpus...
2018 Feb 20
2
[EXTERNAL] Re: Developing OPUS on TI CC3220
Jean-Marc, Thanks for the response and the helpful info. I am trying to get the library to build without using the pseudostack define, and use either VAR_ARRAYS or ALLOC, but it seems the global stack is not defined. Where do can I define this in my example? VR -----Original Message----- From: Jean-Marc Valin [mailto:jmvalin at jmvalin.ca] Sent: Tuesday, February 20, 2018 5:40 PM To:
2018 Jan 06
3
Ask for suggestions about optimizing opus on STM32F407
<style>table.customTableClassName {margin-bottom: 10px;border-collapse: collapse;display: table;}.customTableClassName td, .customTableClassName th {border: 1px solid #ddd;}</style><div id="write-custom-write" tabindex="0" style="font-size: 12px; font-family: 宋体; outline: medium none currentcolor;"><p style="margin:0px;">Dear
2015 Jul 19
4
Bug in ARM fixed-point ASM?
...ribute__((aligned (8))); memset(bbOpusBits, 0x00, 128); oeEncoder = opus_encoder_create(48000, 2, OPUS_APPLICATION_RESTRICTED_LOWDELAY, &rv); assert(rv == 0); rv = opus_encoder_ctl(oeEncoder, OPUS_SET_BITRATE(32000)); assert(rv == 0); rv = opus_encoder_ctl(oeEncoder, OPUS_SET_COMPLEXITY(5)); assert(rv == 0); iiBytesEncoded = opus_encode(oeEncoder, bbKnownBuffer, 480, bbOpusBits, 128); printf("Encoded to bytes: %2x\n", iiBytesEncoded); dump_opus_packet(bbOpusBits, iiBytesEncoded); opus_encoder_destroy(oeEncoder); } int main(void) { opus_enco...