OSDN Git Service

android-x86/system-media.git
12 years agoAdd background replacement filter to mobile filter framework.
Eino-Ville Talvala [Wed, 3 Aug 2011 22:00:44 +0000 (15:00 -0700)]
Add background replacement filter to mobile filter framework.

Bug: 5098987
Change-Id: Ib96da73756b736f2960b39cdc47673b52134e881

12 years agoMerge "Fix for 5117999: Make isEffectSupported() a static method."
Marius Renn [Thu, 4 Aug 2011 01:59:09 +0000 (18:59 -0700)]
Merge "Fix for 5117999: Make isEffectSupported() a static method."

12 years agoMerge "Fix for 5117285: Stream-based filters no longer close streams."
Marius Renn [Thu, 4 Aug 2011 00:59:44 +0000 (17:59 -0700)]
Merge "Fix for 5117285: Stream-based filters no longer close streams."

12 years agoFix for 5117285: Stream-based filters no longer close streams.
Marius Renn [Thu, 4 Aug 2011 00:40:02 +0000 (17:40 -0700)]
Fix for 5117285: Stream-based filters no longer close streams.

Stream-based filters should not close streams, as they do not open them.

Change-Id: I01688fecde4d80e6089fb4c2fd017144dfc88408

12 years agoMerge "Fix structgen script to build Java directory hierarchies."
Eino-Ville Talvala [Thu, 4 Aug 2011 00:34:14 +0000 (17:34 -0700)]
Merge "Fix structgen script to build Java directory hierarchies."

12 years agoFix for 5117999: Make isEffectSupported() a static method.
Marius Renn [Thu, 4 Aug 2011 00:29:43 +0000 (17:29 -0700)]
Fix for 5117999: Make isEffectSupported() a static method.

This is required for applications such as GTalk, which need to verify that
certain effects are available before they setup an EffectContext.

Change-Id: I0f22b2ef378ebf0cb916305bc2a9f6b093b0f715

12 years agoMerge "Added FilterGraphEffect."
Wei Hua [Wed, 3 Aug 2011 22:29:05 +0000 (15:29 -0700)]
Merge "Added FilterGraphEffect."

12 years agoFix structgen script to build Java directory hierarchies.
Eino-Ville Talvala [Wed, 3 Aug 2011 22:01:46 +0000 (15:01 -0700)]
Fix structgen script to build Java directory hierarchies.

Bug: 509898
Change-Id: I27a1ee3dd3f3fcfa82c5f2620e5e30193327105d

12 years agoMerge "Increase MediaSource's startup timeout."
Eino-Ville Talvala [Wed, 3 Aug 2011 21:01:17 +0000 (14:01 -0700)]
Merge "Increase MediaSource's startup timeout."

12 years agoAdded FilterGraphEffect.
Wei Hua [Wed, 3 Aug 2011 20:55:24 +0000 (13:55 -0700)]
Added FilterGraphEffect.

Make the texId in GLTextureTarget not final
Bug: 4966161

Change-Id: I0935194c957ef2c490d3661f4247ad1ea23a3512

12 years agoMinor API implementation fixes.
Marius Renn [Wed, 3 Aug 2011 01:52:03 +0000 (18:52 -0700)]
Minor API implementation fixes.

- Documentation fixes.
- Private package lookup fix.
- Exception fix.

Change-Id: Ibae80a0b9c5eacdd95ec4c699e12eaec46b552c1

12 years agoMerge "Initial commit of the high-level public MFF effects SDK implementation."
Marius Renn [Wed, 3 Aug 2011 01:12:26 +0000 (18:12 -0700)]
Merge "Initial commit of the high-level public MFF effects SDK implementation."

12 years agoMerge "Bug 5109153 Remove log spam"
Glenn Kasten [Tue, 2 Aug 2011 23:23:21 +0000 (16:23 -0700)]
Merge "Bug 5109153 Remove log spam"

12 years agoMerge "Bug 5108531 Report the correct API level"
Glenn Kasten [Tue, 2 Aug 2011 23:23:06 +0000 (16:23 -0700)]
Merge "Bug 5108531 Report the correct API level"

12 years agoInitial commit of the high-level public MFF effects SDK implementation.
Marius Renn [Tue, 2 Aug 2011 20:55:34 +0000 (13:55 -0700)]
Initial commit of the high-level public MFF effects SDK implementation.

Includes fixes required for the Effects API:
- Explicit tear-down of MFF components.
- Better reuse of GL frames with external bindings.
- Fixed memory leaks.

Change-Id: I3a7397be1943361f6a8981cdf8313fd1670b26c8

12 years agoIncrease MediaSource's startup timeout.
Eino-Ville Talvala [Tue, 2 Aug 2011 20:43:51 +0000 (13:43 -0700)]
Increase MediaSource's startup timeout.

When streaming network URLs, the initial timeout of 5 seconds is
too short. Increasing to 10 seconds seems sufficient.

Bug: 5110877

Change-Id: I8071a7fee0bf0f5c28faef8fa69ab6790f110267

12 years agoMerge "Bug 5080320 MediaPlayer volume"
Glenn Kasten [Tue, 2 Aug 2011 19:35:13 +0000 (12:35 -0700)]
Merge "Bug 5080320 MediaPlayer volume"

12 years agoBug 5109153 Remove log spam
Glenn Kasten [Tue, 2 Aug 2011 16:08:40 +0000 (09:08 -0700)]
Bug 5109153 Remove log spam

Change-Id: I6c0c742bfa3f0078968dc5e2ea3578ad786067c5

12 years agoBug 5108531 Report the correct API level
Glenn Kasten [Tue, 2 Aug 2011 15:22:38 +0000 (08:22 -0700)]
Bug 5108531 Report the correct API level

Use build macro PLATFORM_SDK_VERSION to automatically update the reported
value, however the test program will still need manual updates.

Change-Id: Iae044605db65021c7d1e9825aab80ab5d6b552a8

12 years agoMerge "Bugfix (5085850): Added function to allow easy initialization of program host...
Marius Renn [Tue, 2 Aug 2011 00:05:49 +0000 (17:05 -0700)]
Merge "Bugfix (5085850): Added function to allow easy initialization of program host variables."

12 years agoMerge "Bugfix (5064211): Fix uniform access and lookups to work on non-TEGRA."
Marius Renn [Tue, 2 Aug 2011 00:05:39 +0000 (17:05 -0700)]
Merge "Bugfix (5064211): Fix uniform access and lookups to work on non-TEGRA."

12 years agoMerge "Fix makefile function call syntax"
Ying Wang [Mon, 1 Aug 2011 20:04:27 +0000 (13:04 -0700)]
Merge "Fix makefile function call syntax"

12 years agoBugfix (5085850): Added function to allow easy initialization of program host variables.
Marius Renn [Mon, 1 Aug 2011 19:29:33 +0000 (12:29 -0700)]
Bugfix (5085850): Added function to allow easy initialization of program host variables.

Change-Id: If7d88a015b75937d5f49cdb51120de5f75ee6d17

Changed 2 filters to use new simplified method.

Note: This requires that other affected filters are updated to make
use of the new functionality.

12 years agoBugfix (5064211): Fix uniform access and lookups to work on non-TEGRA.
Marius Renn [Mon, 1 Aug 2011 18:47:58 +0000 (11:47 -0700)]
Bugfix (5064211): Fix uniform access and lookups to work on non-TEGRA.

Change-Id: I75f80db09d9836754c7071ed8fd3c88ab317d989

12 years agoBug 5080320 MediaPlayer volume
Glenn Kasten [Thu, 28 Jul 2011 15:45:22 +0000 (08:45 -0700)]
Bug 5080320 MediaPlayer volume

Details:
 - re-factor volume-related code yet again
 - remove dead variables mAmplFromVolLevel, mAmplFromStereoPos, mDirectLevel
 - add placeholders for kEventPrefetchFillLevelUpdate and kEventPrefetchStatusChange

Known issues:
 - MPEG-2 TS doesn't yet implement the ability to query channel count, so default to stereo

Change-Id: Ic0f2297b267dc3d380755e8d314e1d5f0f659d7c

12 years agoMerge "Bug 5082191 fix slesTest_decodeToBuffQueue assert"
Glenn Kasten [Fri, 29 Jul 2011 22:40:46 +0000 (15:40 -0700)]
Merge "Bug 5082191 fix slesTest_decodeToBuffQueue assert"

12 years agoMerge "Bug 5092976 no spurious callbacks on prefetch fail"
Glenn Kasten [Fri, 29 Jul 2011 14:19:36 +0000 (07:19 -0700)]
Merge "Bug 5092976 no spurious callbacks on prefetch fail"

12 years agoMerge "Bug 5081346 fix whole file looping"
Glenn Kasten [Fri, 29 Jul 2011 14:18:10 +0000 (07:18 -0700)]
Merge "Bug 5081346 fix whole file looping"

12 years agoMerge "Adding MediaEncoderFilter for encoding GLFrames"
Pannag Sanketi [Fri, 29 Jul 2011 01:48:00 +0000 (18:48 -0700)]
Merge "Adding MediaEncoderFilter for encoding GLFrames"

12 years agoFix bug in CameraSource resolution selection.
Eino-Ville Talvala [Thu, 28 Jul 2011 23:01:56 +0000 (16:01 -0700)]
Fix bug in CameraSource resolution selection.

Bug: 5083927

Change-Id: I2ff78b717e8092c14f73fc51bb3802a275d08bbf

12 years agoBug 5081346 fix whole file looping
Glenn Kasten [Tue, 26 Jul 2011 21:26:47 +0000 (14:26 -0700)]
Bug 5081346 fix whole file looping

Change-Id: If4e233f9007d7e48225a342a43f06df7f66cdea7

12 years agoBug 5092976 no spurious callbacks on prefetch fail
Glenn Kasten [Thu, 28 Jul 2011 22:14:27 +0000 (15:14 -0700)]
Bug 5092976 no spurious callbacks on prefetch fail

Change-Id: I754085b4d1e43c4d10bea36e0fb683d8113844e9

12 years agoAdding MediaEncoderFilter for encoding GLFrames
Pannag Sanketi [Fri, 8 Jul 2011 18:31:00 +0000 (11:31 -0700)]
Adding MediaEncoderFilter for encoding GLFrames

Added MediaEncoderFilter inside MFF which can record GLFrames. It uses
MediaRecorder underneath. GLEnvironment gets a native window handle
using the MediaRecorder object, and creates an EGLSurface using that.
Any frames rendered to that frame are forwarded to the
StageFrightRecorder via the native window handle obtained from
MediaRecorder.

Related to bug id: 4529323

Change-Id: I0322e8dfa29ba47741222fcb8accf18eab7c050b

12 years agoBug 5082191 fix slesTest_decodeToBuffQueue assert
Glenn Kasten [Wed, 27 Jul 2011 00:36:51 +0000 (17:36 -0700)]
Bug 5082191 fix slesTest_decodeToBuffQueue assert

Change-Id: I2ec181cc7eba000847bd28e6d04733d3496d74d9

12 years agoBug 4599730 fix mute solo, channel count, volume
Glenn Kasten [Mon, 25 Jul 2011 16:27:01 +0000 (09:27 -0700)]
Bug 4599730 fix mute solo, channel count, volume

Change-Id: I1624c744168233c4ef79f2cd3090447b8aa7d53b

12 years agoFix makefile function call syntax
Ying Wang [Thu, 28 Jul 2011 00:05:58 +0000 (17:05 -0700)]
Fix makefile function call syntax

Before this change, the newline character will be carried to the shell
command. So no file name will be returned.

Change-Id: I54ce7da62711bf8e0bd35831e361cbf4eedbcee8

12 years agoMerge "Report last decoded position as AudioPlayer position for PCM decode"
Jean-Michel Trivi [Wed, 27 Jul 2011 23:13:55 +0000 (16:13 -0700)]
Merge "Report last decoded position as AudioPlayer position for PCM decode"

