search for: opus_defin

Displaying 20 results from an estimated 46 matches for "opus_defin".

Did you mean: opus_define
2017 Dec 16
0
[PATCH] opus_defines.h: disable restrict with gcc < 3.4
...le included from silk/float/pitch_analysis_core_FLP.c:38: celt/pitch.h:53: error: invalid use of `restrict' This is because __restrict is broken with gcc < 3.4. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6392 Therefore, disable restrict with gcc versions older than 3.4. --- include/opus_defines.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/opus_defines.h b/include/opus_defines.h index 33c5acd..306887d 100644 --- a/include/opus_defines.h +++ b/include/opus_defines.h @@ -86,7 +86,11 @@ extern "C" { # endif # endif -#if (!defined(__STDC_VE...
2019 Apr 01
2
API for checking whether the encoder is in DTX (PR #107)
...s 1 if the last encoded frame was either a DTX frame, or a CNG update frame that is sent every 420 ms between the DTX frames. This is achieved by checking if the number of consecutive inactive frames (nb_no_activity_frames) is greater or equal to NB_SPEECH_FRAMES_BEFORE_DTX. diff --git a/include/opus_defines.h b/include/opus_defines.h index fbf5d0eb..e35114e4 100644 --- a/include/opus_defines.h +++ b/include/opus_defines.h @@ -168,6 +168,7 @@ extern "C" { /* Don't use 4045, it's already taken by OPUS_GET_GAIN_REQUEST */ #define OPUS_SET_PHASE_INVERSION_DISABLED_REQUEST 4046 #defi...
2019 Apr 08
3
API for checking whether the encoder is in DTX (PR #107)
...te frame that is sent every 420 ms between the DTX frames. > > > > This is achieved by checking if the number of consecutive inactive > > frames (nb_no_activity_frames) is greater or equal to > > NB_SPEECH_FRAMES_BEFORE_DTX. > > > > > > diff --git a/include/opus_defines.h b/include/opus_defines.h > > index fbf5d0eb..e35114e4 100644 > > --- a/include/opus_defines.h > > +++ b/include/opus_defines.h > > @@ -168,6 +168,7 @@ extern "C" { > > /* Don't use 4045, it's already taken by OPUS_GET_GAIN_REQUEST */ > > #...
2015 Oct 22
3
[PATCH] win32: only use dllexport when building DLL
...port table; there should not be one in a normal Win32 .exe file, but when linking static libopus, the exe exports all of the opus_* public functions. Use the libtool-defined DLL_EXPORT flag to determine whether we are building a DLL and only specify __declspec(dllexport) in that case. --- include/opus_defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/opus_defines.h b/include/opus_defines.h index 10ff838..11b172d 100644 --- a/include/opus_defines.h +++ b/include/opus_defines.h @@ -65,7 +65,7 @@ extern "C" { #ifndef OPUS_EXPORT # if defined(WIN32) -# if...
2019 Apr 05
0
API for checking whether the encoder is in DTX (PR #107)
...a DTX frame, or a CNG > update frame that is sent every 420 ms between the DTX frames. > > This is achieved by checking if the number of consecutive inactive > frames (nb_no_activity_frames) is greater or equal to > NB_SPEECH_FRAMES_BEFORE_DTX. > > > diff --git a/include/opus_defines.h b/include/opus_defines.h > index fbf5d0eb..e35114e4 100644 > --- a/include/opus_defines.h > +++ b/include/opus_defines.h > @@ -168,6 +168,7 @@ extern "C" { >  /* Don't use 4045, it's already taken by OPUS_GET_GAIN_REQUEST */ >  #define OPUS_SET_PHASE_INVERSIO...
2018 Mar 07
2
[PATCH] Move demixing matrix defines
Move demixing matrix defines to opus_define to better determine availability of Projection API. Allows libopusenc, opusfile and opus-tools to much more easily determine availability of Projection API. Cheers, Drew -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/opus/attac...
2018 Mar 08
2
[PATCH] Move demixing matrix defines
...ent set of patches you might have problems with > case 3) since you will find the symbols in the header file, but the > functionality won't be there. > > Cheers, > > Jean-Marc > > On 03/07/2018 02:40 PM, Drew Allen wrote: > > Move demixing matrix defines to opus_define to better determine > > availability of Projection API. > > > > Allows libopusenc, opusfile and opus-tools to much more easily determine > > availability of Projection API. > > > > Cheers, > > Drew > > > > > > ____________________________...
2019 Oct 30
5
Q: Bandwidth vs. bitrate
Hi! I have some MP3 audio material which is basically speech with some background noises, essentially > 120Hz and < 5kHz. I had the idea to reduce the file size by recoding the material to Opus at 56kbps. Unfortunately the result is a file sampled at 48kHz much larger than the original. I hope you agree that it does not make sense to create a file larger than the original (MP3). Of course
2019 Oct 31
1
Antw: Re: Q: Bandwidth vs. bitrate
...ve been using opusenc to encode the files. If that is the > case you can try giving the encoder some more hints about your files: > > opusenc --speech --set-ctl-int 4008=1103 ... > > The latter should tell the encoder that the signal bandwidth is 8kHz > (OPUS_SET_BANDWIDTH). See opus_defines.h for all valid numbers. You can > also experiment with the complexity settings. > > -Mathias > > _______________________________________________ > opus mailing list > opus at xiph.org > http://lists.xiph.org/mailman/listinfo/opus
2015 Feb 24
2
Questions regarding OPUS_APPLICATION_AUDIO vs OPUS_BANDWIDTH_NARROWBAND
I have an audio device whose 'driver' gives me Opus encoded frames using OPUS_APPLICATION_AUDIO and max bandwidth set to OPUS_BANDWIDTH_NARROWBAND. How does Opus encoder decide the center point of the 4K bandpass filter? Is it done frame by frame? -- Tony -------------- next part -------------- An HTML attachment was scrubbed... URL:
2018 Mar 08
0
[PATCH] Move demixing matrix defines
...ith --disable-ambisonics I suspect with the current set of patches you might have problems with case 3) since you will find the symbols in the header file, but the functionality won't be there. Cheers, Jean-Marc On 03/07/2018 02:40 PM, Drew Allen wrote: > Move demixing matrix defines to opus_define to better determine > availability of Projection API. > > Allows libopusenc, opusfile and opus-tools to much more easily determine > availability of Projection API. > > Cheers, > Drew > > > _______________________________________________ > opus mailing list &gt...
2018 Mar 12
0
[PATCH] Move demixing matrix defines
...t have problems with > case 3) since you will find the symbols in the header file, but the > functionality won't be there. > > Cheers, > >         Jean-Marc > > On 03/07/2018 02:40 PM, Drew Allen wrote: > > Move demixing matrix defines to opus_define to better determine > > availability of Projection API. > > > > Allows libopusenc, opusfile and opus-tools to much more easily > determine > > availability of Projection API. > > > > Cheers, > > Drew > > >...
2019 Oct 30
0
Q: Bandwidth vs. bitrate
Hi Ulrich, I assume you've been using opusenc to encode the files. If that is the case you can try giving the encoder some more hints about your files: opusenc --speech --set-ctl-int 4008=1103 ... The latter should tell the encoder that the signal bandwidth is 8kHz (OPUS_SET_BANDWIDTH). See opus_defines.h for all valid numbers. You can also experiment with the complexity settings.  -Mathias
2012 Oct 23
1
MSVC compatibility patch for current master branch
...sis.c" /> + <ClCompile Include="mlp.c" /> <ClCompile Include="opus.c" /> <ClCompile Include="opus_decoder.c" /> <ClCompile Include="opus_demo.c" /> @@ -30,6 +32,8 @@ <ClInclude Include="..\include\opus_defines.h" /> <ClInclude Include="..\include\opus_types.h" /> <ClInclude Include="..\win32\config.h" /> + <ClInclude Include="analysis.h" /> + <ClInclude Include="mlp.h" /> <ClInclude Include="opus_privat...
2019 Nov 01
2
Q: Bandwidth vs. bitrate
...gt; Hi Ulrich, I assume you've been using opusenc to encode the files. If that is the case you can try giving the encoder some more hints about your files: opusenc --speech --set-ctl-int 4008=1103 ... The latter should tell the encoder that the signal bandwidth is 8kHz (OPUS_SET_BANDWIDTH). See opus_defines.h for all valid numbers. You can also experiment with the complexity settings. -Mathias _______________________________________________ opus mailing list opus at xiph.org http://lists.xiph.org/mailman/listinfo/opus
2015 Nov 16
3
[Fast Int64 1/4] Move OPUS_FAST_INT64 definition to celt/arch.h.
...fined(__x86_64__) || defined(_WIN64)) + #define PRINT_MIPS(file) #ifdef FIXED_POINT diff --git a/silk/macros.h b/silk/macros.h index bc30303..1ba614a 100644 --- a/silk/macros.h +++ b/silk/macros.h @@ -34,6 +34,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "opus_types.h" #include "opus_defines.h" +#include "arch.h" #if OPUS_GNUC_PREREQ(3, 0) #define opus_likely(x) (__builtin_expect(!!(x), 1)) @@ -43,9 +44,6 @@ POSSIBILITY OF SUCH DAMAGE. #define opus_unlikely(x) (!!(x)) #endif -/* Set this if opus_int64 is a native type of the CPU. */ -#define OPUS_FAST...
2014 Nov 09
0
[RFC PATCH v1] arm: kf_bfly4: Introduce ARM neon intrinsics
...libopus_la_LDFLAGS = -no-undefined -version-info @OPUS_LT_CURRENT@:@OPUS_LT_REVISION@:@OPUS_LT_AGE@ libopus_la_LIBADD = $(LIBM) +if ARMv7_NEON_INTRINSICS_FLOAT +libopus_la_LIBADD += ./libneon.la +endif + pkginclude_HEADERS = include/opus.h include/opus_multistream.h include/opus_types.h include/opus_defines.h noinst_HEADERS = $(OPUS_HEAD) $(SILK_HEAD) $(CELT_HEAD) @@ -97,6 +107,9 @@ celt_tests_test_unit_cwrs32_LDADD = $(LIBM) celt_tests_test_unit_dft_SOURCES = celt/tests/test_unit_dft.c celt_tests_test_unit_dft_LDADD = $(LIBM) +if ARMv7_NEON_INTRINSICS_FLOAT +celt_tests_test_unit_dft_LDADD +=...
2014 Nov 21
0
[RFC PATCHv1] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...URCES) libopus_la_LDFLAGS = -no-undefined -version-info @OPUS_LT_CURRENT@:@OPUS_LT_REVISION@:@OPUS_LT_AGE@ libopus_la_LIBADD = $(LIBM) +if OPUS_ARM_NEON_INTR +libopus_la_LIBADD += ./libarmneon.la +endif pkginclude_HEADERS = include/opus.h include/opus_multistream.h include/opus_types.h include/opus_defines.h @@ -97,6 +106,11 @@ celt_tests_test_unit_cwrs32_LDADD = $(LIBM) celt_tests_test_unit_dft_SOURCES = celt/tests/test_unit_dft.c celt_tests_test_unit_dft_LDADD = $(LIBM) +if OPUS_ARM_NEON_INTR +celt_tests_test_unit_dft_LDADD += ./libarmneon.la +endif + + celt_tests_test_unit_entropy_SOURC...
2014 Dec 19
2
[PATCH v1] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
Hi, Optimizes celt_pitch_xcorr for ARM NEON floating point. Changes from RFCv3: - celt_neon_intr.c - removed warnings due to not having constant pointers - Put simpler loop to take care of corner cases. Unrolling using intrinsics was not really mapping well to what was done in celt_pitch_xcorr_arm.s - Makefile.am Removed explicit -O3 optimization - test_unit_mathops.c,
2015 Nov 21
8
[Aarch64 v2 10/18] Clean up some intrinsics-related wording in configure.
--- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index f52d2c2..e1a6e9b 100644 --- a/configure.ac +++ b/configure.ac @@ -190,7 +190,7 @@ AC_ARG_ENABLE([rtcd], [enable_rtcd=yes]) AC_ARG_ENABLE([intrinsics], - [AS_HELP_STRING([--disable-intrinsics], [Disable intrinsics optimizations for ARM(float) X86(fixed)])],, +