SurfaceFlinger: Enable S3D support when building for s3d sdk-addon

Enable S3D support in SurfaceFlinger when the s3d sdk-addon emulator
system image is built.

Change-Id: I3bd6599e6fbda9895cd06c4b4ec2cdba951b03d2
Signed-off-by: Alberto Aguirre <a-aguirre@ti.com>
Video Encoder : Support Setting of H264 Encoder profile through system property

This patch supports setting of Different Encoder Profiles for H264 Encoder.
This can be done by setting the property: video.h264enc.profile to
1 - BASE PROFILE , 2 - MAIN PROFILE and 8 - HIGH PROFILE
Invalid setting will result to using BASE PROFILE as default.
Patch set#2 : Addressed review comments.

Change-Id: I2352ff715adba495f6e1365da8de326bbc6ef2c1
Signed-off-by: Sathya Prakash M R <a0393677@ti.com>
Video Encoder: Remove Hard coding of H264 Encoder Profile

This patch removes hard coding of baseline profile.
Now using system properties we can set Encoder profile.
Signed-off-by: Sathya Prakash M R <a0393677@ti.com>
Signed-off-by: Vicky Martinez-DeFrain <a0869710@ti.com>
Change-Id: I9fc61016843b5d9e91d6f068a1c7838a67a0b1cc
Workaround for Mpeg2TS grey thumbnail issue

Seek is not supported in Mpeg2TSExtractor. Thus during thumbnail
generation if the software decoder is failing the extractor is not
seeking to the I-frame and is providing the next available frame to
hardware decoder. Thus there is issue in thumbnail generation.
To resolve this, we directly use hardware decoder for all the
Mpeg2Ts Clips.

OMAP_ENHANCEMENT macro has been added. It is a workaround,
and the actual fix should be done inside Mpeg2TSParser.
Changes are added for Mpeg2PS clips as well. Now for Mpeg2TS,
Mpeg2PS clips by default hardware codec is used for thumbnail
generation.

Change-Id: I89c4b31b108834b59d4264204ef270cf22c8ab47
Signed-off-by: Santhosh Behara <santhosh.behara@ti.com>
Support for playback of WMV9,VC1 inside AVI file

Added support for playback of WMV9 and VC1 Streams inside AVI file.
The changes include parsing of codec config header which is present
as part of stream format header inside AVI file.
Also, incase of VC1 stream the encoded data should be prefexed with
the start code 0x0000010d. The first frame should include codec
config header in the begining then data start code followed by data.

Review comments are incorporated.

Change-Id: Ie869d520a51e140f18a332a2e2be4ab7a7889f01
Signed-off-by: Santhosh Behara <santhosh.behara@ti.com>
TimeLapse recording with High Profile Encoder

When Timelapse recording is performed, Encoder is expected
to process each input buffer and provide a output buffer.
This wont work when we have B Frames enabled.
This patch disables B Frames when Encoder flag
kOnlySubmitOneInputBufferAtOneTime is set to allow
submission of 1 frame at a time.

Patch set#4: Added the check to cover all encoders.
Updated commit message and comments in code to be in sync
with the patch submitted to google.

Change-Id: I7dd17f8ce9185abe3c6749caa34c90500bd2f913
Signed-off-by: Sathya Prakash M R <a0393677@ti.com>
StageFright: Enhance StageFright test app to dump decoded data to a file.

"-D" option is added to dump decoded frames to a file.
Complete buffer is dumped including the padding.
Support for Gralloc buffers is not added.

Example usage: stagefright -m 100 -D /data/out.yuv /sdcard/XXXX.mp4

Change-Id: Ib3271c8535227031a9bc612232111217e1c955c3
Signed-Off-By: Rajesh Vandanapu<rajeshv@ti.com>
docs: Android SDK r17 (RC6) Release Notes

Change-Id: I1e58b3827e4fe70310d2154e0f85b16b79d6a0d2
audioflinger: fix issue with camcorder and A2DP

Some audio HALs do not support well a device selection of 0 (no device)
received on an input stream.

This can happen because of a problem in the audioflinger code that handles
the forwarding of the output device selection to the record thread for use by
the pre processing modules that need it. If the output device is 0 (meaning
no op, which happens when stopping playback over A2DP) audioflinger could not
detect it was an output device selection and would forward it to the input
stream (see AudioFlinger::setParameters() and RecordThread::checkForNewParameters_l().

Issue 6179641.

Change-Id: Idae534521866538e0d12ba259a2834f402a922e2
DO NOT MERGE Revert "Increase line limit for summary text"

This reverts commit 90e3bcae6771df767c3377ca3bd6c08d99062ca3

Change-Id: I7702ab859a20ea264b8c7264748f1a8cc44262be
Added support for Ittiam AAC and BSAC decoders

Change-Id: Ia42eee67a8a435c1b0173e5f7a853b1b11db56cf
Signed-off-by: Sergii Shcherbakov <x0155537@ti.com>
docs: Android SDK r17 (RC7) Release Notes (fix for build feature info)

Change-Id: Id10c2d5eec9f81d1c6ce52067b7e25b7f411d91c
DOC CHANGE: IME subtype article

Change-Id: Ie7addcc6155c275b247e15787fe226b43b0dee1a
Docs: Added efficient downloads Android U class

Change-Id: I2a9484c5a224a7e0688fbd9afb16246db8f3ddf9
Add CAMERA_MSG_RAW_BURST handling to CameraService

Change-Id: Id958836e726e9908f60311d5bfc6d26eb8298cea
Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
Implementation for taking ShotParameters in takePicture()

Change-Id: I80a359eda2bbd060c6ddd9958e2c3ef86f7e79b6
Signed-off-by: Tyler Luu <tluu@ti.com>
Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
Initial implmentation of BufferSource API

In this initial implementation of setBufferSource,
BufferSource is nothing but an instance of the
SurfaceTexture class and passed as a preview_stream_ops
to camera HAL module. BufferSource will be the allocator
interface for tap-in and tap-out points to allow for
zero-copy buffer passing between processes using camera.

Change-Id: I54ae0690928cd972a93b2cef035041ba8f23c8b8
Signed-off-by: Tyler Luu <tluu@ti.com>
Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
Merge remote-tracking branch 'omap-mirror/ics-mr1' into mergeconflicts

Conflicts:
	core/jni/android/graphics/TextLayoutCache.cpp
	media/libmedia/AudioTrack.cpp

Change-Id: I65be58da3987e1292f8b1c95a1cd5cb3e59c4a06
Signed-off-by: Barry Woodward <b-woodward@ti.com>
surfacetexture client: get current buffer

add a method for surface texture client to be able to
update and get current buffer for tap-in points

Change-Id: Ib0e4e178e95259ae8e5dd5ca9fd767f69bc3d6cf
Signed-off-by: Tyler Luu <tluu@ti.com>
camera: add get current buffer to preview_stream_ops

Change-Id: I63378ac5bd009c676aeaf31aeb000538c91e08be
Signed-off-by: Tyler Luu <tluu@ti.com>