OSDN Git Service

Add timestamp support into core mobile filter framework.
authorEino-Ville Talvala <etalvala@google.com>
Thu, 7 Jul 2011 17:56:04 +0000 (10:56 -0700)
committerEino-Ville Talvala <etalvala@google.com>
Thu, 14 Jul 2011 00:57:09 +0000 (17:57 -0700)
commit5b9eb6d686c439545dafcc8e25e9e3747281c3de
tree8549ce6f9b30d7fbc22d738f85d37eec7a5f8eea
parentba2ecfe39ee1aed20db9424d8e5727f41c6c2d57
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
mca/filterfw/java/android/filterfw/core/CachedFrameManager.java
mca/filterfw/java/android/filterfw/core/Filter.java
mca/filterfw/java/android/filterfw/core/Frame.java
mca/filterfw/java/android/filterfw/core/GLEnvironment.java
mca/filterfw/java/android/filterfw/core/NativeProgram.java
mca/filterfw/jni/jni_gl_environment.cpp
mca/filterfw/jni/jni_gl_environment.h
mca/filterfw/native/core/gl_env.cpp
mca/filterfw/native/core/gl_env.h