Add Missing Camera Parameters
framework/base: Add customized parameters for camera features.

Patchset 1: Add QCOM_HARDWARE ifdefs.
Patchset 2: Don't need to ifdef snprintf over sprintf.

Change-Id: Id39c71976823ad18627f1e14d1b5e2fd0597c82e
Signed-off-by: Evan McClain <aeroevan@gmail.com>

Conflicts:

	include/camera/CameraParameters.h
	include/media/mediarecorder.h
	libs/camera/CameraParameters.cpp
stagefright: Additional types for Colorconvertor

- Define structure and enums to be used by stagefright
  to interact with mm-color-convertor library

Patchset 1: Add QCOM_HARDWARE ifdefs.

Change-Id: If2a01e3255b8e108f4559e016f31e6195976476a
Signed-off-by: Evan McClain <aeroevan@gmail.com>

Conflicts:

	media/libstagefright/colorconversion/Android.mk
Camera: Add mode in Framework Structure

Patchset 1: Add QCOM_HARDWARE ifdefs.

Change-Id: Ia6f983a998b6ab543d335f2e4e2ab18af97f53fe
Signed-off-by: Evan McClain <aeroevan@gmail.com>

Conflicts:

	include/camera/Camera.h
frameworks/base - suspend implementation for video playback

- suspend( ) API is not supported in MediaPlayer.
- On suspend, save current position and seek to the saved
  position when playback is resumed.

Change-Id: I62f79a2984d57841bdbdbe918a38d01d623c0a2b
CRs-Fixed: 281944
libstagefright: Initial commit for Camcorder bringup

- Memcpy mode for camcorder bringup

Patchset 1: Add QCOM_HARDWARE ifdefs.

Change-Id: I2d63c8c643bc2d7a278f4dff7e58d768b9ad4171
Signed-off-by: Evan McClain <aeroevan@gmail.com>

Conflicts:

	media/libstagefright/OMXCodec.cpp
camcorder: disable audio temporarily.

- set property camcorder.debug.disableaudio 1 to disable audio encode

Patchset 1: Add QCOM_HARDWARE ifdefs.

Change-Id: I33b6ba1cfc45c83f7779ae1abe3fddb4631a309e
Signed-off-by: Evan McClain <aeroevan@gmail.com>
libmedia: Update media profile cap for video codecs

- Update H.263, MPEG4 and H.264 profile caps
- Changes made to max width, height, bitrate and fps

Patchset 1: Add QCOM_HARDWARE ifdefs.
Patchset 2: Fix non-qcom createDefaults.

Change-Id: I0d50221a9e38a45fcccb70b7455412abe9a7a48b
Signed-off-by: Evan McClain <aeroevan@gmail.com>

Conflicts:

	media/libmedia/Android.mk
libstagefright: Add property to enable software decoder for video

Add sys property to enable software decoder for video in AwesomePlayer.

Enable software decoder using the adb shell command:
 setprop sys.media.vdec.sw 1

Disable software decoder using the adb shell command:
 setprop sys.media.vdec.sw 0

Change-Id: I9ae6c139575761d2b374b447f38dc5d43172ab40

Conflicts:

	media/libstagefright/AwesomePlayer.cpp
libstagefright: Checking buffer size.

Checking if the allocated buffer size is equal
to the buffer size requested by decoder.

Change-Id: I6e23668b3005badd7748b7687d014854e7152132

Conflicts:

	media/libstagefright/OMXCodec.cpp
libstagefright: Add NV12 Tile to RGB color conversion

- Adds support of NV12 Tile to RGB565 color conversion
using the qcom color convertor library.

Patchset 1: Add QCOM_HARDWARE ifdefs

Change-Id: I8f6fa92651b666376af514b46a5027f56492dd43

Conflicts:

	media/libstagefright/colorconversion/ColorConverter.cpp
frameworks/base: Enabling mmparser for AVI, ASF, QCP, AAC formats

- Add support in MediaScanner for AVI, DIVX
- Add new mime definitions for AVI, DIVX, WMA, WMV, AAC, QCP, AC3, DIVX311
- Add Extended Extractor, register new sniffers
- Enable DIVX, VC1, WMA, QCELP components in OMXCodec

Patchset 1: Add QCOM_HARDWARE ifdefs.
Patchset 2: Fix AVIExtractor include
Patchset 3: Whitespace.

Conflicts:

	include/media/stagefright/OMXCodec.h
	media/libstagefright/DataSource.cpp
	media/libstagefright/Android.mk
	media/libstagefright/OMXCodec.cpp
	media/libstagefright/StagefrightMediaScanner.cpp

