search for: opus_encoder_get_size

Displaying 3 results from an estimated 3 matches for "opus_encoder_get_size".

2012 Aug 31
1
Memory Size?
In order to determine the optimum heap size requirements for my embedded C55xx design, I have used the following to get the encoder and decoder memory requirements: size = opus_encoder_get_size(config.channels); enc = malloc(size); error = opus_encoder_init(enc, config.Fs, config.channels, config.application); size = opus_decoder_get_size(config.channels); dec = malloc(size); error = opus_decoder_init(dec, config.Fs, config.channels); Both th...
2018 Feb 23
3
[EXTERNAL] Re: Developing OPUS on TI CC3220
...size using the api and used encode init so that the memory is allocated to my created heap. I have 30k currently in heap, since the return of get size was ~25 kB. This seems to happen when I change the application as well. :/ Currently here is how I am setting up my encoder: int size = opus_encoder_get_size(1); sOpusEnc = Memory_alloc(OpusHeap,size,NULL,NULL); // // sOpusEnc = opus_encoder_create(16000, // 1, // OPUS_APPLICATION_VOIP, &i32error); i32error = opus_encoder_init(sOpusEnc, 16000, 1, OPUS_APPLICATION_RE...
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: