/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_frame.cpp | 38 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 …]
|
D | gl_frame.h | 36 class GLFrame : public GLBufferHandle { 41 explicit GLFrame(GLEnv* gl_env); 44 ~GLFrame(); 67 bool CopyPixelsFrom(const GLFrame* frame); 73 GLFrame* Clone() const;
|
D | shader_program.h | 34 class GLFrame; variable 97 bool Process(const std::vector<const GLFrame*>& inputs, GLFrame* output);
|
D | shader_program.cpp | 217 bool ShaderProgram::Process(const std::vector<const GLFrame*>& input, GLFrame* output) { in Process()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_gl_frame.cpp | 27 using android::filterfw::GLFrame; 51 std::unique_ptr<GLFrame> frame(new GLFrame(gl_env_ptr)); in Java_android_filterfw_core_GLFrame_nativeAllocate() 66 std::unique_ptr<GLFrame> frame(new GLFrame(gl_env_ptr)); in Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture() 81 std::unique_ptr<GLFrame> frame(new GLFrame(gl_env_ptr)); in Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo() 93 std::unique_ptr<GLFrame> frame(new GLFrame(gl_env_ptr)); in Java_android_filterfw_core_GLFrame_nativeAllocateExternal() 101 return ToJBool(DeleteNativeObject<GLFrame>(env, thiz)); in Java_android_filterfw_core_GLFrame_nativeDeallocate() 109 GLFrame* frame = ConvertFromJava<GLFrame>(env, thiz); in Java_android_filterfw_core_GLFrame_setNativeData() 122 GLFrame* frame = ConvertFromJava<GLFrame>(env, thiz); in Java_android_filterfw_core_GLFrame_getNativeData() 136 GLFrame* frame = ConvertFromJava<GLFrame>(env, thiz); in Java_android_filterfw_core_GLFrame_setNativeInts() 151 GLFrame* frame = ConvertFromJava<GLFrame>(env, thiz); in Java_android_filterfw_core_GLFrame_getNativeInts() [all …]
|
D | jni_shader_program.cpp | 31 using android::filterfw::GLFrame; 96 std::vector<const GLFrame*> input_frames; in Java_android_filterfw_core_ShaderProgram_shaderProcess() 102 const GLFrame* input_frame = ConvertFromJava<GLFrame>(env, input); in Java_android_filterfw_core_ShaderProgram_shaderProcess() 111 GLFrame* output_frame = ConvertFromJava<GLFrame>(env, output); in Java_android_filterfw_core_ShaderProgram_shaderProcess()
|
D | jni_init.cpp | 37 ObjectPool<GLFrame>::Setup("android/filterfw/core/GLFrame", "glFrameId"); in JNI_OnLoad()
|
D | jni_native_frame.cpp | 28 using android::filterfw::GLFrame; 289 GLFrame* other_frame = ConvertFromJava<GLFrame>(env, frame); in Java_android_filterfw_core_NativeFrame_nativeCopyFromGL()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | SimpleFrameManager.java | 23 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()
|
D | ShaderProgram.java | 96 GLFrame[] glInputs = new GLFrame[inputs.length]; in process() 98 if (inputs[i] instanceof GLFrame) { in process() 99 glInputs[i] = (GLFrame)inputs[i]; in process() 106 GLFrame glOutput = null; in process() 107 if (output instanceof GLFrame) { in process() 108 glOutput = (GLFrame)output; in process() 262 private native boolean shaderProcess(GLFrame[] inputs, GLFrame output); in shaderProcess()
|
D | GLFrame.java | 43 public class GLFrame extends Frame { class 66 GLFrame(FrameFormat format, FrameManager frameManager) { in GLFrame() method in GLFrame 70 GLFrame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { in GLFrame() method in GLFrame 264 } else if (frame instanceof GLFrame) { in setDataFromFrame() 265 nativeCopyFromGL((GLFrame)frame); in setDataFromFrame() 410 private native boolean nativeCopyFromGL(GLFrame frame); in nativeCopyFromGL()
|
D | NativeFrame.java | 23 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/ |
D | BackDropperFilter.java | 24 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/videosrc/ |
D | SurfaceTextureSource.java | 25 import android.filterfw.core.GLFrame; 103 private GLFrame mMediaFrame; 160 mMediaFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat, in prepare() 161 GLFrame.EXTERNAL_TEXTURE, in prepare()
|
D | SurfaceTextureTarget.java | 27 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()
|
D | CameraSource.java | 26 import android.filterfw.core.GLFrame; 71 private GLFrame mCameraFrame; 146 mCameraFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat, in open() 147 GLFrame.EXTERNAL_TEXTURE, in open()
|
D | MediaSource.java | 28 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/ui/ |
D | SurfaceTargetFilter.java | 27 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()
|
D | SurfaceRenderFilter.java | 28 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/imageproc/ |
D | ResizeFilter.java | 25 import android.filterfw.core.GLFrame; 102 GLFrame mipmapped = (GLFrame)env.getFrameManager().newFrame(input.getFormat()); in process()
|
D | DrawRectFilter.java | 25 import android.filterfw.core.GLFrame; 96 GLFrame output = (GLFrame)env.getFrameManager().duplicateFrame(imageFrame); in process()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
D | GLTextureTarget.java | 25 import android.filterfw.core.GLFrame; 55 …Frame frame = context.getFrameManager().newBoundFrame(format, GLFrame.EXISTING_TEXTURE_BINDING, mT… in process()
|
D | GLTextureSource.java | 25 import android.filterfw.core.GLFrame; 82 GLFrame.EXISTING_TEXTURE_BINDING, in process()
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
D | FilterEffect.java | 21 import android.filterfw.core.GLFrame; 91 GLFrame.EXISTING_TEXTURE_BINDING, in frameFromTexture()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/ |
D | MediaEncoderFilter.java | 25 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()
|