OSDN Git Service

android-x86/frameworks-av.git
13 years agoMerge "Support a "secure input buffer" mode for use by Widevine DRM in OMXCodec."
Andreas Huber [Fri, 1 Jul 2011 16:48:05 +0000 (09:48 -0700)]
Merge "Support a "secure input buffer" mode for use by Widevine DRM in OMXCodec."

13 years agoSupport a "secure input buffer" mode for use by Widevine DRM in OMXCodec.
Andreas Huber [Wed, 29 Jun 2011 22:53:28 +0000 (15:53 -0700)]
Support a "secure input buffer" mode for use by Widevine DRM in OMXCodec.

Change-Id: Ie03b285265099dbac9b12f3f41d9ad758d0b50ad

13 years agoMerge "Revert "Fix for b/4165024: Serious Memory leak when playing a WV protected...
Edwin Wong [Fri, 1 Jul 2011 15:52:28 +0000 (08:52 -0700)]
Merge "Revert "Fix for b/4165024: Serious Memory leak when playing a WV protected streaming video.""

13 years agoMerge "Return ERROR_END_OF_STREAM when the input source reaches eos"
James Dong [Fri, 1 Jul 2011 15:35:25 +0000 (08:35 -0700)]
Merge "Return ERROR_END_OF_STREAM when the input source reaches eos"

13 years agoMerge changes I7e8401a4,I412ddf36
Kristian Monsen [Fri, 1 Jul 2011 15:04:11 +0000 (08:04 -0700)]
Merge changes I7e8401a4,I412ddf36

* changes:
  Merge Chromium at r11.0.696.0: New autofill strings
  Merge Chromium at r11.0.696.0: Using setter instead of direct variable access

13 years agoRevert "Fix for b/4165024: Serious Memory leak when playing a WV protected streaming...
Jeff Tinker [Fri, 1 Jul 2011 14:13:42 +0000 (07:13 -0700)]
Revert "Fix for b/4165024: Serious Memory leak when playing a WV protected streaming video."

This reverts commit d63d947d406977c7c307f69369908b4342c98ef3

13 years agoSeeking/duration in HLS content is based on the individual segments' duration
Andreas Huber [Thu, 30 Jun 2011 23:52:33 +0000 (16:52 -0700)]
Seeking/duration in HLS content is based on the individual segments' duration

not target-duration.

Change-Id: I294097daa84c25e4084a6fc4ea80e39a543f3d10
related-to-bug: 4983285

13 years agoMerge "Revert "Parse RTP-Info even for live streams.""
Andreas Huber [Thu, 30 Jun 2011 18:21:14 +0000 (11:21 -0700)]
Merge "Revert "Parse RTP-Info even for live streams.""

13 years agoRevert "Parse RTP-Info even for live streams."
Andreas Huber [Thu, 30 Jun 2011 17:59:19 +0000 (10:59 -0700)]
Revert "Parse RTP-Info even for live streams."

This reverts commit d873413ff9f742f259c29d7d0b58265db6b24529.

13 years agoSome (most) OMX decoders do not send a OMX_CmdComplete/Flush OMX_ALL notification
Andreas Huber [Thu, 30 Jun 2011 16:17:57 +0000 (09:17 -0700)]
Some (most) OMX decoders do not send a OMX_CmdComplete/Flush OMX_ALL notification

Change-Id: I1bdcc7be5f12dab301891a5f9ee5cc981e09ba82

13 years agoReturn ERROR_END_OF_STREAM when the input source reaches eos
James Dong [Thu, 30 Jun 2011 05:35:59 +0000 (22:35 -0700)]
Return ERROR_END_OF_STREAM when the input source reaches eos

Change-Id: I334313b054dcf388d2e05d56efb10ceea4980638

13 years agoMerge "SF transactions are now O(1) wrt IPC instead of O(N)."
Mathias Agopian [Wed, 29 Jun 2011 23:15:56 +0000 (16:15 -0700)]
Merge "SF transactions are now O(1) wrt IPC instead of O(N)."

13 years agoSF transactions are now O(1) wrt IPC instead of O(N).
Mathias Agopian [Wed, 29 Jun 2011 02:09:31 +0000 (19:09 -0700)]
SF transactions are now O(1) wrt IPC instead of O(N).

Change-Id: I57669852cbf6aabae244ea86940a08a5a27ffc43

13 years agoMerge "Fix a format string that triggered a compile-time warning in OMXCodec.cpp"
Andreas Huber [Wed, 29 Jun 2011 17:23:14 +0000 (10:23 -0700)]
Merge "Fix a format string that triggered a compile-time warning in OMXCodec.cpp"

13 years agoMerge "Instantiate a NetworkChangeNotifier to have chromium transparently handle...
Andreas Huber [Wed, 29 Jun 2011 16:51:50 +0000 (09:51 -0700)]
Merge "Instantiate a NetworkChangeNotifier to have chromium transparently handle interface"

13 years agoFix a format string that triggered a compile-time warning in OMXCodec.cpp
Andreas Huber [Tue, 28 Jun 2011 18:42:43 +0000 (11:42 -0700)]
Fix a format string that triggered a compile-time warning in OMXCodec.cpp

Change-Id: Ib4b6cce1b4102034605da8edfb0dd8bc9a578168

13 years agoInstantiate a NetworkChangeNotifier to have chromium transparently handle interface
Andreas Huber [Mon, 20 Jun 2011 20:57:04 +0000 (13:57 -0700)]
Instantiate a NetworkChangeNotifier to have chromium transparently handle interface

changes.

Change-Id: If48d2934ce29d68b9c31a1d120fe8f134f277a33

13 years agoMerge "Support for "streaming" non-transport streams by first converting them to...
Andreas Huber [Wed, 29 Jun 2011 16:11:21 +0000 (09:11 -0700)]
Merge "Support for "streaming" non-transport streams by first converting them to ts packets."

13 years agoMerge Chromium at r11.0.696.0: Using setter instead of direct variable access
Kristian Monsen [Mon, 27 Jun 2011 09:49:11 +0000 (10:49 +0100)]
Merge Chromium at r11.0.696.0: Using setter instead of direct variable access

Members in UrlRequestContext was made private in upstream CL:
http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_context.h?view=diff&pathrev=77261&r1=75164&r2=75165

Change-Id: I412ddf36b0818e59b9b3ae428407d562facd4785

13 years agoUnlock the camera if media recorder fails to start recording.
Wu-cheng Li [Wed, 29 Jun 2011 07:17:11 +0000 (15:17 +0800)]
Unlock the camera if media recorder fails to start recording.

bug:4965716

Change-Id: Icb1f7f18e9ea6c4f0427ade2ed338e7d56be5e01

13 years agoSupport for "streaming" non-transport streams by first converting them to ts packets.
Andreas Huber [Mon, 27 Jun 2011 22:48:18 +0000 (15:48 -0700)]
Support for "streaming" non-transport streams by first converting them to ts packets.

Change-Id: Ia753a1ab99039f54ce3678a38e997902372b5fa5

13 years agoSupport for writing output data to a provided callback function instead of a file
Andreas Huber [Mon, 27 Jun 2011 22:47:56 +0000 (15:47 -0700)]
Support for writing output data to a provided callback function instead of a file

in MPEG2TSWriter

Change-Id: Ie54a5677c7b789a973aa50b7f197c6db238425bc

13 years agoMerge "Multiple changes to ACodec/codec tools:"
Andreas Huber [Tue, 28 Jun 2011 19:48:01 +0000 (12:48 -0700)]
Merge "Multiple changes to ACodec/codec tools:"

13 years agoMultiple changes to ACodec/codec tools:
Andreas Huber [Tue, 28 Jun 2011 17:51:41 +0000 (10:51 -0700)]
Multiple changes to ACodec/codec tools:

Make sure sf2 does not coalesce input buffers, generalize ACodec's codec
instantiation based on OMXCodec's list of eligible component names.

Some changes/additions to the "sf2" commandline tool

Make surface options consistent with stagefright tool, i.e. use '-S' instead of '-s'
New option '-R' renders surface-allocated buffers.

Also fixes a longstanding bug introduced when generalizing from surfaces to native windows that never used surface-allocated buffers in sf2 even when the option was specified.

Change-Id: I59fd533f0f6ef0337ebe2806ddc81a46878eb3ae

13 years agoMerge "New option in the stagefright commandline tool."
Andreas Huber [Tue, 28 Jun 2011 17:16:51 +0000 (10:16 -0700)]
Merge "New option in the stagefright commandline tool."

13 years agoMerge "Fix for b/4165024: Serious Memory leak when playing a WV protected streaming...
Jeff Tinker [Tue, 28 Jun 2011 17:12:08 +0000 (10:12 -0700)]
Merge "Fix for b/4165024: Serious Memory leak when playing a WV protected streaming video."

