Displaying 20 results from an estimated 10000 matches similar to: "about optimization"
2017 Apr 12
2
CELT CFFT size configuration
Dear all,
Sorry for this simple and maybe stupid question, I'm working in the
implementation of opus for ARMv7e microcontroller using a library CMSIS/DSP
used to calculate the CFFT and MDCT based on the DCT-IV. my question is:
In the implementation of Celt you have used a fixed length CFFT equal to
1920, I want to know if there is some issues which can appear if a change
that configuration
2015 Apr 30
3
[RFC PATCH v1 0/8] Ne10 fft fixed and previous
On 29 April 2015 at 17:22, Timothy B. Terriberry <tterribe at xiph.org> wrote:
>
> Viswanath Puttagunta wrote:
>>
>> 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].
>
2014 Feb 14
0
about optimization
On 2014-02-13 5:03 PM, Xiangming Zhu (xiangzhu) wrote:
> We have some optimizations for x86-64 and SSE enabled CPU since encoding
> Opus stream on server side is time sensitive.
>
> The optimization is based on opus-1.0.3, and after 1.1 is released we
> have to merge the changes.
>
>
>
> The question is can we share back the optimizations to Opus repository?
>
2015 May 08
2
(no subject)
Hello Jean-Marc,
Below are the results that show test_unit_dft passes, but
test_unit_mdct fails (only for nfft=480, 960, 1920)
Note: Tested on BeagleboneBlack(Cortex-A8) fixed point on branch [1]
./test_unit_dft
nfft=32 inverse=0,snr = 88.394372
nfft=32 inverse=1,snr = 93.896470
nfft=128 inverse=0,snr = 89.185895
nfft=128 inverse=1,snr = 93.537021
nfft=256 inverse=0,snr = 88.353151
nfft=256
2014 Feb 21
2
Make check failure on clone from 31 January
I tracked down the bug to an incorrect use of restrict.
I would not consider this a compiler bug: we are lying to the optimizer by
telling it that a pointer is restrict when in fact it isn't.
This can be fixed like so:
diff --git a/celt/mdct.c b/celt/mdct.c
index 1634e8e..fa5098c 100644
--- a/celt/mdct.c
+++ b/celt/mdct.c
@@ -276,8 +276,8 @@ void clt_mdct_backward(const mdct_lookup *l,
2015 May 08
1
(no subject)
Hello Jean-Marc,
Yep, that was it.. with your patch, test_unit_mdct passes for all nfft.
So, what you do you suggest the next step here is?
Regards,
Vish
On 8 May 2015 at 12:30, Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
> Hi,
>
> Can you apply this change to the MDCT test and run it again. See if more
> (all) sizes pass. Given the results, I strongly suspect an
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
2014 Feb 24
1
Make check failure on clone from 31 January
After a few experiments, I found that both alternatives are very similar, and 2~5% slower compared to the following:
diff --git a/celt/mdct.c b/celt/mdct.c
index 1634e8e..e490c3b 100644
--- a/celt/mdct.c
+++ b/celt/mdct.c
@@ -277,7 +277,7 @@ void clt_mdct_backward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scala
it in-place. */
{
kiss_fft_scalar * OPUS_RESTRICT yp0 =
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 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
2014 Feb 05
4
Make check failure on clone from 31 January
Hi,
Apologies if this is a known issue, but running make on revision e3187444692195957eb66989622c7b1ad8448b06 fails one of the tests when using fixed point configuration (floating point is ok) on my linux x86.
Note that libopus1.1, as extracted from the tar ball, is OK.
Specifically, the tests that fail are in celt/tests/test_unit_mdct:
nfft=32 inverse=0,snr = 85.341197
nfft=32 inverse=1,snr =
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 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
2005 Jan 26
2
Butterflies in mdct.c
In mdct.c there's some functions including some-point butterfly. In 32-point and 16-point there are calling of smaller-point function everytime twice on each half of data. When I looked on it I found that's just linear algebra. So it can be rewritten to matrix multiplication. Some one can say: there's optimization on in register working. But imagine there's one calling 32-point,
2015 Mar 04
1
[RFC PATCH v1] Decode(float) optimize using libNe10
Hello All,
I extended the libNE10 optimizations for float towards
mdct_backwards/opus_ifft.
I am able to get about 14.26% improvement for Decode use
case now on my Beaglebone Black. Please see [1] for measurements.
Questions
1. Since this patch needs to go in after Encode [2] patch)
should I submit this as patch series?
2. Since Jonathan Lennox posted intrinsics cleanup [3]
patch, should
2000 Oct 23
4
More mdct questions
Sorry for starting another topic, this is actually a reply to Segher's post
on Sun Oct 22 on the 'mdct question' topic. I wasn't subscribed properly
and so I didn't get email confirmation and thus can't add to that thread.
So Segher, if the equation is indeed what you say it is, then replacing
mdct_backward with this version should work, but it doesn't.
Am I applying
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:
2006 Apr 20
1
Ogg Vorbis questions
Hi,
I'm currently working on a paper describing Ogg Vorbis. It is not finished
yet. Mostly the decoder is being described. If you have any comments, please
send them to me. See:
http://www.turbocat.net/~hselasky/math/vorbis/files/
Then I have a question about the function "bark_noise_hybridmp()" which is
used in the encoder. Can someone describe what the function does in
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]:
2017 Apr 11
2
MDCT implementation and his overlapped relationship
Dear all
I'm working on the implementation of the MDCT for the processor
ARM-Cortex-M4 I'm trying to replicate the behavior of the MDCT for several
overlapped values however I realized that current implementation of the
MDCT is very close to the theory only in case in which we have and overlap
exactly equal to N/2 where N is the size of the input vector as is shown in
the examples for