12 years agoMerge "Refactoring to fix GL related bugs (Bugs 5031729, 5062397, 5030694)"
Marius Renn [Wed, 27 Jul 2011 21:08:39 +0000 (14:08 -0700)]
Merge "Refactoring to fix GL related bugs (Bugs 503172950623975030694)"

12 years agoReport last decoded position as AudioPlayer position for PCM decode
Jean-Michel Trivi [Wed, 27 Jul 2011 00:43:14 +0000 (17:43 -0700)]
Report last decoded position as AudioPlayer position for PCM decode

Change-Id: I1ec413137d549235af4dc66cb033e1cd0bbbad62

12 years agoRefactoring to fix GL related bugs (Bugs 5031729, 5062397, 5030694)
Marius Renn [Tue, 26 Jul 2011 23:08:32 +0000 (16:08 -0700)]
Refactoring to fix GL related bugs (Bugs 503172950623975030694)

- GL frame must not override default texture parameters
- Detect leaking frames early.
- Do not double deallocate frames.
- Update bytes per sample when resetting format base-type.
- Split GL processing up to allow UI thread to draw.

Change-Id: I512eb0bf19e212243be2da966ed2f9219e22dc3b

12 years agoConcurrency fix to CameraSource.
Eino-Ville Talvala [Tue, 26 Jul 2011 17:05:53 +0000 (10:05 -0700)]
Concurrency fix to CameraSource.

Don't hold a lock on the whole object while waiting for new frames.
Could have potentially deadlocked the filter if the UI thread
attempted to call get/setCameraParameters while filter was waiting for
a new frame.

Bug-Id: 5075306

Change-Id: I12391ff3247c64a2c6a303bfc9f542e1e80d2c24

12 years agoMerge "Bug 5045590 preset reverb on audio players"
Glenn Kasten [Mon, 25 Jul 2011 23:47:10 +0000 (16:47 -0700)]
Merge "Bug 5045590 preset reverb on audio players"

12 years agoMerge "Fix concurrency bugs in MediaSource"
Eino-Ville Talvala [Mon, 25 Jul 2011 23:25:33 +0000 (16:25 -0700)]
Merge "Fix concurrency bugs in MediaSource"

12 years agoFix bug 5022500 MP2TS format change support in OpenMAX AL
Jean-Michel Trivi [Mon, 25 Jul 2011 17:57:11 +0000 (10:57 -0700)]
Fix bug 5022500 MP2TS format change support in OpenMAX AL

Define new command that can be queued in AndroidBufferQueue
 to signal an MP2TS format change.
This command maps directly to IStreamListener::kKeyFormatChange.

Change-Id: I67908fd9e1a7d994862ea3e41c4c0fb6e36bc804

12 years agoBug 5045590 preset reverb on audio players
Glenn Kasten [Fri, 22 Jul 2011 16:08:21 +0000 (09:08 -0700)]
Bug 5045590 preset reverb on audio players

Aux effects on MediaPlayer audio players (non-AudioTrack) were broken

Change-Id: I5b97bee08d809b12cb9815d6d277934123780581

12 years agoFix concurrency bugs in MediaSource
Eino-Ville Talvala [Fri, 22 Jul 2011 23:21:50 +0000 (16:21 -0700)]
Fix concurrency bugs in MediaSource

Fixes several possible/occasional deadlocks between mediasource,
surfacetexture, and the UI thread.

Change-Id: I62a98f0ed86fd7a6c9d3a5141137fe960d8fa31a

12 years agoMerge "Bug 5068269 Fix assertion failure after prepare"
Glenn Kasten [Sun, 24 Jul 2011 19:55:17 +0000 (12:55 -0700)]
Merge "Bug 5068269 Fix assertion failure after prepare"

12 years agoMerge "pthread_signal instead of polling prefetch status"
Glenn Kasten [Sun, 24 Jul 2011 19:51:35 +0000 (12:51 -0700)]
Merge "pthread_signal instead of polling prefetch status"