13 years agoNew option in the stagefright commandline tool.
Andreas Huber [Tue, 28 Jun 2011 17:11:09 +0000 (10:11 -0700)]
New option in the stagefright commandline tool.

Use '-S' to allocate decoder buffers from a surface
Use '-T' to allocate decoder buffers from a surface texture

Change-Id: Ib71ea53d0fd1b2def08bfeac2fd8bcbdc1938161

13 years agoCameraService: Decouple dequeue and lock
Sundar Raman [Fri, 17 Jun 2011 14:05:09 +0000 (09:05 -0500)]
CameraService: Decouple dequeue and lock

Decouple lockBuffer from dequeueBuffer. Add lock_buffer to preview_stream_ops,
so HALs will be fully in charge of managing buffers.

Change-Id: I7b53487d618bdf08ba904c5a0f41af462a7ca773
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years agoFix for b/4165024: Serious Memory leak when playing a WV protected streaming video.
Jeff Tinker [Mon, 27 Jun 2011 17:48:26 +0000 (10:48 -0700)]
Fix for b/4165024: Serious Memory leak when playing a WV protected streaming video.

This change allows the WVM extractor to close and reopen when not in use which resolves
the issue with heap fragmentation between plays.

Change-Id: I160ee1e98aada2bfdd0818eeb6300ad50644fb75

13 years agoMerge "Fix the new color converter to respect the destination crop rect."
Andreas Huber [Mon, 27 Jun 2011 18:14:19 +0000 (11:14 -0700)]
Merge "Fix the new color converter to respect the destination crop rect."

13 years agoMerge "Log video dimensions and crop rectangle."
Andreas Huber [Mon, 27 Jun 2011 18:14:12 +0000 (11:14 -0700)]
Merge "Log video dimensions and crop rectangle."

13 years agoMerge "Update paths to test content used to run the omx_tests."
Andreas Huber [Mon, 27 Jun 2011 18:14:05 +0000 (11:14 -0700)]
Merge "Update paths to test content used to run the omx_tests."

13 years agoMerge "Reduce the number of output buffers and force output buffers in display order...
James Dong [Mon, 27 Jun 2011 17:34:13 +0000 (10:34 -0700)]
Merge "Reduce the number of output buffers and force output buffers in display order for SoftAVC decoder"

13 years agoFix the new color converter to respect the destination crop rect.
Andreas Huber [Fri, 24 Jun 2011 20:16:42 +0000 (13:16 -0700)]
Fix the new color converter to respect the destination crop rect.

Also fixes the SoftwareRenderer to request blitting the correct crop rectangles.

Change-Id: I38706cf9b42d96c6d5b35a9380f006ea4fbbf1ea

13 years agoLog video dimensions and crop rectangle.
Andreas Huber [Fri, 24 Jun 2011 20:15:30 +0000 (13:15 -0700)]
Log video dimensions and crop rectangle.

Change-Id: Ia56b09df4f6e9a14c4dcc499a6637fc39f8e3bb5

13 years agoUpdate paths to test content used to run the omx_tests.
Andreas Huber [Fri, 24 Jun 2011 20:14:32 +0000 (13:14 -0700)]
Update paths to test content used to run the omx_tests.

Change-Id: I23201ac1541df032426cb05b9dc872b28882f992

13 years agoAdd framework support for camcorder zoom.
Wu-cheng Li [Wed, 1 Jun 2011 09:22:24 +0000 (17:22 +0800)]
Add framework support for camcorder zoom.

The purpose of ICameraRecordingProxy and ICameraRecordingProxyListener is to
allow applications using the camera during recording.

Camera service allows only one client at a time. Since camcorder application
needs to own the camera to do things like zoom, the media recorder cannot
access the camera directly during recording. So ICameraRecordingProxy is a proxy
of ICamera, which allows the media recorder to start/stop the recording and
release recording frames. ICameraRecordingProxyListener is an interface that
allows the recorder to receive video frames during recording.

ICameraRecordingProxy
  startRecording()
  stopRecording()
  releaseRecordingFrame()

ICameraRecordingProxyListener
  dataCallbackTimestamp()

