OSDN Git Service

android-x86/frameworks-av.git
10 years agoresolved conflicts for merge of f285c91e to master
Elliott Hughes [Thu, 22 May 2014 17:14:43 +0000 (10:14 -0700)]
resolved conflicts for merge of f285c91e to master

Change-Id: I4c995e297d09c0854a42142cc57dce8b771acf65

10 years agoam c10b874c: am d5516339: Merge "Move frameworks/av from fdprintf to POSIX dprintf."
Calin Juravle [Thu, 22 May 2014 13:44:20 +0000 (13:44 +0000)]
am c10b874c: am d5516339: Merge "Move frameworks/av from fdprintf to POSIX dprintf."

* commit 'c10b874c4d0d6208fb93a7aa0dc8af4418faad45':
  Move frameworks/av from fdprintf to POSIX dprintf.

10 years agoam d5516339: Merge "Move frameworks/av from fdprintf to POSIX dprintf."
Calin Juravle [Thu, 22 May 2014 13:40:35 +0000 (13:40 +0000)]
am d5516339: Merge "Move frameworks/av from fdprintf to POSIX dprintf."

* commit 'd551633916d3677da4dda10aba6837bdc6803ee0':
  Move frameworks/av from fdprintf to POSIX dprintf.

10 years agoMerge "Move frameworks/av from fdprintf to POSIX dprintf."
Calin Juravle [Thu, 22 May 2014 13:36:22 +0000 (13:36 +0000)]
Merge "Move frameworks/av from fdprintf to POSIX dprintf."

10 years agoMove frameworks/av from fdprintf to POSIX dprintf.
Elliott Hughes [Thu, 22 May 2014 08:22:06 +0000 (01:22 -0700)]
Move frameworks/av from fdprintf to POSIX dprintf.

Bug: 11156955
Change-Id: Ia98cd16b4c1f7be87cf060b7456de4f40896bacb

10 years agoMerge "camera2: Update CameraService for HAL1 shim."
Ruben Brunk [Thu, 22 May 2014 06:08:34 +0000 (06:08 +0000)]
Merge "camera2: Update CameraService for HAL1 shim."

10 years agoresolved conflicts for merge of 58c26d95 to master
Elliott Hughes [Thu, 22 May 2014 02:00:12 +0000 (19:00 -0700)]
resolved conflicts for merge of 58c26d95 to master

Change-Id: I77fa04553f6decaf2ae4b27b866d76478c0e7038

10 years agoam 9a59d411: am 85e6e87c: Merge "Restore accidentally-removed NULL timeout."
Elliott Hughes [Thu, 22 May 2014 01:53:48 +0000 (01:53 +0000)]
am 9a59d411: am 85e6e87c: Merge "Restore accidentally-removed NULL timeout."

* commit '9a59d411cbe68d6027c541854c6d7c1348e4ee3d':
  Restore accidentally-removed NULL timeout.

10 years agoam 85e6e87c: Merge "Restore accidentally-removed NULL timeout."
Elliott Hughes [Thu, 22 May 2014 01:49:44 +0000 (01:49 +0000)]
am 85e6e87c: Merge "Restore accidentally-removed NULL timeout."

* commit '85e6e87c41bba51729cee8958a5c30157c8dc674':
  Restore accidentally-removed NULL timeout.

10 years agoresolved conflicts for merge of c0bf836f to master
Elliott Hughes [Thu, 22 May 2014 01:47:50 +0000 (18:47 -0700)]
resolved conflicts for merge of c0bf836f to master

Change-Id: I5cf238fa56d6fff443b212870cf9dd7f1110e7da

10 years agoMerge "Restore accidentally-removed NULL timeout."
Elliott Hughes [Thu, 22 May 2014 01:45:47 +0000 (01:45 +0000)]
Merge "Restore accidentally-removed NULL timeout."

10 years agoRestore accidentally-removed NULL timeout.
Elliott Hughes [Thu, 22 May 2014 01:44:27 +0000 (18:44 -0700)]
Restore accidentally-removed NULL timeout.

Change-Id: I933c80fea50950243f109acf8d6350013aaa811f

10 years agoam ad71caf2: am 3b6da6bf: Merge "Move frameworks/av off private API."
Elliott Hughes [Thu, 22 May 2014 01:32:20 +0000 (01:32 +0000)]
am ad71caf2: am 3b6da6bf: Merge "Move frameworks/av off private API."

