22f2a8728ee2000a01aa6fc6108d8478d7c0ced9 |
|
18-May-2012 |
Pannag Sanketi <psanketi@google.com> |
Crash in SurfaceTextureTarget filter open If the filter graph in an app closes out, the SurfaceTextureTarget filter was losing the reference to the original surfacetexture, and the app would re-start the graph without setting the surfacetexture again, thus leading to a crash in registering a surface from surfacetexture. Typical scenarios is start/stop immediately in camera effects recording. Fix part of b/6651352 Fix part of b/6655597 Change-Id: Ib2bae7e886784e91b3a886f7ccd439ff190feb22
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/SurfaceTextureTarget.java
|
b5af71f2b108607149032ce9817c5897b67b4032 |
|
18-May-2012 |
Pannag Sanketi <psanketi@google.com> |
Fixing the weird preview size w/ effects on camera The aspect ratio sent from the camera app to the SurfaceTextureTarget filter does not really matter now since the camera app handles the re-sizing. Hence, the SurfaceTextureTarget filter needs to be render in "stretch" mode all the time even though the aspect ratio sent to the filter might indicate otherwise. The filter still needs the correct frame size for things other than determining aspect ratio. Fix b/6430124 Change-Id: Ie7fa5cd2adf2a8d41e6e005418f6c6fd738ed85d
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/SurfaceTextureTarget.java
|
b939760679caa9fdd06c862cf8218cc8f4a90ef1 |
|
08-May-2012 |
Pannag Sanketi <psanketi@google.com> |
Adding disconnect call to the SurfaceTextureTarget Related to b/5873421. When an app using the SurfaceTextureTarget filter and the activity goes out of focus such as onPause(), the underlying surfacetexture might not be available anymore to the filter. The filter needs to be told about that so that it does try to render into the surface corresponding to the surfacetexture. For example, in Camera app, the VideoCamera activity has to let the underlying effects graph know about the disconnect in the onPause() method. Change-Id: Iee3af16715432d84fef4438d1671f4d6d261b3d7
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/SurfaceTextureTarget.java
|
2f708ce9cc7fc2e4d498bcc20a095bdf8e9c803d |
|
26-Apr-2012 |
Pannag Sanketi <psanketi@google.com> |
Resolving the black screen / crash in effects b:/6278826 The SurfaceTextureTarget Filter was not unregistering the surface on closing leading to crashes and blank screens. Change-Id: Ia9f6fc69b92d5a5e2e1e3803969152d11528aa3d
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/SurfaceTextureTarget.java
|
65953da4636fbf5f0a24b8f5f2b5fa7d76ff13d9 |
|
27-Mar-2012 |
Marius Renn <renn@google.com> |
Multi-Project Commit: Move of filterfw out of system/media (2 of 7) This is part of the multi-project commit to move the filter-framework from system/media/mca to frameworks/base/media/mca. Note that the filter-framework will soon be replaced with a refactored version currently under API review (also to go under frameworks/base). This move is done now to unblock the PDK efforts. Change-Id: I9f42be5a12a9e8157512be11f04e38e4548970be
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/SurfaceTextureTarget.java
|