The camcorder app opens the camera and starts the preview. The app passes
ICamera and ICameraRecordingProxy to the media recorder by
MediaRecorder::setCamera(). The recorder uses ICamera to setup the camera in
MediaRecorder::start(). After setup, the recorder disconnects from camera
service. The recorder calls ICameraRecordingProxy::startRecording() and
passes a ICameraRecordingProxyListener to the app. The app connects back to
camera service and starts the recording. The app owns the camera and can do
things like zoom. The media recorder receives the video frames from the
listener and releases them by ICameraRecordingProxy::releaseRecordingFrame.
The recorder calls ICameraRecordingProxy::stopRecording() to stop the
recording.

The call sequences are as follows:
1. The app: Camera.unlock().
2. The app: MediaRecorder.setCamera().
3. Start recording
   (1) The app: MediaRecorder.start().
   (2) The recorder: ICamera.unlock() and ICamera.disconnect().
   (3) The recorder: ICameraRecordingProxy.startRecording().
   (4) The app: ICamera.reconnect().
   (5) The app: ICamera.startRecording().
4. During recording
   (1) The recorder: receive frames from ICameraRecordingProxyListener.dataCallbackTimestamp()
   (2) The recorder: release frames by ICameraRecordingProxy.releaseRecordingFrame().
5. Stop recording
   (1) The app: MediaRecorder.stop()
   (2) The recorder: ICameraRecordingProxy.stopRecording().
   (3) The app: ICamera.stopRecording().

bug:2644213

Change-Id: I15269397defc25cbbcae16abc071c8349c123122

13 years agoReduce the number of output buffers and force output buffers in display order for...
James Dong [Sat, 18 Jun 2011 00:00:20 +0000 (17:00 -0700)]
Reduce the number of output buffers and force output buffers in display order for SoftAVC decoder

Change-Id: I9ec6d8205e7a56e42d5b5799a6c2e31076d24b81

13 years agoStagefright: add support for gralloc OMX_UseBuffer.
Anu Sundararajan [Wed, 22 Jun 2011 15:49:21 +0000 (10:49 -0500)]
Stagefright: add support for gralloc OMX_UseBuffer.

XXX: This change should go along with a documentation change to
HardwareAPI.h that describes the new extension.

This change adds support for passing a buffer_handle_t to OMX_UseBuffer
during OMXCodec initialization. This new way of passing the
buffer_handle_t's replaces the old OMX_SetParameter-based approach, and
this change deprecates that interface, but still supports it for OMX IL
implementations that do not support the new interface.

Change-Id: If9c1cb3c6c349c54dab094aeb8af13eae9f85271
Signed-off-by: Jamie Gennis <jgennis@google.com>
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
13 years agoIntegrating TI OMAP4 Video Decoder
Anu Sundararajan [Wed, 22 Jun 2011 17:24:46 +0000 (12:24 -0500)]
Integrating TI OMAP4 Video Decoder

Added the video decoder component name to kDecoderInfo.
Set the quirks for the video decoder.
Add a new color format to OMX_IVCommon.h to denote TI OMAP4 NV12 color format.
Added a color conversion routine [ from NV12 to RGB ] for thumbnail generation.

Change-Id: I6b23c36441645ef65ec7406ba262d19f89cf64fd
Signed-off-by: Devaraj Rangasamy <dev@ti.com>
Signed-off-by: Sreenidhi Koti <sreenidhi@ti.com>
Signed-off-by: Anu Sundararajan <sanuradha@ti.com>
13 years ago- Public part of the Metadata API.
Gloria Wang [Thu, 23 Jun 2011 17:39:51 +0000 (10:39 -0700)]
- Public part of the Metadata API.
- Modify the media framework test for Metadata.

Change-Id: Ib8fa4991f114e1bb88a17ca662844b9b8e1d0faf

13 years agoMerge "Parse RTP-Info even for live streams."
Andreas Huber [Thu, 23 Jun 2011 17:12:22 +0000 (10:12 -0700)]
Merge "Parse RTP-Info even for live streams."

13 years agoMerge "Reconstruct sync frame indication for content served by the MPEG2TSExtractor"
Andreas Huber [Thu, 23 Jun 2011 17:12:12 +0000 (10:12 -0700)]
Merge "Reconstruct sync frame indication for content served by the MPEG2TSExtractor"

13 years agoMerge "- Add two sanity checks. - Remove one unnecessary line. - Clear the extendedDa...
Gloria Wang [Thu, 23 Jun 2011 16:33:11 +0000 (09:33 -0700)]
Merge "- Add two sanity checks. - Remove one unnecessary line. - Clear the extendedData vector in DecryptHandle."

