Displaying 20 results from an estimated 2000 matches similar to: "回复: 回复: (no subject)"
2011 Dec 07
2
回复: 回复: (no subject)
On Dec 7, 2011, at 0:00 , Denis Romashenko wrote:
> I'll try to explain. I want to create dll with only one function
> "Encode"
> that will encode file to speex format. In my application I will use
> this
> function from 16 threads, if it will work correct?
Surely that depends on the implementation of your Encode function. If
you use different encoder state
2011 Dec 07
1
回复: 回复: 回复: (no subject)
Hi, i think it will work correct.when one thread use encode,the others wait for.
in java, i think we can do like this:
synchronized (Encode) {
Encode.encode(short[] in, byte[] out);
}
In the doc of speex: it says the speex is not thread-safe.
------------------ ???? ------------------
???: "????? ?????????"<romius99 at mail.ru>;
????: 2011?12?7?(???) ??4:00
???:
2011 Dec 07
0
回复: 回复: (no subject)
I'll try to explain. I want to create dll with only one function "Encode"
that will encode file to speex format. In my application I will use this
function from 16 threads, if it will work correct?
2011/12/6 ???. <xialonghua at vip.qq.com>
>
> **
> two thread send frames to only encoder at same time,two thread will use
> one buffer
> .it will work wrong if not
2011 Dec 07
0
回复: 回复: (no subject)
I think it will looks like:
void Encode(const char* infile, const char* outFile)
{
void* st;
SpeexBits bits;
.....
st = speex_encoder_init(mode);
.....
speex_encode_int(st, input, &bits);
.....
speex_bits_destroy(&bits);
speex_encoder_destroy(st);
}
2011/12/7 Steve Checkoway <s at pahtak.org>
>
> On Dec 7, 2011, at 0:00 , Denis Romashenko
2011 Dec 06
1
回复: (no subject)
yes? you are right.but its not one instance of codec.
------------------ ???? ------------------
???: "Jean-Marc Valin"<jmvalin at jmvalin.ca>;
????: 2011?12?6?(???) ??12:52
???: "speex-dev"<speex-dev at xiph.org>;
??: Re: [Speex-dev] (no subject)
Actually, it *is* thread safe as long as you don't use the *same* state
at the same time from two calls.
2017 Nov 28
3
[PATCH] Fix memory issue in Projection API
I think you just attached the wrong (previous) version of the patch.
Jean-Marc
On 11/28/2017 12:24 PM, Drew Allen wrote:
> Done!
>
> On Tue, Nov 28, 2017 at 12:12 AM Jean-Marc Valin <jmvalin at jmvalin.ca
> <mailto:jmvalin at jmvalin.ca>> wrote:
>
> I only had a quick look, but your patch looks good except for the:
> output[output_rows * i] =
2017 Nov 28
2
[PATCH] Fix memory issue in Projection API
I only had a quick look, but your patch looks good except for the:
output[output_rows * i] = (1/(32768.f*128.f))*tmp;
For floating point, you shouldn't do the >>7 either. Just remove the >>8
from the floating-point calculation of tmp so that all the scaling is
done in float.
Cheers,
Jean-Marc
On 11/27/2017 04:01 PM, Drew Allen wrote:
> Hi Jean-Marc,
>
> Attached is
2017 Nov 24
2
[PATCH] Fix memory issue in Projection API
Aha good point! Im travelling this weekend but will submit another patch
Monday morning.
Cheers,
Drew
On Fri, Nov 24, 2017 at 9:15 AM Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
> Hi Drew,
>
> I noticed you reverted the
> output[output_rows * i] = (tmp + 16384) >> 15;
> from the previous patch. That's still good. What should have been
> changed is the float
2017 Dec 04
3
[PATCH] Fix memory issue in Projection API
I've solely addressed this concern here.
Cheers,
Drew
On Fri, Nov 24, 2017 at 9:15 AM Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
> Hi Drew,
>
> I noticed you reverted the
> output[output_rows * i] = (tmp + 16384) >> 15;
> from the previous patch. That's still good. What should have been
> changed is the float version:
> output[output_rows * i] =
2015 Apr 21
3
Availability of the 1.1.1 stable version
Red Hat Enterprise Linux Server release 6.4 (Santiago)
gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
We see the issue in all our Intel based Linux servers.
Thanks
Suresh
On 21 April 2015 at 12:41, Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
> Still can't reproduce. What OS and compiler version?
>
> Jean-Marc
>
> On 21/04/15 02:48 AM, Suresh Thiriveedi
2017 Nov 09
2
[PATCH] Support for Channel Mapping 253.
Sure, ill send that asap
On Wed, Nov 8, 2017 at 4:44 PM Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
> Hi Drew,
>
> Your ambisonics patch is already merged. Can you send a patch that
> applies to master?
>
> Jean-Marc
>
> On 11/08/2017 07:05 PM, Drew Allen wrote:
> > Hey Jean-Marc,
> >
> > I found a bug regarding exporting the matrix that
2017 Nov 24
3
[PATCH] Fix memory issue in Projection API
Hi Jean-Marc,
Attached is an updated patch. I had to include some of Mark's suggestions
in order to get the tests to work correctly. I will still submit a separate
patch for him for a few other concerns he had after this one clears.
Cheers,
Drew
On Thu, Nov 23, 2017 at 10:42 AM Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
> Actually, there's also something wrong with the
2015 Apr 21
2
Availability of the 1.1.1 stable version
Hi,
There is no change in the compiler flags. I'm using as it is from the
original code. No change in the Makefile and I believe it is using the
floating point only by default.
We are using 8k samples and mono so the commands is as follows.
[root at MEDIA opus-1.1]# ./opus_demo -d 8000 1 opus_encoded_crash.opus
opus_encoded_crash.pcm
*And segmentation is as below..*.
............
Calling
2018 Mar 22
2
[PATCH] Support for Ambisonics
Thanks! 2 down, 2 to go. :D :D :D
On Wed, Mar 21, 2018 at 11:19 PM Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
> Thanks, the libopus and the libopusenc patches are now merged.
>
> Cheers,
>
> Jean-Marc
>
> On 03/20/2018 12:36 PM, Drew Allen wrote:
> > Attached is an updated patch based on Jean-Marc and Mark's comments. :)
> >
> >
2018 Mar 26
3
[PATCH] Support for Ambisonics
Apologies! That patch will not work correctly with Opus 1.2. Will send an
updated patch shortly!!
On Mon, Mar 26, 2018 at 11:56 AM Drew Allen <bitllama at google.com> wrote:
> Hello all!
>
> I've attached an updated patch for opusfile, based on formatting
> suggestions I got for the opus and libopusenc patches.
>
> Cheers!
> Drew
>
> On Thu, Mar 22, 2018 at
2017 Nov 23
2
[PATCH] Fix memory issue in Projection API
got it. actually that patch i sent you has something wrong with the
mapping_matrix_multiply_short_out... let me fix that and will send you
another patch soon.
Cheers,
Drew
On Thu, Nov 23, 2017 at 10:34 AM Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
> On 11/23/2017 01:28 PM, Drew Allen wrote:
> > To your first point, I was only trying to copy how _multistream_'s c
> >
2017 Apr 05
4
[PATCH] Optimize silk_warped_autocorrelation_FIX() for ARM NEON
Thank Jean-Marc!
The speedup percentages are all relative to the entire encoder.
Comparing to master, this optimization patch speeds up fixed-point SILK
encoder on NEON as following: Complexity 5: 6.1% Complexity 6: 5.8%
Complexity 8: 5.5% Complexity 10: 4.0%
when testing on an Acer Chromebook, ARMv7 Processor rev 3 (v7l), CPU max
MHz: 2116.5
Thanks,
Linfeng
On Wed, Apr 5, 2017 at 11:02 AM,
2018 Mar 20
2
[PATCH] Support for Ambisonics
Attached is an updated patch based on Jean-Marc and Mark's comments. :)
Cheers,
Drew
On Tue, Mar 20, 2018 at 9:20 AM Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
> On 03/20/2018 11:51 AM, Drew Allen wrote:
> > Just to confirm, I would use opeint_* for all the
> > OpusGenericEncoder-related functions?
>
> Correct. Or you can also use oge_ if you like. Just
2015 Apr 20
1
Availability of the 1.1.1 stable version
Hi,
We are able to reproduce the issue with the 1.1 opus_demo (sample file). We
captured the frames in our server just before the opus_decode and fed the
file to opus_demo (1.1) and it is crashing. Same file is tested with 1.1.1
and it is fine. So this is in line with our server testing observation and
I think here we can conclude that the 1.1 library is crashing while
handling a specific mode
2015 Apr 16
2
Availability of the 1.1.1 stable version
To be decodable by opus_demo, you'll have to add the 8-byte "header".
Just put in the length of the packet followed by "0" for the encoder
range (0 means "not present").
That being said, from previous experience, the most likely cause of the
crash is a bug in your software causing a corruption in Opus. So it's
safe to assume that if you can't reproduce