OSDN Git Service

android-x86/frameworks-av.git
10 years agoMerge "GLConsumer: Stop using default constructor params"
Dan Stoza [Wed, 25 Jun 2014 17:03:52 +0000 (17:03 +0000)]
Merge "GLConsumer: Stop using default constructor params"

10 years agoMerge "audio policy: fix several issues on routing APIs."
Eric Laurent [Wed, 25 Jun 2014 15:57:06 +0000 (15:57 +0000)]
Merge "audio policy: fix several issues on routing APIs."

10 years agoaudio policy: fix several issues on routing APIs.
Eric Laurent [Mon, 23 Jun 2014 15:46:27 +0000 (08:46 -0700)]
audio policy: fix several issues on routing APIs.

- Do not list duplicated outputs in listAudioPorts(): duplicated
outputs are not valid sources for audio patches.
Also add asserts to make sure that an audio port with no valid profile
is never used by audio routing APIs.
- Fix typos causing the wrong device type to be used
when creating an audio patch.
- Fix error in building config mask in toAudioPortConfig().

Change-Id: I4505891dbed2c2fa92804d45505c3c2deb921f3e

10 years agoGLConsumer: Stop using default constructor params
Dan Stoza [Tue, 24 Jun 2014 20:04:08 +0000 (13:04 -0700)]
GLConsumer: Stop using default constructor params

Removes the dependency on default constructor parameters for
GLConsumer so that a different constructor prototype can safely be
added.

Change-Id: I0da924bbd4c141edbf305598c1be8bc575654680

10 years agoMerge "Use sp<> instead of raw pointer for FastMixer"
Glenn Kasten [Tue, 24 Jun 2014 22:06:56 +0000 (22:06 +0000)]
Merge "Use sp<> instead of raw pointer for FastMixer"

10 years agoUse sp<> instead of raw pointer for FastMixer
Glenn Kasten [Tue, 13 May 2014 17:39:51 +0000 (10:39 -0700)]
Use sp<> instead of raw pointer for FastMixer

This avoids worry about the thread lifetime during tear-down.

Bug: 15858655
Change-Id: I896d24317bd6f53a574645cdf4cd514eaa205dd5

10 years agoam 32f212ea: (-s ours) am 87c47b0d: (-s ours) am bc0c2c2d: (-s ours) Merge "DO NOT...
Lajos Molnar [Tue, 24 Jun 2014 19:42:44 +0000 (19:42 +0000)]
am 32f212ea: (-s ours) am 87c47b0d: (-s ours) am bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"

* commit '32f212ead657617df00c948448680b7ff7d11146':
  DO NOT MERGE: Fix for SW video decoder OMX profile/level query

10 years agoam 76e4e02d: am 940c688d: Merge "libmediaplayerservice: unused argument warning messages"
Mark Salyzyn [Tue, 24 Jun 2014 19:42:42 +0000 (19:42 +0000)]
am 76e4e02d: am 940c688d: Merge "libmediaplayerservice: unused argument warning messages"

* commit '76e4e02d6b6c1da140b8cbe48fc58035d2b7d311':
  libmediaplayerservice: unused argument warning messages

10 years agoam 87c47b0d: (-s ours) am bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video...
Lajos Molnar [Tue, 24 Jun 2014 19:35:30 +0000 (19:35 +0000)]
am 87c47b0d: (-s ours) am bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"

* commit '87c47b0d1c2df3e8630eb1b78fe303cfb24b3ad5':
  DO NOT MERGE: Fix for SW video decoder OMX profile/level query

10 years agoam 940c688d: Merge "libmediaplayerservice: unused argument warning messages"
Mark Salyzyn [Tue, 24 Jun 2014 19:35:26 +0000 (19:35 +0000)]
am 940c688d: Merge "libmediaplayerservice: unused argument warning messages"

* commit '940c688d76828ffd83929c661e75b5197903d30f':
  libmediaplayerservice: unused argument warning messages

10 years agoam bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video decoder OMX profile...
Lajos Molnar [Tue, 24 Jun 2014 18:00:29 +0000 (18:00 +0000)]
am bc0c2c2d: (-s ours) Merge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"

* commit 'bc0c2c2d2a4cc058ab404f940f0ca65f595e047b':
  DO NOT MERGE: Fix for SW video decoder OMX profile/level query

