-
-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add consistent white-spaces #40
base: upstream-patched
Are you sure you want to change the base?
Add consistent white-spaces #40
Conversation
This is the channel ordering used in DVD Audio, and is the standard used internally in the VLC media player.
These correspond to different VBR modes.
Also add examples.
The enum only contains the constant values 0, 1 and 2. This produces the warning "comparison of constant 6 with expression of type 'PS_RESOLUTION' is always false" in clang for the first check in the getNoBands function (but apparently not for the second one even though mode>=3 shouldn't ever happen for a valid PS_RESOLUTION value either). This could allow the compiler to completely remove the conditions that shouldn't be able to occur even though they actually are used and are necessary. By passing the value as UINT instead, it is clear to the compiler that all the checks are necessary.
This allows callers to conditionally use new API features without breaking compatibility with the earlier versions of the library.
Optimize ppc/ppc64 similar to i386/x86_64, approximately doubling encoding speed on a Power Mac G5 running OS X 10.5.8.
Fix AIX build failure with IBM xlC compiler due to conflicting definition of M_PI. The libSYS/include/genericStds.h definition is guarded with #ifndef M_PI, but was included before <math.h> which defines M_PI with more significant digits.
For sample rates >= 64 kHz with short blocks, the largest sfb width is 36, which after grouping can be multiplied with 3, ending up as 108. GetInvInt needs to be able to support the largest grouped sfb width, divided by two (3 * 36 / 2 = 54). This fixes VBR encoding with sample rates >= 64 kHz. This is a bug fix patch from Fraunhofer, which will show up in AOSP in the next code drop as well.
…instructions. Only enable code using mips32/mips64 instructions if the compiler is targetting this ISA. (integer madd and msub instructions aren't available in the ``canonical'' mips ISAs)
Replace the assembler code by the equivalent in C. This way it will work for every MIPS ISA. Now the check for __mips_isa_rev < 6 is no longer necessary, so remove it. Signed-off-by: Vicente Olivert Riera <[email protected]>
I'm a bit reluctant to include this. This isn't an independent project on its own, it's a repackaging of the AAC codec from Android. I include as few differences to the original upstream code as possible, to make sure maintainance of it is manageable - I don't want to diverge functionally or stylistically from the original, or in practice, as little as possible. (The differences mainly are in having a different build system, fixing crashes before the fixes get included in the Android version later, fixing other issues that don't matter in the Android context, etc.) In this case, you could try to get the whitespace fixed in Android (in the platform/external/aac repo) - in that case the fix will get included here later. |
7ce2379
to
1424ba3
Compare
53bf9f2
to
0ff3222
Compare
0ff3222
to
76e8471
Compare
76e8471
to
b809ce3
Compare
e23bd3a
to
db0a1ef
Compare
db0a1ef
to
8724dc8
Compare
8724dc8
to
3e22420
Compare
3e22420
to
9f2206e
Compare
9f2206e
to
85becc6
Compare
fb58727
to
2b08646
Compare
ebf81b8
to
ca3697f
Compare
29e4d6c
to
2428f8c
Compare
2428f8c
to
c2682cf
Compare
f793941
to
9c3da1a
Compare
d34e6cf
to
35d6f66
Compare
35d6f66
to
3650b5d
Compare
3650b5d
to
c6e79cc
Compare
c6e79cc
to
41cebf5
Compare
f3f3b69
to
e90ed2c
Compare
b317f70
to
752d181
Compare
4b67304
to
3b9e867
Compare
44c879d
to
0e7f351
Compare
0e1f12c
to
8fdc441
Compare
e80dd8e
to
c3cef6d
Compare
019fe95
to
6a138e0
Compare
6a138e0
to
d2efdf7
Compare
d2efdf7
to
7e2eb5e
Compare
d11b8c9
to
14922d3
Compare
60034fc
to
dae91a2
Compare
This ensures consistency in code spacing, making code easier to read.