Commit graph

3269 commits

Author SHA1 Message Date
Jean-Marc Valin
d9fb8a6651 Optimizing divisions with a signed numerator 2014-01-30 11:16:24 -05:00
Jean-Marc Valin
5123175017 Speeding up ec_tell_frac() 2014-01-29 10:18:06 -05:00
Mark Harris
58107d8968 Fix surround encoding
Broken by 306d7f5a30
2014-01-26 22:54:19 -05:00
Jean-Marc Valin
c543ec1bd3 Speeding up extract_collapse_mask() slightly 2014-01-23 00:02:12 -05:00
Jean-Marc Valin
2e6876c07a Using SSAT in SIG2WORD16() on ARMv6 2014-01-22 19:22:05 -05:00
Jean-Marc Valin
9b3a3ad7ff Unrolled version of the comb filter for ARM (eliminates MOVs) 2014-01-21 16:23:24 -05:00
Jean-Marc Valin
6218cba258 Making decode_pulses() compute the L2-norm on the fly 2014-01-21 15:17:01 -05:00
Jean-Marc Valin
17b197837f Speed up the comb filter on ARM by using MAC16_32_Q16() 2014-01-21 11:07:57 -05:00
Jean-Marc Valin
29354ff6e0 Save more integer divisions on ARM when we know the operands are positive 2014-01-21 10:39:33 -05:00
Jean-Marc Valin
ce1173c77f Fixes use of uninitialized values in dynalloc_analysis() 2014-01-20 18:46:33 -05:00
Ralph Giles
cbb75ccb26 oggopus: use https where possible. 2014-01-20 14:38:05 -08:00
Ralph Giles
5742f10c41 Update 'running code' reference, now RFC 6982. 2014-01-20 13:41:06 -08:00
Ralph Giles
24aa86738d Use xml.resource.org bibxml in the oggopus draft.
These aren't available over https, but actually work, unlike
the old reference urls.
2014-01-20 13:41:06 -08:00
Ralph Giles
593680a461 Abbreviate the first stereo matrix to fit 72 columns.
Fixes a nit.
2014-01-20 13:41:06 -08:00
Ralph Giles
728938a086 Add NOT RECOMMENDED to our rfc 2119 boilerplate.
Fixes a nit. According to idnits, 'NOT RECOMMENDED' is optional,
but we use it. Other words, like SHALL which we don't use are
required in the boilerplate.
2014-01-20 13:41:06 -08:00
Ralph Giles
26e31c0ce8 Capitalize Vorbis. 2014-01-20 13:41:06 -08:00
Ralph Giles
864196bff4 Use organizations authors in the ogg draft.
This seems to be the correct way to represent institutional authors
in the references.
2014-01-20 13:41:06 -08:00
Jean-Marc Valin
ec5d01cbe4 Using a table on ARM for unsigned division by small (<=256) integers.
Saves 0.6% for 64 kb/s and 1.8% for 128 kb/s when decoding on arm7tdmi.
2014-01-20 16:32:16 -05:00
Jean-Marc Valin
379af35fd4 Minor cleanup in dynalloc_analysis() 2014-01-19 01:42:04 -05:00
Jean-Marc Valin
05548fa1c1 Adds a median filter to make dynalloc_analysis() more conservative
This should prevent extreme dynalloc behaviour in cases where some
bands are heavily attenuated.
2014-01-19 01:32:53 -05:00
Ron
b331167821 Don't say 'it' where being specific is better 2014-01-19 16:03:44 +10:30
Ron
deb46d1f69 Fix copypasta fail 2014-01-19 15:52:31 +10:30
Ron
e37262c97f Formally introduce the terms mode and configuration
and use them more strictly in the rest of the text.
2014-01-19 15:20:05 +10:30
Ron
3f3cd99424 Typo fix 2014-01-19 13:48:21 +10:30
Ralph Giles
cf33d32440 Use 'pre-skip' consistently with the hyphen. 2014-01-17 16:16:46 -08:00
Ralph Giles
7c67888988 Missed another 'preskip flag'. 2014-01-17 16:16:15 -08:00
Ralph Giles
ce72229e33 Preskip isn't a flag.
Comment from mark4o.
2014-01-17 16:13:49 -08:00
Ralph Giles
d9f9e705f2 Add 'surname' to WAVE reference. 2014-01-17 16:07:59 -08:00
Ralph Giles
785a21fee9 Fix markup and note needing to renable-prediction. 2014-01-17 16:03:24 -08:00
Ron
e0220e08f5 Show how to turn off prediction with libopus 2014-01-17 16:03:24 -08:00
Ron
d3f0867395 SILK and CELT mode are singular 2014-01-18 10:24:02 +10:30
Ralph Giles
74f6a017ae Try to improve wikipedia citation formatting.
It wants a surname, and to show it as Surname, Initial.
This leaves an extra comma in the xml2rfc2 output, but
at least mentions wikipedia.
2014-01-17 15:47:08 -08:00
Ralph Giles
078775bee5 Reference vorbis source code for lpc coefficient calculation. 2014-01-17 15:44:08 -08:00
Ralph Giles
c42c6db46f Reference wikipedia for LPC prediction. 2014-01-17 15:36:03 -08:00
Ralph Giles
b30b2ba21e Try to clarify frame packing.
Marko was concerned that RFC 6716 section 3.2.1 narrowly describes
zero-length DTX frames _only_ for code 2 and 3 packets, and therefore
wanted this sentence to state clearly that code 0 and 1 can be used
with zero-byte frames as well. I've tried to do that.
2014-01-17 15:22:57 -08:00
Ralph Giles
e26ed59ad0 Use SILK/CELT everywhere describing modes.
There was some attempt to use LP/MDCT instead, to avoid confusion
of the Opus modes with the earlier codecs of the same name, but
Jean-Marc says they gave up on doing that in the Opus RFC, and in
particular the tables a reader would need to reference from RFC 6716
Section 3.2 mentions SILK and CELT, so I think it's important to use
the same terms here.
2014-01-17 14:33:54 -08:00
Ron
af807b28c3 Drop the oddball hyphenation of MDCT-mode
It's not hyphenated anywhere else.
2014-01-17 14:28:27 -08:00
Ron
64f558557e Clarify that MB->WB is better than MB->NB
I hope.  Now that it's been clarified for me what this originally meant
to say, it's tricky to know if this actually contains the missing clue
for other readers.  Hopefully it should be obvious to anyone actually
implementing it once they look at what modes they have to choose from.
2014-01-17 14:28:17 -08:00
Ralph Giles
6d27d40c79 Remove line about undefined speaker configurations.
Ron's suggestion. We think it's clear enough as is and
removing it avoids confusion about this specification
versus future extensions.
2014-01-17 14:26:58 -08:00
Ralph Giles
1474e710e6 Bump Ogg draft version and date. 2014-01-17 12:10:50 -08:00
Ralph Giles
3ba1bb01db Replace MAY with SHOULD in the gap-filling guidelines.
This is really the best implementations can do as far as we
understand the possibilies, so it's better to be straightforward.
2014-01-17 12:09:45 -08:00
Ralph Giles
0f9c40499f Update Ralph's phone number. 2014-01-17 11:15:34 -08:00
Jean-Marc Valin
49e6c050a3 Update authors in RTP draft 2014-01-17 14:05:37 -05:00
Mark Harris
283853539d Another nit in the update draft
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2014-01-16 12:49:29 -05:00
Ralph Giles
221a8b70c7 Bump the static version string in version.mk.
We failed to do this before the 1.1 release, so that went out
still marked at 1.1 beta. The plan was to get rid of this file
but it's still used as a fallback by the msvc build.
2014-01-15 09:08:08 -08:00
Ralph Giles
bfcc1dd4f4 Reword framing bit ommission, again. 2014-01-15 09:02:01 -08:00
Ron
d63b0dd7b4 Be a bit less ambiguous about the comment framing bit 2014-01-15 19:41:21 +10:30
Ralph Giles
1e0b6fd9f7 Rewrite gap filling section.
Incorporate list feedback from Mark Harris, Tim and Jean-Marc
and try to improve clarity.
2014-01-14 17:23:00 -08:00
Ralph Giles
998e9e00fd Add Tim's gap repair text.
From http://www.ietf.org/mail-archive/web/codec/current/msg03030.html
2014-01-14 15:40:16 -08:00
Ralph Giles
4784e0717e Fix malloc_hook warning on glibc 2.17 and later.
In glib 2.17 the __malloc_ptr define was removed in favour
of using void* directly. Our declaration of mhook using this
type for the second argument therefore rightly generates a warning
on modern systems, since the type is assumed to be an int, which
is too narrow to hold a pointer on 64 bit architectures.

Since it was only ever a define we could use an #ifndef to define
__malloc_ptr ourselves. However we only use it once, so using void*
in the signature directly is cleaner. This should cause no problems
on older systems where it will match either the void* or the char*
(for non __STDC__ code) the define resolved to.
2014-01-14 11:07:37 -08:00