10 years agoMerge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"
Lajos Molnar [Tue, 24 Jun 2014 17:56:00 +0000 (17:56 +0000)]
Merge "DO NOT MERGE: Fix for SW video decoder OMX profile/level query"

10 years agoDO NOT MERGE: Fix for SW video decoder OMX profile/level query
Xiaosong Wei [Tue, 17 Dec 2013 15:05:29 +0000 (23:05 +0800)]
DO NOT MERGE: Fix for SW video decoder OMX profile/level query

get the correct profile index from the input param and pass it to
profileLevel array to get the corresponding profile/level

Change-Id: I582961c0afb53c1781af7fb94226a23e5fdb96cf
Signed-off-by: Xiaosong Wei <xiaosong.wei@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
10 years agoMerge "Improve MTP error checking"
Marco Nelissen [Tue, 24 Jun 2014 18:16:13 +0000 (18:16 +0000)]
Merge "Improve MTP error checking"

10 years agoImprove MTP error checking
Marco Nelissen [Tue, 24 Jun 2014 17:49:08 +0000 (10:49 -0700)]
Improve MTP error checking

Change-Id: I1ab02ca0e99a1c284411fb368a773fb481d72ab2

10 years agoMerge "libmediaplayerservice: unused argument warning messages"
Mark Salyzyn [Tue, 24 Jun 2014 17:12:19 +0000 (17:12 +0000)]
Merge "libmediaplayerservice: unused argument warning messages"

10 years agolibmediaplayerservice: unused argument warning messages
Mark Salyzyn [Mon, 23 Jun 2014 21:14:40 +0000 (14:14 -0700)]
libmediaplayerservice: unused argument warning messages

Change-Id: I7dbf62858114ac9b8de6d7b66cc00e002769a5cf

10 years agoam 620f348f: am da69fdbb: Merge "Fix buffer allocation"
Marco Nelissen [Mon, 23 Jun 2014 19:54:07 +0000 (19:54 +0000)]
am 620f348f: am da69fdbb: Merge "Fix buffer allocation"

* commit '620f348faf3ce0c39e71338a005f1528765f4d1e':
  Fix buffer allocation

10 years agoam da69fdbb: Merge "Fix buffer allocation"
Marco Nelissen [Mon, 23 Jun 2014 19:48:55 +0000 (19:48 +0000)]
am da69fdbb: Merge "Fix buffer allocation"

* commit 'da69fdbbeb79885a3c063a2017bd6d2848fcc312':
  Fix buffer allocation

10 years agoMerge "Camera: Clear ZSL buffer queue when jpeg size is changed"
Zhijun He [Mon, 23 Jun 2014 22:04:11 +0000 (22:04 +0000)]
Merge "Camera: Clear ZSL buffer queue when jpeg size is changed"

10 years agoCamera: Clear ZSL buffer queue when jpeg size is changed
Zhijun He [Mon, 23 Jun 2014 17:22:37 +0000 (10:22 -0700)]
Camera: Clear ZSL buffer queue when jpeg size is changed

Bug: 15284653
Change-Id: I4778e8443945d918801102ba600874568bde12dc

10 years agoMerge "Parse trex and mehd boxes"
Marco Nelissen [Mon, 23 Jun 2014 18:11:53 +0000 (18:11 +0000)]
Merge "Parse trex and mehd boxes"

10 years agoParse trex and mehd boxes
Marco Nelissen [Tue, 17 Jun 2014 21:48:32 +0000 (14:48 -0700)]
Parse trex and mehd boxes

Also get duration from mvhd if available, use that in addition to track
durations to determine total length of file, clear track header
struct so we don't read uninitialized garbage from it, and take
composition time offset into account for proper ordering when B frames
are used.

b/15669839

Change-Id: Ibf3e35b5c7299bac11d0e78a391545fc325dd2d0

10 years agoMerge "Add test-mixer AudioMixer test program"
Andy Hung [Mon, 23 Jun 2014 16:44:53 +0000 (16:44 +0000)]
Merge "Add test-mixer AudioMixer test program"

10 years agoAdd test-mixer AudioMixer test program
Andy Hung [Tue, 17 Jun 2014 22:10:51 +0000 (15:10 -0700)]
Add test-mixer AudioMixer test program

The shell script mixer_to_wav_tests.sh shows how to use
test-mixer.