* commit 'ad71caf25e31ecfc4ecf2c925e38fd87905fbc8e':
  Move frameworks/av off private API.

10 years agoam 3b6da6bf: Merge "Move frameworks/av off private API."
Elliott Hughes [Thu, 22 May 2014 01:28:18 +0000 (01:28 +0000)]
am 3b6da6bf: Merge "Move frameworks/av off private API."

* commit '3b6da6bfb50a1c0324fb4c87326d3a477944d5fe':
  Move frameworks/av off private API.

10 years agoMerge "Move frameworks/av off private API."
Elliott Hughes [Thu, 22 May 2014 01:23:41 +0000 (01:23 +0000)]
Merge "Move frameworks/av off private API."

10 years agoMove frameworks/av off private API.
Elliott Hughes [Thu, 22 May 2014 00:55:51 +0000 (17:55 -0700)]
Move frameworks/av off private API.

Bug: 11156955
Change-Id: Ib3bb9d66a2bf92977c2445b62aa074a2d7a45aea

10 years agocamera2: Update CameraService for HAL1 shim.
Ruben Brunk [Sat, 10 May 2014 02:57:56 +0000 (19:57 -0700)]
camera2: Update CameraService for HAL1 shim.

Updates the camera service to handle shim connections.

Changes include:
- Adds begin/end configure binder calls.
- Adds cache for shim client static camera metadata.
- Implements basic getCameraCharacteristic functionality for shim clients.

Bug: 15116722
Bug: 15117269

Change-Id: I510c5888ca15f8e7d3b8ed1680ff1c7f8f514744

10 years agoresolved conflicts for merge of b1080917 to master
Elliott Hughes [Thu, 22 May 2014 01:01:17 +0000 (18:01 -0700)]
resolved conflicts for merge of b1080917 to master

Change-Id: Iabbe3e95e29f28461ff722b550e8a9f35bd2528f

10 years agoam acbd9492: am d084206d: Merge "Move frameworks/av off __futex_syscall3."
Elliott Hughes [Thu, 22 May 2014 00:41:52 +0000 (00:41 +0000)]
am acbd9492: am d084206d: Merge "Move frameworks/av off __futex_syscall3."

* commit 'acbd9492996348bf4565fbaa5a14772f0f4ace38':
  Move frameworks/av off __futex_syscall3.

10 years agoMerge "audio policy: split audio policy library"
Eric Laurent [Thu, 22 May 2014 00:40:14 +0000 (00:40 +0000)]
Merge "audio policy: split audio policy library"

10 years agoam d084206d: Merge "Move frameworks/av off __futex_syscall3."
Elliott Hughes [Thu, 22 May 2014 00:39:10 +0000 (00:39 +0000)]
am d084206d: Merge "Move frameworks/av off __futex_syscall3."

* commit 'd084206d5a4a5364211af46e4201311933e83bfc':
  Move frameworks/av off __futex_syscall3.

10 years agoMerge "Move frameworks/av off __futex_syscall3."
Elliott Hughes [Thu, 22 May 2014 00:35:48 +0000 (00:35 +0000)]
Merge "Move frameworks/av off __futex_syscall3."

10 years agoMove frameworks/av off __futex_syscall3.
Elliott Hughes [Thu, 22 May 2014 00:31:18 +0000 (17:31 -0700)]
Move frameworks/av off __futex_syscall3.

Bug: 11156955
Change-Id: I943080bc51b6efa781059b48b5b5ecc4fa287512

10 years agoMerge "Remove the last of the references."
Marco Nelissen [Wed, 21 May 2014 16:08:05 +0000 (16:08 +0000)]
Merge "Remove the last of the references."

10 years agoaudio policy: split audio policy library
Eric Laurent [Wed, 21 May 2014 15:14:08 +0000 (08:14 -0700)]
audio policy: split audio policy library

Split audio policy library into a service part and a policy part.
This will allow OEMs to customize the policy part:
- libaudiopolicyservice for the service.
- libaudiopolicymanager for the policy.

Two build options can be defined in device make file to select
the policy library:
- USE_LEGACY_AUDIO_POLICY = 1: this will use the legacy policy
in hardware/libhardware_legacy implemented by AudioPolicyManagerBase class.
This policy is loaded as a harware module and exposes the audio policy HAL
defined in include/hardware/audio_policy.h and is in a library called
audio_policy.XXX.so (e.g audio_policy.default.so)

