search for: custom_mode

Displaying 20 results from an estimated 41 matches for "custom_mode".

Did you mean: custom_modes
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:
2015 Feb 04
1
opus Digest, Vol 72, Issue 17
Viswanath Puttagunta wrote: > What should we do for power-of-2? I really want to avoid putting > runtime checks if nfft is power of 2 in opus_fft_float_neon. Given the tests that had to be disabled for NE10, I suspect we will not really be able to use it for CUSTOM_MODES, which should be the only time nfft is a power of 2. So I'd suggest just disabling the support when CUSTOM_MODES is enabled and putting in an assert. >> It would not be too ugly if we put them together somewhere and document them well enough. It is a tiny cost to integrate a 3rd party...
2014 Feb 16
0
Enable custom modes (Visual C++ Express)
>>Normally, it should just be a matter of adding >>#define CUSTOM_MODES >>to the Windows config.h file. >Ha ! I just forgot the "S" and typed CUSTOM_MODE -- well, that should be >it. I think I was too quick: Today I compiled the whole project and I get these unresolved symbols: error LNK2001: Nicht aufgel?stes externes Symbol "_opus_custo...
2011 Apr 15
4
Can I use VBR option to change byte_per_packet dynamically ?
Hi,I have been trying some different sample rate and bitrate combinations to get a feel for how CELT behaves,too, like Andrew Lentvorski. But I want to use VBR option.I want to ask a question about VBR in CELT codec.Can we use VBR option in CELT ??? "byte_per_packet" variable in code means constant bit rate, does not it ?In this code : bytes_per_packet is constant.len =
2016 Jul 01
1
silk_warped_autocorrelation_FIX() NEON optimization
Hi all, I'm sending patch "Optimize silk_warped_autocorrelation_FIX() for ARM NEON" in an separate email. It is based on Tim’s aarch64v8 branch https://git.xiph.org/?p=users/tterribe/opus.git;a=shortlog;h=refs/heads/aarch64v8 Thanks for your comments. Linfeng
2015 May 15
0
[RFC V3 7/8] armv7, armv8: Optimize fixed point fft using NE10 library
...opus_val16 *, - const opus_val16 *, opus_val32 *, int, int) = { - celt_pitch_xcorr_c, /* ARMv4 */ - celt_pitch_xcorr_c, /* EDSP */ - celt_pitch_xcorr_c, /* Media */ - celt_pitch_xcorr_float_neon /* Neon */ -}; - #if defined(HAVE_ARM_NE10) #ifdef CUSTOM_MODES int (*const OPUS_FFT_ALLOC_ARCH_IMPL[OPUS_ARCHMASK+1])(kiss_fft_state *st) = { opus_fft_alloc_arch_c, /* ARMv4 */ opus_fft_alloc_arch_c, /* EDSP */ opus_fft_alloc_arch_c, /* Media */ - opus_fft_alloc_arm_float_neon /* Neon with NE10 library support */ + opus_f...
2017 Jan 31
6
[PATCH] Optimize silk_warped_autocorrelation_FIX() for ARM NEON
Hi, Attached is a patch with arm neon optimizations for silk_warped_autocorrelation_FIX(). Please review. Thanks, Felicia -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/opus/attachments/20170131/9a912bb4/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name:
2016 Jul 14
0
[PATCH 2/5] Optimize fixed-point celt_fir_c() for ARM NEON
..., WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#define SKIP_CONFIG_H + +#ifndef CUSTOM_MODES +# define CUSTOM_MODES +#endif + +#include <stdio.h> +#include <string.h> + +#ifndef CELT_C +# define CELT_C +#endif +#include "celt_lpc.h" +#include "modes.h" + +#ifdef FIXED_POINT + +#define MAX_ORDER 32 + +static int test_fir(int arch) +{ + opus_val16 x[MAX_PER...
2019 Apr 02
2
CMake support for Opus proposal (in addition to Autotools)
Right that I had completely missed, I have added the files and verified that it builds with CMake from the tar on Linux (out of the git repo) I am parsing the package_version file from the tarball if it exists so it should maintain the version info. //Marcus ________________________________ From: Jean-Marc Valin <jmvalin at jmvalin.ca> Sent: Tuesday, April 2, 2019 11:38 To: Marcus
2015 Feb 03
2
opus Digest, Vol 72, Issue 17
Hi all, I have already added support for scaled forward non-power-of-2 floating-point FFT: https://github.com/projectNe10/Ne10/commit/79c3d787302f8d74b9bcfe6545d487cdf1b101d9 Two flags are added to cfg structure: is_forward_scaled and is_backward_scaled. By setting is_forward_scaled to anything but zero, ne10_fft_c2c_1d_float32_neon will scale the output. So we can remove need for one buffer on
2019 Apr 14
1
Opus cmake build
...oth are built. > For programs use: > -DBUILD_PROGRAMS=ON I tried the option -DBUILD_PROGRAMS=ON that you mentioned, but it still said that BUILD_PROGRAMS was disabled: -- The following features have been disabled: * USE_ALLOCA, Use alloca for stack arrays (on non-C99 compilers) * CUSTOM_MODES, Enable non-Opus modes, e.g. 44.1 kHz & 2^n frames * BUILD_PROGRAMS, Build programs * FIXED_POINT, compile as fixed-point (for machines without a fast enough FPU) * X86_PRESUME_SSE4_1, assume target CPU has SSE4_1 support * X86_PRESUME_AVX, assume target CPU has AVX support -- C...
2011 May 02
1
Modes?
...des. I don't completely understand what is going on in the following code. Could you provide some guidance on what parameters are now acceptable? I am trying to create a stereo channel with Fs=48000 and 128 byte frames, but get NULL returned from the celt_mode_create function. I am not defining CUSTOM_MODES_ONLY (because I don't know what it means). On the last couple of lines of code, there is no error (error=0), but it appears that you always return NULL..? CELTMode *celt_mode_create(celt_int32 Fs, int frame_size, int *error) #ifndef CUSTOM_MODES_ONLY for (i=0;i<TOTAL_MODES;i++)...
2014 Feb 15
0
Enable custom modes (Visual C++ Express)
...> C++ Express. I'm sorry to hear that ;-) > 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 ? Normally, it should just be a matter of adding #define CUSTOM_MODES to the Windows config.h file. Cheers, Jean-Marc
2017 Feb 02
0
[PATCH] Optimize silk_warped_autocorrelation_FIX() for ARM NEON
Hi Felicia, I've not yet really looked into the details, but first here's a few comments and questions: 1) Why does the patch need to define SKIP_CONFIG_H and CUSTOM_MODES at the beginning? I can't see a reason for that. 2) The whole code is inside an #ifdef FIXED_POINT. It seems like it the file shouldn't be compiled at all for float, so that #ifdef would be unnecessary. Or did I miss something? 3) The code as it is written is pretty hard to follow. Can y...
2015 Nov 21
0
[Aarch64 v2 08/18] Add Neon fixed-point implementation of xcorr_kernel.
...len +) = { + xcorr_kernel_c, /* ARMv4 */ + xcorr_kernel_c, /* EDSP */ + xcorr_kernel_c, /* Media */ + xcorr_kernel_neon_fixed, /* Neon */ +}; + +#endif + # if defined(OPUS_ARM_MAY_HAVE_NEON_INTR) # if defined(HAVE_ARM_NE10) # if defined(CUSTOM_MODES) diff --git a/celt/arm/celt_neon_intr.c b/celt/arm/celt_neon_intr.c index 47dce15..557c3b7 100644 --- a/celt/arm/celt_neon_intr.c +++ b/celt/arm/celt_neon_intr.c @@ -37,7 +37,66 @@ #include <arm_neon.h> #include "../pitch.h" -#if !defined(FIXED_POINT) +#if defined(FIXED_POINT)...
2016 Jul 14
6
Several patches of ARM NEON optimization
I rebased my previous 3 patches to the current master with minor changes. Patches 1 to 3 replace all my previous submitted patches. Patches 4 and 5 are new. Thanks, Linfeng Zhang
2019 May 27
0
opus-1.3.1 patch for ARM Cortex-M4F (single precision)
...)(opus_int16)(a)*(opus_int16)(b)))>>15) diff -Naupr opus-1.3.1-vanilla/celt/modes.c opus-1.3.1/celt/modes.c --- opus-1.3.1-vanilla/celt/modes.c 2018-09-26 14:49:41 +0800 +++ opus-1.3.1/celt/modes.c 2019-05-27 17:18:26 +0800 @@ -71,7 +71,7 @@ static const unsigned char band_allocati #endif /* CUSTOM_MODES_ONLY */ #ifndef M_PI -#define M_PI 3.141592653 +#define M_PI 3.14159265358979f #endif #ifdef CUSTOM_MODES diff -Naupr opus-1.3.1-vanilla/silk/SigProc_FIX.h opus-1.3.1/silk/SigProc_FIX.h --- opus-1.3.1-vanilla/silk/SigProc_FIX.h 2018-09-26 14:49:41 +0800 +++ opus-1.3.1/silk/SigProc_FIX.h 201...
2019 Apr 11
2
Opus cmake build
On Wed, Apr 10, 2019 at 5:30 PM Marcus Asteborg <xnorpx at outlook.com> wrote: > Hi Mark, > > Thanks for the feedback. > > By default CMake is building the static library in debug, to get other > things one has to explicit turn it on. > > Hi, By default CMake uses the "empty" build, which is used in combination with the environment variables CFLAGS and
2015 Feb 04
0
[RFC PATCH v2] armv7(float): Optimize encode usecase using NE10 library
...ct.h" #if defined(OPUS_HAVE_RTCD) @@ -50,7 +52,46 @@ void (*const CELT_PITCH_XCORR_IMPL[OPUS_ARCHMASK+1])(const opus_val16 *, celt_pitch_xcorr_c, /* Media */ celt_pitch_xcorr_float_neon /* Neon */ }; -# endif -# endif -#endif +#if defined(HAVE_ARM_NE10) +#ifdef CUSTOM_MODES +int (*const OPUS_FFT_ALLOC_ARCH_IMPL[OPUS_ARCHMASK+1])(kiss_fft_state *st) = { + opus_fft_alloc_arch_c, /* ARMv4 */ + opus_fft_alloc_arch_c, /* EDSP */ + opus_fft_alloc_arch_c, /* Media */ + opus_fft_alloc_arm_float_neon /* Neon with NE10 library support */ +}; + +voi...
2015 Mar 03
0
[RFC PATCHv3] armv7(float): Optimize encode usecase using NE10 library
...ct.h" #if defined(OPUS_HAVE_RTCD) @@ -50,7 +52,46 @@ void (*const CELT_PITCH_XCORR_IMPL[OPUS_ARCHMASK+1])(const opus_val16 *, celt_pitch_xcorr_c, /* Media */ celt_pitch_xcorr_float_neon /* Neon */ }; -# endif -# endif -#endif +#if defined(HAVE_ARM_NE10) +#ifdef CUSTOM_MODES +int (*const OPUS_FFT_ALLOC_ARCH_IMPL[OPUS_ARCHMASK+1])(kiss_fft_state *st) = { + opus_fft_alloc_arch_c, /* ARMv4 */ + opus_fft_alloc_arch_c, /* EDSP */ + opus_fft_alloc_arch_c, /* Media */ + opus_fft_alloc_arm_float_neon /* Neon with NE10 library support */ +}; + +voi...