Displaying 20 results from an estimated 35 matches for "celt_encod".
Did you mean:
celt_encode
2010 Jul 19
1
Endianess Switch?
Jean-Marc,
It appears that since testcelt reads a WAVE file from disck and passes the
data directly to celt_encode, so that celt_encode's "in" buffer must be
expecting little-endian formatted packets. Is this correct? Is there
endiness switch somewhere?
Thx
MikeH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attach...
2013 Nov 13
2
Compiling FFmpeg with libopencore-amrnb and opus-git.
...hat's causing these errors:-
/home/user/build/lib/libopencore-amrnb.a(preemph.o): In function `preemphasis':
/home/user/build/opencore-amr-0.1.3/amrnb/../opencore/codecs_v2/audio/gsm_amr/amr_nb/dec/src/preemph.cpp:193: multiple definition of `preemphasis'
/home/user/build/lib/libopus.a(celt_encoder.o):/home/user/build/opus/celt/celt_encoder.c:455: first defined here
collect2: error: ld returned 1 exit status
Makefile:105: recipe for target 'ffmpeg_g' failed
make: *** [ffmpeg_g] Error 1
Compiling FFmpeg with "--enable-libopencore-amrnb --enable-libopus".
With opus-git-a71c...
2010 Mar 03
2
uint decode error on visual studio...
...char* encodedbuffer=(unsigned char*)malloc(bytes_per_packet);
CELTMode* mode=celt_mode_create(gSampleRate,gFrameSize,&error);
if(mode==NULL || error!=CELT_OK)
{
printf("ERROR: celt_mode_create %s\n",celt_strerror(error));
return -1;
}
int offset=0;
int res=0;
CELTEncoder* encoder=celt_encoder_create(mode,gNrChannels,&error);
if(encoder==NULL || error!=CELT_OK)
{
printf("ERROR: celt_encoder_create %s\n",celt_strerror(error));
return -1;
}
while((res=fread(pcmbuffer,sizeof(celt_int16)*gFrameSize*gNrChannels,1,inputfile))==1)
{
int ret=celt_encode(encoder,pcmbuffer,NULL...
2019 May 27
0
opus-1.3.1 patch for ARM Cortex-M4F (single precision)
...The compiler gives the following warning to the line A
warning: #1035-d: single-precision operand implicitly converted to double-precision
More details, refer to:
https://mcuoneclipse.com/2019/03/29/be-aware-floating-point-operations-on-arm-cortex-m4f/
diff -Naupr opus-1.3.1-vanilla/celt/celt_encoder.c opus-1.3.1/celt/celt_encoder.c
--- opus-1.3.1-vanilla/celt/celt_encoder.c 2018-10-17 03:52:45 +0800
+++ opus-1.3.1/celt/celt_encoder.c 2019-05-27 17:15:55 +0800
@@ -1321,7 +1321,7 @@ static int compute_vbr(const CELTMode *m
/*printf("%f %f %f %f %d %d ", st->analysis.activity...
2015 Mar 04
1
[RFC PATCH v1] Decode(float) optimize using libNe10
...elt/arm/arm_celt_map.c | 22 ++++++++++
celt/arm/celt_ne10_fft.c | 26 +++++++++++
celt/arm/celt_ne10_mdct.c | 102 ++++++++++++++++++++++++++++++++++++++++++++
celt/arm/fft_arm.h | 8 ++++
celt/arm/mdct_arm.h | 7 +++
celt/celt_decoder.c | 18 ++++----
celt/celt_encoder.c | 3 +-
celt/kiss_fft.c | 4 +-
celt/kiss_fft.h | 13 +++++-
celt/mdct.c | 5 ++-
celt/mdct.h | 22 ++++++++--
celt/tests/test_unit_dft.c | 2 +-
celt/tests/test_unit_mdct.c | 2 +-
13 files changed, 214 insertions(+),...
2010 Sep 08
1
Celt 0.7.1 Fixed math
Hi,
I'm using Celt 0.7.1 in fixed math mode. In the celt_encode function, if
the variable has_pitch is true, the function pitch_search is called.
Within this function the find_best_pitch subfunction is called.
Here the variable "float score;" is defined.
Is this right? I was expecting not to see any float declaration in the
fixed math code. Is it...
2013 Nov 13
0
Compiling FFmpeg with libopencore-amrnb and opus-git.
...ese errors:-
>
> /home/user/build/lib/libopencore-amrnb.a(preemph.o): In function `preemphasis':
> /home/user/build/opencore-amr-0.1.3/amrnb/../opencore/codecs_v2/audio/gsm_amr/amr_nb/dec/src/preemph.cpp:193: multiple definition of `preemphasis'
> /home/user/build/lib/libopus.a(celt_encoder.o):/home/user/build/opus/celt/celt_encoder.c:455: first defined here
> collect2: error: ld returned 1 exit status
> Makefile:105: recipe for target 'ffmpeg_g' failed
> make: *** [ffmpeg_g] Error 1
>
> Compiling FFmpeg with "--enable-libopencore-amrnb --enable-libopus&...
2013 Dec 09
1
incorrect use of MAX16
Hello,
in celt/celt_encoder.c line 369, the 'b' argument to MAX16
can sometimes be greater than what can be represented by
a 16bit integer. The default definition of MAX16 is type-less,
but I am working on an architecture with hardware support for
min/max of 16bit. Changing the default definition to take
advantage...
2015 Mar 04
0
[RFC PATCH v1] armv7(float): Optimize decode usecase using NE10 library
...elt/arm/arm_celt_map.c | 22 ++++++++++
celt/arm/celt_ne10_fft.c | 26 +++++++++++
celt/arm/celt_ne10_mdct.c | 102 ++++++++++++++++++++++++++++++++++++++++++++
celt/arm/fft_arm.h | 8 ++++
celt/arm/mdct_arm.h | 7 +++
celt/celt_decoder.c | 18 ++++----
celt/celt_encoder.c | 3 +-
celt/kiss_fft.c | 4 +-
celt/kiss_fft.h | 13 +++++-
celt/mdct.c | 5 ++-
celt/mdct.h | 22 ++++++++--
celt/tests/test_unit_dft.c | 2 +-
celt/tests/test_unit_mdct.c | 2 +-
13 files changed, 214 insertions(+),...
2015 Apr 28
0
[RFC PATCH v1 2/8] armv7(float): Optimize decode usecase using NE10 library
...elt/arm/arm_celt_map.c | 22 ++++++++++
celt/arm/celt_ne10_fft.c | 26 +++++++++++
celt/arm/celt_ne10_mdct.c | 102 ++++++++++++++++++++++++++++++++++++++++++++
celt/arm/fft_arm.h | 8 ++++
celt/arm/mdct_arm.h | 7 +++
celt/celt_decoder.c | 18 ++++----
celt/celt_encoder.c | 3 +-
celt/kiss_fft.c | 4 +-
celt/kiss_fft.h | 13 +++++-
celt/mdct.c | 5 ++-
celt/mdct.h | 22 ++++++++--
celt/tests/test_unit_dft.c | 2 +-
celt/tests/test_unit_mdct.c | 2 +-
13 files changed, 214 insertions(+),...
2018 Jun 29
1
Aborting on NaN in CELT - what are the conditions for crash in transient_analysis
Hello,
in this commit in celt_encoder.c
https://git.xiph.org/?p=opus.git;a=commitdiff;h=652c4559f593d3aad78bd5c85a216eeae7859429
I see the note:
+ /* We should never see NaNs here. If we find any, then
something really bad happened and we better abort
+ before it does any damage later on. If these asserts are
disabled (...
2016 Sep 13
4
[PATCH 12/15] Replace call of celt_inner_prod_c() (step 1)
Should call celt_inner_prod().
---
celt/bands.c | 7 ++++---
celt/bands.h | 2 +-
celt/celt_encoder.c | 6 +++---
celt/pitch.c | 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 bit...
2013 May 23
2
ASM runtime detection and optimizations
...mples before the loss. */
- celt_fir(exc+MAX_PERIOD-exc_length, lpc+c*LPC_ORDER,
+ celt_fir[st->arch&OPUS_ARCHMASK](exc+MAX_PERIOD-exc_length, lpc+c*LPC_ORDER,
exc+MAX_PERIOD-exc_length, exc_length, LPC_ORDER, lpc_mem);
}
diff --git a/celt/celt_encoder.c b/celt/celt_encoder.c
index 26e6ebb..08fddd0 100644
--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -33,6 +33,7 @@
#define CELT_ENCODER_C
+#include "cpu_support.h"
#include "os_support.h"
#include "mdct.h"
#include <math.h>
@@ -75,6 +76,7 @@ st...
2009 Oct 15
1
multichannel
Hi All,
Would it be possible to encode n channels with the CELT api?
I can't find a negative or positive in the CELT docs; all I could find
is c a check on the nr of channels in wav_io.c in the CELT tools. No
clear insight on wheter or not the channels parameter in
celt_mode_create can be > 2.
Answers on the list were (thanks!):
- Sure, You just encode each channel and then store the
2011 Dec 09
0
Porting CELT to the C5515
Jean-marc,
I am trying to port CELT to the ti dsp c5515. I counted a problem when I
try to call a function:
len = celt_encode(enc, in, frame_size, data, bytes_per_packet);
I guess that the problem in the stack allocation variable defined in the
header file stack_alloc.h.
For more info over my platform settings, see the attached files. May be
the global_stack variable is not good configured or not good defined.
Cou...
2015 Aug 03
0
[PATCH 00/10] Patched cleaning up Opus x86 intrinsics configury
...mcpu.c | 6 +-
celt/arm/pitch_arm.h | 4 +-
celt/bands.c | 6 +-
celt/celt.c | 16 +-
celt/celt.h | 12 +-
celt/celt_decoder.c | 6 +-
celt/celt_encoder.c | 4 +-
celt/celt_lpc.h | 2 +-
celt/cpu_support.h | 14 +-
celt/mips/celt_mipsr1.h | 2 +-
celt/pitch.c | 4 +-
celt/pitch.h | 19 +-
celt/test...
2015 Feb 16
0
[RFC PATCH v2] Encode optimize using libNe10
...t/arm/arm_celt_map.c | 47 +++-
> celt/arm/celt_ne10_fft.c | 120 ++++++++++
> celt/arm/celt_ne10_mdct.c | 158 +++++++++++++
> celt/arm/fft_arm.h | 66 ++++++
> celt/arm/mdct_arm.h | 53 +++++
> celt/celt_encoder.c | 13 +-
> celt/dump_modes/Makefile | 23 +-
> celt/dump_modes/dump_modes.c | 21 ++
> celt/dump_modes/dump_modes_arch.h | 41 ++++
> celt/dump_modes/dump_modes_arm_ne10.c | 125 ++++++++++
> celt/kiss_fft.c...
2015 Mar 18
5
[RFC PATCH v1 0/4] Enable aarch64 intrinsics/Ne10
...arm.h | 60 +++++
celt/arm/pitch_arm.h | 4 +-
celt/bands.c | 6 +-
celt/celt.c | 16 +-
celt/celt.h | 12 +-
celt/celt_decoder.c | 24 +-
celt/celt_encoder.c | 20 +-
celt/celt_lpc.h | 2 +-
celt/cpu_support.h | 15 +-
celt/dump_modes/Makefile | 23 +-
celt/dump_modes/dump_modes.c | 21 ++
celt/dump_modes/dump_modes_arch.h | 41 ++++
celt/du...
2015 Mar 03
2
[RFC PATCHv3] Encode optimize using libNe10
...| 34 +--
celt/arm/arm_celt_map.c | 47 +++-
celt/arm/celt_ne10_fft.c | 120 ++++++++++
celt/arm/celt_ne10_mdct.c | 158 +++++++++++++
celt/arm/fft_arm.h | 66 ++++++
celt/arm/mdct_arm.h | 53 +++++
celt/celt_encoder.c | 13 +-
celt/dump_modes/Makefile | 23 +-
celt/dump_modes/dump_modes.c | 21 ++
celt/dump_modes/dump_modes_arch.h | 41 ++++
celt/dump_modes/dump_modes_arm_ne10.c | 125 +++++++++++
celt/kiss_fft.c | 27 ++-
celt/kiss_fft.h...
2014 Feb 15
5
Enable custom modes (Visual C++ Express)
Hi all,
for numerous reasons I am now trying to build Opus with Windows / Visual C++
Express. So far I have been using Linux/OSX/MinGW only. The normal Opus
build works out fine but I wonder how I can enable the Opus-custom-mode with
Visual C++ Express. Can anyone help ?
Thanks in advance,
best
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: