Displaying 8 results from an estimated 8 matches for "nb_frame".
Did you mean:
nb_frames
2016 Jun 12
2
Patches for adding 120 ms encoding
...determine
the size of each frame as mentioned above. That would also allow this
if-condition to be further simplified.
> +static opus_int32 encode_subframes_and_repacketize(OpusEncoder *st,
> + const opus_val16 *pcm,
> + int nb_frames,
> + int frame_size,
> + unsigned char *data,
> + opus_int32 out_data_bytes,
> + int to_celt,
> + int lsb_depth,
> +...
2016 Jun 27
2
Patches for adding 120 ms encoding
...mp; (st->mode != MODE_SILK_ONLY)) || frame_size
> > 3*st->Fs/50)
>
>
>>
>> > +static opus_int32 encode_subframes_and_repacketize(OpusEncoder *st,
>> > + const opus_val16 *pcm,
>> > + int nb_frames,
>> > + int frame_size,
>> > + unsigned char *data,
>> > + opus_int32 out_data_bytes,
>> > + int to_celt,
>> > +...
2016 Jun 28
1
Patches for adding 120 ms encoding
...; > 3*st->Fs/50)
> >>
> >>
> >>>
> >>> > +static opus_int32 encode_subframes_and_repacketize(OpusEncoder *st,
> >>> > + const opus_val16 *pcm,
> >>> > + int nb_frames,
> >>> > + int frame_size,
> >>> > + unsigned char *data,
> >>> > + opus_int32 out_data_bytes,
> >>> > + int to_ce...
2016 Jun 13
0
Patches for adding 120 ms encoding
...ize > st->Fs/50 && (st->mode != MODE_SILK_ONLY)) || frame_size
> 3*st->Fs/50)
>
> > +static opus_int32 encode_subframes_and_repacketize(OpusEncoder *st,
> > + const opus_val16 *pcm,
> > + int nb_frames,
> > + int frame_size,
> > + unsigned char *data,
> > + opus_int32 out_data_bytes,
> > + int to_celt,
> > + int l...
2016 Jun 27
0
Antw: Re: Patches for adding 120 ms encoding
...K_ONLY)) || frame_size
>> > 3*st->Fs/50)
>>
>>
>>>
>>> > +static opus_int32 encode_subframes_and_repacketize(OpusEncoder *st,
>>> > + const opus_val16 *pcm,
>>> > + int nb_frames,
>>> > + int frame_size,
>>> > + unsigned char *data,
>>> > + opus_int32 out_data_bytes,
>>> > + int to_celt,
>>> >...
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
2019 May 27
0
opus-1.3.1 patch for ARM Cortex-M4F (single precision)
....5f)
{
if (tonal->highE[b] - logE[b] > logE[b] - tonal->lowE[b])
tonal->highE[b] -= .01f;
@@ -700,7 +700,7 @@ static void tonality_analysis(TonalityAn
L2 += tonal->E[i][b];
}
- stationarity = MIN16(0.99f,L1/(float)sqrt(1e-15+NB_FRAMES*L2));
+ stationarity = MIN16(0.99f,L1/(float)sqrt(1e-15f+NB_FRAMES*L2));
stationarity *= stationarity;
stationarity *= stationarity;
frame_stationarity += stationarity;
@@ -748,7 +748,7 @@ static void tonality_analysis(TonalityAn
neighbouring bands. */...
2015 Aug 04
1
[PATCH] Simplify and generalize implementation of align(). Should be very efficient on sensible platforms, and correct everywhere.
...src/opus_private.h b/src/opus_private.h
index 63338fe..5bbd7dc 100644
--- a/src/opus_private.h
+++ b/src/opus_private.h
@@ -33,6 +33,8 @@
#include "opus.h"
#include "celt.h"
+#include <stddef.h> /* offsetof */
+
struct OpusRepacketizer {
unsigned char toc;
int nb_frames;
@@ -110,15 +112,13 @@ int opus_decode_native(OpusDecoder *st, const unsigned char *data, opus_int32 le
/* Make sure everything is properly aligned. */
static OPUS_INLINE int align(int i)
{
- int size;
- /* Alignment is determined by the max size of void*, opus_int32 and opus_val32,
-...