The legacy HAL will not be updated with new features.

If USE_LEGACY_AUDIO_POLICY is not defined, the policy is implemented by
a class named AudioPolicyManager exposing an interface defined in
AudioPolicyInterface.h.
The corresponding library is libaudiopolicymanager.so.

New features will be added only to AudioPolicyInterface.h

The default implementation is provided here in file AudioPolicyManager.cpp

OEMs wanting to cutomize the policy can implement the AudioPolicyManager class
and provide the libaudiopolicymanager.so library.
In this case the device make file should define:
- USE_CUSTOM_AUDIO_POLICY = 1

For now, USE_LEGACY_AUDIO_POLICY = 1 is forced in audio policy service make file.
This will be removed when the new audio policy is enabled.

Change-Id: I066799dacc9b182b468a43d48ff7798c9109a414

10 years agoRemove the last of the references.
Marco Nelissen [Wed, 21 May 2014 14:53:04 +0000 (07:53 -0700)]
Remove the last of the references.

Change-Id: Id68cdab7e972e3e78e2065e56b8a095c3d496df2

10 years agoMerge "audio policy: add new audio devices"
Eric Laurent [Tue, 20 May 2014 21:39:03 +0000 (21:39 +0000)]
Merge "audio policy: add new audio devices"

10 years agoMerge "Fix include"
Marco Nelissen [Tue, 20 May 2014 20:05:55 +0000 (20:05 +0000)]
Merge "Fix include"

10 years agoFix include
Marco Nelissen [Tue, 20 May 2014 20:05:12 +0000 (13:05 -0700)]
Fix include

Change-Id: I2c1e6b0e85ff608f942e54edf9bc5dd6f8716518

10 years agoMerge "Use pointers instead of references because C"
Marco Nelissen [Tue, 20 May 2014 18:31:01 +0000 (18:31 +0000)]
Merge "Use pointers instead of references because C"

10 years agoMerge "Fix OGG recognition for 64 bit"
Andy Hung [Tue, 20 May 2014 17:37:15 +0000 (17:37 +0000)]
Merge "Fix OGG recognition for 64 bit"

10 years agoUse pointers instead of references because C
Marco Nelissen [Tue, 20 May 2014 15:45:18 +0000 (08:45 -0700)]
Use pointers instead of references because C

Change-Id: I5c84469e5ff977bf8bb91be2cc6c38a0c7f08609

10 years agoFix OGG recognition for 64 bit
Andy Hung [Tue, 20 May 2014 04:36:20 +0000 (21:36 -0700)]
Fix OGG recognition for 64 bit

Change-Id: I4cef86ca05e06f508929d109a52e375169c33bf9

10 years agoMerge "Add docs, releaseOutputBufferAtTime, seekTo."
Marco Nelissen [Tue, 20 May 2014 02:13:05 +0000 (02:13 +0000)]
Merge "Add docs, releaseOutputBufferAtTime, seekTo."

10 years agoMerge "Update AudioMixer::getTrackName to save channelMask"
Andy Hung [Tue, 20 May 2014 01:04:48 +0000 (01:04 +0000)]
Merge "Update AudioMixer::getTrackName to save channelMask"

10 years agoaudio policy: add new audio devices
Eric Laurent [Tue, 20 May 2014 00:26:41 +0000 (17:26 -0700)]
audio policy: add new audio devices

Add entries for new audio devices to string to enum table used
for audio_policy.conf file parsing.

Change-Id: Ica04c34af037d890a343af0b9eeb2ff0e5c86b02

10 years agoMerge "Add HEVC decoder support to ACodec bug: 14571712"
Rachad [Mon, 19 May 2014 23:00:04 +0000 (23:00 +0000)]
Merge "Add HEVC decoder support to ACodec bug: 14571712"

10 years agoMerge "Use new channel count functions for audio masks"
Andy Hung [Mon, 19 May 2014 22:06:18 +0000 (22:06 +0000)]
Merge "Use new channel count functions for audio masks"

10 years agoMerge "Pass stereo gains as packed minifloat"
Glenn Kasten [Mon, 19 May 2014 20:16:27 +0000 (20:16 +0000)]
Merge "Pass stereo gains as packed minifloat"

