LibVlcUtil: attempt to get maximum CPU frequency
LibVLC: use actual CPU frequency when choosing deblocking mode
Util: use -1 as default for consistency and add debug
LibVLC: use bogoMIPS as last resort

It is not accurate but it works as a last resort when real frequency is unavailable.
libiomx: factorize builds

Only libiomx libs that are specified by LIBVLC_LIBS will be built.

Signed-off-by: Martin Storsjö <martin@martin.st>
Don't use iomx-ics on jbmr2 (4.3)

For the normal, non-direct-rendering iomx, the headers from ICS work
on 4.1 and 4.2, but not on 4.3.

Signed-off-by: Martin Storsjö <martin@martin.st>
Add missing hardware headers for gingerbread

This allows building most of the iomx hwbuffer code for gingerbread
as well, even though it's not hooked up completely yet.

Signed-off-by: Martin Storsjö <martin@martin.st>
Add lists of symbols of libcutils and libui

Signed-off-by: Martin Storsjö <martin@martin.st>
libiomx: Build the hwbuffer code if found

The new iomx_hwbuffer.c file currently only exists in the master
branch in vlc.git, not in the 2.2 release branch.

Linking the libiomx-*.so to libcutils/liblog/libui even though we
don't use any functions from those (if iomx_hwbuffer.c isn't found)
doesn't hurt, and some of them are necessary even if iomx_hwbuffer.c
isn't built, since we still provide ANDROID_API to iomx.cpp (which
causes the HAS_USE_BUFFER codepaths to be built).

Signed-off-by: Martin Storsjö <martin@martin.st>
Enable iomx direct rendering if "full acceleration" is chosen

The "auto" option doesn't enable any acceleration at all until
4.3, so this is quite safe - only people who intentionally enable
it will get it. (And for older vlc.git versions, such as the
vlc-2.2 branch, it won't have any effect.)

Signed-off-by: Martin Storsjö <martin@martin.st>
Add android private headers for jbmr2 and kitkat

Signed-off-by: Martin Storsjö <martin@martin.st>
libiomx: Add disabled rules for building libiomx for jbmr2 and kitkat

This is useful for debugging.

Don't warn if unable to load these debug libs.

Signed-off-by: Martin Storsjö <martin@martin.st>