OSDN Git Service

android-x86/system-media.git
13 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

13 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"

13 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"

13 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

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

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

13 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."

13 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

13 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"

13 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"

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

13 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"

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

Change-Id: I82c8a66886bd3b853fac88594370545ed23a0400

13 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

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

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

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

Change-Id: I71c5e016147002fa84a56fc703da52e7b5c8417a

13 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."

13 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."

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

Change-Id: Id06193de5ba82bebe36515c0ca18702b3a5c3222

13 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

13 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

13 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."

13 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

13 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

13 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

13 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.

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

Change-Id: Ib547f2729a2f3aab6a595680c8e042aa6a8d1342

13 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

13 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

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

13 years agoMerge "NuHTTPDataSource.h is no more, get rid of this (redundant) include"
Andreas Huber [Thu, 14 Jul 2011 16:09:01 +0000 (09:09 -0700)]
Merge "NuHTTPDataSource.h is no more, get rid of this (redundant) include"

13 years agoam 0dc351be: merge intel x86 patches into gingerbread branch
David 'Digit' Turner [Thu, 14 Jul 2011 05:38:25 +0000 (22:38 -0700)]
am 0dc351be: merge intel x86 patches into gingerbread branch

* commit '0dc351beb3357f71ef4a04c088eb69c38dd98d8d':
  opensles: fix 86 compilation.

13 years agoGraph and NativeProgram tearDown.
Wei Hua [Thu, 14 Jul 2011 01:55:40 +0000 (18:55 -0700)]
Graph and NativeProgram tearDown.

Change-Id: Ieb3023fa76c60c506064435858fa052523674cea

13 years agoMove SurfaceTextureTarget to the correct package.
Eino-Ville Talvala [Tue, 12 Jul 2011 23:58:00 +0000 (16:58 -0700)]
Move SurfaceTextureTarget to the correct package.

Change-Id: I85f1c5338fe57c4bfc66a513175f37358f70c04f

13 years agoAdd timestamp support to various filters in the mobile filter framework.
Eino-Ville Talvala [Thu, 7 Jul 2011 22:16:08 +0000 (15:16 -0700)]
Add timestamp support to various filters in the mobile filter framework.

Change-Id: I433e61ef86f41234443fa9f5b71dd60b9cb5542b

13 years agoAdd timestamp support into core mobile filter framework.
Eino-Ville Talvala [Thu, 7 Jul 2011 17:56:04 +0000 (10:56 -0700)]
Add timestamp support into core mobile filter framework.

Timestamps are positive longs representing nanoseconds from some
starting point, the exact definition of which depends on the frame
source filter.

The base filter class will fill in a timestamp on all output frames
based on the first pulled input frame's timestamp, if the filter
process() method doesn't set the output frame's timestamp itself.

Programs should get timestamps passed to them using setHostValue().

Change-Id: I89f73903f7c36fd8e01d5d1a8c49c53063f216bb

13 years agoNuHTTPDataSource.h is no more, get rid of this (redundant) include
Andreas Huber [Wed, 13 Jul 2011 22:54:40 +0000 (15:54 -0700)]
NuHTTPDataSource.h is no more, get rid of this (redundant) include

Change-Id: I893738d1aa1e91300c966a5ac3a7cc3ce1202152

13 years agoHeader file for audio effects config file parser
Eric Laurent [Thu, 7 Jul 2011 01:18:13 +0000 (18:18 -0700)]
Header file  for audio effects config file parser

Added header file with definitions for parsing audio effects
configuration file (audio_effects.conf).

Change-Id: Id0b29102020cdf6c228bdabc0088d1111f296760

13 years agoRevert change for NativeFrame setInts / getInts. Some programs depend on the original...
Marius Renn [Wed, 13 Jul 2011 00:51:21 +0000 (17:51 -0700)]
Revert change for NativeFrame setInts / getInts. Some programs depend on the original behavior.

Change-Id: Idb9de98876e63b74be919281e5a2a1c93d25c531

13 years agoMerge "Many bugfixes and enhancements."
Marius Renn [Wed, 13 Jul 2011 00:32:39 +0000 (17:32 -0700)]
Merge "Many bugfixes and enhancements."