13 years agoMerge "Fix warnings for uninitialized local variables"
Glenn Kasten [Thu, 23 Jun 2011 16:00:03 +0000 (09:00 -0700)]
Merge "Fix warnings for uninitialized local variables"

13 years agoMerge "Added audio_bytes_per_sample() helper function"
Eric Laurent [Thu, 23 Jun 2011 15:08:20 +0000 (08:08 -0700)]
Merge "Added audio_bytes_per_sample() helper function"

13 years ago- Add two sanity checks.
Gloria Wang [Wed, 22 Jun 2011 21:55:16 +0000 (14:55 -0700)]
- Add two sanity checks.
- Remove one unnecessary line.
- Clear the extendedData vector in DecryptHandle.

Change-Id: I2610c6d68f12d48cb69323a5eb2ae4b3b3e44dff

13 years agoFix warnings for uninitialized local variables
Glenn Kasten [Wed, 22 Jun 2011 23:18:04 +0000 (16:18 -0700)]
Fix warnings for uninitialized local variables

Change-Id: Ic9b03b0fd215444e76c7b7bebb385f7831c557e0

13 years agoReconstruct sync frame indication for content served by the MPEG2TSExtractor
Andreas Huber [Wed, 22 Jun 2011 21:57:25 +0000 (14:57 -0700)]
Reconstruct sync frame indication for content served by the MPEG2TSExtractor

Strip data up to the first IDR frame if necessary.

Change-Id: I4a096785eb1a17b7484983788e223d188454771d

13 years agoMerge "Timed text display format support: 1. Extract 3GPP global format descriptions...
Gloria Wang [Wed, 22 Jun 2011 20:47:45 +0000 (13:47 -0700)]
Merge "Timed text display format support: 1. Extract 3GPP global format descriptions 2. Extract 3GPP local format descriptions 3. Define data structure (TimedText) for applications to retrieve the format metadata"

13 years agoTimed text display format support:
Gloria Wang [Tue, 31 May 2011 23:08:47 +0000 (16:08 -0700)]
Timed text display format support:
1. Extract 3GPP global format descriptions
2. Extract 3GPP local format descriptions
3. Define data structure (TimedText) for applications to
retrieve the format metadata

Change-Id: I6eac2a78df29ee15beee456656331fdd83b24e8e

13 years agoAdd some error log messages to indicate the failure of a recording session
James Dong [Wed, 22 Jun 2011 00:22:37 +0000 (17:22 -0700)]
Add some error log messages to indicate the failure of a recording session

Change-Id: I8c5885200bcf6a59736076efc021f07f45a0fdac

13 years agoMerge "Timestamp adjustment will not work well if we ask video encoder to produce...
James Dong [Wed, 22 Jun 2011 00:13:57 +0000 (17:13 -0700)]
Merge "Timestamp adjustment will not work well if we ask video encoder to produce B frames"

13 years agoTimestamp adjustment will not work well if we ask video encoder to produce B frames
James Dong [Fri, 3 Jun 2011 23:56:03 +0000 (16:56 -0700)]
Timestamp adjustment will not work well if we ask video encoder to produce B frames

Change-Id: Ic6a2235fefb6f15081091e1f2c1b12ee92fba5e0

13 years agoLog an error instead of asserting if the OMX plugin reports an error.
Andreas Huber [Tue, 21 Jun 2011 21:43:27 +0000 (14:43 -0700)]
Log an error instead of asserting if the OMX plugin reports an error.

Change-Id: I2bae80706495c5c5d4257cd607c2141c070c5ff9

13 years agoMerge "Fix a memory leak in the Forward Lock plugin. For bug 4770217."
Gloria Wang [Tue, 21 Jun 2011 20:19:36 +0000 (13:19 -0700)]
Merge "Fix a memory leak in the Forward Lock plugin. For bug 4770217."

13 years agoMerge "Don't assert on malformed .mp4 content that contains fewer samples than"
Andreas Huber [Tue, 21 Jun 2011 19:13:41 +0000 (12:13 -0700)]
Merge "Don't assert on malformed .mp4 content that contains fewer samples than"

13 years agoMerge "Boost software vp8 decoder performance using multi-threaded decoding if possible"
James Dong [Tue, 21 Jun 2011 19:12:06 +0000 (12:12 -0700)]
Merge "Boost software vp8 decoder performance using multi-threaded decoding if possible"

