Displaying 20 results from an estimated 306 matches for "fixed_point".
2007 Oct 19
2
FIXED_POINT issue
Hi,
I have an application for Windows that encodes speex into a QT Movie. This
all work just fine. I am porting it to Windows Mobile and read to use the
FIXED_POINT define for better performance. I decided to test FIXED_POINT on
Windows and noticed that with FIXED_POINT the audio was garbled where before
it was fine without FIXED_POINT defined. Is there any known issues or
anything I must do when FIXED_POINT is defined?
Cheers,
- Keith
2007 Oct 20
2
FIXED_POINT issue
Hi,
Should FIXED_POINT work fine on WIN32 or is it just for CE, Symbian and TI?
- Keith
----- Original Message -----
From: "Jean-Marc Valin" <jean-marc.valin@usherbrooke.ca>
To: "Keith Gurganus" <kgurganus@zygodigital.com>
Cc: <speex-dev@xiph.org>
Sent: Friday, October 19, 2007 10...
2015 Dec 08
2
[Aarch64 v2 02/18] Reorganize ARM CPU #ifdefs.
Jonathan Lennox wrote:
> -# if defined(FIXED_POINT)
> +# if defined(FIXED_POINT) && \
> + ((defined(OPUS_ARM_MAY_HAVE_NEON) && !defined(OPUS_ARM_PRESUME_NEON)) || \
> + (defined(OPUS_ARM_MAY_HAVE_MEDIA) && !defined(OPUS_ARM_PRESUME_MEDIA)) || \
> + (defined(OPUS_ARM_MAY_HAVE_EDSP) && !defined(OPUS_ARM_P...
2007 Oct 20
0
FIXED_POINT issue
Keith Gurganus wrote:
> Should FIXED_POINT work fine on WIN32 or is it just for CE, Symbian and TI?
Fixed-point should work on any platform that can multiply two 16-bit
integers, including Win32 (that is, until MS releases it's proprietary
replacement for integers).
Jean-Marc
> - Keith
>
> ----- Original Message ----- From...
2019 Jun 14
0
resample of libopusenc-0.2.1 outputs all zeros if define FIXED_POINT
Actually opus-tools-0.2 has the same issue.
Sincerely
Forrest Zhang
-------------- next part --------------
Add "#define FIXED_POINT 1" into the top of resample.c, outputs of resample are all zeros.
Actually the data transform is required before/after calling speex_resampler_process_native().
diff -Naupr libopusenc-0.2.1-vanilla/src/resample.c libopusenc-0.2.1/src/resample.c
--- libopusenc-0.2.1-vanilla/src/resample.c 201...
2004 Oct 22
1
FIXED_POINT warns on compute_weighted_codebook
...trying to compile a fixed point version of lipspeex on desktop
windows environment. a short reason for the complicated story is that
we need to keep the 'engine' part of our project same across the various
ports of our voip project (blame the pointy haired boss).
now, when i compile with FIXED_POINT defined in the Visual C++ 6.0, i get
these errors:
e:\phonestack\engine\speex\cb_search.c(185) : warning C4133: 'function' :
incompatible types - from 'short *' to 'float *'
e:\phonestack\engine\speex\nb_celp.c(875) : warning C4761: integral size
mismatch in argument; c...
2014 Nov 21
0
[RFC PATCHv1] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...ss_fft_guts.h
index 5e3d58f..11a2676 100644
--- a/celt/_kiss_fft_guts.h
+++ b/celt/_kiss_fft_guts.h
@@ -90,11 +90,11 @@
do {(res).r = ADD32((res).r,(a).r); (res).i = SUB32((res).i,(a).i); \
}while(0)
-#if defined(OPUS_ARM_INLINE_ASM)
+#if defined(OPUS_ARM_INLINE_ASM) && defined(FIXED_POINT)
#include "arm/kiss_fft_armv4.h"
#endif
-#if defined(OPUS_ARM_INLINE_EDSP)
+#if defined(OPUS_ARM_INLINE_EDSP) && defined(FIXED_POINT)
#include "arm/kiss_fft_armv5e.h"
#endif
#if defined(MIPSr1_ASM)
diff --git a/celt/arch.h b/celt/arch.h
index 9f74ddd..0e3061c 1006...
2013 Jul 08
1
patch to fix error in src/opus_multistream_encoder.c when DISABLE_FLOAT_API is defined
Hello,
for your consideration.
The following patch moves the channel_pos()
function from within the #if !defined(DISABLE_FLOAT_API).
This change is required when compiling with FIXED_POINT
and DISABLE_FLOAT_API defined.
#### ###
diff --git a/src/opus_multistream_encoder.c b/src/opus_multistream_encoder.c
index 3efab53..6f3eb53 100644
--- a/src/opus_multistream_encoder.c
+++ b/src/opus_multistream_encoder.c
@@ -454,7 +454,9 @@ static int opus_multistream_encode_native
unsigned...
2015 May 15
0
[RFC V3 4/8] aarch64: Enable intrinsics for aarch64
...elt/arm/arm_celt_map.c b/celt/arm/arm_celt_map.c
index f132fe1..918e6cf 100644
--- a/celt/arm/arm_celt_map.c
+++ b/celt/arm/arm_celt_map.c
@@ -44,7 +44,7 @@ opus_val32 (*const CELT_PITCH_XCORR_IMPL[OPUS_ARCHMASK+1])(const opus_val16 *,
MAY_HAVE_NEON(celt_pitch_xcorr) /* NEON */
};
# else /* !FIXED_POINT */
-# if defined(OPUS_ARM_NEON_INTR)
+# if defined(OPUS_ARM_MAY_HAVE_NEON_INTR)
void (*const CELT_PITCH_XCORR_IMPL[OPUS_ARCHMASK+1])(const opus_val16 *,
const opus_val16 *, opus_val32 *, int, int) = {
celt_pitch_xcorr_c, /* ARMv4 */
@@ -113,7 +113,7 @@ void (*const CLT_MDCT_...
2010 Mar 06
1
Symbian/S60 encoding failures when building -O2/-O1 optimization and FIXED_POINT
Hello -
We are building Speex 1.2rc1 on Symbian/S60 using the GNU
csl-arm-2005Q1C tool chain provided in the S60 SDK. We build with the
supplied config.h and define FIXED_POINT to 1.
We found that the encoded audio is "garbled" when we build with GCC -O1
or -O2 optimization level with fixed point enabled. But if fixed point
is enabled and no GCC optimization level is specified, the encoded audio
is correct. The encoded audio is also correct with fixed poin...
2009 Sep 15
1
FIXED_POINT
I have build celt with FIXED_POINT option (latest 0.6.1 as well as from the
git repo) on windows. However I am not getting a valid output (all samples
are saturated) when I try to decode with this version. The input file was
encoded with the same fixed point version. Does fixed point version work at
all?
Following are the comma...
2015 Dec 10
0
[Aarch64 v2 02/18] Reorganize ARM CPU #ifdefs.
> On Dec 8, 2015, at 12:13 PM, Timothy B. Terriberry <tterribe at xiph.org> wrote:
>
> Jonathan Lennox wrote:
>> -# if defined(FIXED_POINT)
>> +# if defined(FIXED_POINT) && \
>> + ((defined(OPUS_ARM_MAY_HAVE_NEON) && !defined(OPUS_ARM_PRESUME_NEON)) || \
>> + (defined(OPUS_ARM_MAY_HAVE_MEDIA) && !defined(OPUS_ARM_PRESUME_MEDIA)) || \
>> + (defined(OPUS_ARM_MAY_HAVE_EDSP) && !de...
2004 Sep 29
3
Fixed point bug in 1.1.6
..._org.wav is original file.
Both output files was created using same program by compressing from wav
to speex, then decompressing from speex to wav (using speex_encode_int
and speex_decode_int).
Only difference was used speex library.
krwawa_fixed.wav was created by libspeex compiled with defined FIXED_POINT
krwawa_float.wav was created without FIXED_POINT.
When samples values do not exceed (-32000;32000) eveything is ok.
Testing platform was Pocket PC, with ARM cpu, libspeex compiled in MsEVC++4.
2010 Jul 07
1
FIXED_POINT
Hi,
I've recently successful built and run CELT under Windows using
"testcelt.c" example file. Since I'm about to port it on a embedded
platform i activated the FIXED_POINT #define.
I included fixed_generic.h and without other changes to the code i tried
to encode and decode the same file i previously used.
The output though is completely saturated i.e. it jumps from -32768 to
+32767.
I then tried decoding an encoded in floating point mode file with a fixed
point d...
2015 Nov 21
0
[Aarch64 v2 02/18] Reorganize ARM CPU #ifdefs.
...| 19 ++++++++++++++-----
2 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/celt/arm/arm_celt_map.c b/celt/arm/arm_celt_map.c
index ee6c244..f195315 100644
--- a/celt/arm/arm_celt_map.c
+++ b/celt/arm/arm_celt_map.c
@@ -35,7 +35,10 @@
#if defined(OPUS_HAVE_RTCD)
-# if defined(FIXED_POINT)
+# if defined(FIXED_POINT) && \
+ ((defined(OPUS_ARM_MAY_HAVE_NEON) && !defined(OPUS_ARM_PRESUME_NEON)) || \
+ (defined(OPUS_ARM_MAY_HAVE_MEDIA) && !defined(OPUS_ARM_PRESUME_MEDIA)) || \
+ (defined(OPUS_ARM_MAY_HAVE_EDSP) && !defined(OPUS_ARM_PRESUME_EDSP)))
opus...
2015 Aug 05
0
[PATCH 2/8] Reorganize pitch_arm.h, so RTCD works for intrinsics functions as well.
...index 0c9acff..cc6b706 100644
--- a/celt/arm/arm_celt_map.c
+++ b/celt/arm/arm_celt_map.c
@@ -94,9 +94,14 @@ void (*const CLT_MDCT_BACKWARD_IMPL[OPUS_ARCHMASK+1])(const mdct_lookup *l,
clt_mdct_backward_neon, /* Neon with NE10 */
};
-#endif
+#endif /* HAVE_ARM_NE10 */
# if defined(FIXED_POINT)
+
+#if defined(OPUS_ARM_MAY_HAVE_NEON) || defined(OPUS_ARM_MAY_HAVE_EDSP)
+
+#if !defined(OPUS_ARM_PRESUME_NEON) && (!defined(OPUS_ARM_PRESUME_EDSP) || defined(OPUS_ARM_MAY_HAVE_NEON))
+
opus_val32 (*const CELT_PITCH_XCORR_IMPL[OPUS_ARCHMASK+1])(const opus_val16 *,
const opus_val16 *...
2005 Oct 12
2
help using libspeex in win32
Hi all,
i'm going to try to create an app using libspeex (Speex 1.1.10) and Visual
Studio and just have a few questions.
First, what's the difference between libspeex and libspeex_dynamic? Do I
need to include both projects in my new workspace?
Next, how do I enable fixed_point using libspeex? Am I correct in assuming
that an ARM processor would be able to record speech as speex files in
real-time with fixed_point enabled? (I think I read this in a forum
somewhere...)
Finally, forgive me for asking an *obvious* question if it is... but
libspeex (together with libogg) was...
2016 Sep 13
4
[PATCH 12/15] Replace call of celt_inner_prod_c() (step 1)
...| 2 +-
src/opus_multistream_encoder.c | 2 +-
5 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/celt/bands.c b/celt/bands.c
index bbe8a4c..1ab24aa 100644
--- a/celt/bands.c
+++ b/celt/bands.c
@@ -92,10 +92,11 @@ static int bitexact_log2tan(int isin,int icos)
#ifdef FIXED_POINT
/* Compute the amplitude (sqrt energy) in each of the bands */
-void compute_band_energies(const CELTMode *m, const celt_sig *X, celt_ener *bandE, int end, int C, int LM)
+void compute_band_energies(const CELTMode *m, const celt_sig *X, celt_ener *bandE, int end, int C, int LM, int arch)
{
in...
2009 Dec 02
1
bug found in CELT 0.6.1, fix proposed.
...e de Vries.
Senior Software Engineer
Open Access.
*** libcelt/quant_bands.c Wed Dec 2 10:23:42 2009
--- libcelt/orig/quant_bands.c Wed Oct 21 14:43:10 2009
***************
*** 42,52 ****
#include "mathops.h"
#include "stack_alloc.h"
- #define E_MEANS_SIZE (5)
#ifdef FIXED_POINT
! const celt_word16 eMeans[E_MEANS_SIZE] = {1920, -341, -512, -107, 43};
#else
! const celt_word16 eMeans[E_MEANS_SIZE] = {7.5f, -1.33f, -2.f, -0.42f, 0.17f};
#endif
/* FIXME: Implement for stereo */
--- 42,51 ----
#include "mathops.h"
#include "stack_alloc.h"...
2014 Nov 21
4
[RFC PATCHv1] cover: celt_pitch_xcorr: Introduce ARM neon intrinsics
Hello,
I received feedback from engineers working on NE10 [1] that
it would be better to use NE10 [1] for FFT optimizations for
opus use cases. However, these FFT patches are currently in review
and haven't been integrated into NE10 yet.
While the FFT functions in NE10 are getting baked, I wanted
to optimize the celt_pitch_xcorr (floating point only) and use
it to introduce ARM NEON