12 years agopthread_signal instead of polling prefetch status
Glenn Kasten [Thu, 21 Jul 2011 20:36:39 +0000 (13:36 -0700)]
pthread_signal instead of polling prefetch status

Also add looping for short files

Change-Id: Ia115ca5ff388a4824d56fad2ad34881479ab3f0d

12 years agoMerge "Miscellaneous improvements to preset reverb test"
Glenn Kasten [Fri, 22 Jul 2011 22:09:42 +0000 (15:09 -0700)]
Merge "Miscellaneous improvements to preset reverb test"

12 years agoBug 5068269 Fix assertion failure after prepare
Glenn Kasten [Thu, 21 Jul 2011 20:31:50 +0000 (13:31 -0700)]
Bug 5068269 Fix assertion failure after prepare

Change-Id: I890a29eeef9021c7432da8a0ccb409846e107097

12 years agoMerge "Make CameraSource always pick a resolution from the supported list."
Eino-Ville Talvala [Fri, 22 Jul 2011 19:09:41 +0000 (12:09 -0700)]
Merge "Make CameraSource always pick a resolution from the supported list."

12 years agoMiscellaneous improvements to preset reverb test
Glenn Kasten [Wed, 20 Jul 2011 15:08:10 +0000 (08:08 -0700)]
Miscellaneous improvements to preset reverb test

Add option to select URI or fd locator.
Use prefetch status callback to detect bad URI.
Fix bug where it was not playing the last few seconds of file.
Decrease reverb on/off interval from 5 to 3 seconds, for shorter files.
Add looping.

Change-Id: I34a0506742de14adcf996bfc508177b260afded8

12 years agoMake CameraSource always pick a resolution from the supported list.
Eino-Ville Talvala [Tue, 19 Jul 2011 23:48:45 +0000 (16:48 -0700)]
Make CameraSource always pick a resolution from the supported list.

If the requested resolution is not supported, CameraSource will now
pick the closest match that isn't bigger than requested, if possible.

Fixes crashes due to the default 320x240 not being supported
(bug 5064211)

Change-Id: I446990ed9a56a78d3676eb5d41fe9fc91431c5db

12 years agoMerge "Fixes to the MediaSource filter."
Eino-Ville Talvala [Fri, 22 Jul 2011 16:20:04 +0000 (09:20 -0700)]
Merge "Fixes to the MediaSource filter."

12 years agoMerge "Bug 5047695 Handle unsuccessful prepare up to app"
Glenn Kasten [Fri, 22 Jul 2011 01:28:17 +0000 (18:28 -0700)]
Merge "Bug 5047695 Handle unsuccessful prepare up to app"

12 years agoMerge "Add more verbose logging"
Glenn Kasten [Fri, 22 Jul 2011 01:27:48 +0000 (18:27 -0700)]
Merge "Add more verbose logging"

12 years agoFixes to the MediaSource filter.
Eino-Ville Talvala [Thu, 21 Jul 2011 22:50:41 +0000 (15:50 -0700)]
Fixes to the MediaSource filter.

- Add volume support, set default volume to 'mute' (bug: 4977691)
- Properly handle non-looping videos (bug: 5060297)
- Make error handling consistent with other filters
- Some logging improvements

Change-Id: I76c156148a18200ff43cae7816d1ffa819f86a23

12 years agoBug 5047695 Handle unsuccessful prepare up to app
Glenn Kasten [Thu, 21 Jul 2011 20:33:54 +0000 (13:33 -0700)]
Bug 5047695 Handle unsuccessful prepare up to app

Change-Id: I9f1541b37ad5cda21dc49388e42c7fb08b22fc5b

12 years agoAdd more verbose logging
Glenn Kasten [Thu, 21 Jul 2011 20:31:12 +0000 (13:31 -0700)]
Add more verbose logging

Change-Id: I0cccee0d59fe3eefc6ef94b22bb6100d96bccdff

12 years agoMerge "Move the format checking into process."
Wei Hua [Thu, 21 Jul 2011 18:57:33 +0000 (11:57 -0700)]
Merge "Move the format checking into process."