13 years agoParse the individual segment's duration as a floating point number which is now
Andreas Huber [Tue, 21 Jun 2011 18:55:34 +0000 (11:55 -0700)]
Parse the individual segment's duration as a floating point number which is now

allowed in later HLS specs.

Change-Id: I7c8296acb4e9b0f80022f3057769de0eea9ee0c6
related-to-bug: 4779022

13 years agoDon't assert on malformed .mp4 content that contains fewer samples than
Andreas Huber [Tue, 21 Jun 2011 18:38:01 +0000 (11:38 -0700)]
Don't assert on malformed .mp4 content that contains fewer samples than

described in the time-to-sample box.

Change-Id: Ic6f973212c15012a25f6e849759fd4f14d97e30f
related-to-bug: 4779053

13 years agoFix a memory leak in the Forward Lock plugin.
Gloria Wang [Tue, 21 Jun 2011 18:07:59 +0000 (11:07 -0700)]
Fix a memory leak in the Forward Lock plugin.
For bug 4770217.

Change-Id: I14f4d4ead524c661e68a20738e7a50e4d8fd92ea

13 years agoMerge "Restore legacy soft-aac decoder behaviour. Substitute silence on decode error."
Andreas Huber [Tue, 21 Jun 2011 15:36:51 +0000 (08:36 -0700)]
Merge "Restore legacy soft-aac decoder behaviour. Substitute silence on decode error."

13 years agoMTP: Add support for PTP variant of GetDeviceInfo result.
Mike Lockwood [Tue, 21 Jun 2011 12:27:06 +0000 (08:27 -0400)]
MTP: Add support for PTP variant of GetDeviceInfo result.

Change-Id: I09f86fda768b7697665e401adb9516588859bf59
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoRestore legacy soft-aac decoder behaviour. Substitute silence on decode error.
Andreas Huber [Mon, 20 Jun 2011 23:19:09 +0000 (16:19 -0700)]
Restore legacy soft-aac decoder behaviour. Substitute silence on decode error.

Change-Id: I680ccaabef32b1319819f723260cb3789585f09e
related-to-bug: 4579486

13 years agoMerge "OGG: To prevent mediaserver from crash by SIGFPE (divide by zero) and more...
Andreas Huber [Mon, 20 Jun 2011 23:08:06 +0000 (16:08 -0700)]
Merge "OGG: To prevent mediaserver from crash by SIGFPE (divide by zero) and more guarding in getMetaData()."

13 years agoMerge "When a recording session is stopped, no outstanding input video frames exist...
James Dong [Mon, 20 Jun 2011 20:23:14 +0000 (13:23 -0700)]
Merge "When a recording session is stopped, no outstanding input video frames exist for the output buffers returned from OMX component to SF."

13 years agoWhen a recording session is stopped, no outstanding input video frames exist for...
James Dong [Mon, 20 Jun 2011 18:40:52 +0000 (11:40 -0700)]
When a recording session is stopped, no outstanding input video frames exist for the output buffers returned from OMX component to SF.

When this happens, default value of 0 will be used for the "decoding" time for these output buffers.
These buffers do not contain valid media data anyway.

related-to-bug: 4725803

Change-Id: I0eaf248bb2ac022ff072eaffd0ed3f21171f824e

13 years agoBoost software vp8 decoder performance using multi-threaded decoding if possible
James Dong [Fri, 17 Jun 2011 23:50:13 +0000 (16:50 -0700)]
Boost software vp8 decoder performance using multi-threaded decoding if possible

Change-Id: I7258c7d0cf91aa7c62444d03ed8bce96fb23d8ef
related-to-bug: 4539653

13 years agoParse RTP-Info even for live streams.
Andreas Huber [Wed, 1 Jun 2011 16:12:59 +0000 (09:12 -0700)]
Parse RTP-Info even for live streams.

Change-Id: Ib2c39ce8d5366f5ea350e71b7a54f5f7c2b510b9

13 years agoMerge "Remove unneeded #include <sys/resource.h>"
Glenn Kasten [Mon, 20 Jun 2011 14:47:51 +0000 (07:47 -0700)]
Merge "Remove unneeded #include <sys/resource.h>"

13 years agoOGG: To prevent mediaserver from crash by SIGFPE (divide by zero) and more guarding...
Dongwon Kang [Fri, 17 Jun 2011 13:52:19 +0000 (22:52 +0900)]
OGG: To prevent mediaserver from crash by SIGFPE (divide by zero) and more guarding in getMetaData().

