search for: entcod

Displaying 20 results from an estimated 24 matches for "entcod".

Did you mean: encod
2009 Nov 17
1
[PATCH] Change name of libcelt to libceltXYZ
...bcelt/Makefile.am +++ b/libcelt/Makefile.am @@ -11,17 +11,17 @@ TESTS = match-test.sh noinst_SCRIPTS = match-test.sh -lib_LTLIBRARIES = libcelt.la +lib_LTLIBRARIES = libcelt at LIBCELT_SUFFIX@.la # Sources for compilation in the library -libcelt_la_SOURCES = bands.c celt.c cwrs.c ecintrin.h entcode.c \ +libcelt at LIBCELT_SUFFIX@_la_SOURCES = bands.c celt.c cwrs.c ecintrin.h entcode.c \ entdec.c entenc.c header.c kfft_single.c kiss_fft.c kiss_fftr.c laplace.c mdct.c \ modes.c pitch.c psy.c quant_bands.c rangedec.c rangeenc.c rate.c \ vq.c #noinst_HEADERS = -libcelt_la_LDFLAGS = -v...
2011 Mar 03
0
[PATCH] Eliminate the ec_int32 and ec_uint32 typedefs.
...hout some porting effort, so there's no real reason to maintain the typedefs separately. Hopefully we'll replace these all again somedate with a common set of Opus typedefs, but for now this will do. This fixes an issue caused by commit 6c8acbf1, which moved the ec_ilog() prototype from entcode.h to ecintrin.h, where the ec_uint32 typedef was not yet available. Thanks to John Ridges for the report. --- libcelt/bands.c | 2 +- libcelt/bands.h | 2 +- libcelt/celt.c | 12 ++++++------ libcelt/cwrs.c | 2 +- libcelt/cwrs.h | 2 +- libcelt/eci...
2011 Mar 01
1
Another thing it might be nice to fix in CELT
Hi, Bjoern's solution of adding the line: #pragma intrinsic(_BitScanReverse) after the: # include<intrin.h> worked for me, so it solves my debug build problem. However, you still might want to change the location of ec_ilog's prototype in entcode.h for those platforms that don't have an intrinsic like that. Cheers, John Ridges
2009 Jan 14
0
[PATCH] Pitch now quantised at the band level, got rid of all the VQ code.
...elt/quant_pitch.h diff --git a/libcelt/Makefile.am b/libcelt/Makefile.am index d34c1dc..7c574cc 100644 --- a/libcelt/Makefile.am +++ b/libcelt/Makefile.am @@ -16,7 +16,7 @@ lib_LTLIBRARIES = libcelt.la # Sources for compilation in the library libcelt_la_SOURCES = bands.c celt.c cwrs.c ecintrin.h entcode.c \ entdec.c entenc.c header.c kfft_single.c kiss_fft.c kiss_fftr.c laplace.c mdct.c \ - modes.c pitch.c psy.c quant_bands.c quant_pitch.c rangedec.c rangeenc.c rate.c \ + modes.c pitch.c psy.c quant_bands.c rangedec.c rangeenc.c rate.c \ vq.c #noinst_HEADERS = @@ -26,8 +26,8 @@ libcelt_la_...
2015 May 15
0
[RFC V3 4/8] aarch64: Enable intrinsics for aarch64
...MAY_HAVE_NEON_INTR)) extern # if defined(FIXED_POINT) opus_val32 diff --git a/celt/tests/test_unit_dft.c b/celt/tests/test_unit_dft.c index 9fbcdc4..e17e26f 100644 --- a/celt/tests/test_unit_dft.c +++ b/celt/tests/test_unit_dft.c @@ -45,8 +45,7 @@ #include "mathops.c" #include "entcode.c" -#if defined(OPUS_HAVE_RTCD) && \ - (defined(OPUS_ARM_ASM) || defined(OPUS_ARM_MAY_HAVE_NEON_INTR)) +#if defined(OPUS_ARM_MAY_HAVE_NEON_INTR) || defined(OPUS_ARM_ASM) #include "arm/armcpu.c" #if !defined(FIXED_POINT) #if defined(HAVE_ARM_NE10) diff --git a/ce...
2019 May 27
0
opus-1.3.1 patch for ARM Cortex-M4F (single precision)
...lt;<(bits)))) /** Negate a 16-bit value */ #define NEG16(x) (-(x)) diff -Naupr opus-1.3.1-vanilla/celt/mathops.h opus-1.3.1/celt/mathops.h --- opus-1.3.1-vanilla/celt/mathops.h 2018-09-26 14:49:41 +0800 +++ opus-1.3.1/celt/mathops.h 2019-05-27 17:17:49 +0800 @@ -38,7 +38,7 @@ #include "entcode.h" #include "os_support.h" -#define PI 3.141592653f +#define PI 3.14159265358979f /* Multiplies two 16-bit fractional values. Bit-exactness of this macro is important */ #define FRAC_MUL16(a,b) ((16384+((opus_int32)(opus_int16)(a)*(opus_int16)(b)))>>15) diff -Naupr opus...
2015 Jan 20
0
[RFC PATCH v1 2/2] armv7(float): Optimize encode usecase using NE10 library
...ne10_twiddles_60[15], +}; +#endif /*end NE10_FFT_PARAMS48000_960*/ diff --git a/celt/tests/test_unit_dft.c b/celt/tests/test_unit_dft.c index 57db0e3..8996f17 100644 --- a/celt/tests/test_unit_dft.c +++ b/celt/tests/test_unit_dft.c @@ -45,6 +45,16 @@ #include "mathops.c" #include "entcode.c" +#if defined(OPUS_HAVE_RTCD) && \ + (defined(OPUS_ARM_ASM) || defined(OPUS_ARM_NEON_INTR)) +#include "arm/armcpu.c" +#if defined(HAVE_ARM_NE10) +#include "arm/celt_ne10_fft.c" +#include "arm/arm_celt_ne10_fft_map.c" +#endif +#elif defined(OPU...
2015 Mar 18
5
[RFC PATCH v1 0/4] Enable aarch64 intrinsics/Ne10
Hi All, Since I continue to base my work on top of Jonathan's patch, and my previous Ne10 fft/ifft/mdct_forward/backward patches, I thought it would be better to just post all new patches as a patch series. Please let me know if anyone disagrees with this approach. You can see wip branch of all latest patches at https://git.linaro.org/people/viswanath.puttagunta/opus.git Branch:
2015 May 08
8
[RFC PATCH v2]: Ne10 fft fixed and previous 0/8]
Hi All, As per Timothy's suggestion, disabling mdct_forward for fixed point. Only effects armv7,armv8: Extend fixed fft NE10 optimizations to mdct Rest of patches are same as in [1] For reference, latest wip code for opus is at [2] Still working with NE10 team at ARM to get corner cases of mdct_forward. Will update with another patch when issue in NE10 gets fixed. Regards, Vish [1]:
2015 May 15
11
[RFC V3 0/8] Ne10 fft fixed and previous
Hi All, Changes from RFC v2 [1] armv7,armv8: Extend fixed fft NE10 optimizations to mdct - Overflow issue fixed by Phil at ARM. Ne10 wip at [2]. Should be upstream soon. - So, re-enabled using fixed fft for mdct_forward which was disabled in RFCv2 armv7,armv8: Optimize fixed point fft using NE10 library - Thanks to Jonathan Lennox, fixed some build fixes on iOS and some copy-paste errors Rest
2015 Mar 31
6
[RFC PATCH v1 0/5] aarch64: celt_pitch_xcorr: Fixed point series
Hi Timothy, As I mentioned earlier [1], I now fixed compile issues with fixed point and resubmitting the patch. I also have new patch that does intrinsics optimizations for celt_pitch_xcorr targetting aarch64. You can find my latest work-in-progress branch at [2] For reference, you can use the Ne10 pre-built libraries at [3] Note that I am working with Phil at ARM to get my patch at [4]
2015 Apr 28
10
[RFC PATCH v1 0/8] Ne10 fft fixed and previous
Hello Timothy / Jean-Marc / opus-dev, This patch series is follow up on work I posted on [1]. In addition to what was posted on [1], this patch series mainly integrates Fixed point FFT implementations in NE10 library into opus. You can view my opus wip code at [2]. Note that while I found some issues both with the NE10 library(fixed fft) and with Linaro toolchain (armv8 intrinsics), the work
2015 May 15
0
[RFC V3 7/8] armv7, armv8: Optimize fixed point fft using NE10 library
...lt/dump_modes/Makefile @@ -19,7 +19,8 @@ INCLUDES += -I$(NE10_INCDIR) -DHAVE_ARM_NE10 -DOPUS_ARM_PRESUME_NEON_INTR LIBDIR = -l:$(NE10_LIBDIR)/libNE10.so SOURCES += ../arm/celt_ne10_fft.c \ dump_modes_arm_ne10.c \ - ../arm/armcpu.c + ../arm/armcpu.c \ + ../entcode.c endif all: dump_modes diff --git a/celt/dump_modes/dump_modes_arch.h b/celt/dump_modes/dump_modes_arch.h index 1436926..59073ee 100644 --- a/celt/dump_modes/dump_modes_arch.h +++ b/celt/dump_modes/dump_modes_arch.h @@ -28,11 +28,17 @@ #ifndef DUMP_MODE_ARCH_H #define DUMP_MODE_ARCH_H +#i...
2015 Jan 20
6
[RFC PATCH v1 0/2] Encode optimize using libNE10
Hello opus-dev, I've been cooking up this patchset to integrate NE10 library into opus. Current patchset focuses on encode use case mainly effecting performance of clt_mdct_forward() and opus_fft() (for float only) Glad to report the following on Encode use case: (Measured on my Beaglebone Black Cortex-A8 board) - Performance improvement for encode use case ~= 12.34% (Based on time -p
2015 Feb 04
0
[RFC PATCH v2] armv7(float): Optimize encode usecase using NE10 library
..._C #define TEST_UNIT_DFT_C #include "stack_alloc.h" +#include "pitch.h" +#include "celt_lpc.c" +#include "pitch.c" #include "kiss_fft.h" #include "kiss_fft.c" +#include "mdct.c" #include "mathops.c" #include "entcode.c" +#if defined(OPUS_HAVE_RTCD) && \ + (defined(OPUS_ARM_ASM) || defined(OPUS_ARM_NEON_INTR)) +#include "arm/armcpu.c" +#if defined(HAVE_ARM_NE10) +#include "arm/celt_ne10_fft.c" +#include "arm/celt_ne10_mdct.c" +#include "arm/celt_neon_int...
2015 Mar 03
0
[RFC PATCHv3] armv7(float): Optimize encode usecase using NE10 library
..._C #define TEST_UNIT_DFT_C #include "stack_alloc.h" +#include "pitch.h" +#include "celt_lpc.c" +#include "pitch.c" #include "kiss_fft.h" #include "kiss_fft.c" +#include "mdct.c" #include "mathops.c" #include "entcode.c" +#if defined(OPUS_HAVE_RTCD) && \ + (defined(OPUS_ARM_ASM) || defined(OPUS_ARM_NEON_INTR)) +#include "arm/armcpu.c" +#if defined(HAVE_ARM_NE10) +#include "arm/celt_ne10_fft.c" +#include "arm/celt_ne10_mdct.c" +#endif +#include "arm/celt_...
2015 May 08
0
[[RFC PATCH v2]: Ne10 fft fixed and previous 1/8] armv7(float): Optimize encode usecase using NE10 library
...state_float32_60, +}; + +#endif /* end NE10_FFT_PARAMS48000_960 */ diff --git a/celt/tests/test_unit_dft.c b/celt/tests/test_unit_dft.c index 57db0e3..991ece3 100644 --- a/celt/tests/test_unit_dft.c +++ b/celt/tests/test_unit_dft.c @@ -45,6 +45,23 @@ #include "mathops.c" #include "entcode.c" +#if defined(OPUS_HAVE_RTCD) && \ + (defined(OPUS_ARM_ASM) || defined(OPUS_ARM_NEON_INTR)) +#include "arm/armcpu.c" +#if !defined(FIXED_POINT) +#if defined(HAVE_ARM_NE10) +#include "mdct.c" +#include "arm/celt_ne10_fft.c" +#include "arm/...
2015 Mar 03
1
[RFC PATCH v4] Enable optimize using libNe10
Changes from RFC PATCH v3 - Just rebased on tip - For all else, please see notes from RFC PATCH v3 at http://lists.xiph.org/pipermail/opus/2015-March/002902.html - latest wip opus tree/branch https://git.linaro.org/people/viswanath.puttagunta/Ne10.git branch: rfcv4_final_fft_ne10 Viswanath Puttagunta (1): armv7(float): Optimize encode usecase using NE10 library Makefile.am
2015 Feb 04
4
[RFC PATCH v2] Encode optimize using libNe10
Changes from RFC PATCH v1: - passing arch parameter explicitly - reduced stack usage by ~3.5K by using scaled NE10 fft version - moved all optimization array functions to arm_celt_map.c - Other cleanups pointed out by Timothy Phil, As you mentioned earlier, could you please address all compile and linker errors/warnings coming out of Ne10 library? You can find my working Ne10 repo at [1] You
2015 Mar 03
2
[RFC PATCHv3] Encode optimize using libNe10
Changes from RFC PATCH v2 - fixed compile issue when just compiling for --enable-intrinsics for ARMv7 without NE10 - Notes for NE10: - All compile/link warnings are now in upstream NE10 - Only patch pending upstream in NE10 is the one that needs to add -funsafe-math-optimizations for ARMv7 targets. - Phil Wang @ ARM is working on getting this fixed. - Note that even without