History log of /system/media/mca/filterpacks/videosrc/java/MediaSource.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
760eb949cf0abe299e6c6710cda5c52364945ae0 09-Nov-2011 Pannag Sanketi <psanketi@google.com> Fixing mirrored background video in camera effects

The MediaSource is set to rotate so that it adjusts to the
rotation of the device, and displays upright. The backdropper does not
have to do any rotation except for the mirroring in case of front
camera.
Bug: 5490654
Change-Id: I36124c7ca7cce73b24683277370227abab97d55b
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
53573cd771f2c731d1e7f1fad4df9beba09d237d 09-Nov-2011 Pannag Sanketi <psanketi@google.com> Fixing the mirroring in MediaSource Filter

MediaSource Filter was outputing mirrored video.
Bug:5585630

Change-Id: If87ee799c0fccff783d3db7cf04080160a5a5ac4
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
855b25acc20d38dfb98eff8bf73fbc441e174a92 01-Oct-2011 Eino-Ville Talvala <etalvala@google.com> Updates to frame transform handling in several source filters.

- Affects Camera, Media, and SurfaceTextureSource
- Pre-transform source rectangle instead of doing a fragment shader
texture coordinate multiply for each pixel. Bug: 5318657
- Add output orientation port to MediaSource. Bug: 5355973

Change-Id: I446a1f0afd64f06638d17010d81c7fc838612feb
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
1cfcfd55f22577bbc70cddb6137c286b8d3c8491 07-Sep-2011 Eino-Ville Talvala <etalvala@google.com> Bugfixes in MediaSource SurfaceTexture management.

Regressions from fix to Bug: 5117570

Change-Id: Ic21dc37d2f99e167fad613ae7565d7b7aeba07e1
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
aae596d15186de172632499692d44bc5436108f7 06-Sep-2011 Eino-Ville Talvala <etalvala@google.com> Several SurfaceTexture usage fixes.

- Let SurfaceTextureSource timeouts result in filter closure, not abort.
This simplifies shutting down a filter graph in a multithreaded
scenario considerably.
- Add release() calls to SurfaceTextures when used in the client sense.

Bug: 5117570
Bug: 4510826

Change-Id: I2640a4cc93acce778c34a1101e132e139995c798
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
1ae8bcdf7dc3df7be3ca14b6f63d0009654fab69 29-Aug-2011 Jamie Gennis <jgennis@google.com> MediaSource: switch to MediaPlayer#setSurface

This change updates MediaSource to use the new MediaPlayer#setSurface method, which
is replacing MediaPlayer#setTexture.

Change-Id: I4e4c5d1c5e481100db9265114bb285b766ae9877
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
fa2124c46e4e6486465f6b85db7e6780eda46c3b 02-Aug-2011 Eino-Ville Talvala <etalvala@google.com> 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
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
90397368b3af2279e6aa739182b4e50b26a90beb 23-Jul-2011 Eino-Ville Talvala <etalvala@google.com> Fix concurrency bugs in MediaSource

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

Change-Id: I62a98f0ed86fd7a6c9d3a5141137fe960d8fa31a
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
c8afe66093a29852779745ddf7c45dee6f0dc414 22-Jul-2011 Eino-Ville Talvala <etalvala@google.com> 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
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
2cb5ea49419533c3c32ca1901600d0655335c333 19-Jul-2011 Eddy Talvala <etalvala@google.com> Merge "Modified how MediaSource filter handles URL and Asset objects."
2dfe9bbf05b260944ef5fa42aa5dfd2fd312aba1 15-Jul-2011 Christine Chen <christinech@google.com> 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
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
511360e61650864ea22a171159efe073c80d0cdb 18-Jul-2011 Marius Renn <renn@google.com> 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
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
8dd704358d808382465666354fc891af59b21e18 08-Jul-2011 Eino-Ville Talvala <etalvala@google.com> Add timestamp support to various filters in the mobile filter framework.

Change-Id: I433e61ef86f41234443fa9f5b71dd60b9cb5542b
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
9b393be2b4b7e70abe38237ba3eda3dc009d6230 20-Jun-2011 Eino-Ville Talvala <etalvala@google.com> Rework mobile filter framework build rules to support docs/API inclusion.

- Merge all Java compilation (core + filterpacks) into a single
target.

- Add Docs.mk to specify the Java source for both building and docs.

- Remove package check in FilterFactory for now due to VM bug,
classloader issues.

- Minor cosmetic fix to MediaSource

Change-Id: I250f679854bdd7d7e0090f2bd1661dd3e9a88f5d
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
a3bfbe5389c6146abe318a7add3fa688d69bc01b 28-Jun-2011 Eino-Ville Talvala <etalvala@google.com> Hide all classes in the filter framework and filterpacks from API.

Change-Id: Iea3c2e0e3a08c2a0c2ed0b3b2001860c3cd37c01
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
edfc0941e7a9480d2bbc70e842015e6fa56a2c3f 27-Jun-2011 Eddy Talvala <etalvala@google.com> Original problem fixed.

Revert "Revert "Bugfix for Illegal SurfaceTexture reuse and GLEnvironment exception handling.""

This reverts commit 0a4de9e89040ad82df1e99b8fe2745d34e25826a
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
0a4de9e89040ad82df1e99b8fe2745d34e25826a 27-Jun-2011 Jean-Baptiste Queru <jbq@google.com> Revert "Bugfix for Illegal SurfaceTexture reuse and GLEnvironment exception handling."

This reverts commit 06b4f19b51c9e2a1efe10cf2ac37c407cddca907.
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
06b4f19b51c9e2a1efe10cf2ac37c407cddca907 25-Jun-2011 Marius Renn <renn@google.com> Bugfix for Illegal SurfaceTexture reuse and GLEnvironment exception handling.

Change-Id: I4bb401766778e392800669f717e1344bc8a9c68d
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
21d0ac7403b836e32e2bdbdc8dc98f42b2dfa4e5 23-Jun-2011 Marius Renn <renn@google.com> Port + Parameter Unification and Type Check Refactoring.

Change-Id: Ie546431039058eb27f185a023ef8b18b533eaa12
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
6aa4072be405da80b7abcc732befe819cfa932ea 09-Jun-2011 Eino-Ville Talvala <etalvala@google.com> Fix MediaSource filter pausing behavior.

Now correctly pauses the underlying MediaPlayer.

Change-Id: Iaa57bf34dbc0b001cd303b9494fd7c2786ace3f5
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
1df612099dde7e43249468d46e5b8064d8c33b77 02-Jun-2011 Eino-Ville Talvala <etalvala@google.com> Add pause support to MediaSource

Change-Id: Ic009c3f27a582c4b82aa4a449db409a54536f011
/system/media/mca/filterpacks/videosrc/java/MediaSource.java
4a0c538853d7858d59cbc7f4dc7ece5d942e0b7c 01-Jun-2011 Eino-Ville Talvala <etalvala@google.com> Move Camara- and MediaSource filters to system/media.

Change-Id: Ic7abc3ccc9424d6e563fa0b385b92e7993bbbb58
/system/media/mca/filterpacks/videosrc/java/MediaSource.java