13 years agoMerge "Async callback queue updates, applied to XAStreamInformationItf"
Jean-Michel Trivi [Tue, 12 Jul 2011 22:22:25 +0000 (15:22 -0700)]
Merge "Async callback queue updates, applied to XAStreamInformationItf"

13 years agoAsync callback queue updates, applied to XAStreamInformationItf
Jean-Michel Trivi [Tue, 12 Jul 2011 21:31:06 +0000 (14:31 -0700)]
Async callback queue updates, applied to XAStreamInformationItf

Updated the asynchronous callback queue system to support 'piipp'
 callback signatures.

Applied this update to make the StreamInformation property change
 event notification asynchronous.

Made the XA_PLAYEVENT_HEADATEND also use the callback queue.

Change-Id: I6fd8dee5eefa1d09006661f69de302a8b7fff0f5

13 years agoMerge "Fix AsyncRunner setGraph to use correct running test."
Eino-Ville Talvala [Tue, 12 Jul 2011 21:09:20 +0000 (14:09 -0700)]
Merge "Fix AsyncRunner setGraph to use correct running test."

13 years agoMany bugfixes and enhancements.
Marius Renn [Tue, 12 Jul 2011 20:20:49 +0000 (13:20 -0700)]
Many bugfixes and enhancements.

- FieldPort bugfixes when connecting to other filters.
- Added two new filterpacks: numeric and performance.
- Added new type-checking modes.
- CachedFrameManager now drops oldest frames first.
- RoundRobinScheduler is now default scheduler.
- Added method to flush all frames from a graph.
- FrameFormat fixes.
- Filter fixes and optimizations.

Change-Id: I8b671e5e65129af7b6a4226bd9dee2f48a6fcb52

13 years agoMerge "Remove the simulator target from all makefiles. Bug: 5010576"
Jeff Brown [Tue, 12 Jul 2011 19:16:51 +0000 (12:16 -0700)]
Merge "Remove the simulator target from all makefiles. Bug: 5010576"

13 years agoFix AsyncRunner setGraph to use correct running test.
Eino-Ville Talvala [Tue, 12 Jul 2011 17:29:54 +0000 (10:29 -0700)]
Fix AsyncRunner setGraph to use correct running test.

Change-Id: I90658616f238d22b2f262ba15d1fb68336715917

13 years agoMerge "Changes to filter framework callback handling."
Eino-Ville Talvala [Tue, 12 Jul 2011 17:13:59 +0000 (10:13 -0700)]
Merge "Changes to filter framework callback handling."

13 years agoMerge "Implement XAPlayItf::GetPosition on MediaPlayer"
Jean-Michel Trivi [Tue, 12 Jul 2011 16:56:05 +0000 (09:56 -0700)]
Merge "Implement XAPlayItf::GetPosition on MediaPlayer"

13 years agoImplement XAPlayItf::GetPosition on MediaPlayer
Jean-Michel Trivi [Tue, 12 Jul 2011 01:11:58 +0000 (18:11 -0700)]
Implement XAPlayItf::GetPosition on MediaPlayer

The play interface was only in place for routing calls to an
 AudioPlayer in OpenSL ES, not in OpenMAX AL for a MediaPlayer.

Change-Id: Icf514be428396264252874faf1060c76ddee9545

13 years agoRemove the simulator target from all makefiles.
Jeff Brown [Tue, 12 Jul 2011 05:12:34 +0000 (22:12 -0700)]
Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I59e3c37c05c1114648172d9aba7abf035986bede

13 years agoChanges to filter framework callback handling.
Eino-Ville Talvala [Mon, 11 Jul 2011 20:42:30 +0000 (13:42 -0700)]
Changes to filter framework callback handling.

- Rework CallbackFilter to be able to call to UI thread directly.
- Remove UI passthrough behavior in AsyncRunner in light of the above.
- In AsyncRunner, make sure graph done callback can restart the graph.

Change-Id: I04b7655a98974292f6d640530296e0c7569ba050

13 years agoMerge "Defer SL_PLAYEVENT_HEADATEND to avoid deadlock"
Glenn Kasten [Mon, 11 Jul 2011 23:11:30 +0000 (16:11 -0700)]
Merge "Defer SL_PLAYEVENT_HEADATEND to avoid deadlock"

13 years agoMerge "ThreadPool callbacks provide more parameters"
Glenn Kasten [Mon, 11 Jul 2011 23:09:26 +0000 (16:09 -0700)]
Merge "ThreadPool callbacks provide more parameters"

13 years agoMerge "Add --always-on option for effects tests"
Glenn Kasten [Mon, 11 Jul 2011 23:08:47 +0000 (16:08 -0700)]
Merge "Add --always-on option for effects tests"

13 years agoAdded audio pre processing headers
Eric Laurent [Tue, 5 Jul 2011 18:20:26 +0000 (11:20 -0700)]
Added audio pre processing headers

Added headers for AGC, AEC and NS audio pre processing APIs.

Change-Id: Ie0053e2e6276b0d97dc76450bfef62b6eff8f3dd

13 years agoDefer SL_PLAYEVENT_HEADATEND to avoid deadlock
Glenn Kasten [Sun, 10 Jul 2011 18:02:43 +0000 (11:02 -0700)]
Defer SL_PLAYEVENT_HEADATEND to avoid deadlock

This is a first example, and if it works well then will
be implemented for other appropriate callbacks also.

Change-Id: Ieeab6b3498c74305e19a9d9c8ff497eff22243aa

13 years agoThreadPool callbacks provide more parameters
Glenn Kasten [Sun, 10 Jul 2011 17:59:19 +0000 (10:59 -0700)]
ThreadPool callbacks provide more parameters

Now allows up to two void * and two int parameters.

This will be needed by deferred application-level callbacks

Change-Id: Ie388169439b2e3ab95d053007bcdc674b875fa67

13 years agoMerge "Moving Contexts out of Filters and other bugfixes."
Marius Renn [Sun, 10 Jul 2011 21:40:06 +0000 (14:40 -0700)]
Merge "Moving Contexts out of Filters and other bugfixes."

13 years agoAdd --always-on option for effects tests
Glenn Kasten [Sun, 10 Jul 2011 19:07:32 +0000 (12:07 -0700)]
Add --always-on option for effects tests

This will be used for CPU load measurements.
Also fix bug in duration calculation for reverb test.

Change-Id: Ia2f91fa7c3e564047378341d31e3f4bfcace5f98

13 years agoMerge "Enable ThreadPool for Android"
Glenn Kasten [Sun, 10 Jul 2011 20:41:00 +0000 (13:41 -0700)]
Merge "Enable ThreadPool for Android"

13 years agoMerge "Add --always-on option for bass boost test"
Glenn Kasten [Sun, 10 Jul 2011 19:55:58 +0000 (12:55 -0700)]
Merge "Add --always-on option for bass boost test"

13 years agoAdd --always-on option for bass boost test
Glenn Kasten [Sun, 10 Jul 2011 18:40:25 +0000 (11:40 -0700)]
Add --always-on option for bass boost test

This will be used for CPU load measurements

Change-Id: Ib8b15bd31d8fa5672ec69c6d2595e4590a700d53

13 years agoMerge "Implement GetPosition for players playing from a URI/FD"
Jean-Michel Trivi [Sun, 10 Jul 2011 18:05:00 +0000 (11:05 -0700)]
Merge "Implement GetPosition for players playing from a URI/FD"

13 years agoEnable ThreadPool for Android
Glenn Kasten [Sun, 10 Jul 2011 18:01:59 +0000 (11:01 -0700)]
Enable ThreadPool for Android

Change-Id: I7a836dbbd671ecd8ce363c48940b84a0a6c18dca

13 years agoImplement GetPosition for players playing from a URI/FD
Jean-Michel Trivi [Thu, 7 Jul 2011 22:45:26 +0000 (15:45 -0700)]
Implement GetPosition for players playing from a URI/FD

AudioPlayer (OpenSL ES) and MediaPlayer (OpenMAX AL) that play
 media from a URI or FD are implemented on top of an Android
 MediaPlayer. This CL implements requesting the current position
 from the underlying MediaPlayer object inside the event loop.
 At this stage, GetPosition cannot be called from inside a
 callback as the callback is made on the same thread that will
 process the asynchronous part of the GetPosition implementation.
Add test app for GetPosition.

Change-Id: Ife768bc40e37fc60cc19f6ba84bbe6cb06cc6590

13 years agomerge intel x86 patches into gingerbread branch
David 'Digit' Turner [Fri, 8 Jul 2011 16:19:06 +0000 (18:19 +0200)]
merge intel x86 patches into gingerbread branch

13 years agoMerge "Make it build again on non-Android"
Glenn Kasten [Fri, 8 Jul 2011 15:54:21 +0000 (08:54 -0700)]
Merge "Make it build again on non-Android"

13 years agoMoving Contexts out of Filters and other bugfixes.
Marius Renn [Fri, 8 Jul 2011 01:26:21 +0000 (18:26 -0700)]
Moving Contexts out of Filters and other bugfixes.

Change-Id: I14ba6c5e9702d8a5629db1119fefbd7a83254d51

13 years agoMerge "optimize FisheyeFilter"
Ruei-sung Lin [Fri, 8 Jul 2011 01:22:18 +0000 (18:22 -0700)]
Merge "optimize FisheyeFilter"

13 years agooptimize FisheyeFilter
Ruei-sung Lin [Fri, 8 Jul 2011 01:18:26 +0000 (18:18 -0700)]
optimize FisheyeFilter

Change-Id: I4c0a81d1097324789443982e0783d850bb27e1b6

Conflicts:

mca/filterpacks/imageproc/java/FisheyeFilter.java

13 years agoMerge "Moved and renamed effect API header files"
Eric Laurent [Thu, 7 Jul 2011 22:37:00 +0000 (15:37 -0700)]
Merge "Moved and renamed effect API header files"

13 years agoMoved and renamed effect API header files
Eric Laurent [Fri, 17 Jun 2011 16:02:12 +0000 (09:02 -0700)]
Moved and renamed effect API header files

Moved specific effect header files to
system/media/audio_effects/include/audio_effects and renamed
to lower case (effect_xxx.h).

Change-Id: I8e8f6e3851f12ae8bb380fa714abe26da06d3b58

13 years agoMake it build again on non-Android
Glenn Kasten [Thu, 7 Jul 2011 16:10:36 +0000 (09:10 -0700)]
Make it build again on non-Android

Fix warning about unused variable.
Remove spurious include.
Fix warning about printf format type mismatch.

Change-Id: Ibeeb33a55175e0ec1e5210211d8844df0bbe3bca

13 years agoMerge "Rename ANDROID_UNKNOWN_* to UNKNOWN_*"
Glenn Kasten [Thu, 7 Jul 2011 22:05:55 +0000 (15:05 -0700)]
Merge "Rename ANDROID_UNKNOWN_* to UNKNOWN_*"

13 years agoMerge "Fix NPE when pDataLocator->mURI.URI is NULL"
Glenn Kasten [Thu, 7 Jul 2011 20:15:09 +0000 (13:15 -0700)]
Merge "Fix NPE when pDataLocator->mURI.URI is NULL"

13 years agoRename ANDROID_UNKNOWN_* to UNKNOWN_*
Glenn Kasten [Thu, 7 Jul 2011 19:07:59 +0000 (12:07 -0700)]
Rename ANDROID_UNKNOWN_* to UNKNOWN_*

Change-Id: I0d92b7d943690d9af7e08c400471f8b474728bff

13 years agoFix NPE when pDataLocator->mURI.URI is NULL
Glenn Kasten [Thu, 7 Jul 2011 16:12:41 +0000 (09:12 -0700)]
Fix NPE when pDataLocator->mURI.URI is NULL

Don't call strlen on a NULL pointer

Change-Id: I632e71287695dc2762e56c1379be4108014107e2

13 years agoRename all C++ source files to conform with typical Android style.
Eino-Ville Talvala [Thu, 7 Jul 2011 00:32:15 +0000 (17:32 -0700)]
Rename all C++ source files to conform with typical Android style.

Change-Id: Ie0dabd8e0fb06183edfaecda09617b24c4663975

13 years agoMerge "Fixes to Scheduler behavior in the mobile filter framework."
Eino-Ville Talvala [Thu, 7 Jul 2011 00:21:12 +0000 (17:21 -0700)]
Merge "Fixes to Scheduler behavior in the mobile filter framework."

