Displaying 20 results from an estimated 1000 matches similar to: "Fix use_dtx with DISABLE_FLOAT_API"
2017 Oct 17
1
Fix DTX is always unavailable when DISABLE_FLOAT_API is not defined
Hi.
I found that DTX is always unavailable when DISABLE_FLAOT_API is not
defined in OPUS_AUTO mode.
As you know analysis_info.valid is alway true except NaN case and
is_silence is alway true except digital zero signal case.
In general, following condition will be alway true except exceptional case.
(analysis_info.valid || is_silence)
But in a code, there is a NOT expression in front of above
2016 Jun 27
2
Patches for adding 120 ms encoding
Attached is the amended second patch. It now extends the multistream API as
well to 80/100/120 ms and incorporates changes based on Mark's comments.
Thanks,
Felicia
On Mon, Jun 13, 2016 at 4:21 PM Felicia Lim <flim at google.com> wrote:
> Hi Mark, Jean-Marc,
>
> Thanks for your comments.
>
> On Sun, Jun 12, 2016 at 6:34 AM Mark Harris <mark.hsj at gmail.com>
2016 Jun 10
2
Patches for adding 120 ms encoding
Hi, I wondered if are there any further thoughts on these patches?
Thanks,
Felicia
On Thu, Jun 2, 2016 at 2:13 PM Felicia Lim <flim at google.com> wrote:
> OK, I've amended the second patch and also added 80 and 100 ms.
>
> Thanks,
> Felicia
>
>
> On Thu, Jun 2, 2016 at 7:20 AM Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
>
>> On 06/01/2016 02:06
2016 Jun 28
1
Patches for adding 120 ms encoding
Hi Ulrich, thanks for the suggestion. My concern is that one of the valid
inputs is "2.5", which would require conversion to an int, e.g. x10, but
doing something like this would start to affect the code readability.
On Mon, Jun 27, 2016 at 3:02 PM Ulrich Windl <
Ulrich.Windl at rz.uni-regensburg.de> wrote:
> Hi!
>
> A note on style: Looking at this chunk of the patch
2019 Apr 01
2
API for checking whether the encoder is in DTX (PR #107)
Hi everyone,
Some time ago, I sent a pull request <https://github.com/xiph/opus/pull/107>
to the Opus github page. Jean-Marc asked me to post it to the mailing list
so everyone can have a look at it.
You can find the description and code changes below. Please let me know if
you have any questions or concerns.
Best regards
Gustaf Ullberg
In WebRTC, we would like to be able to
2016 Jun 12
2
Patches for adding 120 ms encoding
Hi Felicia,
A few comments:
> - /* CELT can only support up to 20 ms */
> subframe_size = st->Fs/50;
> - nb_subframes = frame_size > st->Fs/25 ? 3 : 2;
> + nb_subframes = frame_size/subframe_size;
This will use six 20ms frames to make a 120ms packet, even for
SILK-only mode where frames can be up to 60ms. For SILK, two 60ms
frames would be a more
2013 Jul 08
1
patch to fix error in src/opus_multistream_encoder.c when DISABLE_FLOAT_API is defined
Hello,
for your consideration.
The following patch moves the channel_pos()
function from within the #if !defined(DISABLE_FLOAT_API).
This change is required when compiling with FIXED_POINT
and DISABLE_FLOAT_API defined.
#### ###
diff --git a/src/opus_multistream_encoder.c b/src/opus_multistream_encoder.c
index 3efab53..6f3eb53 100644
--- a/src/opus_multistream_encoder.c
+++
2016 Jun 02
3
Patches for adding 120 ms encoding
On 06/01/2016 02:06 PM, Felicia Lim wrote:
> That was my intention with refactoring out the subframe encoding and
> repacketizing bit. Or do you mean I should merge the explicit check for
> 120 ms frame and the existing checks for 40/60 ms wideband?
What I mean is that this line in opus_encoder.c:
if (frame_size > st->Fs/50 && (st->mode == MODE_CELT_ONLY ||
2016 Jun 01
2
Patches for adding 120 ms encoding
Hi Felicia,
I still don't quite understand why you need to make 120 ms a special
case, rather than extend the code that already handles 40 ms and 60 ms.
Cheers,
Jean-Marc
On 06/01/2016 12:58 PM, Felicia Lim wrote:
> Hi all,
>
> I've just realized that there's a better and simpler way of doing this
> which ensures that analysis and selection of the mode/bandwidth etc
2016 May 31
2
Patches for adding 120 ms encoding
Hi all,
We (WebRTC/Google) would like to extend Opus to natively support 120 ms
encoding instead of relying on repacketization as a post processing step.
This is to ensure that a valid 120 ms packet is always available. I've
attached a couple of patches to add this to opus_encoder(), based on the
internal repacketization process carried out by 60 ms CELT. We intend to
extend this later for
2017 Aug 18
2
[PATCH] fix alignment exceptions
We see the MOVQ instruction but this patch deliberately uses it rather than
MOVQDA (load 128-bits aligned). We were seeing that with the trace below,
the final invocation is not 128-bit aligned but MOVQDA insists on it (the
calling function was pitch_sse4_1.c:90, in the 4-way N - i >= 4 loop).
07-31 11:00:13.469 210 2540 <(469)%20210-2540> D opus_sse1: RBE
celt_inner_prod_sse4_1: x
2017 Aug 18
2
[PATCH] fix alignment exceptions
Hi,
Please find attached a patch to fix alignment exceptions. Without this
change, we were seeing occasional alignment faults when using this with
clang.
Thanks,
Felicia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/opus/attachments/20170818/e0d6bb06/attachment.html>
-------------- next part --------------
A non-text
2017 Aug 18
1
[PATCH] fix alignment exceptions
Jonathan,
Here's the code difference we see with the recent change -- what amounts to
reverting your change from a couple years back.
It doesn't look like we're getting superfluous instructions from clang now.
the bad behavior for us was the alignment exception on the movdqa
instructions when the input data wasn't 128-bit aligned.
We had to change something because the code as-is
2017 Mar 24
2
[PATCH] Fix OPUS_ARG_NONNULL indices in opus_multistream.h
Hi all,
The attached patch adds/fixes a few null argument checks in the multistream
API. Do these changes make sense?
Thanks,
Felicia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/opus/attachments/20170324/1afee1e1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name:
2019 Apr 08
3
API for checking whether the encoder is in DTX (PR #107)
Thank you Mark.
I agree and have now updated the pull request with a new commit, addressing
your comments.
Please take a look.
/Gustaf
On Fri, 5 Apr 2019 at 11:41, Mark Harris <mark.hsj at gmail.com> wrote:
> On 2019-04-01 3:37, Gustaf Ullberg wrote:
> > Hi everyone,
> >
> > Some time ago, I sent a pull request
> > <https://github.com/xiph/opus/pull/107>
2017 Feb 10
2
Adding a decoder fuzz target
Thanks for your comments, Ralph and Jean-Marc.
Please find attached the amended patch:
- decodes a sequence of input packets rather than just one (I'm planning on
using the Opus test vectors as the seed corpus)
- decides on decoder setup and FEC independently of the packet data
- uses Opus functions to parse ToC
Cheers,
Felicia
On Sun, Jan 29, 2017 at 9:48 PM Jean-Marc Valin <jmvalin at
2017 Jul 12
1
[PATCH] Avoid -Wsometimes-uninitialized error for valid test code
r+ with James' fix.
On 12/07/17 02:01 PM, James Zern wrote:
> On Wed, Jul 12, 2017 at 10:58 AM, Felicia Lim <flim at google.com> wrote:
>> |frame_size_enum| in tests/test_opus_encode.cl:117 is flagged as potentially
>> uninitialized but get_frame_size_enum() will fail anyway if a valid value is
>> not found.
>> ---
>> tests/test_opus_common.h | 2 ++
2017 Jan 27
3
Adding a decoder fuzz target
Hi all,
I'm working on fuzzing Opus with OSS-Fuzz and have started with the
decoder. Attached is a patch to add the corresponding fuzz target. Please
let me know if there are any concerns?
Thanks,
Felicia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/opus/attachments/20170127/f69951aa/attachment-0001.html>
2016 Jun 10
0
Patches for adding 120 ms encoding
Hi Felica,
yes, this is the only reason to have larger frames is on bandwidth limited links having a gross (physical) bit rates of 10kbps per channel.
Decades ago I calculated with figure (for AMR-NB but the same holds for Opus).
https://www.tkn.tu-berlin.de/fileadmin/fg112/Hard_Software_Components/Software/hoene_07_2004_paper.pdf
Von: Felicia Lim [mailto:flim at google.com]
2016 Jun 27
0
Antw: Re: Patches for adding 120 ms encoding
Hi!
A note on style: Looking at this chunk of the patch
--
@@ -382,9 +382,15 @@ int main(int argc, char *argv[])
frame_size = sampling_rate/25;
else if (strcmp(argv[ args + 1 ], "60")==0)
frame_size = 3*sampling_rate/50;
+ else if (strcmp(argv[ args + 1 ], "80")==0)
+ frame_size = 4*sampling_rate/50;
+