Displaying 20 results from an estimated 1100 matches similar to: "[PATCH] Fix const struct to work with C++ compilation"
2013 Jul 18
2
Help building OPUS library using FIXED_POINT option
Hi,
We are rebasing our audio compression subsystem using OPUS rather than SPEEX. The platform is Android but this piece is written in C code: we need to support armv5/armv7/x86 architectures.... and we use the released opus-1.1beta package from here<http://downloads.xiph.org/releases/opus/opus-1.1-beta.tar.gz>.
A lot of our OPUS build system + code to drive the audio compression has been
2012 Oct 23
1
MSVC compatibility patch for current master branch
--
Joshua Bowman
Silverback Networks
(559) 305-3770
silverbacknet at gmail.com
www.silverbacknetworks.net
-------------- next part --------------
src/analysis.c | 6 +++---
src/mlp.c | 3 +++
src/opus.vcxproj | 5 +++++
src/opus.vcxproj.filters | 15 +++++++++++++++
src/opus_demo.vcxproj | 4 ++++
src/opus_demo.vcxproj.filters |
2013 Jul 18
0
Help building OPUS library using FIXED_POINT option
On 13-07-18 8:12 AM, Dubois-Rande, Antoine wrote:
> C:/android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/lib0.a(analysis.o): in function
> run_analysis:jni/src/libopus/src/analysis.c:636: error: undefined reference to
> 'optimize_framesize'
2019 May 27
0
opus-1.3.1 patch for ARM Cortex-M4F (single precision)
The patch prevents KEIL MDK compile warnings, like:
warning: #1035-d: single-precision operand implicitly converted to
double-precision
Actually ARM Cortex-M4F has only a *single precision* (float) FPU.
It's suit for all platforms.
See the comment at the begin of patch file.
Sincerely
Forrest Zhang
-------------- next part --------------
Specify the floating point constant with single
2015 Jan 20
0
[RFC PATCH v1 2/2] armv7(float): Optimize encode usecase using NE10 library
Optimize opus encode (float only) usecase using ARM NE10
library. Mainly effects opus_fft and ctl_mdct_forward
and related functions.
This optimization can be used for ARM CPUs that have NEON
VFP unit. This patch only enables optimizations for ARMv7.
Official ARM NE10 library page available at
http://projectne10.github.io/Ne10/
To enable this optimization, use
--enable-intrinsics
2015 Feb 04
0
[RFC PATCH v2] armv7(float): Optimize encode usecase using NE10 library
Optimize opus encode (float only) usecase using ARM NE10
library. Mainly effects opus_fft and ctl_mdct_forward
and related functions.
This optimization can be used for ARM CPUs that have NEON
VFP unit. This patch only enables optimizations for ARMv7.
Official ARM NE10 library page available at
http://projectne10.github.io/Ne10/
To enable this optimization, use
--enable-intrinsics
2015 Mar 03
0
[RFC PATCHv3] armv7(float): Optimize encode usecase using NE10 library
Optimize opus encode (float only) usecase using ARM NE10
library. Mainly effects opus_fft and ctl_mdct_forward
and related functions.
This optimization can be used for ARM CPUs that have NEON
VFP unit. This patch only enables optimizations for ARMv7.
Official ARM NE10 library page available at
http://projectne10.github.io/Ne10/
To enable this optimization, use
--enable-intrinsics
2015 May 08
0
[[RFC PATCH v2]: Ne10 fft fixed and previous 1/8] armv7(float): Optimize encode usecase using NE10 library
Optimize opus encode (float only) usecase using ARM NE10
library. Mainly effects opus_fft and ctl_mdct_forward
and related functions.
This optimization can be used for ARM CPUs that have NEON
VFP unit. This patch only enables optimizations for ARMv7.
Official ARM NE10 library page available at
http://projectne10.github.io/Ne10/
To enable this optimization, use
--enable-intrinsics
2008 Sep 15
2
1.2rc1
I am in the process of adding speex 1.2rc1 to a project of mine, not
via compiling as a static library yet including the source and
compiling with my own to create a dynamic link library. This worked
fine with the last beta release yet is causing problems with this
release candidate. The problem is in the file scal.c which is about
M_PI being undefined, this file was added to speex in said
2014 Apr 15
0
[PATCH 2/3] Use fabsf() instead of fabs() since we have floats, not double
Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
---
libspeexdsp/resample.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/libspeexdsp/resample.c b/libspeexdsp/resample.c
index e32ca45..a19b997 100644
--- a/libspeexdsp/resample.c
+++ b/libspeexdsp/resample.c
@@ -85,7 +85,7 @@ static void speex_free (void *ptr) {free(ptr);}
#ifdef FIXED_POINT
#define
2014 Apr 15
2
[PATCH 2/3] Use fabsf() instead of fabs() since we have floats, not double
On Tue, Apr 15, 2014 at 12:33 PM, Peter Meerwald <pmeerw at pmeerw.net> wrote:
> Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
> ---
> libspeexdsp/resample.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/libspeexdsp/resample.c b/libspeexdsp/resample.c
> index e32ca45..a19b997 100644
> ---
2007 Jun 18
1
two bessel function bugs for nu<0
#bug 1: besselI() for nu<0 and expon.scaled=TRUE
#tested with R-devel (2007-06-17 r41981)
x <- 2.3
nu <- -0.4
print(paste(besselI(x, nu, TRUE), "=", exp(-x)*besselI(x, nu, FALSE)))
#fix:
#$ diff bessel_i_old.c bessel_i_new.c
#57c57
#< bessel_k(x, -alpha, expo) * ((ize == 1)? 2. : 2.*exp(-x))/M_PI
#---
#> bessel_k(x, -alpha, expo) * ((ize == 1)? 2. :
2002 Aug 16
2
Setting up the trig tables.
As some of you know, I'm creating a hardware MDCT core. At the moment
I'm working out the best way to create a lookup table for the trig
values, as set up in mdct_init:
/* trig lookups... */
for(i=0;i<n/4;i++){
T[i*2]=FLOAT_CONV(cos((M_PI/n)*(4*i)));
T[i*2+1]=FLOAT_CONV(-sin((M_PI/n)*(4*i)));
T[n2+i*2]=FLOAT_CONV(cos((M_PI/(2*n))*(2*i+1)));
2011 Mar 03
1
fixed point code
Hi,
I am looking into fixed-point code of the CELT decoder for real-time application. Here are some questions..
[1] array, window[]
The array, window[] is being initialized from a function below in modes.c. This array is being initialized differently for the decoder, depending on frame size and sampling freq. of the bitstream ..
Could you provide us with fixed-point code for initialization of
2010 Jun 07
0
No subject
void inverse_mdct_slow(float *buffer, int n)
{
=A0=A0 int i,j;
=A0=A0 int n2 =3D n >> 1;
=A0=A0 float *x =3D (float *) malloc(sizeof(*x) * n2);
=A0=A0 memcpy(x, buffer, sizeof(*x) * n2);
=A0=A0 for (i=3D0; i < n; ++i) {
=A0=A0=A0=A0=A0 float acc =3D 0;
=A0=A0=A0=A0=A0 for (j=3D0; j < n2; ++j)
=A0=A0=A0=A0=A0=A0=A0=A0 // formula from paper:
=A0=A0=A0=A0=A0=A0=A0=A0 //acc +=3D n/4.0f *
2004 Sep 17
0
Why so many lossless formats?
Oops, I was a bit sloppy in my organization, and also sloppy on a few facts.
I did not intend to imply that A-52 was lossless - I was merely using it as an
example of an open specification format that cannot be implemented and sold
without being licensed. I'm glad that we are finally getting lossless formats
accepted in large public standards. The liba52 library may not be legal. I
2012 Oct 19
2
bug reports and missing license headers
Hi all!
What is the right way to report bugs in libopus? I couldn't find any
publicly available bugtracker.
Anyway, the problem I need to report is that some source files in
libopus are missing copyright headers. This breaks license check
script that we use in chromium to validate licenses for third-party
dependencies. Specifically the following files don't have copyright
header:
2009 Jul 23
1
Activation Functions in Package Neural
Hi,
I am trying to build a VERY basic neural network as a practice before
hopefully increasing my scope. To do so, I have been using package "neural"
and the MLP related functions (mlp and mlptrain) within that package.
So far, I have created a basic network, but I have been unable to change the
default activation function. If someone has a suggestion, please advise.
The goal of the
2004 Sep 23
0
Why so many lossless formats?
First off, I'm not an expert in this field, but I thought I could
probably answer a few of your questions. If anyone else wants to give a
more complete explanation, please do.
Brian Willoughby wrote:
> Hi folks,
>
> I'm trying to get a handle on the many lossless audio formats from
> the perspective of a software developer. I love the FLAC format
> because it is open
2010 May 08
2
String manipulation
Dear community,
I have a problem with a string conversion:
> text
[1] "" "and" "\xc1d\xe1m"
[4] "graphical" "interface" "MLP"
[7] "Nagy" "networks" "Networks"
[10] "neural" "Neural"