exynos4:  Part of Netflix fix

codeworkx pulled the Samsung colorformat patch from Insignal's
exynos-jb branch, which is an invalid source for exynos4 patches.

It was checking for an OMX codec name that didn't exist.

This still doesn't stop Netflix JPlayer failing in 10.1, but
does fix Netflix failing if you disable JPlayer by convincing
it that it's on an older Android version.

Change-Id: Ia55878dc08f81e2900307558e35c4e0c5b9cac2f
Merge "exynos4:  Part of Netflix fix" into cm-10.1
Merge remote-tracking branch 'CyanogenMod/cm-10.1' into cm-10.1
Fix log spam: Failed to open libwvm.so

Bug: 7342813
Change-Id: I98852f036e4679a653723fc2bf1435d6e9d7d34c
stagefright: Allow compatibility with ICS EGL for OMX

QCOM uses the OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka
format for video buffers, which in ICS was "translated" into a different
gralloc format (0x108, HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
JB uses the same value for both the buffer format and the pixel format,
which the ICS Adreno libraries don't recognize. If using such libraries,
enable the conversion with the QCOM_ICS_COMPAT CFLAG

Change-Id: Ieb1cb090d26840583cac7c753c4a4c0898f12315
libstagefright: support for disabling buffer metadata

- Metada mode video recording is enabled by default.
- use setprop debug.camcorder.disablemeta 1 to disable metadata mode recording.

Change-Id: I8ce90e633b262c5b2d1c9d7e367b7b5487b6d1b4
fix typo

Change-Id: I8b40a841fa5f2156f03d0c139824503d2e3d3580
Added support legacy Qualcomm OpenMAX IL libs for MSM7x27

Change-Id: I63e68e63fce955fef52813360032f5e8e90a4b92
Fix the encoder

Change-Id: I929c769b24d0b891487faf4f0d3c9fa66e04eeef
Correct gralloc usage flags for renderer
Fix legacy OMX encoders

Ensure that a valid frame_rate is passed to the encoder, otherwise
encoding will fail.

Change-Id: Iaaa298496755ff405e393120973d1ed782f5d8f4
Disable hardware-accelerated thumbnailing mode (WIP)

Thumbnailing mode appears to be causing crashes with the avc codec.

Thumbnailing mode is triggered when indexing files in the Gallery app,
but it also appears that the camera uses the
OMX.qcom.video.decoder.avc codec in thumbnail mode when in
viewfinder/snapshot mode with certain cameraHAL versions (a bug)?

For an example of the camera crashing without this patch (Galaxy 5):
https://gist.github.com/4444260

This change fixes the camera & thumbnailing crashes, but the
root cause needs to be identified/fixed properly.

Change-Id: I9312e609e45d218163a8ee2c415a0a126bdbf3fe