[MIPSR6] Skip assembler code using MFHI/MFLO on mips32r6

Change-Id: I3dacd96cf9d5cf9c3d34d612ebb0456d64bc23bc
Merge "[MIPSR6] Skip assembler code using MFHI/MFLO on mips32r6"
am 2decc778: Merge "[MIPSR6] Skip assembler code using MFHI/MFLO on mips32r6"

* commit '2decc77814e729df47464a504123f9b398ac7077':
  [MIPSR6] Skip assembler code using MFHI/MFLO on mips32r6
Ignore Clang warning on checking address of arrays.

BUG: 17356808
Change-Id: I464ffcfb3fc4f44ac8115f9ae98a8c46189b41cd
Merge "Ignore Clang warning on checking address of arrays."
am 4803bf75: Merge "Ignore Clang warning on checking address of arrays."

* commit '4803bf75f564e5c9304527a5b902711f78e9f621':
  Ignore Clang warning on checking address of arrays.
Move Clang only flags into LOCAL_CLANG_CPPFLAGS.

Gcc does not recognize -Wno-pointer-bool-conversion.

Change-Id: Ib6ffa321fff1947b6a098244f7d67fdeb45c2b41
Merge "Move Clang only flags into LOCAL_CLANG_CPPFLAGS."
am 7e464956: Merge "Move Clang only flags into LOCAL_CLANG_CPPFLAGS."

* commit '7e46495606bd66973a10565f932acee7bddcc003':
  Move Clang only flags into LOCAL_CLANG_CPPFLAGS.
Add support for Workgroup 4 (WG4) channel mapping

This is the channel ordering used in DVD Audio, and is the standard
used internally in the VLC media player.
Allow setting bitrate modes 1-5 too

These correspond to different VBR modes.
Add automake/autoconf source files

Also add examples.
Avoid casting arbitrary values to an enum

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.
Include the library versions in the publicly installed headers

This allows callers to conditionally use new API features without
breaking compatibility with the earlier versions of the library.
Fix PowerPC Mac build
Add ppc optimization for clz and fixmul

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

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.
Extend GetInvInt to support values up to 79

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.