Change-Id: Ie92c8a95f513bc9b915a46144adb603d03d1fa18
Signed-off-by: Evan McClain <aeroevan@gmail.com>

Conflicts:

	include/media/stagefright/OMXCodec.h
	media/libstagefright/DataSource.cpp
	media/libstagefright/OMXCodec.cpp
libstagefright: Framework changes for video bringup

 -Modified the makefile to define the correct macros depending on the target.
 -Added changes to select the proper video output color format for each target using
the macros defined in the makefile.
 -Modified the thumbnail generation logic to select HW decoders for supported targets.

Patchset 1: Add QCOM_HARDWARE ifdefs and rename TARGET_BOARD stuff.
Patchset 2: Fix ifdef for 8x60 for non-qcom hardware.

Conflicts:

	media/libstagefright/Android.mk

Change-Id: Ia034fb025c116a79937e70101e93fcc478898e8a
Signed-off-by: Evan McClain <aeroevan@gmail.com>

Conflicts:

	media/libstagefright/OMXCodec.cpp
	media/libstagefright/StagefrightMetadataRetriever.cpp
frameworks/base: Add support for QCELP/EVRC non-tunnel encoding in SF

Add support for QCELP and EVRC formats non-tunnel mode encoding
in StageFright using hardware accelerated encoders.

Patchset 1: Add QCOM_HARDWARE ifdefs.
Patchset 2: Fix ifdef derp.
Patchset 3: Fix endif derp, change omx-core include to vendor/qcom.

Conflicts:

	media/libstagefright/Android.mk
	media/libstagefright/OMXCodec.cpp

Change-Id: I179030d71a9598ddddcf754e963fbed1e1357024
Signed-off-by: Evan McClain <aeroevan@gmail.com>

Conflicts:

	media/libmediaplayerservice/StagefrightRecorder.cpp
	media/libstagefright/Android.mk
frameworks/base/nuplayer: Support for dynamic port reconfig in HTTP Live

- BW switch is detected by the decoder by a port reconfig event
  instead of a discontinuity event
- Handle port reconfig dyanamically in ACodec
  Steps are - Flush - Get all buffers back - Disable - Enable
- Handle PID change in TS Parser - Set PID based on stream type

Patchset 1: Add QCOM_HARDWARE ifdefs

Conflicts:

	media/libstagefright/ACodec.cpp

Change-Id: I5ff494084fffa218cafd3cd6db1197aad2233c4d

Conflicts:

	include/media/stagefright/ACodec.h
	media/libstagefright/ACodec.cpp
	media/libstagefright/mpeg2ts/ATSParser.cpp
frameworks/base/NuPlayer: Handle Seek from NuPlayer

- Seek was handled by the source by queuing discontinuity events
  individually for each stream.With this approach renderer will
  continue till discontinuity events are handled for each stream
- With the new approach seek is handled by the player -
  - get the new seek time from source
  - flush the source TS segments in LiveDataSource, access units
    in TS Parser, decoders and renderer
  - notify current position to driver
  - LiveSession will not queue a discontinuity for seek.
- Add a mutex lock for connect & disconnect ChromiumHTTPDataSource
- Handle flush in ACodec - Idle to Executing & Loaded to Idle states

Conflicts:

	media/libmediaplayerservice/nuplayer/NuPlayer.cpp

Change-Id: I8a741c2c665d3aca715734fc1fd1eeae33a6271b

Conflicts:

	media/libmediaplayerservice/nuplayer/HTTPLiveSource.h
	media/libmediaplayerservice/nuplayer/NuPlayer.cpp
	media/libstagefright/httplive/LiveSession.cpp
httplive/ACodec: Enable smooth streaming

- Use property to enable - hls.enable.smooth.streaming
- Set component in smooth streaming mode by doing a setParameter
  with OMX extension for SS
- Handle Port Reconfig Info event from component
- Whenever resolution changes do update buffer geometry on
  native window

Patchset 1: Add QCOM_HARDWARE ifdefs

Conflicts:

	media/libstagefright/ACodec.cpp

Change-Id: I694d05fe7aba2482f50f31a6e80b646822f15b31

Conflicts:

	include/media/stagefright/ACodec.h
	media/libstagefright/ACodec.cpp
Fix OmxCodec IfDef Derps
Revert "bootanimation: implement BOARD_CACHE_BOOTANIM"

This reverts commit 322aebb6d99add1e1e4d982666cd5666ad30190c.
Revert "bootanim: Don't cache textures if they're expected to use a lot of VRAM"

This reverts commit ea8e63dd3aec846f9177ce1ec66ee58807a85f19.