10 years agoAdd docs, releaseOutputBufferAtTime, seekTo.
Marco Nelissen [Fri, 16 May 2014 15:07:28 +0000 (08:07 -0700)]
Add docs, releaseOutputBufferAtTime, seekTo.

Change-Id: Iadd231b63e75b7937c13d2ebfef47aedeaeef5a1

10 years agoPass stereo gains as packed minifloat
Glenn Kasten [Sat, 22 Mar 2014 00:53:17 +0000 (17:53 -0700)]
Pass stereo gains as packed minifloat

This will allow (eventually) a greater dynamic range for gains.
However there are still a few remaining places in effects and mixer
that will also need to be changed in order to get the full benefit.

Also fixes a minor bug: was not checking for NaN in AudioTrack C++.

Change-Id: I63bce9e82e0a61546d8ff475fb94bcb700d99c96

10 years agoam be2664da: am 4c9bde7a: am ce473c32: Merge "Codec Offload: Add NULL check as mCallb...
Eric Laurent [Mon, 19 May 2014 15:35:27 +0000 (15:35 +0000)]
am be2664da: am 4c9bde7a: am ce473c32: Merge "Codec Offload: Add NULL check as mCallbackThread is NULL when offloaded HAL is running BLOCKING mode"

* commit 'be2664dac34a6a9d9f754d4097b32158d4947cd2':
  Codec Offload: Add NULL check as mCallbackThread is NULL when offloaded HAL is running BLOCKING mode

10 years agoam 4c9bde7a: am ce473c32: Merge "Codec Offload: Add NULL check as mCallbackThread...
Eric Laurent [Mon, 19 May 2014 15:32:11 +0000 (15:32 +0000)]
am 4c9bde7a: am ce473c32: Merge "Codec Offload: Add NULL check as mCallbackThread is NULL when offloaded HAL is running BLOCKING mode"

* commit '4c9bde7a3e636d3ecccd7905d142dbbb80e977a0':
  Codec Offload: Add NULL check as mCallbackThread is NULL when offloaded HAL is running BLOCKING mode

10 years agoam ce473c32: Merge "Codec Offload: Add NULL check as mCallbackThread is NULL when...
Eric Laurent [Mon, 19 May 2014 15:28:51 +0000 (15:28 +0000)]
am ce473c32: Merge "Codec Offload: Add NULL check as mCallbackThread is NULL when offloaded HAL is running BLOCKING mode"

* commit 'ce473c32705e2d1c5fcc817198101e1220b3c8f7':
  Codec Offload: Add NULL check as mCallbackThread is NULL when offloaded HAL is running BLOCKING mode

10 years agoMerge "Codec Offload: Add NULL check as mCallbackThread is NULL when offloaded HAL...
Eric Laurent [Mon, 19 May 2014 15:26:37 +0000 (15:26 +0000)]
Merge "Codec Offload: Add NULL check as mCallbackThread is NULL when offloaded HAL is running BLOCKING mode"

10 years agoFix warnings, re-enable -Werror.
Ruben Brunk [Sat, 17 May 2014 08:09:04 +0000 (01:09 -0700)]
Fix warnings, re-enable -Werror.

Change-Id: Ic6b1a10f46f980f9a9d8d130600419a792703c44

10 years agoFixbuild
Ruben Brunk [Sat, 17 May 2014 07:39:17 +0000 (00:39 -0700)]
Fixbuild

Change-Id: I4379964731b671f36a1e239b0f7665f595ac1c2d

10 years agocamera2: Adding TIFF writing utilities.
Ruben Brunk [Mon, 28 Apr 2014 23:39:12 +0000 (16:39 -0700)]
camera2: Adding TIFF writing utilities.

Adds a native image utilities library with support for:
- Writing TIFF 6.0 and TIFF EP compliant file headers.
- Additional tags defined in EXIF 2.3 and DNG 1.4 specs.

Change-Id: I7a4fef74bd5254d92baf08a3cf61af5de1b7ca83

10 years agoUpdate AudioMixer::getTrackName to save channelMask
Andy Hung [Wed, 14 May 2014 21:13:23 +0000 (14:13 -0700)]
Update AudioMixer::getTrackName to save channelMask

