mm-core: Add support for Smooth streaming for secure mode playback.

   - This change will add the extension index required for
   - Smooth Streaming for both secure and non secure mode video playback.

Change-Id: I351b5c68702fc2dd83d50801b9bee7f8744c31b6
CRs-Fixed: 451786
mm-video: vidc: Add support for Smooth streaming for secure mode playback.

    -When secure playback enabled, extra data parsing can't be done to
      find new resolution.
    -This change will add the extension index required for
      Smooth Streaming for both secure and non secure mode video playback.

Change-Id: I65be81b9593879466d0398ff593e4b806db5f940
CRs-Fixed: 451786
mm-core: Add kKeySmoothStreaming

Change-Id: I93036781cab1d81d8e22a626d61348b71203380b
mm-core: Add key for HFR encoding

Change-Id: I0aa6978eaad25418260114fdad94d3294a0205c7
mm-video: venc: Align chroma to 2K for non-camera YUV420SP input

Encoder has a hard-requirement of 2K alignment of UV plane.
Apps and other non-camera sources (not aware of this alignment)
will queue YUV420SP buffers, which need an explicit alignment

Change-Id: I9d23fc6c0fb935bc8d20e3e454e80272d6188652
mm-video: venc: Distinguish between normal NV12 and aligned NV12

Encoder has a hard-requirement of 2K alignment of UV plane.
Apps and other non-camera sources (not aware of this alignment)
will queue YUV420SP buffers, which need an explicit alignment.
But for some other apps(e.g VT) that are aware that the component
wants aligned NV12 and would align it themselves, causing the component
to muck up the buffer by realigning it.

To prevent the confusion, the component now makes a distinction between
NV12 (OMX_COLOR_FormatYUV420SemiPlanar) and aligned NV12 (QOMX_COLOR_\
FORMATYUV420PackedSemiPlanar32).  Clients who prefer to provide aligned
buffers will now set the latter as the input port format.

Change-Id: I73c337660fb825e9b267663266fd4b9d6e35443e
Use TARGET_QCOM_MEDIA_VARIANT flag

Needed after http://review.cyanogenmod.org/51031
Use the same logic as caf variant

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I445350621307363dfebca9fb7e4b32c6c0a459b0