Change-Id: Ia7f1a368972c9c33fadc96df4cb1fc8b22446c8c

10 years agoCamera2: get stream configs by device verison
Yin-Chia Yeh [Wed, 18 Jun 2014 17:51:34 +0000 (10:51 -0700)]
Camera2: get stream configs by device verison

Starting from device version 3.2, the following tags:
    ANDROID_SCALER_AVAILABLE_FORMATS
    ANDROID_SCALER_AVAILABLE_JPEG_MIN_DURATIONS
    ANDROID_SCALER_AVAILABLE_JPEG_SIZES
    ANDROID_SCALER_AVAILABLE_PROCESSED_MIN_DURATIONS
    ANDROID_SCALER_AVAILABLE_PROCESSED_SIZES
    ANDROID_SCALER_AVAILABLE_RAW_MIN_DURATIONS
    ANDROID_SCALER_AVAILABLE_RAW_SIZES

are deprecated and replaced by:
    ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS

Change-Id: Iadc34af0ea985a16a25759d7a9a3eb4845c486fd

10 years agoMerge "Fix buffer allocation"
Marco Nelissen [Mon, 23 Jun 2014 18:23:22 +0000 (18:23 +0000)]
Merge "Fix buffer allocation"

10 years agoFix buffer allocation
Marco Nelissen [Mon, 23 Jun 2014 15:15:13 +0000 (08:15 -0700)]
Fix buffer allocation

b/15293123

Change-Id: Icb3ceabf02a55bc931baaf388ce125db6332de0e

10 years agoMerge "libeffects: 64-bit compile warnings"
Mark Salyzyn [Fri, 20 Jun 2014 21:59:17 +0000 (21:59 +0000)]
Merge "libeffects: 64-bit compile warnings"

10 years agolibeffects: 64-bit compile warnings
Mark Salyzyn [Fri, 20 Jun 2014 20:29:08 +0000 (13:29 -0700)]
libeffects: 64-bit compile warnings

Change-Id: I210129f5742b046f7ceef48194f039352eff596d

10 years agoam 06508824: am f0d8468d: DO NOT MERGE: CameraService: Fix permissions check issues
Eino-Ville Talvala [Fri, 20 Jun 2014 19:48:21 +0000 (19:48 +0000)]
am 06508824: am f0d8468d: DO NOT MERGE: CameraService: Fix permissions check issues

* commit '06508824dc699c566bc4ffbd816b2227fba15379':
  DO NOT MERGE: CameraService: Fix permissions check issues

10 years agoMerge "Camera2: Fix lastFrameNumber counter in flush case"
Yin-Chia Yeh [Fri, 20 Jun 2014 21:57:51 +0000 (21:57 +0000)]
Merge "Camera2: Fix lastFrameNumber counter in flush case"

10 years agoCamera2: Fix lastFrameNumber counter in flush case
Yin-Chia Yeh [Fri, 13 Jun 2014 21:53:05 +0000 (14:53 -0700)]
Camera2: Fix lastFrameNumber counter in flush case

Decrement the counter for those repeating requests never
sent to device.

Change-Id: I2064e51cb5d509d86dbde4a89e8157de33f574b0

10 years agoMerge "Camera2/3: Don't release recording buffer when stream is active"
Zhijun He [Fri, 20 Jun 2014 21:50:17 +0000 (21:50 +0000)]
Merge "Camera2/3: Don't release recording buffer when stream is active"

10 years agolibcameraservice: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:33:43 +0000 (16:33 -0700)]
libcameraservice: 64-bit compile warnings

Change-Id: I168332a0d4699f6f5597d4883342aa7af7ed92c6

10 years agoaudiopolicy: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:33:15 +0000 (16:33 -0700)]
audiopolicy: 64-bit compile warnings

Change-Id: I71db11499c4b0c434df8144c633d42282f5823c2

10 years agoMerge "libnbaio: 64-bit compile warnings"
Mark Salyzyn [Fri, 20 Jun 2014 21:32:59 +0000 (21:32 +0000)]
Merge "libnbaio: 64-bit compile warnings"

10 years agoMerge "libmediaplayerservice: 64-bit compile warnings"
Mark Salyzyn [Fri, 20 Jun 2014 21:07:06 +0000 (21:07 +0000)]
Merge "libmediaplayerservice: 64-bit compile warnings"