Change-Id: I4fb4abbff1b05bdd0f6e21b5f5f4c3f2a57ae28d
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoUse new channel count functions for audio masks
Andy Hung [Fri, 16 May 2014 18:25:07 +0000 (11:25 -0700)]
Use new channel count functions for audio masks

Change-Id: Ia658ab4b6320d19fdb50f123c930918724ff0ef3
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoam 6b787cb8: am 1b8b8793: am 3059e27d: Merge "libstagefright foundation: fix uninitia...
Andreas Huber [Fri, 16 May 2014 15:21:36 +0000 (15:21 +0000)]
am 6b787cb8: am 1b8b8793: am 3059e27d: Merge "libstagefright foundation: fix uninitialized varibale warning"

* commit '6b787cb8ddde9d411cab0964062d5d942a710ff8':
  libstagefright foundation: fix uninitialized varibale warning

10 years agoam 1b8b8793: am 3059e27d: Merge "libstagefright foundation: fix uninitialized varibal...
Andreas Huber [Fri, 16 May 2014 15:18:01 +0000 (15:18 +0000)]
am 1b8b8793: am 3059e27d: Merge "libstagefright foundation: fix uninitialized varibale warning"

* commit '1b8b8793c0e86865df456c3d26f969b1498041db':
  libstagefright foundation: fix uninitialized varibale warning

10 years agoam 3059e27d: Merge "libstagefright foundation: fix uninitialized varibale warning"
Andreas Huber [Fri, 16 May 2014 15:14:38 +0000 (15:14 +0000)]
am 3059e27d: Merge "libstagefright foundation: fix uninitialized varibale warning"

* commit '3059e27d0e18a427f3c19889aac86ea31ec0d5d1':
  libstagefright foundation: fix uninitialized varibale warning

10 years agoMerge "libstagefright foundation: fix uninitialized varibale warning"
Andreas Huber [Fri, 16 May 2014 15:11:28 +0000 (15:11 +0000)]
Merge "libstagefright foundation: fix uninitialized varibale warning"

10 years agoFix build.
Marco Nelissen [Thu, 15 May 2014 22:26:14 +0000 (15:26 -0700)]
Fix build.

Change-Id: I2b0a3049c81b99ba233d5945e16dcddd975aa4f9

10 years agoMerge "Unify error/status codes"
Marco Nelissen [Thu, 15 May 2014 21:58:36 +0000 (21:58 +0000)]
Merge "Unify error/status codes"

10 years agoUnify error/status codes
Marco Nelissen [Thu, 15 May 2014 21:17:25 +0000 (14:17 -0700)]
Unify error/status codes

Change-Id: Ib90cc2f2adc07ff146256931c92c0ec4becb86f5

10 years agoMerge "Hook up event handling in NDK MediaDrm API"
Jeff Tinker [Thu, 15 May 2014 18:08:54 +0000 (18:08 +0000)]
Merge "Hook up event handling in NDK MediaDrm API"

10 years agoACodec: remove PTS log spam
Lajos Molnar [Thu, 15 May 2014 17:26:08 +0000 (10:26 -0700)]
ACodec: remove PTS log spam

Bug: 14976517
Bug: 11784827
Change-Id: Ibc1bbd80e7aac30b0f8f1e9ca2be1bb3e5e2ebbb

10 years agoHook up event handling in NDK MediaDrm API
Jeff Tinker [Thu, 15 May 2014 01:39:25 +0000 (18:39 -0700)]
Hook up event handling in NDK MediaDrm API

Change-Id: I48ac1d3ca5405c5909454c7a553917b31b9a50e5

10 years agolibstagefright foundation: fix uninitialized varibale warning
Amit Pundir [Thu, 15 May 2014 07:12:04 +0000 (12:42 +0530)]
libstagefright foundation: fix uninitialized varibale warning

gcc-4.9 reports warning for this uninitialized variable
and -Werror make this warning fatal.

Change-Id: I6901362246d53deeded78fa38ad656b167705346
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
10 years agoMerge "Send 64 bit OMX codec handling to 32 bit MediaServer"
Andy Hung [Thu, 15 May 2014 04:30:49 +0000 (04:30 +0000)]
Merge "Send 64 bit OMX codec handling to 32 bit MediaServer"

10 years agoSend 64 bit OMX codec handling to 32 bit MediaServer
Andy Hung [Wed, 14 May 2014 01:37:59 +0000 (18:37 -0700)]
Send 64 bit OMX codec handling to 32 bit MediaServer