BUG:4689872
Change-Id: I483bf230b5571a8d1815b954dce2c52e9a5f1f37

13 years agoMerge "MTP: Fix some problems with GetObjectHandles and GetNumObjects commands"
Mike Lockwood [Sat, 18 Jun 2011 03:54:53 +0000 (20:54 -0700)]
Merge "MTP: Fix some problems with GetObjectHandles and GetNumObjects commands"

13 years agoMTP: Fix some problems with GetObjectHandles and GetNumObjects commands
Mike Lockwood [Fri, 17 Jun 2011 17:44:24 +0000 (13:44 -0400)]
MTP: Fix some problems with GetObjectHandles and GetNumObjects commands

These calls did not correctly handle some variants of the arguments,
which showed up when running in PTP mode.

Change-Id: Iedbaefebfa39111c8bcaee7c6cc3820a65d6c98f
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "Use system property to control whether we will enable B frame support in MPEG4...
James Dong [Fri, 17 Jun 2011 22:50:19 +0000 (15:50 -0700)]
Merge "Use system property to control whether we will enable B frame support in MPEG4Writer"

13 years agoUse system property to control whether we will enable B frame support in MPEG4Writer
James Dong [Fri, 17 Jun 2011 22:13:42 +0000 (15:13 -0700)]
Use system property to control whether we will enable B frame support in MPEG4Writer

o This is to work around a bug in crespo's video encoder output timestamp

related-to-bug: 4600191,4724339

Change-Id: I485c1e044bd2f604b318692efd6433345cfc6487

13 years agoAdded audio_bytes_per_sample() helper function
Eric Laurent [Fri, 17 Jun 2011 04:30:45 +0000 (21:30 -0700)]
Added audio_bytes_per_sample() helper function

Change-Id: Ibfcd75c4c241a53d5f052c25ada091904991048a

13 years agoMerge "Fix regression in audio effect factory"
Eric Laurent [Fri, 17 Jun 2011 21:05:31 +0000 (14:05 -0700)]
Merge "Fix regression in audio effect factory"

13 years agoFix regression in audio effect factory
Eric Laurent [Fri, 17 Jun 2011 01:24:31 +0000 (18:24 -0700)]
Fix regression in audio effect factory

commit 0fb66c2 introduced a bug in EffectCreate() that prevents detection
of problems reported by the engine library upon effect creation.

Change-Id: I5bd2d42505ac29ab4a5768fd7f0c2ced135cf3e3

13 years agoMerge "-Fix some typo -Remove one unnecessary memory allocation"
Gloria Wang [Thu, 16 Jun 2011 17:23:04 +0000 (10:23 -0700)]
Merge "-Fix some typo -Remove one unnecessary memory allocation"

13 years agoMerge "Allow camera to be disabled via Device Policy Manager"
Wu-cheng Li [Thu, 16 Jun 2011 08:05:43 +0000 (01:05 -0700)]
Merge "Allow camera to be disabled via Device Policy Manager"

13 years ago-Fix some typo
Gloria Wang [Wed, 15 Jun 2011 17:27:52 +0000 (10:27 -0700)]
-Fix some typo
-Remove one unnecessary memory allocation

Change-Id: Icea21f33d2c7891333e06429d2f382389e5bd27f

13 years agoReconcile with gingerbread-release
The Android Open Source Project [Wed, 15 Jun 2011 22:09:49 +0000 (15:09 -0700)]
Reconcile with gingerbread-release

Change-Id: I500f9a10cdfb891919b1e5618a42330ba00fcfb6

13 years agoRemove unneeded #include <sys/resource.h>
Glenn Kasten [Wed, 15 Jun 2011 00:56:13 +0000 (17:56 -0700)]
Remove unneeded #include <sys/resource.h>

Suggested in code review for previous change.

Change-Id: Ic3225b240367dc6c9bf56fb4498fb8a0f9f806ec

13 years agoMerge "Merge chromium to r11.0.672.0: Compile fix"
Kristian Monsen [Wed, 15 Jun 2011 03:57:57 +0000 (20:57 -0700)]
Merge "Merge chromium to r11.0.672.0: Compile fix"

13 years agoMerge "Bug 4608375"
Glenn Kasten [Wed, 15 Jun 2011 00:54:25 +0000 (17:54 -0700)]
Merge "Bug 4608375"