10 years agoMerge "Fix Externally reported security issue"
Jeff Tinker [Fri, 20 Jun 2014 20:45:14 +0000 (20:45 +0000)]
Merge "Fix Externally reported security issue"

10 years agoam 7f76c502: (-s ours) am 06508824: am f0d8468d: DO NOT MERGE: CameraService: Fix...
Eino-Ville Talvala [Fri, 20 Jun 2014 19:56:38 +0000 (19:56 +0000)]
am 7f76c502: (-s ours) am 06508824: am f0d8468d: DO NOT MERGE: CameraService: Fix permissions check issues

* commit '7f76c50257f131cb26c1c21ede2622cb7ad534bf':
  DO NOT MERGE: CameraService: Fix permissions check issues

10 years agolibnbaio: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:32:00 +0000 (16:32 -0700)]
libnbaio: 64-bit compile warnings

Change-Id: I9517c32193031dcc7af7b2104e985d66805b84aa

10 years agolibmediaplayerservice: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:31:32 +0000 (16:31 -0700)]
libmediaplayerservice: 64-bit compile warnings

Change-Id: I333e52dc377becc774f3fa971c230ecb55ea8d7b

10 years agoFix Externally reported security issue
Jeff Tinker [Tue, 17 Jun 2014 23:45:46 +0000 (16:45 -0700)]
Fix Externally reported security issue

bug: 12724697
Change-Id: I57f37dbb3b01c0c3d3256be67c395352dd6ada13

10 years agoMerge "camera: Let #connectLegacy calls through with unspecified HAL version"
Igor Murashkin [Fri, 20 Jun 2014 18:49:55 +0000 (18:49 +0000)]
Merge "camera: Let #connectLegacy calls through with unspecified HAL version"

10 years agocamera: Let #connectLegacy calls through with unspecified HAL version
Igor Murashkin [Fri, 20 Jun 2014 18:27:03 +0000 (11:27 -0700)]
camera: Let #connectLegacy calls through with unspecified HAL version

This enables the camera2 shim to open a camera1 device without
turning the error codes into a RuntimeException.

Change-Id: I08d9d1e30e72025c41bd54b702d7ae95b32257be

10 years agoMerge "Extract out test utility functions from resampler_tests"
Andy Hung [Fri, 20 Jun 2014 16:22:28 +0000 (16:22 +0000)]
Merge "Extract out test utility functions from resampler_tests"

10 years agolibmedia: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:30:56 +0000 (16:30 -0700)]
libmedia: 64-bit compile warnings

Change-Id: I600f062fa7148c01851023c1240c39939e648002

10 years agoam f0d8468d: DO NOT MERGE: CameraService: Fix permissions check issues
Eino-Ville Talvala [Thu, 19 Jun 2014 23:33:15 +0000 (23:33 +0000)]
am f0d8468d: DO NOT MERGE: CameraService: Fix permissions check issues

* commit 'f0d8468dcec08e1ac4edf62ec7da5782a0b84d93':
  DO NOT MERGE: CameraService: Fix permissions check issues

10 years agoMerge "cameraservice: Implement HAL1 and higher HAL API coexistence"
Zhijun He [Thu, 19 Jun 2014 23:27:56 +0000 (23:27 +0000)]
Merge "cameraservice: Implement HAL1 and higher HAL API coexistence"

10 years agocameraservice: Implement HAL1 and higher HAL API coexistence
Zhijun He [Mon, 16 Jun 2014 23:38:35 +0000 (16:38 -0700)]
cameraservice: Implement HAL1 and higher HAL API coexistence

A higher hal version device like HAL3.2 can be opened as HAL1.0 device
if HAL supports it. This only applies to camera API1.

Change-Id: I4ae9f59f4317158cc1bd7ed7726e4032cdd1fa07

10 years agoscreenrecord: 64-bit compile warnings
Mark Salyzyn [Wed, 18 Jun 2014 23:30:26 +0000 (16:30 -0700)]
screenrecord: 64-bit compile warnings

Change-Id: I708e48e24719b2c4bb023069164aafd4c2ad639b

10 years agoAudioTrack: add support for compressed audio
Eric Laurent [Tue, 10 Jun 2014 00:22:27 +0000 (17:22 -0700)]
AudioTrack: add support for compressed audio

Add support for compressed audio playback by use
of an AudioTrack attached to a direct output thread.

Bug: 9428304.