This is a temporary fix for 64 bit OMX handling until 64 bit
codecs are more robust.

Bug: 13938273
Change-Id: Ifc79e360f9606f6c909b859d322b7dd5d416b26b
Signed-off-by: Andy Hung <hunga@google.com>
10 years agoMerge "Update OMX messages for 64 bit"
Andy Hung [Thu, 15 May 2014 03:18:48 +0000 (03:18 +0000)]
Merge "Update OMX messages for 64 bit"

10 years agoam 4b7c5444: am e32106fd: screenrecord: Add raw frames output format
Benoit Goby [Wed, 14 May 2014 23:47:13 +0000 (23:47 +0000)]
am 4b7c5444: am e32106fd: screenrecord: Add raw frames output format

* commit '4b7c5444f8af79f1f3e04e09bd03b84dec26facf':
  screenrecord: Add raw frames output format

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 agoAdd HEVC decoder support to ACodec
Rachad [Tue, 6 May 2014 01:31:02 +0000 (18:31 -0700)]
Add HEVC decoder support to ACodec
bug: 14571712

Change-Id: I221625a42e143cb1c581059694f6730211e251ae

10 years agoOnly export necessary symbols
Marco Nelissen [Wed, 14 May 2014 18:12:46 +0000 (11:12 -0700)]
Only export necessary symbols

Change-Id: I869d7124c8cc555f4b09801a898f4dd3ecb072ec

10 years agoMerge "Fix typos and pointer math."
Marco Nelissen [Wed, 14 May 2014 22:08:43 +0000 (22:08 +0000)]
Merge "Fix typos and pointer math."

10 years agoam e32106fd: screenrecord: Add raw frames output format
Benoit Goby [Wed, 14 May 2014 22:04:12 +0000 (22:04 +0000)]
am e32106fd: screenrecord: Add raw frames output format

* commit 'e32106fd5175afdf939ae397aece9caf378a4912':
  screenrecord: Add raw frames output format

10 years agoMerge "WIP: MediaDrm NDK APIs"
Jeff Tinker [Wed, 14 May 2014 21:34:06 +0000 (21:34 +0000)]
Merge "WIP: MediaDrm NDK APIs"

10 years agoFix typos and pointer math.
Marco Nelissen [Tue, 13 May 2014 23:22:19 +0000 (16:22 -0700)]
Fix typos and pointer math.

Change-Id: I07f33a57454d013844b56bc3e57fe0a271e8b38c

10 years agoMerge "Pull up mFlags and isFastTrack from Track to TrackBase"
Glenn Kasten [Wed, 14 May 2014 15:06:00 +0000 (15:06 +0000)]
Merge "Pull up mFlags and isFastTrack from Track to TrackBase"

10 years agoWIP: MediaDrm NDK APIs
Jeff Tinker [Tue, 13 May 2014 16:31:15 +0000 (09:31 -0700)]
WIP: MediaDrm NDK APIs

Change-Id: I3ac08a3b027135c3fd2a9e95c5e8b3fd722df019
TODO: hooking up event handler, testing

10 years agoMerge "Explicitly include Configuration.h"
Glenn Kasten [Tue, 13 May 2014 23:50:07 +0000 (23:50 +0000)]
Merge "Explicitly include Configuration.h"

10 years agoMerge "Fix memory corruption if increaseSamplingN is not called"
Glenn Kasten [Tue, 13 May 2014 23:49:30 +0000 (23:49 +0000)]
Merge "Fix memory corruption if increaseSamplingN is not called"

10 years agoCodec Offload: Add NULL check as mCallbackThread is NULL
Uday Gupta [Tue, 13 May 2014 18:19:17 +0000 (11:19 -0700)]
Codec Offload: Add NULL check as mCallbackThread is NULL
when offloaded HAL is running BLOCKING mode

b/14897952

Change-Id: I159a33e1181c1a62d80ab4bd3337a35dafaad884
Signed-off-by: Uday Gupta <guptau@broadcom.com>
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
10 years agoscreenrecord: Add raw frames output format
Benoit Goby [Mon, 12 May 2014 22:59:50 +0000 (15:59 -0700)]
screenrecord: Add raw frames output format

This works like the frames output format but without a header so that
the output can be piped directly to mplayer:

