OSDN Git Service
Eino-Ville Talvala [Thu, 30 Aug 2012 00:37:16 +0000 (17:37 -0700)]
Camera2: Basic ZSL and precapture trigger support.
- Add capture sequencer to control still image capture process
- Use precapture trigger for standard capture in sequencer
- Add infrastructure for reprocessing streams
- Add ZSL processor to maintain ZSL queue
- Add ZSL capture sequence to sequencer
This patch sets up ZSL mode and precapture triggers.
For now, to enable zsl mode, set the system property camera.zsl_mode
to 1.
Bug:
6243944
Change-Id: Icf8cb1a83a7c11a152a11007c8f3c54f8ea1c70c
Jeff Brown [Thu, 6 Sep 2012 17:15:30 +0000 (10:15 -0700)]
Merge "Update remote display API." into jb-mr1-dev
James Dong [Thu, 6 Sep 2012 02:49:52 +0000 (19:49 -0700)]
Merge "Fix an issue where the "mFrameCount" field was accessed without its containing object" into jb-mr1-dev
Marco Nelissen [Thu, 6 Sep 2012 02:19:52 +0000 (19:19 -0700)]
Merge "To make mimetype for WAV file consistent over SF." into jb-mr1-dev
Marco Nelissen [Thu, 6 Sep 2012 02:19:23 +0000 (19:19 -0700)]
Merge "To support .mxmf which is specified in Android CDD." into jb-mr1-dev
Jeff Brown [Thu, 6 Sep 2012 00:48:03 +0000 (17:48 -0700)]
Update remote display API.
Renamed disconnect() to dispose() to emphasize the fact that
this method is intended to clean up the IRemoteDisplay
completely, not just temporarily disconnect the current client
(which might be useful someday).
Other minor tweaks.
Change-Id: I1209639eb0cd8af09c724206642d7e52aab48257
James Dong [Wed, 5 Sep 2012 23:46:36 +0000 (16:46 -0700)]
Fix an issue where the "mFrameCount" field was accessed without its containing object
Change-Id: I6077b61b3e718b9b44ff86ca669a59f96b0b256f
Marco Nelissen [Wed, 5 Sep 2012 23:22:16 +0000 (16:22 -0700)]
Merge "Fragmented mp4 extractor" into jb-mr1-dev
Marco Nelissen [Tue, 28 Aug 2012 22:09:49 +0000 (15:09 -0700)]
Fragmented mp4 extractor
Still experimental. Set property "media.stagefright.use-fragmp4" to true to
enable.
Change-Id: I210b9c5b5164b5c5eefc31309845ee881ac7db8e
Andreas Huber [Wed, 5 Sep 2012 17:26:52 +0000 (10:26 -0700)]
Expose an IRemoteDisplay to trigger wifi display connections setup and feedback.
Change-Id: I7602cda0e38073c9f0e63fa4de238ca0d4b4ce8e
Jeff Brown [Wed, 5 Sep 2012 04:38:42 +0000 (21:38 -0700)]
Implement remote display service stubs.
Change-Id: I582ed000026bba6d116db8304e15a3c52f8a9a01
Andreas Huber [Wed, 5 Sep 2012 15:36:11 +0000 (08:36 -0700)]
Merge "Configure the SurfaceMediaSource to emit the same number of buffers" into jb-mr1-dev
Dongwon Kang [Wed, 5 Sep 2012 11:30:40 +0000 (20:30 +0900)]
To make mimetype for WAV file consistent over SF.
(audio/x-wav is chosen because it was also used in MediaFile.java.)
Tested: checked wav files plays well on Music app.
Change-Id: Ifc07bcbed681e509176b1c144626f6f1009e69be
Dongwon Kang [Wed, 5 Sep 2012 10:37:13 +0000 (19:37 +0900)]
To support .mxmf which is specified in Android CDD.
Bug:
7082658
Change-Id: I21269d72d1d21627c6adb2e6fbcb078d0eda6020
Tested: checked MediaScanner scans .mxmf and Music app plays .mxmf file.
James Dong [Fri, 31 Aug 2012 19:18:27 +0000 (12:18 -0700)]
Add setVideoScalingMode support to NuPlayer
o related-to-bug:
7089195
Change-Id: Ic30d9312673f2d5837c779e023ac64468ecd4951
Andreas Huber [Tue, 4 Sep 2012 23:30:49 +0000 (16:30 -0700)]
Configure the SurfaceMediaSource to emit the same number of buffers
as the video encoder allocates for its input. Do this before connecting
the bufferqueue through surface flinger.
Change-Id: Ibc81db1359afe2d88fdb75b23fadae65c8a6f7cc
Andreas Huber [Fri, 31 Aug 2012 21:05:27 +0000 (14:05 -0700)]
Support for acting as a wifi display sink.
Change-Id: I0beac87025b93c60164daa865c89f16b72197a47
Andreas Huber [Tue, 4 Sep 2012 16:31:11 +0000 (09:31 -0700)]
Merge "Improvements to our MPEG2 Transport Stream parser" into jb-mr1-dev
Marco Nelissen [Fri, 31 Aug 2012 21:41:47 +0000 (14:41 -0700)]
Merge "Move fragmented mp4 parser to libstagefright" into jb-mr1-dev
Marco Nelissen [Fri, 31 Aug 2012 18:07:37 +0000 (11:07 -0700)]
Move fragmented mp4 parser to libstagefright
and rename it from Parser to FragmentedMP4Parser
Change-Id: I986f50d0c5c93648aac675d6160e18623b031541
Andreas Huber [Fri, 31 Aug 2012 21:03:25 +0000 (14:03 -0700)]
Merge "Added an additional virtual method IStreamSource::flags()." into jb-mr1-dev
Andreas Huber [Fri, 31 Aug 2012 20:57:32 +0000 (13:57 -0700)]
Merge "Special mode for ESQueue that allows for earlier dequeuing of access units" into jb-mr1-dev
Andreas Huber [Fri, 31 Aug 2012 20:55:24 +0000 (13:55 -0700)]
Improvements to our MPEG2 Transport Stream parser
Verifies the continuity counter
Parses and associates PCR time with streams
Allows for a absolute time anchor to be signalled via discontinuity.
Change-Id: I4bc88c78382c9cc6380f28df584cc6c254e0a8f9
Andreas Huber [Fri, 31 Aug 2012 17:36:25 +0000 (10:36 -0700)]
Special mode for ESQueue that allows for earlier dequeuing of access units
if it's know beforehand that each PES packet contains exactly one access unit.
Currently this optimization is only supported for H.264 video.
Change-Id: I0888027cc7e9850307484b11dba1191cf6bfac83
Andreas Huber [Fri, 31 Aug 2012 20:40:12 +0000 (13:40 -0700)]
Added an additional virtual method IStreamSource::flags().
Change-Id: I89e62d84328e12f08c8f73cbfd53cfb42569de97
Andreas Huber [Fri, 31 Aug 2012 20:07:31 +0000 (13:07 -0700)]
Merge "Add support for mpeg2 transport streams to the RTSP implementation." into jb-mr1-dev
Shuzhen Wang [Fri, 31 Aug 2012 17:24:22 +0000 (10:24 -0700)]
Camera: set vendor_ops on camera metadata.
This makes sure that vendor specific metadata can propogate through
the framework.
Change-Id: I3bd0ae4b889eb907caf7b305dbcb16abbbef0ea3
Jean-Baptiste Queru [Fri, 31 Aug 2012 18:26:10 +0000 (11:26 -0700)]
am
371e1217: (-s ours) am
8b152566: Merge "OMXCodec: enhance error handling of OMX IL client"
* commit '
371e121745c2e43e3c26fd1a854eaf6d3324f057':
OMXCodec: enhance error handling of OMX IL client
Jean-Baptiste Queru [Fri, 31 Aug 2012 18:19:38 +0000 (11:19 -0700)]
am
8b152566: Merge "OMXCodec: enhance error handling of OMX IL client"
* commit '
8b1525663322685ff34d9c09176feebd102e1c3d':
OMXCodec: enhance error handling of OMX IL client
Jean-Baptiste Queru [Fri, 31 Aug 2012 18:01:18 +0000 (11:01 -0700)]
Merge "OMXCodec: enhance error handling of OMX IL client"
Andreas Huber [Fri, 31 Aug 2012 17:27:46 +0000 (10:27 -0700)]
Add support for mpeg2 transport streams to the RTSP implementation.
Change-Id: I409d7133a53a71e62523b1acc2b03302fcf824a5
Glenn Kasten [Fri, 31 Aug 2012 16:19:13 +0000 (09:19 -0700)]
Merge "Documentation on pipes" into jb-mr1-dev
Glenn Kasten [Fri, 31 Aug 2012 16:17:54 +0000 (09:17 -0700)]
Merge "Update audio comments" into jb-mr1-dev
Andreas Huber [Fri, 31 Aug 2012 15:34:32 +0000 (08:34 -0700)]
Merge "Implement the source->sink(!) keep alive the wfd specs mandate..." into jb-mr1-dev
Weian Chen [Fri, 27 Jul 2012 08:55:11 +0000 (04:55 -0400)]
OMXCodec: enhance error handling of OMX IL client
Original design doesn't handle event EMPTY_BUFFER_DONE and
FILL_BUFFER_DONE which leads to buffer status mess issue,
and in turn leads to mediaserver crash.
Here we will handle those 2 events anyway to fix this.
Change-Id: Ia90b46ea7ec6026d6fda5d33fef6773435788b04
Author: Tianmi Chen<tianmi.chen@intel.com>
Signed-off-by: Tianmi Chen<tianmi.chen@intel.com>
Signed-off-by: Weian Chen <weian.chen@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 49066, 27054
Jamie Gennis [Fri, 31 Aug 2012 01:25:35 +0000 (18:25 -0700)]
Merge "Don't hard code the number of buffers for SurfaceMediaSource" into jb-mr1-dev
Andreas Huber [Thu, 30 Aug 2012 23:04:34 +0000 (16:04 -0700)]
Implement the source->sink(!) keep alive the wfd specs mandate...
Change-Id: I388d9911ebd243aa9c13a13ec3683e76898470a6
Glenn Kasten [Mon, 30 Jul 2012 17:59:30 +0000 (10:59 -0700)]
Update audio comments
Change-Id: Ie7504d0ddb252f7e4d4f99ed0b44cfc7b1049816
Glenn Kasten [Wed, 29 Aug 2012 19:25:28 +0000 (12:25 -0700)]
Documentation on pipes
Change-Id: I3de496c7db026c50dcb6bc577741bb65d08e7c9d
Glenn Kasten [Thu, 30 Aug 2012 22:20:56 +0000 (15:20 -0700)]
Merge "Remove dead code" into jb-mr1-dev
Glenn Kasten [Thu, 2 Aug 2012 23:37:07 +0000 (16:37 -0700)]
Remove dead code
RecordThread::isValidSyncEvent() returns false, so most of
RecordThread::setSyncEvent() is never executed.
Change-Id: I0cf848beb46a367a45126d2df3073c5afa2ca59c
Andreas Huber [Thu, 30 Aug 2012 22:12:29 +0000 (15:12 -0700)]
Merge "Only run the wifi display RTSP server on demand, and only on the wifi direct" into jb-mr1-dev
Glenn Kasten [Thu, 30 Aug 2012 22:05:00 +0000 (15:05 -0700)]
Merge "Move libnbaio out of AudioFlinger" into jb-mr1-dev
Andreas Huber [Thu, 30 Aug 2012 21:51:40 +0000 (14:51 -0700)]
Only run the wifi display RTSP server on demand, and only on the wifi direct
interface.
Change-Id: I7d3c44cb79cd40e73499f2d7ccf35c69b628e6d7
James Dong [Thu, 23 Aug 2012 16:23:07 +0000 (09:23 -0700)]
Don't hard code the number of buffers for SurfaceMediaSource
Change-Id: I9ce17b3dc82a5d3e4a66569c76ad9745ceedacd6
Eric Laurent [Thu, 30 Aug 2012 18:16:51 +0000 (11:16 -0700)]
audio effects: fix bug in sample rate control.
Fix a bug in LVM bundle wrapper preventing audio framework sample rate
from being sent to the effect bundle instance.
Change-Id: I912027f866d3beac91b977bba869ff96a92d2a62
Eino-Ville Talvala [Thu, 30 Aug 2012 18:37:19 +0000 (11:37 -0700)]
Merge "Camera2: Require 2 JPEG thumbnail resolutions." into jb-mr1-dev
Eino-Ville Talvala [Thu, 30 Aug 2012 18:37:01 +0000 (11:37 -0700)]
Merge changes I7bef5694,Id38e2a52 into jb-mr1-dev
* changes:
Camera2: Move preview callback processing to its own thread.
Camera2: Move still capture processing to separate thread.
Andreas Huber [Thu, 30 Aug 2012 18:01:13 +0000 (11:01 -0700)]
Merge "Prepare for transmitting audio through AudioSource." into jb-mr1-dev
Andreas Huber [Thu, 30 Aug 2012 17:56:14 +0000 (10:56 -0700)]
Prepare for transmitting audio through AudioSource.
AudioSource can now be configured to output buffers timestamped based
on looper time (absolute) instead of based on systemTime() relative to
start time.
Change-Id: I8eca42648eb50033ac4aafbe5daac64a98a40690
Andreas Huber [Thu, 30 Aug 2012 17:54:41 +0000 (10:54 -0700)]
Merge "Transmit frames at a higher frame rate for smoother updates, increase" into jb-mr1-dev
Andreas Huber [Thu, 30 Aug 2012 17:54:27 +0000 (10:54 -0700)]
Merge "Optionally log the transport stream transmitted to the sink." into jb-mr1-dev
Glenn Kasten [Wed, 29 Aug 2012 18:10:32 +0000 (11:10 -0700)]
Move libnbaio out of AudioFlinger
libnbaio is now a separate shared library from AudioFlinger, rather
than a static library used only by AudioFlinger.
AudioBufferProvider interface is now also independent of AudioFlinger,
moved to include/media/
Change-Id: I9bb62ffbc38d42a38b0af76e66da5e9ab1e0e21b
Andreas Huber [Thu, 30 Aug 2012 17:01:17 +0000 (10:01 -0700)]
Transmit frames at a higher frame rate for smoother updates, increase
video bandwidth to 5 Mbit/sec.
Change-Id: Ieb9051b0f29d5a20004d1b3befdb745bc67769c7
Eino-Ville Talvala [Tue, 28 Aug 2012 20:38:23 +0000 (13:38 -0700)]
Camera2: Require 2 JPEG thumbnail resolutions.
Include (0,0) as a required thumbnail resolution, to allow turning off
thumbnails.
Change-Id: I3c4efe2d6a4f576a11ce5b75a3d573812a100b80
Eino-Ville Talvala [Tue, 28 Aug 2012 18:34:14 +0000 (11:34 -0700)]
Camera2: Move preview callback processing to its own thread.
To reduce delays for HAL callbacks, manage preview callbacks in their
own thread.
Bug:
6243944
Change-Id: I7bef56949ac889ffce4e031bf40291a771a46f3e
Eino-Ville Talvala [Tue, 28 Aug 2012 08:25:43 +0000 (01:25 -0700)]
Camera2: Move still capture processing to separate thread.
To avoid stalling HAL when it queues up new buffers for still capture,
process still captures in a separate thread. Also move Camera2Heap to
its own class so it can be used by the CaptureProcessor.
Bug:
6243944
Change-Id: Id38e2a52367c0985812fcd4fd9af3ef90beef43f
Eino-Ville Talvala [Thu, 30 Aug 2012 16:41:02 +0000 (09:41 -0700)]
Merge "Camera2: Factor out FrameProcessor." into jb-mr1-dev
Andreas Huber [Thu, 30 Aug 2012 16:13:54 +0000 (09:13 -0700)]
Optionally log the transport stream transmitted to the sink.
Change-Id: I5d392e7997d6beb09ba6eca70d6899747098d2b3
Andreas Huber [Wed, 29 Aug 2012 23:10:01 +0000 (16:10 -0700)]
Merge "Fix wifi display shutdown deadlock." into jb-mr1-dev
Andreas Huber [Wed, 29 Aug 2012 23:08:08 +0000 (16:08 -0700)]
Fix wifi display shutdown deadlock.
Change-Id: I77eed39f39c0de6b427c425248ff7d21c051c074
Andreas Huber [Wed, 29 Aug 2012 22:29:11 +0000 (15:29 -0700)]
Merge "Initial checkin of support for acting as a wifi display source" into jb-mr1-dev
Andreas Huber [Wed, 29 Aug 2012 18:41:50 +0000 (11:41 -0700)]
Initial checkin of support for acting as a wifi display source
Change-Id: I08f17efa0c7d007e17408feb7d4fbef0a19f531a
Andreas Huber [Wed, 29 Aug 2012 21:21:02 +0000 (14:21 -0700)]
Merge "Preliminary support for HDCP as a binder service for wifi display support." into jb-mr1-dev
Andreas Huber [Wed, 29 Aug 2012 18:34:22 +0000 (11:34 -0700)]
Preliminary support for HDCP as a binder service for wifi display support.
Change-Id: Ie0de1c086c629a668d1c7863992eef56fb94157c
Jean-Baptiste Queru [Wed, 29 Aug 2012 17:58:24 +0000 (10:58 -0700)]
am
8836f8e0: am
5b15adfe: Merge "MPEG2TSWriter: Read more immediately if an empty buffer is received"
* commit '
8836f8e0bfc64dce81963db89dfc5d0f11c29483':
MPEG2TSWriter: Read more immediately if an empty buffer is received
Jean-Baptiste Queru [Wed, 29 Aug 2012 17:58:22 +0000 (10:58 -0700)]
am
bf30787f: am
735d1b92: Merge "avcenc: Don\'t erase the InputBufferInfo before reading info from it"
* commit '
bf30787f2694057e775f3b527b649a9f8074237b':
avcenc: Don't erase the InputBufferInfo before reading info from it
Jean-Baptiste Queru [Wed, 29 Aug 2012 17:58:21 +0000 (10:58 -0700)]
am
0924dd88: am
2aa37a7d: Merge "recordvideo: Add an option for choosing software encoders"
* commit '
0924dd88790ba9cda0d5a86df7d68b7446470fc7':
recordvideo: Add an option for choosing software encoders
Jean-Baptiste Queru [Wed, 29 Aug 2012 17:58:19 +0000 (10:58 -0700)]
am
3f9e843d: am
9ce74352: Merge "recordvideo: Sleep while waiting for the encoding to finish"
* commit '
3f9e843d924f220f6094241bc765cd69d8fc6d7b':
recordvideo: Sleep while waiting for the encoding to finish
Jean-Baptiste Queru [Wed, 29 Aug 2012 16:45:24 +0000 (09:45 -0700)]
am
5b15adfe: Merge "MPEG2TSWriter: Read more immediately if an empty buffer is received"
* commit '
5b15adfe9e5ee9a92b5f0a2853246fce170d4eef':
MPEG2TSWriter: Read more immediately if an empty buffer is received
Jean-Baptiste Queru [Wed, 29 Aug 2012 16:45:23 +0000 (09:45 -0700)]
am
735d1b92: Merge "avcenc: Don\'t erase the InputBufferInfo before reading info from it"
* commit '
735d1b926fa3e057c92d74cebacca2f243ead274':
avcenc: Don't erase the InputBufferInfo before reading info from it
Jean-Baptiste Queru [Wed, 29 Aug 2012 16:45:22 +0000 (09:45 -0700)]
am
2aa37a7d: Merge "recordvideo: Add an option for choosing software encoders"
* commit '
2aa37a7d15f5e2246b8996d2600269684904c581':
recordvideo: Add an option for choosing software encoders
Jean-Baptiste Queru [Wed, 29 Aug 2012 16:45:22 +0000 (09:45 -0700)]
am
9ce74352: Merge "recordvideo: Sleep while waiting for the encoding to finish"
* commit '
9ce74352d23d833f9627b7be58be964206e6ff6d':
recordvideo: Sleep while waiting for the encoding to finish
Jean-Baptiste Queru [Wed, 29 Aug 2012 16:35:10 +0000 (09:35 -0700)]
Merge "MPEG2TSWriter: Read more immediately if an empty buffer is received"
Jean-Baptiste Queru [Wed, 29 Aug 2012 16:07:41 +0000 (09:07 -0700)]
Merge "avcenc: Don't erase the InputBufferInfo before reading info from it"
Jean-Baptiste Queru [Wed, 29 Aug 2012 16:07:26 +0000 (09:07 -0700)]
Merge "recordvideo: Add an option for choosing software encoders"
Jean-Baptiste Queru [Wed, 29 Aug 2012 16:07:19 +0000 (09:07 -0700)]
Merge "recordvideo: Sleep while waiting for the encoding to finish"
Martin Storsjo [Wed, 29 Aug 2012 12:22:18 +0000 (15:22 +0300)]
avcenc: Don't erase the InputBufferInfo before reading info from it
Previously, the timestamp and flags were read from the InputBufferInfo
struct after it had been erased.
This fixes cases where the output timestamp from the avc encoder
could spuriously be garbage every now and then.
Change-Id: I21acf23cfac93bcc201a603feace6499ec6d8e76
Martin Storsjo [Wed, 29 Aug 2012 11:49:28 +0000 (14:49 +0300)]
MPEG2TSWriter: Read more immediately if an empty buffer is received
If writing encoded data from an OMXCodec, the last buffer can be
an empty buffer (with the EOS flag set, which isn't propagated to
MediaBuffer). If we don't retry reading, we won't ever get the
EOS error and thus won't properly signal that the source is done.
Change-Id: Ibe01dbcd0637fbf0c2529a277e9f208c48e0e8ab
Martin Storsjo [Wed, 29 Aug 2012 10:41:01 +0000 (13:41 +0300)]
recordvideo: Sleep while waiting for the encoding to finish
This avoids busy looping while e.g. waiting for the software encoder
to finish.
This is similar to what the 'record' and 'stagefright' test apps
do.
Change-Id: Idce55b15396ce78b621a521229603bec1e799f33
Martin Storsjo [Wed, 29 Aug 2012 10:28:33 +0000 (13:28 +0300)]
recordvideo: Add an option for choosing software encoders
This is similar to the same option in the 'stagefright' test
application.
Change-Id: I2a2e5201bd93460df0911ef12865c9030c0183e5
Eino-Ville Talvala [Tue, 28 Aug 2012 06:41:56 +0000 (23:41 -0700)]
Camera2: Factor out FrameProcessor.
Move FrameProcessor to its own file, add necessary interfaces to
Camera2Client.
Bug:
6243944
Change-Id: I8d1b8280a65d2822461ebe6b6c9de17992b34276
Eino-Ville Talvala [Tue, 28 Aug 2012 19:28:24 +0000 (12:28 -0700)]
Merge "Camera2: Factor out Camera2Client::Parameters" into jb-mr1-dev
Andreas Huber [Tue, 28 Aug 2012 18:11:47 +0000 (11:11 -0700)]
Merge "Fix retries when server doesn't support range requests." into jb-mr1-dev
Andreas Huber [Tue, 28 Aug 2012 16:48:40 +0000 (09:48 -0700)]
Fix retries when server doesn't support range requests.
Change-Id: I2d137f3e799b87af36a279473c0077d860c14477
related-to-bug:
7021436
Andreas Huber [Tue, 28 Aug 2012 17:22:44 +0000 (10:22 -0700)]
Merge "Test to measure UDP roundtrip time between two devices on the same network." into jb-mr1-dev
Andreas Huber [Tue, 28 Aug 2012 16:47:45 +0000 (09:47 -0700)]
Test to measure UDP roundtrip time between two devices on the same network.
Change-Id: I4c9a5190efe18da8b6be7d68bda91df878c4118c
Eino-Ville Talvala [Sun, 26 Aug 2012 16:29:28 +0000 (09:29 -0700)]
Camera2: Factor out Camera2Client::Parameters
Move the parameter structure and the various utility methods using it
to its own class. Rename LockedParameters to SharedParameters to match
the Mutex naming convention.
Also move CameraMetadata to camera2 directory for organization.
No functional changes.
Bug:
6243944
Change-Id: Ie60b535936ecfda9bf23361d52604abf515c83d0
Jeff Brown [Tue, 28 Aug 2012 00:15:59 +0000 (17:15 -0700)]
Merge "Use new surface flinger API." into jb-mr1-dev
Eino-Ville Talvala [Mon, 27 Aug 2012 19:19:52 +0000 (12:19 -0700)]
Merge "Camera2: Fix metering/focusing region coordinates, minor bugs" into jb-mr1-dev
Eino-Ville Talvala [Mon, 27 Aug 2012 19:19:40 +0000 (12:19 -0700)]
Merge "Camera2: Move frame processing to its own thread." into jb-mr1-dev
Eino-Ville Talvala [Mon, 27 Aug 2012 17:33:35 +0000 (10:33 -0700)]
Merge "Camera2: Use CameraMetadata wrapper class." into jb-mr1-dev
James Dong [Mon, 27 Aug 2012 17:14:29 +0000 (10:14 -0700)]
Merge "Fixed a potential/rare race condtion in MediaPlayerService::Client::notify() method" into jb-mr1-dev
James Dong [Mon, 27 Aug 2012 17:14:23 +0000 (10:14 -0700)]
Merge "Fixed a native crash due to unexpected state at destroy time when encoder component's source fails to start" into jb-mr1-dev
Eino-Ville Talvala [Sun, 26 Aug 2012 00:12:18 +0000 (17:12 -0700)]
Camera2: Fix metering/focusing region coordinates, minor bugs
- Use active pixel array-based coordinates instead of the normalized
camera API coordinates for ae/awb/af regions
- Fix calculation of UV stride for YV12 format
Bug:
6243944
Change-Id: I80cbd989858b0a3cb75c6f536c145e16e44fdb25
Eino-Ville Talvala [Fri, 24 Aug 2012 23:30:44 +0000 (16:30 -0700)]
Camera2: Move frame processing to its own thread.
To avoid blocking the HAL on possibly long-running binder calls,
move frame receiption and processing to its own thread.
Bug:
6243944
Change-Id: I6385be4410b2f68e2331755027afc10c342187cf
Eino-Ville Talvala [Fri, 24 Aug 2012 18:29:22 +0000 (11:29 -0700)]
Camera2: Use CameraMetadata wrapper class.
Wrap the use of the camera_metadata library inside a CameraMetadata
class to avoid memory leaks, improve code clarity, and increase type
safety.
Bug:
6243944
Change-Id: I90ca592b5875e27e4c58ea1ca680582dc3c3b56a
Jamie Gennis [Sun, 26 Aug 2012 23:28:14 +0000 (16:28 -0700)]
Merge "SurfaceMediaSource: a few fixes / cleanups" into jb-mr1-dev
Jamie Gennis [Fri, 24 Aug 2012 03:24:09 +0000 (20:24 -0700)]
SurfaceMediaSource: a few fixes / cleanups
- Remove the setting of mStopped to true in onBuffersReleased
- Cleaned up a few function call logs
- Removed the 'reset' method.
Change-Id: I56bab1d5cb2f3e6d59d54698c2e045d796d1849f
James Dong [Sun, 26 Aug 2012 23:13:03 +0000 (16:13 -0700)]
Fixed a potential/rare race condtion in MediaPlayerService::Client::notify() method
o The mClient could be disconnected before the notify message is sent out. Use
a local reference could help resolve this issue.
o related-to-bug:
6782035
Change-Id: Ia2047bd7f2666100fed83c6e5417a3bf2e20cd2c