Change-Id: I4a61be9cf0e31003ca85935d6e0ee38ca8192e03

10 years agoExtract out test utility functions from resampler_tests
Andy Hung [Tue, 17 Jun 2014 21:33:39 +0000 (14:33 -0700)]
Extract out test utility functions from resampler_tests

These will be used for mixer tests later.

Change-Id: I22b1c89857058cfb2450afe15e80d6c9306a31f1

10 years agoCamera2/3: Don't release recording buffer when stream is active
Zhijun He [Wed, 18 Jun 2014 18:43:02 +0000 (11:43 -0700)]
Camera2/3: Don't release recording buffer when stream is active

It is dangerous to release all recording buffers when recording stream is
actively sending buffer to encoder. This change only releases all buffers when
recording stream is idle and recording stream is about to start.

Bug: 15667833
Change-Id: Ia4a84cac84a2062c13333467c66698273ffb0e23

10 years agoMerge changes I0fef0584,I322b91fa
Jean-Michel Trivi [Thu, 19 Jun 2014 15:33:55 +0000 (15:33 +0000)]
Merge changes I0fef0584,I322b91fa

* changes:
  AudioPolicyManager: return output for audio attributes
  AudioTrack construction with audio attributes

10 years agoAudioPolicyManager: return output for audio attributes
Jean-Michel Trivi [Fri, 13 Jun 2014 23:06:54 +0000 (16:06 -0700)]
AudioPolicyManager: return output for audio attributes

In AudioPolicyManager, support querying an output
 or playback strategy for audio attributes,
 instead of a stream type,
In AudioTrack creation, use the output returned
 for the track's attributes.

Change-Id: I0fef05845ba676404775e2e338c10e6a96237268

10 years agoAudioTrack construction with audio attributes
Jean-Michel Trivi [Wed, 11 Jun 2014 23:55:06 +0000 (16:55 -0700)]
AudioTrack construction with audio attributes

Store audio attributes in AudioTrack class.
When an AudioTrack is "set" with non null audio
 attributes, derive a stream type that reflects
 the attributes.
When an AudioTrack is "set" without attributes,
 and only has a stream type, derive default
 audio attributes.

Change-Id: I322b91fa9a7e193118960c5e78cdddd85d66f9ad

10 years agoMerge "Fail more gracefully on allocation failure"
Marco Nelissen [Wed, 18 Jun 2014 14:52:11 +0000 (14:52 +0000)]
Merge "Fail more gracefully on allocation failure"

10 years agoFail more gracefully on allocation failure
Marco Nelissen [Fri, 13 Jun 2014 21:13:44 +0000 (14:13 -0700)]
Fail more gracefully on allocation failure

Check allocations when the size is read from a file and might therefore
be invalid.

b/14388161

Change-Id: Ia08cc0a6107f275a70e793ef3b50c0ce16ceeee0

10 years agoMerge "camera: Add #getLegacyParameters, #supportsCameraApi to ICameraService"
Igor Murashkin [Tue, 17 Jun 2014 22:55:54 +0000 (22:55 +0000)]
Merge "camera: Add #getLegacyParameters, #supportsCameraApi to ICameraService"

10 years agocamera: Add #getLegacyParameters, #supportsCameraApi to ICameraService
Igor Murashkin [Tue, 17 Jun 2014 19:03:20 +0000 (12:03 -0700)]
camera: Add #getLegacyParameters, #supportsCameraApi to ICameraService

Change-Id: Ic86c8df3d703e7cf89caa856387e2c0a1b977401

10 years agoCameraService: Fix permissions check issues
Eino-Ville Talvala [Tue, 17 Jun 2014 02:21:12 +0000 (19:21 -0700)]
CameraService: Fix permissions check issues

Bug: 15677063
Change-Id: I012c111fff90fefd9eb0fef7c9d6034f00c9c6df

10 years agoDO NOT MERGE: CameraService: Fix permissions check issues
Eino-Ville Talvala [Tue, 17 Jun 2014 02:21:12 +0000 (19:21 -0700)]
DO NOT MERGE: CameraService: Fix permissions check issues

Bug: 15677063
Change-Id: I012c111fff90fefd9eb0fef7c9d6034f00c9c6df

10 years agoMerge "Fix logging"
Marco Nelissen [Mon, 16 Jun 2014 22:10:47 +0000 (22:10 +0000)]
Merge "Fix logging"