adb shell screenrecord --output-format=raw-frames - | mplayer -demuxer
rawvideo -rawvideo w=320:h=240:format=rgb24 -

Change-Id: Ib5ed508fdca3a5d63e973c5189b3677c2d92b43f

10 years agoSome crypto stuff, error codes
Marco Nelissen [Fri, 9 May 2014 22:10:23 +0000 (15:10 -0700)]
Some crypto stuff, error codes

Add crypto/drm related functions, define some media errors
instead of using magic numbers in the code.

Change-Id: I5924cba0bfcdb3623073c9182a646b70f4ead5a5

10 years agoPull up mFlags and isFastTrack from Track to TrackBase
Glenn Kasten [Tue, 13 May 2014 18:30:28 +0000 (11:30 -0700)]
Pull up mFlags and isFastTrack from Track to TrackBase

Change-Id: I6bd48292310be4e05758a11f617f50585904422d

10 years agoExplicitly include Configuration.h
Glenn Kasten [Tue, 13 May 2014 17:55:33 +0000 (10:55 -0700)]
Explicitly include Configuration.h

Must include Configuration.h in any source file with #ifdef or #if that
depends on Configuration.h.  This avoid inconsistencies that could result
in subtle bugs.

Change-Id: I99fdf19d56e7c73de4e7d672b937336b932a2a00

10 years agoFix memory corruption if increaseSamplingN is not called
Glenn Kasten [Tue, 13 May 2014 17:57:40 +0000 (10:57 -0700)]
Fix memory corruption if increaseSamplingN is not called

Change-Id: Icbf9aaf68c25ba3330ceb79167bd776cf0342d0d

10 years agoAudioFlinger: add specific mutex for client lists
Eric Laurent [Tue, 13 May 2014 17:18:14 +0000 (10:18 -0700)]
AudioFlinger: add specific mutex for client lists

Add a specific mutex to protect access to mClients and
mNotificationClients lists. This avoids locking the main AudioFlinger
mutex from inside thread loops and allows not to worry about
cross deadlocks when sending a config event with status reply while
keeping the ThreadBase or AudioFlinger mutex locked.
As a way of consequence, remove notification client list passed to
processConfigEvents_l() and audioConfigChanged() as the list
can now be accessed by locking client mutex only.

Change-Id: I228022204b6709a8bb60cc96d9514a6ffe59b62e

10 years agoMerge "Add AMediaCodec callback"
Marco Nelissen [Tue, 13 May 2014 14:46:11 +0000 (14:46 +0000)]
Merge "Add AMediaCodec callback"

10 years agoam 4ae3cfd8: (-s ours) am 21bde57f: Add frame dump output
Andy McFadden [Tue, 13 May 2014 00:33:51 +0000 (00:33 +0000)]
am 4ae3cfd8: (-s ours) am 21bde57f: Add frame dump output

* commit '4ae3cfd801f0e62c2863d20a8ecc21369351c205':
  Add frame dump output

10 years agoam c1b0056e: (-s ours) am 2d11a203: Provide raw H.264 output from screenrecord
Andy McFadden [Tue, 13 May 2014 00:20:16 +0000 (00:20 +0000)]
am c1b0056e: (-s ours) am 2d11a203: Provide raw H.264 output from screenrecord

* commit 'c1b0056ea57978a77a6fac0ea80861b39140696f':
  Provide raw H.264 output from screenrecord

10 years agoam 21bde57f: Add frame dump output
Andy McFadden [Mon, 12 May 2014 23:18:30 +0000 (23:18 +0000)]
am 21bde57f: Add frame dump output

* commit '21bde57f0099fed5cca78d9357571dc015a63227':
  Add frame dump output

10 years agoam 2d11a203: Provide raw H.264 output from screenrecord
Andy McFadden [Mon, 12 May 2014 23:18:29 +0000 (23:18 +0000)]
am 2d11a203: Provide raw H.264 output from screenrecord

* commit '2d11a2031b99db9b503a7ad7efd1f18606af4012':
  Provide raw H.264 output from screenrecord

10 years agoAdd frame dump output
Andy McFadden [Wed, 26 Feb 2014 02:29:06 +0000 (18:29 -0800)]
Add frame dump output

This adds the ability to dump frames as RGB data with a minimal
frame header.  Only recommended for devices with small displays.
Enable with "--output-format=frames".