13 years agoMerge "Enforce the rule that the timestamp from timelapse video source monotically...
James Dong [Wed, 15 Jun 2011 00:01:11 +0000 (17:01 -0700)]
Merge "Enforce the rule that the timestamp from timelapse video source monotically increases"

13 years agoTo remove log spam in the Forward Lock DRM plugin.
Gloria Wang [Tue, 14 Jun 2011 21:44:15 +0000 (14:44 -0700)]
To remove log spam in the Forward Lock DRM plugin.
Fix for bug 4619159.

Change-Id: Id4984aade4cceb59a1fdf904949f62535decd2a4

13 years agoBug 4608375
Glenn Kasten [Tue, 14 Jun 2011 17:35:34 +0000 (10:35 -0700)]
Bug 4608375

Update priority and policy together for audio threads

Change-Id: Ib3b07b32586c222c4aacbf23414ae8b05db502be

13 years agoMerge "Duplicated fileDesc is not closed when input file is not forward-lock content...
Gloria Wang [Tue, 14 Jun 2011 17:05:55 +0000 (10:05 -0700)]
Merge "Duplicated fileDesc is not closed when input file is not forward-lock content. Fix for bug 4606053."

13 years agoMerge "audio: update for audio/audio_policy header names/locations"
Dima Zavin [Tue, 14 Jun 2011 02:43:59 +0000 (19:43 -0700)]
Merge "audio: update for audio/audio_policy header names/locations"

13 years agoMerge "Add an option to force to use HW codec in stagefright cmd tool"
James Dong [Tue, 14 Jun 2011 01:47:20 +0000 (18:47 -0700)]
Merge "Add an option to force to use HW codec in stagefright cmd tool"

13 years agoMerge "Add B frame support for MPEG4Writer"
James Dong [Tue, 14 Jun 2011 01:47:03 +0000 (18:47 -0700)]
Merge "Add B frame support for MPEG4Writer"

13 years agoEnforce the rule that the timestamp from timelapse video source monotically increases
James Dong [Tue, 14 Jun 2011 01:42:24 +0000 (18:42 -0700)]
Enforce the rule that the timestamp from timelapse video source monotically increases

Change-Id: Ie5ccb43e0192420300da58525ec52af7544e8e9e

13 years agoaudio: update for audio/audio_policy header names/locations
Dima Zavin [Tue, 14 Jun 2011 01:16:26 +0000 (18:16 -0700)]
audio: update for audio/audio_policy header names/locations

Change-Id: I36c49352eee57559403cd1597f56a8485a360289
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoAdd an option to force to use HW codec in stagefright cmd tool
James Dong [Tue, 14 Jun 2011 00:20:27 +0000 (17:20 -0700)]
Add an option to force to use HW codec in stagefright cmd tool

Change-Id: If6c277dd5a3f7a0b62acd6721343618b0be085fc

13 years agoAdd B frame support for MPEG4Writer
James Dong [Wed, 8 Jun 2011 02:45:54 +0000 (19:45 -0700)]
Add B frame support for MPEG4Writer

o requires the support of negative ctts duration values (ctts version 1)

Change-Id: Ib14130c9359c3bff3c76f20a7380d468a065dcaf

13 years agoDuplicated fileDesc is not closed when input file is not forward-lock content.
Gloria Wang [Mon, 13 Jun 2011 23:29:38 +0000 (16:29 -0700)]
Duplicated fileDesc is not closed when input file is not forward-lock content.
Fix for bug 4606053.

Change-Id: I1b45457d8cdc75d268631911f46ce6ec931b1770

13 years agounify SurfaceTexture and Surface
Mathias Agopian [Wed, 20 Apr 2011 21:20:59 +0000 (14:20 -0700)]
unify SurfaceTexture and Surface

Add the concept of synchronous dequeueBuffer in SurfaceTexture
Implement {Surface|SurfaceTextureClient}::setSwapInterval()
Add SurfaceTexture logging
fix onFrameAvailable

13 years agoCameraService: return stide when dequeueing a buffer
Iliyan Malchev [Fri, 10 Jun 2011 23:05:23 +0000 (16:05 -0700)]
CameraService: return stide when dequeueing a buffer

Change-Id: I11c7f0b57f7d619cdc392b2d34c538ae898de7ac
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years agoMerge "Avoid duplicated code calculating the stts sample duration"
James Dong [Fri, 10 Jun 2011 23:23:41 +0000 (16:23 -0700)]
Merge "Avoid duplicated code calculating the stts sample duration"