13 years agoFix metadata value size check
Jean-Michel Trivi [Wed, 6 Jul 2011 22:46:50 +0000 (15:46 -0700)]
Fix metadata value size check

A bug was introduced during the review of the SLMetadataExtractionItf
 interface implementation where the value size was improperly
 compared against the size given by the application.

Change-Id: Iae1359e84a410e3fec53bd65e0fba9cc97fce08a

13 years agoFixes to Scheduler behavior in the mobile filter framework.
Eino-Ville Talvala [Wed, 6 Jul 2011 17:26:04 +0000 (10:26 -0700)]
Fixes to Scheduler behavior in the mobile filter framework.

- Move reset() out of base Scheduler constructor
- Add reset() to start of run
- Add reset() to close()
- Move pre-run checks around to have null checks before use
- Add better exception throwing from invoking Scheduler constructor

Change-Id: I673b2cd9fcfa7b4ad70b3296692731ac79bda55f

13 years agoAdd a SurfaceTextureTarget filter.
Eino-Ville Talvala [Fri, 1 Jul 2011 17:50:55 +0000 (10:50 -0700)]
Add a SurfaceTextureTarget filter.

The SurfaceTextureTarget filter sends output into a SurfaceTexture
object passed into it.

Change-Id: Id3c7d779ff2015e1a813b825a2e68b4e3200a438

13 years agoSeveral small mobile filter framework bugfixes/improvements.
Eino-Ville Talvala [Sun, 3 Jul 2011 22:40:16 +0000 (15:40 -0700)]
Several small mobile filter framework bugfixes/improvements.

- Add close() to GraphRunner to allow filters to be closed after running, since
  not all runs will result in filters being closed automatically.

- Fix to FrameFormat compatability checks

- Fix to SimpleImageFilter when no program parameters exist

- Add default value to ToGrayFilter output channel count.

Change-Id: Id63623a100aef68148d2a74e7043fac8fb716565

13 years agoMerge "Bug 4980997 Fix the AudioTrack start deadlock"
Glenn Kasten [Wed, 6 Jul 2011 17:59:12 +0000 (10:59 -0700)]
Merge "Bug 4980997 Fix the AudioTrack start deadlock"

13 years agoAdd Filter.isAvailable() to test if a given filter is visible to the app.
Eino-Ville Talvala [Sun, 3 Jul 2011 23:24:01 +0000 (16:24 -0700)]
Add Filter.isAvailable() to test if a given filter is visible to the app.

Change-Id: I7ebf2dbe92916ba035f1c49480e3d635f4d3262d

13 years agoMerge "SyncRunner now respects the state of the GLEnvironment."
Eddy Talvala [Sun, 3 Jul 2011 18:19:22 +0000 (11:19 -0700)]
Merge "SyncRunner now respects the state of the GLEnvironment."

13 years agoMerge "Bug fix to OneShotRunner, logging improvements."
Eino-Ville Talvala [Sun, 3 Jul 2011 18:14:17 +0000 (11:14 -0700)]
Merge "Bug fix to OneShotRunner, logging improvements."

13 years agoBug fix to OneShotRunner, logging improvements.
Eino-Ville Talvala [Fri, 1 Jul 2011 22:14:13 +0000 (15:14 -0700)]
Bug fix to OneShotRunner, logging improvements.

Change-Id: Ifcbd4fa0147fdc82bb887525fa1d5ccc8d803550

13 years agoSyncRunner now respects the state of the GLEnvironment.
Marius Renn [Sat, 2 Jul 2011 00:02:39 +0000 (17:02 -0700)]
SyncRunner now respects the state of the GLEnvironment.

Change-Id: If07a0385ed573143bd0946453b7a9a3f881d967c

13 years agoMerge "Bugfixes to image filters."
Marius Renn [Fri, 1 Jul 2011 23:31:32 +0000 (16:31 -0700)]
Merge "Bugfixes to image filters."

13 years agoBugfixes to image filters.
Marius Renn [Fri, 1 Jul 2011 23:20:02 +0000 (16:20 -0700)]
Bugfixes to image filters.

Change-Id: I03e124132bdbfbf5aac0ad527c6d9e89fb6130e3