The "--raw" option is now selected with "--output-format=h264".

Change-Id: I18d3d4a87cd056d7acf0658985a90dc5895dbfb6

10 years agoProvide raw H.264 output from screenrecord
Andy McFadden [Fri, 20 Dec 2013 21:40:34 +0000 (13:40 -0800)]
Provide raw H.264 output from screenrecord

This adds an experimental (undocumented) "--raw" flag.  If set, we
output an H.264 byte stream rather than a .mp4 file.

If the filename is "-", we send the output to stdout.  If stdout is a
tty, we reconfigure it to avoid CRLF line termination over adb.

Change-Id: I5193f6193c9c1a59f92eefad0ed399f24afbf6de

10 years agoMerge "Camera: Don't enable log spew by default for eng build"
Zhijun He [Mon, 12 May 2014 21:31:28 +0000 (21:31 +0000)]
Merge "Camera: Don't enable log spew by default for eng build"

10 years agoCamera: Don't enable log spew by default for eng build
Zhijun He [Mon, 12 May 2014 17:33:51 +0000 (10:33 -0700)]
Camera: Don't enable log spew by default for eng build

Also replace assert with LOG_ALWAYS_FATAL_IF.

Change-Id: I528b97d9bc7a93dc3575ded28f6bf7e294d0a1e6

10 years agoMerge "audiopolicy: refactor audio command threads"
Eric Laurent [Mon, 12 May 2014 18:10:29 +0000 (18:10 +0000)]
Merge "audiopolicy: refactor audio command threads"

10 years agoaudiopolicy: refactor audio command threads
Eric Laurent [Sat, 10 May 2014 01:04:42 +0000 (18:04 -0700)]
audiopolicy: refactor audio command threads

- Use strong pointers for command data to avoid transfering
ownership of the object to receiver thread.
This avoids waiting for the command acknowlegement to proceed
with next command on server side.
- Use a separate mutex for each command condition.
- Factor in duplicated code to send commands.

Change-Id: Ib0526e7c4fa64a71ad4015f477c6361727c6f40a

10 years agoam 7fd1af85: am c36fbcdf: am f02f06c4: Merge "camera: check Intent entry count before...
Eino-Ville Talvala [Mon, 12 May 2014 17:41:42 +0000 (17:41 +0000)]
am 7fd1af85: am c36fbcdf: am f02f06c4: Merge "camera: check Intent entry count before reading it"

* commit '7fd1af85f8fb40f7cb4fcdba98418aeea61fb4f0':
  camera: check Intent entry count before reading it

10 years agoam c36fbcdf: am f02f06c4: Merge "camera: check Intent entry count before reading it"
Eino-Ville Talvala [Mon, 12 May 2014 17:36:42 +0000 (17:36 +0000)]
am c36fbcdf: am f02f06c4: Merge "camera: check Intent entry count before reading it"

* commit 'c36fbcdf37ec02314e7b8134bb0de5f624fa70fd':
  camera: check Intent entry count before reading it

10 years agoam f02f06c4: Merge "camera: check Intent entry count before reading it"
Eino-Ville Talvala [Mon, 12 May 2014 17:31:29 +0000 (17:31 +0000)]
am f02f06c4: Merge "camera: check Intent entry count before reading it"

* commit 'f02f06c422a58ddaca49d14f21a196eaa435d07b':
  camera: check Intent entry count before reading it

10 years agoMerge "camera: check Intent entry count before reading it"
Eino-Ville Talvala [Mon, 12 May 2014 17:27:54 +0000 (17:27 +0000)]
Merge "camera: check Intent entry count before reading it"

10 years agocamera: check Intent entry count before reading it
Yuvraj Pasi [Tue, 15 Apr 2014 13:33:26 +0000 (19:03 +0530)]
camera: check Intent entry count before reading it

In case when find() returns empty entry, blindly
reading the entry will cause segfault

Change-Id: Ib5be7fd855c409ba3b45f0d43e15237367172817

10 years agoFix bit rot in AudioStreamInSource
Glenn Kasten [Fri, 9 May 2014 21:50:48 +0000 (14:50 -0700)]
Fix bit rot in AudioStreamInSource

It obviously had not been compiled in a while.

Change-Id: If514f474808e557a67a671c3b833572ad4a88338