12 years agoMove the format checking into process.
Wei Hua [Thu, 21 Jul 2011 17:19:20 +0000 (10:19 -0700)]
Move the format checking into process.

prepare() may not have the complete format.

Change-Id: I2245675df030564e1c652c934cbcdc16c0fc96f2

12 years agoMerge "Use prefetch status to recover from URI errors"
Glenn Kasten [Thu, 21 Jul 2011 15:19:17 +0000 (08:19 -0700)]
Merge "Use prefetch status to recover from URI errors"

12 years agoMerge "Header file for audio effects config file parser"
Eric Laurent [Thu, 21 Jul 2011 00:44:26 +0000 (17:44 -0700)]
Merge "Header file  for audio effects config file parser"

12 years agoUse prefetch status to recover from URI errors
Glenn Kasten [Wed, 20 Jul 2011 14:46:20 +0000 (07:46 -0700)]
Use prefetch status to recover from URI errors

Change-Id: I1afa4af018c372448a456824c78e3e1ab1c13b42

12 years agoMerge "Bug 5047695 missing cases"
Glenn Kasten [Wed, 20 Jul 2011 20:38:27 +0000 (13:38 -0700)]
Merge "Bug 5047695 missing cases"

12 years agoMerge "Bug 5044578 part 2"
Glenn Kasten [Wed, 20 Jul 2011 20:37:11 +0000 (13:37 -0700)]
Merge "Bug 5044578 part 2"

12 years agoMerge "Bugfix: GL texture parameter / mipmap setting issues."
Marius Renn [Wed, 20 Jul 2011 16:57:18 +0000 (09:57 -0700)]
Merge "Bugfix: GL texture parameter / mipmap setting issues."

12 years agoBug 5047695 missing cases
Glenn Kasten [Wed, 20 Jul 2011 16:48:03 +0000 (09:48 -0700)]
Bug 5047695 missing cases

Change-Id: I9ae27ed4e977568a9687b9dd18eb998651569b24

12 years agoMerge "Fix bug 5049371 Metadata for decode to PCM buffer queue"
Jean-Michel Trivi [Wed, 20 Jul 2011 16:25:09 +0000 (09:25 -0700)]
Merge "Fix bug 5049371 Metadata for decode to PCM buffer queue"

12 years agoMerge "Use the documented header filenames"
Glenn Kasten [Wed, 20 Jul 2011 15:06:12 +0000 (08:06 -0700)]
Merge "Use the documented header filenames"

12 years agoMerge "Fix newline"
Glenn Kasten [Wed, 20 Jul 2011 15:05:58 +0000 (08:05 -0700)]
Merge "Fix newline"

12 years agoMerge "Re-generate tables and fix includes"
Glenn Kasten [Wed, 20 Jul 2011 15:05:47 +0000 (08:05 -0700)]
Merge "Re-generate tables and fix includes"

12 years agoMerge "Reduce logs"
Glenn Kasten [Wed, 20 Jul 2011 15:05:33 +0000 (08:05 -0700)]
Merge "Reduce logs"

12 years agoBugfix: GL texture parameter / mipmap setting issues.
Marius Renn [Wed, 20 Jul 2011 01:08:07 +0000 (18:08 -0700)]
Bugfix: GL texture parameter / mipmap setting issues.

- Texture parameters are now properly reset on frame reuse.
- Generating a mipmap does not alter the MIN_FILTER anymore.

Change-Id: Ie4734d5daf71f448e3cdd907130a05ae8db4bbb2

12 years agoFix bug 5049371 Metadata for decode to PCM buffer queue
Jean-Michel Trivi [Wed, 20 Jul 2011 00:05:25 +0000 (17:05 -0700)]
Fix bug 5049371 Metadata for decode to PCM buffer queue

When decoding a URI or FD with OpenSL ES to a PCM buffer queue,
 you cannot rely on the information given by the extractor, or
 the OMXCodec before the latter has decoded one buffer.

The fix consists in two parts:
1/ where to retrieve the PCM format from:
  the information first retrieved from the extractor if available,
  but then overwritten by the OMXCodec values as soon as it
  issues INFO_FORMAT_CHANGED
