Home
last modified time | relevance | path

Searched refs:GLFrame (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/media/mca/filterfw/native/core/
Dgl_frame.cpp38 GLFrame::GLFrame(GLEnv* gl_env) in GLFrame() function in android::filterfw::GLFrame
56 bool GLFrame::Init(int width, int height) { in Init()
65 bool GLFrame::InitWithTexture(GLint texture_id, int width, int height) { in InitWithTexture()
72 bool GLFrame::InitWithFbo(GLint fbo_id, int width, int height) { in InitWithFbo()
80 bool GLFrame::InitWithExternalTexture() { in InitWithExternalTexture()
87 void GLFrame::InitDimensions(int width, int height) { in InitDimensions()
94 GLFrame::~GLFrame() { in ~GLFrame()
110 bool GLFrame::GenerateMipMap() { in GenerateMipMap()
118 bool GLFrame::SetTextureParameter(GLenum pname, GLint value) { in SetTextureParameter()
133 bool GLFrame::UpdateTexParameters() { in UpdateTexParameters()
[all …]
Dgl_frame.h36 class GLFrame : public GLBufferHandle {
41 GLFrame(GLEnv* gl_env);
44 ~GLFrame();
67 bool CopyPixelsFrom(const GLFrame* frame);
73 GLFrame* Clone() const;
Dshader_program.h34 class GLFrame; variable
97 bool Process(const std::vector<const GLFrame*>& inputs, GLFrame* output);
Dshader_program.cpp217 bool ShaderProgram::Process(const std::vector<const GLFrame*>& input, GLFrame* output) { in Process()
/frameworks/base/media/mca/filterfw/jni/
Djni_gl_frame.cpp27 using android::filterfw::GLFrame;
51 GLFrame* frame = new GLFrame(gl_env_ptr); in Java_android_filterfw_core_GLFrame_nativeAllocate()
68 GLFrame* frame = new GLFrame(gl_env_ptr); in Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture()
85 GLFrame* frame = new GLFrame(gl_env_ptr); in Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo()
99 GLFrame* frame = new GLFrame(gl_env_ptr); in Java_android_filterfw_core_GLFrame_nativeAllocateExternal()
109 return ToJBool(DeleteNativeObject<GLFrame>(env, thiz)); in Java_android_filterfw_core_GLFrame_nativeDeallocate()
117 GLFrame* frame = ConvertFromJava<GLFrame>(env, thiz); in Java_android_filterfw_core_GLFrame_setNativeData()
130 GLFrame* frame = ConvertFromJava<GLFrame>(env, thiz); in Java_android_filterfw_core_GLFrame_getNativeData()
144 GLFrame* frame = ConvertFromJava<GLFrame>(env, thiz); in Java_android_filterfw_core_GLFrame_setNativeInts()
159 GLFrame* frame = ConvertFromJava<GLFrame>(env, thiz); in Java_android_filterfw_core_GLFrame_getNativeInts()
[all …]
Djni_shader_program.cpp31 using android::filterfw::GLFrame;
103 std::vector<const GLFrame*> input_frames; in Java_android_filterfw_core_ShaderProgram_shaderProcess()
109 const GLFrame* input_frame = ConvertFromJava<GLFrame>(env, input); in Java_android_filterfw_core_ShaderProgram_shaderProcess()
118 GLFrame* output_frame = ConvertFromJava<GLFrame>(env, output); in Java_android_filterfw_core_ShaderProgram_shaderProcess()
Djni_init.cpp37 ObjectPool<GLFrame>::Setup("android/filterfw/core/GLFrame", "glFrameId"); in JNI_OnLoad()
Djni_native_frame.cpp28 using android::filterfw::GLFrame;
288 GLFrame* other_frame = ConvertFromJava<GLFrame>(env, frame); in Java_android_filterfw_core_NativeFrame_nativeCopyFromGL()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DSimpleFrameManager.java23 import android.filterfw.core.GLFrame;
46 GLFrame glFrame = new GLFrame(format, this, bindingType, bindingId); in newBoundFrame()
71 GLFrame glFrame = new GLFrame(format, this); in createNewFrame()
DShaderProgram.java97 GLFrame[] glInputs = new GLFrame[inputs.length]; in process()
99 if (inputs[i] instanceof GLFrame) { in process()
100 glInputs[i] = (GLFrame)inputs[i]; in process()
107 GLFrame glOutput = null; in process()
108 if (output instanceof GLFrame) { in process()
109 glOutput = (GLFrame)output; in process()
259 private native boolean shaderProcess(GLFrame[] inputs, GLFrame output); in shaderProcess()
DGLFrame.java47 public class GLFrame extends Frame { class
70 GLFrame(FrameFormat format, FrameManager frameManager) { in GLFrame() method in GLFrame
74 GLFrame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { in GLFrame() method in GLFrame
267 } else if (frame instanceof GLFrame) { in setDataFromFrame()
268 nativeCopyFromGL((GLFrame)frame); in setDataFromFrame()
410 private native boolean nativeCopyFromGL(GLFrame frame); in nativeCopyFromGL()
DNativeFrame.java23 import android.filterfw.core.GLFrame;
213 } else if (frame instanceof GLFrame) { in setDataFromFrame()
214 nativeCopyFromGL((GLFrame)frame); in setDataFromFrame()
262 private native boolean nativeCopyFromGL(GLFrame frame); in nativeCopyFromGL()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
DBackDropperFilter.java24 import android.filterfw.core.GLFrame;
480 private GLFrame mBgMean[];
481 private GLFrame mBgVariance[];
482 private GLFrame mMaskVerify[];
483 private GLFrame mDistance;
484 private GLFrame mAutoWB;
485 private GLFrame mMask;
486 private GLFrame mVideoInput;
487 private GLFrame mBgInput;
488 private GLFrame mMaskAverage;
[all …]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
DSurfaceTargetFilter.java27 import android.filterfw.core.GLFrame;
73 private GLFrame mScreen;
129 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(screenFormat, in prepare()
130 GLFrame.EXISTING_FBO_BINDING, in prepare()
DSurfaceRenderFilter.java28 import android.filterfw.core.GLFrame;
66 private GLFrame mScreen;
124 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(screenFormat, in prepare()
125 GLFrame.EXISTING_FBO_BINDING, in prepare()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureSource.java25 import android.filterfw.core.GLFrame;
103 private GLFrame mMediaFrame;
160 mMediaFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat, in prepare()
161 GLFrame.EXTERNAL_TEXTURE, in prepare()
DSurfaceTextureTarget.java27 import android.filterfw.core.GLFrame;
89 private GLFrame mScreen;
147 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(screenFormat, in prepare()
148 GLFrame.EXISTING_FBO_BINDING, in prepare()
DCameraSource.java26 import android.filterfw.core.GLFrame;
71 private GLFrame mCameraFrame;
146 mCameraFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat, in open()
147 GLFrame.EXTERNAL_TEXTURE, in open()
DMediaSource.java28 import android.filterfw.core.GLFrame;
98 private GLFrame mMediaFrame;
206 mMediaFrame = (GLFrame)context.getFrameManager().newBoundFrame( in open()
208 GLFrame.EXTERNAL_TEXTURE, in open()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DResizeFilter.java25 import android.filterfw.core.GLFrame;
102 GLFrame mipmapped = (GLFrame)env.getFrameManager().newFrame(input.getFormat()); in process()
DDrawRectFilter.java25 import android.filterfw.core.GLFrame;
96 GLFrame output = (GLFrame)env.getFrameManager().duplicateFrame(imageFrame); in process()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DGLTextureTarget.java25 import android.filterfw.core.GLFrame;
55 …Frame frame = context.getFrameManager().newBoundFrame(format, GLFrame.EXISTING_TEXTURE_BINDING, mT… in process()
DGLTextureSource.java25 import android.filterfw.core.GLFrame;
82 GLFrame.EXISTING_TEXTURE_BINDING, in process()
/frameworks/base/media/mca/effect/java/android/media/effect/
DFilterEffect.java21 import android.filterfw.core.GLFrame;
91 GLFrame.EXISTING_TEXTURE_BINDING, in frameFromTexture()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
DMediaEncoderFilter.java25 import android.filterfw.core.GLFrame;
161 private GLFrame mScreen;
308 mScreen = (GLFrame)context.getFrameManager().newBoundFrame( in startRecording()
309 screenFormat, GLFrame.EXISTING_FBO_BINDING, 0); in startRecording()