10 years agoam a3603693: Merge "Fix deadlock" into lmp-preview-dev
Glenn Kasten [Mon, 16 Jun 2014 21:57:26 +0000 (21:57 +0000)]
am a3603693: Merge "Fix deadlock" into lmp-preview-dev

* commit 'a3603693fb784d7e1a820ee4629a69730a0bb424':
  Fix deadlock

10 years agoMerge "Fix deadlock" into lmp-preview-dev
Glenn Kasten [Mon, 16 Jun 2014 21:52:27 +0000 (21:52 +0000)]
Merge "Fix deadlock" into lmp-preview-dev

10 years agoFix deadlock
Glenn Kasten [Mon, 16 Jun 2014 17:25:20 +0000 (10:25 -0700)]
Fix deadlock

Bug: 15591052
Change-Id: I76154e1640646d2ae8fae65e163e1f3ed1be17dc

10 years agoMerge "camera2: Add jpeg sizes to legacy mode static characteristics."
Ruben Brunk [Mon, 16 Jun 2014 20:41:38 +0000 (20:41 +0000)]
Merge "camera2: Add jpeg sizes to legacy mode static characteristics."

10 years agoMerge "support for CEA-608 closed caption"
Chong Zhang [Mon, 16 Jun 2014 18:13:39 +0000 (18:13 +0000)]
Merge "support for CEA-608 closed caption"

10 years agoFix logging
Marco Nelissen [Tue, 10 Jun 2014 21:24:40 +0000 (14:24 -0700)]
Fix logging

Make the log message specify whether it was an encoder or a decoder
that failed to instantiate.

Change-Id: Ie357775114c8dea722d87381c13affdfb19dcde4

10 years agosupport for CEA-608 closed caption
Chong Zhang [Wed, 11 Jun 2014 21:49:23 +0000 (14:49 -0700)]
support for CEA-608 closed caption

Bug: 15470448

Change-Id: Ic6a527f5c35a8ee0a08a5b043336e4d193216083

10 years agorefactor getTrackInfo()
Chong Zhang [Wed, 11 Jun 2014 21:45:31 +0000 (14:45 -0700)]
refactor getTrackInfo()

(this is in preparation for supporting other cc source)

- split into two methods: getTrackCount() and getTrackInfo()

- move track info parcelling to NuPlayer

- parcel in the mime type of the subtitle format

Bug: 15470448
Change-Id: If00724d8c3a2b2319cb9c5f29d3fe76347bfe947

10 years agoforce command flush after releasing a reference to shared memory
Eric Laurent [Fri, 13 Jun 2014 01:38:45 +0000 (18:38 -0700)]
force command flush after releasing a reference to shared memory

After releasing a reference to a shared memory interface,
IPCThreadState::self()->flushCommands() must be called to ensure
that the corresponding reference is also cleared immediately in the
remote process. Otherwise the binder implementaiton will not
push the clear systematically causing the memory region not to be freed.

See issues 10711502 and 2801375.

Bug: 14057166.
Change-Id: If55f36f00d452d6cf00cf83bd2fba1c8f3abcb57

10 years agoam 6bf02664: am ccaffa8d: Merge "Use char x[] rather than char x[0]."
Elliott Hughes [Fri, 13 Jun 2014 15:38:03 +0000 (15:38 +0000)]
am 6bf02664: am ccaffa8d: Merge "Use char x[] rather than char x[0]."

* commit '6bf02664bbe4955d4818fe308b00ce0d97f38c8f':
  Use char x[] rather than char x[0].

10 years agoam ccaffa8d: Merge "Use char x[] rather than char x[0]."
Elliott Hughes [Fri, 13 Jun 2014 15:34:16 +0000 (15:34 +0000)]
am ccaffa8d: Merge "Use char x[] rather than char x[0]."

* commit 'ccaffa8df0e201da6bfabb6d616e62904cfb5534':
  Use char x[] rather than char x[0].

10 years agoam ba7a4e11: am 90732a3b: Merge "Remove dependency on Parcel::{read,write}IntPtr"
Narayan Kamath [Fri, 13 Jun 2014 10:32:15 +0000 (10:32 +0000)]
am ba7a4e11: am 90732a3b: Merge "Remove dependency on Parcel::{read,write}IntPtr"