2/ when can the application retrieve the information:
  the information is available when the first buffer of decoded
  data is returned to the application via the buffer queue
  callback. The test app is updated to reflect this, and verify
  that the query can safely happen during the callback.

Change-Id: Ic034c7ff9412c94e9df2aaa3c1d61e9d3bf507d9

12 years agoBetter error checking on GLFrames.
Marius Renn [Tue, 19 Jul 2011 22:20:25 +0000 (15:20 -0700)]
Better error checking on GLFrames.

Also includes another bugfix when switching between surfaces.

Change-Id: Ieb1ccc59dd4d1bffb92a766372238799f7ba7cfe

12 years agoBugfix for GL crashes when switching between surfaces.
Marius Renn [Tue, 19 Jul 2011 19:08:56 +0000 (12:08 -0700)]
Bugfix for GL crashes when switching between surfaces.

Change-Id: Ia8c9b2ae65bb525ec6e2bd19befacf12f1c24d51

12 years agoBug 5044578 part 2
Glenn Kasten [Tue, 19 Jul 2011 18:34:58 +0000 (11:34 -0700)]
Bug 5044578 part 2

That last fix introduced a regression; one assert no longer true
found during more testing.

Change-Id: I4c3f8d6f7158fc364473606d1c8f78fe81fbb7e5

12 years agoRe-generate tables and fix includes
Glenn Kasten [Tue, 19 Jul 2011 18:20:40 +0000 (11:20 -0700)]
Re-generate tables and fix includes

Change-Id: I266810fc1c0c477e997b39478b9e77694f9fc49b

12 years agoUse the documented header filenames
Glenn Kasten [Tue, 19 Jul 2011 18:16:07 +0000 (11:16 -0700)]
Use the documented header filenames

Both Khronos and we say to use < > in our docs

Change-Id: Ibf1d2b83036582a605aa6b9043210c89a4eb0e1e

12 years agoReduce logs
Glenn Kasten [Tue, 19 Jul 2011 17:45:32 +0000 (10:45 -0700)]
Reduce logs

Change-Id: I82c8a66886bd3b853fac88594370545ed23a0400

12 years agoBug 5044578 Fix race in engine destroy on uni
Glenn Kasten [Tue, 19 Jul 2011 00:37:40 +0000 (17:37 -0700)]
Bug 5044578 Fix race in engine destroy on uni

On uniprocessor, the main thread reached Engine::Destroy before the
worker threads had even started, so they did not see the shutdown.

On SMP, the worker threads were started (and blocked), so it was OK.

This new code also has the advantage of shutting down quicker
if there are pending callback requests in the queue.

Change-Id: Iff8cca042ebffe48ce7cc5d798e7b3b9911fb64b

12 years agoMerge "Reduce logging"
Glenn Kasten [Tue, 19 Jul 2011 16:00:12 +0000 (09:00 -0700)]
Merge "Reduce logging"

12 years agoMerge "Implement XAVideoDecoderCapabilitiesItf"
Jean-Michel Trivi [Tue, 19 Jul 2011 15:58:23 +0000 (08:58 -0700)]
Merge "Implement XAVideoDecoderCapabilitiesItf"

12 years agoReduce logging
Glenn Kasten [Tue, 19 Jul 2011 00:47:31 +0000 (17:47 -0700)]
Reduce logging

Change-Id: I71c5e016147002fa84a56fc703da52e7b5c8417a

12 years agoMerge "SurfaceView fixes and clean-up."
Marius Renn [Mon, 18 Jul 2011 23:56:01 +0000 (16:56 -0700)]
Merge "SurfaceView fixes and clean-up."

12 years agoMerge "Modified how MediaSource filter handles URL and Asset objects."
Eddy Talvala [Mon, 18 Jul 2011 23:26:51 +0000 (16:26 -0700)]
Merge "Modified how MediaSource filter handles URL and Asset objects."

12 years agoFix newline
Glenn Kasten [Mon, 18 Jul 2011 16:31:32 +0000 (09:31 -0700)]
Fix newline

