samsung: add support for tvout and yamahaplayer services

Change-Id: I653f9876b7fb83734abf3a0b9b9b5af1920b8112

libmedia: renamed cflag for samsungs isSeparatedStream()

also needed on non-yamaha sound phones
BOARD_USE_YAMAHAPLAYER -> BOARD_USE_SAMSUNG_SEPARATEDSTREAM

Change-Id: I5326f4e561102df4d47152b560fe0185fa848ff5

libmedia: build with AudioParameter if needed

Usage:
BOARD_USES_LIBMEDIA_WITH_AUDIOPARAMETER := true

Change-Id: I4d33afcf2af200f70120ee9b9ee03c8830712686
Revert "Fix an error that should building on non-qcom devices"

This reverts commit c344b0c91c1803304b097e303f5a9c50b54edca2.
Revert "camera: Send proper preview window updates to HAL"

This reverts commit 0f81e8c7b70ceb87c5090650c0eba721a1bdd0ec.
Add customized parameters for qcom camera features.

Squashed commit of the following submissions to CAF:

camera: add custom camera parameters to hardware java file.

Change-Id: Ic2b363df6d25a0c3a49aed30e717d10874f533ae

Camera: Add support for wavelet denoise

Change-Id: I97be72615fe5909987ac430034bbdc16f2d20509

Camera : Add support for histogram in frameworks

Change-Id: Ibf751c3b2d488f4be0afaaa3e994372bafeffbe7

Camera: Add ZSL support in framework.

Change-Id: I4e863020d7d407d9c3936beb83dc7abf385c4654

Camera: Add touch AF/AEC support in ICS framework

In, ICS the old touch AF/AEC functions getTouchIndexAf(),
setTouchIndexAf() etc  are no longer valid. Added new functions  to get
the center of touched area.

Change-Id: I37d00040f895cd8a4de2e2a438971aa2d9c1a045

Camera: Add support for Red eye reduction

Change-Id: Iada280ac33aee8b1114dc40d8d79e0e47ad5c2fd

Conflicts:

	api/current.txt

Camera: Enable streaming texture and YV12 feature

Change-Id: I814c92b469e0f25baef0ce80338761d1e6443085

Camera: Add frameworks support for high frame rate

Change-Id: I9722e9b7e61433651ab5f76f76208853eb1fd849

Camera: Simplify ASD menu and best mode menu.

Change-Id: Ia7a1eca9268eec021a6e2c3f7ce2a932e8819d50

Camera : Macro definition change. PIXEL_FORMAT_YV12 to "yuv420p"

Why: CTS testcase is expecting "yuv420p" as the format string for YV12 mode.

CRs-Fixed: 328252
(cherry picked from commit 0a263f67b75497e4b95b9de8c370ed9496ab59ef)

Change-Id: I66f418a52775a969d81bcb332bbe500370e3ab7c

Camera: Changes for face detection

Change-Id: I7b2172e8690d6e23762e42f5888fecbfda15ba61

Camera: Add support for burst count

Change-Id: I4488a5eac1eebb0b5c8e2cc7cbbe7be0c7301be7

Camera: enable HDR feature

(cherry picked from commit e40770bbdadd925fc1e07a08249a15981b961570)

Change-Id: Ie9ca3066e8e53710bf292d047a3724aefc029854

Camera : Add API to find fullsize liveshot support

Change-Id: I3c2fc3578decbe5cf87fded5362f317df0b40b5e
(cherry picked from commit 65d80f04892776eec1c19c844eacb8c454b4bd1a)

Camera: Set default camera area string

The default invalid value for KEY_FOCUS_AREA and
KEY_METERING_AREA is changed to "(0,0,0,0,0)"
CRs-fixed: 334934

Change-Id: I354802c8611ee5c00a591b96b1a1ca04926969cb

Camera: Change the scenemode names in framework

To comply with ICS API Specification,
SCENE_MODE_AUTO changed to SCENE_MODE_ASD
SCENE_MODE_OFF changed to SCENE_MODE_AUTO

Change-Id: I8e744f10c728f469923b09f69d6d64bc5c7c6850

Camera : Framework changes for camcorder UI menu

Change-Id: Iff9e9021da44b67f81a24c828b960113ee249248

Camera : Remove unwanted video resolution in Framework

- FWVGA, WQVGA resolution UI options are removed for camcorder.

Change-Id: If621140966b01dbc8c30a4d161e6771528b8adda

Camera : Enable FWVGA and WQVGA resolutions in camcorder media profiles

Change-Id: Iad9cc33f7b6d8eb7de21df372c016edeef0b99ba

Unlock camera AWB lock only when white-balance is changed.

bug:5633546
Change-Id: I90bb4b5b445daedf38a64e2f8fb980fc0f0aaa81

Change-Id: Ie3cc15132489502e64321776d49d96846b5705d6
libstagefright: Video playback bringup

Change-Id: I2d3420a391a085045607bd618772e34d6360da2d
libstagefright: Initial commit for camcorder bringup

TBD
- Remove check in drainInputBuffers
- Remove check in getFrameSize

Change-Id: I29f4df547b3482e9e62501b7f3311af74d2efea0
libstagefright: Fix crash during 3D Video playback

The crash was observed while handling extra data in FTB.
This was due to improper assignment of buffer handle to
pBuffer. This assignement is corrected in OMX component
and hence CHECK_EQ for buffer handle in OMX nodeInstance
is removed.

Change-Id: Ib1eb206a201f2e23aec2137b64b93bcb0fc2d221
CRs-Fixed: 328535
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: I85b50f193c25c88f4517677dd4a328a0c83f941c
Fix building on qcoms with incomplete configs

Change-Id: Ib5224c993ed1f03d3bd09c0f4a05d2cb7d5d1c2c
Add support for ICS audio blobs

Enable with the ICS_AUDIO_BLOB CFLAG

Change-Id: Ie174d5997202b8931c1f11db62b6ec2e377f096a
audio: Add compatibility bits to use legacy libaudio implementations

Enable with BOARD_USES_AUDIO_LEGACY, requires the use of the generic
legacy audio shim

Change-Id: I60407b48c2a8f3c9736805f31dcdef280c9aa485
libmedia: Add ICS constructor for getOutput

Used by the Tegra ICS OMX libraries

Change-Id: I2f6e7f10f11b53853626d1be86e7b2be870720f4
Add Samsung OMX and Color Format support (2/2)

Change-Id: I76ca4c2bcd61ee27156d6104f212b8ec0b491fbd
camera: Send proper preview window updates to HAL

Change-Id: I75220be94bfcbe893e99d2aca35db0b7d4ed473b

Conflicts:

	services/camera/libcameraservice/CameraService.cpp
Fix an error that should building on non-qcom devices

Change-Id: I1032dd52093a8e55d9545d0b02e02e9036225e32