* commit 'ba7a4e11a66a7044dbbd767983865e1774092dc6':
  Remove dependency on Parcel::{read,write}IntPtr

10 years agoam 8b8e5d45: (-s ours) resolved conflicts for merge of cbd74fcb to klp-modular-dev...
Narayan Kamath [Fri, 13 Jun 2014 10:32:14 +0000 (10:32 +0000)]
am 8b8e5d45: (-s ours) resolved conflicts for merge of cbd74fcb to klp-modular-dev-plus-aosp

* commit '8b8e5d45928aed8592d321fe55f560e35a4fece8':
  Update OMX messages for 64 bit

10 years agoam 90732a3b: Merge "Remove dependency on Parcel::{read,write}IntPtr"
Narayan Kamath [Fri, 13 Jun 2014 10:22:28 +0000 (10:22 +0000)]
am 90732a3b: Merge "Remove dependency on Parcel::{read,write}IntPtr"

* commit '90732a3be5e70156486aca94bde8aa81106329ba':
  Remove dependency on Parcel::{read,write}IntPtr

10 years agoresolved conflicts for merge of cbd74fcb to klp-modular-dev-plus-aosp
Narayan Kamath [Fri, 13 Jun 2014 10:19:14 +0000 (11:19 +0100)]
resolved conflicts for merge of cbd74fcb to klp-modular-dev-plus-aosp

Change-Id: I00270ef6fe813c0d3649483cbc3aba6af789e033

10 years agocamera2: Add jpeg sizes to legacy mode static characteristics.
Ruben Brunk [Fri, 13 Jun 2014 02:11:45 +0000 (19:11 -0700)]
camera2: Add jpeg sizes to legacy mode static characteristics.

Bug: 15116722

- Adds jpeg size mapping to available output formats.

Change-Id: I73e46dd4309767ba41156d9ba03c4724bf234758

10 years agoMerge "Use char x[] rather than char x[0]."
Elliott Hughes [Fri, 13 Jun 2014 15:27:25 +0000 (15:27 +0000)]
Merge "Use char x[] rather than char x[0]."

10 years agoUse char x[] rather than char x[0].
Elliott Hughes [Fri, 13 Jun 2014 01:17:11 +0000 (18:17 -0700)]
Use char x[] rather than char x[0].

Bug: 15514223
Change-Id: I895ea8ef7e391fd14cdf8976e048385e01c90f8f

10 years agoMerge "refactor getTrackInfo()"
Chong Zhang [Mon, 16 Jun 2014 18:11:22 +0000 (18:11 +0000)]
Merge "refactor getTrackInfo()"

10 years agoframeworks: av: fix bug in the volume management
Bryant Liu [Thu, 12 Jun 2014 14:02:41 +0000 (22:02 +0800)]
frameworks: av: fix bug in the volume management

which can cause volume levels to be applied twice. After applying volume
in the effect chain, the remaining volume needs to be converted back to
floating point before providing to mAudioMixer.

Bug: 15583440
Change-Id: I3c884f95b0fa9ad1b554285b069601c850c54776
Signed-off-by: Glenn Kasten <gkasten@google.com>
10 years agoMerge "AudioSystem: remove unused stream type"
Jean-Michel Trivi [Fri, 13 Jun 2014 21:37:58 +0000 (21:37 +0000)]
Merge "AudioSystem: remove unused stream type"

10 years agoam 3bcffa13: force command flush after releasing a reference to shared memory
Eric Laurent [Fri, 13 Jun 2014 19:20:41 +0000 (19:20 +0000)]
am 3bcffa13: force command flush after releasing a reference to shared memory

* commit '3bcffa136909c1fb6e88ee4efd12ccac18360a85':
  force command flush after releasing a reference to shared memory

10 years agoam 2a8270e6: am c323737d: Merge "Offer a type-safe album art interface."
Elliott Hughes [Thu, 12 Jun 2014 00:15:39 +0000 (00:15 +0000)]
am 2a8270e6: am c323737d: Merge "Offer a type-safe album art interface."

* commit '2a8270e6944fb3addfcba87f6885aaad196b8b88':
  Offer a type-safe album art interface.

10 years agoam c323737d: Merge "Offer a type-safe album art interface."
Elliott Hughes [Thu, 12 Jun 2014 00:06:25 +0000 (00:06 +0000)]
am c323737d: Merge "Offer a type-safe album art interface."

