Displaying 12 results from an estimated 12 matches similar to: "Trying to use Opus in an STM32F429IIT6 embedded project"
2017 Jun 05
0
Trying to use Opus in an STM32F429IIT6 embedded project
On 05/06/17 08:28 AM, Ulisses Piassa wrote:
> I ported all the files from OpusLib 1.1.4 needed to compile the project,
> but when I try to create and OpusDecode state, it returns the error -7
> (OPUS_ALLOC_FAIL).
Are you getting OPUS_ALLOC_FAIL on the opus_decoder_init() too or just
on opus_decoder_create()?
> I'm compiling it with the USE_ALLOCA flag. I also tried to compile it
2014 Feb 05
1
Documentation inconsistencies
Hello!
First of all Thanks for such a great codec!
I have noticed a few smaller inconsistencies in the documentation, which
may be confusing:
* Encoder related CTLs
OPUS_GET_SAMPLE_RATE(x)
"Gets the sampling rate the encoder or decoder was initialized with.
This simply returns the Fs value passed to opus_encoder_init() or
opus_decoder_init()."
---> Is it a generic CTL?
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);
2016 Jun 22
0
OpusDecoder
Hi,
I am new to Opus, I want to use Opus and opus-tool for opus website. I just
have Opus payload raw stream from RTP packets.
Suppose, I have one packet, like
Raw packet = RTP Header + opus payload ( The opus payload has 20 msec,
and 1 channel only)
I removed the RTP header and now i have only
opus payload = Raw packet - RTP Header
The opus payload is now (1 byte TOC) and rest of N-1 bytes
2017 Feb 13
1
Installing Libspeex in VLC
Good day everyone,
I'm trying to run .speex audio files in VLC. So I found a link to libspeex
in VLC website, and I downloaded the package. Anyway, I don't know how to
install it from now, once it's in a tar.gz format.
Do I have to extract the files and paste it in VLC folder?
P.S.: I'm using Win7.
Thx a lot.
Best regards,
Ulisses
-------------- next part --------------
An
2013 May 23
2
ASM runtime detection and optimizations
I wrote a proof of concept regarding the cpu capabilities runtime
detection and choice of optimized function. I follow design which had
been discussed on IRC.
Also, i notice a little drawback: we must propagate the arch index
through functions which don't have codec state as argument.
However, if it's look good, i will continue to implement it.
Best regards,
--
Aur?lien Zanelli
2014 Apr 30
0
1276 Bytes returned by opus_encode
Maybe i found the source of the problem.
The basestation is running several threads. One per sending client and
one per receiving client. In each thread there is either an
opus_encode() or an opus_decode() but there is in total only one
OpusEncoder and one OpusDecoder defined which where used in every
thread. Now every thread has it own OpusEncoder or OpusDecoder.
After 20minutes of audiostreaming
2012 Nov 13
1
Integer overflow in opus_packet_parse_impl
Hello,
there is a chance for an integer overflow in opus_packet_parse_impl():
int padding=0;
int p;
do {
if (len<=0)
return OPUS_INVALID_PACKET;
p = *data++;
len--;
padding += p==255 ? 254: p;
} while (p==255);
len -= padding;
...
if (len<0)
return OPUS_INVALID_PACKET;
When ~16 MB of 0xff bytes is fed to the decoder, the padding
2015 Aug 04
1
[PATCH] Simplify and generalize implementation of align(). Should be very efficient on sensible platforms, and correct everywhere.
---
src/opus_private.h | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/opus_private.h b/src/opus_private.h
index 63338fe..5bbd7dc 100644
--- a/src/opus_private.h
+++ b/src/opus_private.h
@@ -33,6 +33,8 @@
#include "opus.h"
#include "celt.h"
+#include <stddef.h> /* offsetof */
+
struct OpusRepacketizer {
unsigned char
2016 Jan 27
1
opus-tools: fix PIE configure test
In opus-tools, the current PIE configure test assumes that the opus
headers have been installed under the default header search path
of the compiler. This isn't necessarily the case (/usr/local,
/opt, ...).
Straightforward fix:
--- configure.ac.orig Thu Jun 12 02:11:24 2014
+++ configure.ac Wed Jan 27 16:50:22 2016
@@ -261,11 +261,11 @@
saved_CFLAGS="$CFLAGS"
2018 Jun 29
1
OPUS on cortex M4
Hi everybody
I wrote a couple of months ago about implementing the opus codec on a DK52 from Nordic (nrf52832 MCU, Cortex M4). In the meantime I got a bit further and would again like to ask some questions.
My settings:
I included all the opus files into my project (opus-1.2.1)
Defined: FIXED POINT, VAR_ARRAYS, DISABLE FLOAT API, OPUS_BUILD, CELT_MODE_ONLY
I am able to allocate enough memory
2017 Apr 28
0
Encoder_porting_to_SAMV71
Hi to all..
I'm trying to build static library for opus encoder, and include it to
my project.
Does anyone done anything similar with ARM compilers like arm-none-eabi-gcc?
Thanks!
---
Ovaj email je proveren na maliciozne programe od strane Avast antivirus softvera.
https://www.avast.com/antivirus