/system/media/mca/filterfw/native/core/ |
gl_frame.cpp | 31 // A GLFrame stores pixel data on the GPU. It uses two kinds of GL data 34 // and when pixel data is uploaded to a GLFrame. The FBO is used as a rendering 38 GLFrame::GLFrame(GLEnv* gl_env) 56 bool GLFrame::Init(int width, int height) { 65 bool GLFrame::InitWithTexture(GLint texture_id, int width, int height) { 72 bool GLFrame::InitWithFbo(GLint fbo_id, int width, int height) { 80 bool GLFrame::InitWithExternalTexture() { 87 void GLFrame::InitDimensions(int width, int height) { 94 GLFrame::~GLFrame() [all...] |
gl_frame.h | 32 // A GLFrame stores pixel data on the GPU. While pixel data may be uploaded to 33 // a GLFrame and also read out of a GLFrame (access in place is not supported), 35 // processing from one GLFrame to another. 36 class GLFrame : public GLBufferHandle { 38 // Create an empty GL frame in the specified GL environment. Note, that the GLFrame does NOT 39 // take ownership. The caller must make sure the GLEnv stays valid as long as the GLFrame is 41 GLFrame(GLEnv* gl_env); 44 ~GLFrame(); 67 bool CopyPixelsFrom(const GLFrame* frame) [all...] |
shader_program.h | 34 class GLFrame; 78 // caller must make sure the GLEnv stays valid as long as the GLFrame is 86 // caller must make sure the GLEnv stays valid as long as the GLFrame is 97 bool Process(const std::vector<const GLFrame*>& inputs, GLFrame* output);
|
/system/media/mca/filterfw/jni/ |
jni_gl_frame.cpp | 27 using android::filterfw::GLFrame; 43 // GLFrame JNI implementation ////////////////////////////////////////////////////////////////////// 51 GLFrame* frame = new GLFrame(gl_env_ptr); 68 GLFrame* frame = new GLFrame(gl_env_ptr); 85 GLFrame* frame = new GLFrame(gl_env_ptr); 99 GLFrame* frame = new GLFrame(gl_env_ptr) [all...] |
jni_init.cpp | 37 ObjectPool<GLFrame>::Setup("android/filterfw/core/GLFrame", "glFrameId");
|
jni_shader_program.cpp | 31 using android::filterfw::GLFrame; 103 std::vector<const GLFrame*> input_frames; 109 const GLFrame* input_frame = ConvertFromJava<GLFrame>(env, input); 118 GLFrame* output_frame = ConvertFromJava<GLFrame>(env, output);
|
jni_native_frame.cpp | 28 using android::filterfw::GLFrame; 288 GLFrame* other_frame = ConvertFromJava<GLFrame>(env, frame);
|
/system/media/mca/filterfw/java/android/filterfw/core/ |
SimpleFrameManager.java | 23 import android.filterfw.core.GLFrame; 46 GLFrame glFrame = new GLFrame(format, this, bindingType, bindingId); 47 glFrame.init(getGLEnvironment()); 48 result = glFrame; 71 GLFrame glFrame = new GLFrame(format, this); 72 glFrame.init(getGLEnvironment()) [all...] |
ShaderProgram.java | 97 GLFrame[] glInputs = new GLFrame[inputs.length]; 99 if (inputs[i] instanceof GLFrame) { 100 glInputs[i] = (GLFrame)inputs[i]; 107 GLFrame glOutput = null; 108 if (output instanceof GLFrame) { 109 glOutput = (GLFrame)output; 259 private native boolean shaderProcess(GLFrame[] inputs, GLFrame output);
|
NativeFrame.java | 23 import android.filterfw.core.GLFrame; 215 } else if (frame instanceof GLFrame) { 216 nativeCopyFromGL((GLFrame)frame); 264 private native boolean nativeCopyFromGL(GLFrame frame);
|
GLFrame.java | 47 public class GLFrame extends Frame { 70 GLFrame(FrameFormat format, FrameManager frameManager) { 74 GLFrame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { 267 } else if (frame instanceof GLFrame) { 268 nativeCopyFromGL((GLFrame)frame); 299 "for GLFrame!"); 313 throw new RuntimeException("Could not focus on GLFrame for drawing!"); 319 return "GLFrame id: " + glFrameId + " (" + getFormat() + ") with texture ID " 326 throw new RuntimeException("Could not reset GLFrame texture parameters!"); 410 private native boolean nativeCopyFromGL(GLFrame frame) [all...] |
/system/media/mca/filterpacks/videoproc/java/ |
BackDropperFilter.java | 24 import android.filterfw.core.GLFrame; 468 private GLFrame mBgMean[]; 469 private GLFrame mBgVariance[]; 470 private GLFrame mMaskVerify[]; 471 private GLFrame mDistance; 472 private GLFrame mAutoWB; 473 private GLFrame mMask; 474 private GLFrame mVideoInput; 475 private GLFrame mBgInput; 476 private GLFrame mMaskAverage [all...] |
/system/media/mca/effect/java/android/media/effect/ |
FilterEffect.java | 24 import android.filterfw.core.GLFrame; 94 GLFrame.EXISTING_TEXTURE_BINDING,
|
EffectContext.java | 24 import android.filterfw.core.GLFrame;
|
/system/media/mca/filterfw/java/android/filterfw/basefilters/ |
GLTextureSource.java | 25 import android.filterfw.core.GLFrame; 85 GLFrame.EXISTING_TEXTURE_BINDING,
|
GLTextureTarget.java | 25 import android.filterfw.core.GLFrame; 58 Frame frame = context.getFrameManager().newBoundFrame(format, GLFrame.EXISTING_TEXTURE_BINDING, mTexId);
|
/system/media/mca/filterpacks/imageproc/java/ |
DrawRectFilter.java | 25 import android.filterfw.core.GLFrame; 99 GLFrame output = (GLFrame)env.getFrameManager().duplicateFrame(imageFrame);
|
ResizeFilter.java | 25 import android.filterfw.core.GLFrame; 105 GLFrame mipmapped = (GLFrame)env.getFrameManager().newFrame(input.getFormat());
|
DrawOverlayFilter.java | 24 import android.filterfw.core.GLFrame;
|
/system/media/mca/filterpacks/videosrc/java/ |
SurfaceTextureSource.java | 28 import android.filterfw.core.GLFrame; 114 private GLFrame mMediaFrame; 171 mMediaFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat, 172 GLFrame.EXTERNAL_TEXTURE,
|
CameraSource.java | 28 import android.filterfw.core.GLFrame; 78 private GLFrame mCameraFrame; 153 mCameraFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat, 154 GLFrame.EXTERNAL_TEXTURE,
|
SurfaceTextureTarget.java | 28 import android.filterfw.core.GLFrame; 99 private GLFrame mScreen; 155 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(screenFormat, 156 GLFrame.EXISTING_FBO_BINDING,
|
/system/media/mca/filterpacks/ui/java/ |
SurfaceRenderFilter.java | 28 import android.filterfw.core.GLFrame; 74 private GLFrame mScreen; 132 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(screenFormat, 133 GLFrame.EXISTING_FBO_BINDING,
|
SurfaceTargetFilter.java | 27 import android.filterfw.core.GLFrame; 81 private GLFrame mScreen; 137 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(screenFormat, 138 GLFrame.EXISTING_FBO_BINDING,
|
/system/media/mca/filterpacks/videosink/java/ |
MediaEncoderFilter.java | 28 import android.filterfw.core.GLFrame; 170 private GLFrame mScreen; 309 mScreen = (GLFrame)context.getFrameManager().newBoundFrame( 310 screenFormat, GLFrame.EXISTING_FBO_BINDING, 0); 459 // and GLFrame members
|