* commit 'c323737dd46d724b4c1ec230b283f26ae2a22b4f':
  Offer a type-safe album art interface.

10 years agoam 0ac53364: Merge "Fix non-monotonic AudioTrack::getTimestamp after pause" into...
Glenn Kasten [Thu, 12 Jun 2014 00:03:41 +0000 (00:03 +0000)]
am 0ac53364: Merge "Fix non-monotonic AudioTrack::getTimestamp after pause" into lmp-preview-dev

* commit '0ac53364b79dc72ee0c09f0efc46a22ab4374dbf':
  Fix non-monotonic AudioTrack::getTimestamp after pause

10 years agoam 421c34ef: Merge "Update resampler to fetch exactly the frames needed" into lmp...
Andy Hung [Thu, 12 Jun 2014 00:03:35 +0000 (00:03 +0000)]
am 421c34ef: Merge "Update resampler to fetch exactly the frames needed" into lmp-preview-dev

* commit '421c34ef58f89f4cc39737118bb58b762e84e1c9':
  Update resampler to fetch exactly the frames needed

10 years agoresolved conflicts for merge of 281b884c to master
Christopher Ferris [Wed, 11 Jun 2014 19:20:18 +0000 (12:20 -0700)]
resolved conflicts for merge of 281b884c to master

Change-Id: If8924939bdf54d3a9e6a4876a05d0672c27cf8ef

10 years agoAudioSystem: remove unused stream type
Jean-Michel Trivi [Wed, 11 Jun 2014 17:05:30 +0000 (10:05 -0700)]
AudioSystem: remove unused stream type

The audio stream type is not used in the getSampleRate() and
 getFrameCount() methods.

Change-Id: I3d065ae272bd039204cd323cdab9b60460034f2d

10 years agoMerge "Update OMX messages for 64 bit"
Narayan Kamath [Fri, 13 Jun 2014 08:55:13 +0000 (08:55 +0000)]
Merge "Update OMX messages for 64 bit"

10 years agoUpdate OMX messages for 64 bit
Andy Hung [Fri, 2 May 2014 18:05:04 +0000 (11:05 -0700)]
Update OMX messages for 64 bit

Change node_id and buffer_id to uint32_t.
Ensure IOMX messages are fixed size.
Remove 64 bit compile warnings in associated files.

Change-Id: Icdbef00aca575e5dc502ebb52e3ce7d0d7883203
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoMerge "Offer a type-safe album art interface."
Elliott Hughes [Wed, 11 Jun 2014 23:59:18 +0000 (23:59 +0000)]
Merge "Offer a type-safe album art interface."

10 years agoOffer a type-safe album art interface.
Elliott Hughes [Tue, 10 Jun 2014 23:55:38 +0000 (16:55 -0700)]
Offer a type-safe album art interface.

Bug: 15514223
Change-Id: Iddfc33a00e6cd3779ca09c01a55f62b151f6ec95

10 years agoam 8d6d8f54: Merge "Add libcrypto for users of libstagefright."
Christopher Ferris [Tue, 10 Jun 2014 23:46:41 +0000 (23:46 +0000)]
am 8d6d8f54: Merge "Add libcrypto for users of libstagefright."

* commit '8d6d8f546c1d6c55b79b454c720c03a80c738444':
  Add libcrypto for users of libstagefright.

10 years agoMerge "Add libcrypto for users of libstagefright."
Christopher Ferris [Tue, 10 Jun 2014 23:42:20 +0000 (23:42 +0000)]
Merge "Add libcrypto for users of libstagefright."

10 years agoAdd libcrypto for users of libstagefright.
Christopher Ferris [Tue, 10 Jun 2014 22:15:04 +0000 (15:15 -0700)]
Add libcrypto for users of libstagefright.

libstagefright_rtsp uses some MD5 functions that used to be in bionic,
but it was removed recently. As an initial fix, I statically linked in
libcrypto_static to the libstagefright_rtsp library. However, I think
it's better to modify the single user of this library to link against
the shared libcrypto library.

Change-Id: Iaf2e1aeea32fd8af038f6e77bf58ea7df50d807a

10 years agoMerge "Log an error when audio/video encoder failed to create"
Chong Zhang [Wed, 11 Jun 2014 18:26:07 +0000 (18:26 +0000)]
Merge "Log an error when audio/video encoder failed to create"