Change-Id: Id06193de5ba82bebe36515c0ca18702b3a5c3222

12 years agoImplement XAVideoDecoderCapabilitiesItf
Jean-Michel Trivi [Wed, 13 Jul 2011 01:19:27 +0000 (18:19 -0700)]
Implement XAVideoDecoderCapabilitiesItf

Add support for the OpenMAX AL XAVideoDecoderCapabilitiesItf
 engine interface.

Implement the Android support of this interface in
 VideoCodec_to_android.*. This functionality relies
 on OMXCodec::QueryCodecs() feature, and does only
 expose hardware codec capabilities (see full note in
 VideoCodec_to_android.h).

Add sample code to list the platform's video decoders
 and their profile / level combinations.

Change-Id: Iff6a42542c1db67ca1dcf539449ca96aa5944f6d

12 years agoSurfaceView fixes and clean-up.
Marius Renn [Mon, 18 Jul 2011 21:24:36 +0000 (14:24 -0700)]
SurfaceView fixes and clean-up.

Also adds support for setting program boolean values.

Change-Id: I4c3555656f06b2a64ad87e41c69b9d27d5786e8e

12 years agoMerge "Fixes to GL related classes."
Marius Renn [Mon, 18 Jul 2011 21:33:40 +0000 (14:33 -0700)]
Merge "Fixes to GL related classes."

12 years agoModified how MediaSource filter handles URL and Asset objects.
Christine Chen [Fri, 15 Jul 2011 18:37:24 +0000 (11:37 -0700)]
Modified how MediaSource filter handles URL and Asset objects.

Added new FieldPort to specify the type of objects.
MediaSource now chooses the object to play based on the FieldPort sourceIsUrl.
And it no longer chooses Asset objects over URL when Asset objects are not null.

Change-Id: I3b172e63321b7cabde04185e8f558ad0968c4f8f

12 years agoFixes to GL related classes.
Marius Renn [Mon, 18 Jul 2011 18:26:18 +0000 (11:26 -0700)]
Fixes to GL related classes.

Patch: Java keeps reference to GLEnvironment to make sure it does not
get deallocated before all its objects are deallocated.

Change-Id: Ic3dffb84b2592cafc4df27331f63a44c221b19bd

12 years agoDisable the timing in the filter framework.
Wei Hua [Mon, 18 Jul 2011 00:57:21 +0000 (17:57 -0700)]
Disable the timing in the filter framework.

Change-Id: Ib509cac0fd371bfa2282c30333a0ac2f9758bdfc

12 years agoam 91a9a6b1: Merge 94849a18
Jean-Baptiste Queru [Fri, 15 Jul 2011 15:12:51 +0000 (08:12 -0700)]
am 91a9a6b1: Merge 94849a18

* commit '91a9a6b1be0a58b3d2d3865001c0f54a4f02b550':
  opensles: fix 86 compilation.

12 years agoMerge 94849a18
Jean-Baptiste Queru [Fri, 15 Jul 2011 15:07:24 +0000 (08:07 -0700)]
Merge 94849a18

Change-Id: Ib547f2729a2f3aab6a595680c8e042aa6a8d1342

12 years agoFilter cleanup and inclusion of setting port wait flag.
Marius Renn [Thu, 14 Jul 2011 23:02:06 +0000 (16:02 -0700)]
Filter cleanup and inclusion of setting port wait flag.

Change-Id: I7e529d77667662cec07791fe2e2af46458bcd086

12 years agoBugfix for setting null input values on filters.
Marius Renn [Wed, 13 Jul 2011 20:54:13 +0000 (13:54 -0700)]
Bugfix for setting null input values on filters.

Also added fix to free up Bitmaps in BitmapSource.

Change-Id: I32a9bf81a2acf2a2b3824b7d30ed37cfffa7d886

12 years agoMerge "Graph and NativeProgram tearDown."
Wei Hua [Thu, 14 Jul 2011 22:06:05 +0000 (15:06 -0700)]
Merge "Graph and NativeProgram tearDown."