HomeSort by relevance Sort by last modified time
    Searched refs:GLFrame (Results 1 - 25 of 31) sorted by null

1 2

  /frameworks/base/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);
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/model/
GLFrame.java 20 * A GLFrame is used to keep track of the start and end {@link GLCall} indices
23 public class GLFrame {
29 * Construct a {@link GLFrame} given the range of {@link GLCall}s spanning this frame.
34 public GLFrame(int frameIndex, int startCallIndex, int endCallIndex) {
GLTrace.java 42 private final List<GLFrame> mGLFrames;
50 public GLTrace(TraceFileInfo traceFileInfo, List<GLFrame> glFrames, List<GLCall> glCalls,
58 public List<GLFrame> getFrames() {
62 public GLFrame getFrame(int i) {
75 GLFrame frame = mGLFrames.get(frameIndex);
  /frameworks/base/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);
  /frameworks/base/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;
213 } else if (frame instanceof GLFrame) {
214 nativeCopyFromGL((GLFrame)frame);
262 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...]
  /frameworks/base/media/mca/effect/java/android/media/effect/
FilterEffect.java 21 import android.filterfw.core.GLFrame;
91 GLFrame.EXISTING_TEXTURE_BINDING,
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
GLTextureSource.java 25 import android.filterfw.core.GLFrame;
82 GLFrame.EXISTING_TEXTURE_BINDING,
GLTextureTarget.java 25 import android.filterfw.core.GLFrame;
55 Frame frame = context.getFrameManager().newBoundFrame(format, GLFrame.EXISTING_TEXTURE_BINDING, mTexId);
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
TraceFileParserTask.java 24 import com.android.ide.eclipse.gltrace.model.GLFrame;
148 List<GLFrame> glFrames = null;
226 private List<GLFrame> createFrames(List<GLCall> calls) {
227 List<GLFrame> glFrames = new ArrayList<GLFrame>();
234 glFrames.add(new GLFrame(frameIndex, startCallIndex, i + 1));
242 glFrames.add(new GLFrame(frameIndex, startCallIndex, mGLCalls.size()));
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DrawRectFilter.java 25 import android.filterfw.core.GLFrame;
96 GLFrame output = (GLFrame)env.getFrameManager().duplicateFrame(imageFrame);
ResizeFilter.java 25 import android.filterfw.core.GLFrame;
102 GLFrame mipmapped = (GLFrame)env.getFrameManager().newFrame(input.getFormat());
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
SurfaceTargetFilter.java 27 import android.filterfw.core.GLFrame;
73 private GLFrame mScreen;
129 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(screenFormat,
130 GLFrame.EXISTING_FBO_BINDING,
SurfaceRenderFilter.java 28 import android.filterfw.core.GLFrame;
66 private GLFrame mScreen;
124 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(screenFormat,
125 GLFrame.EXISTING_FBO_BINDING,
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
SurfaceTextureSource.java 25 import android.filterfw.core.GLFrame;
103 private GLFrame mMediaFrame;
160 mMediaFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat,
161 GLFrame.EXTERNAL_TEXTURE,
CameraSource.java 26 import android.filterfw.core.GLFrame;
71 private GLFrame mCameraFrame;
146 mCameraFrame = (GLFrame)context.getFrameManager().newBoundFrame(mOutputFormat,
147 GLFrame.EXTERNAL_TEXTURE,
SurfaceTextureTarget.java 27 import android.filterfw.core.GLFrame;
89 private GLFrame mScreen;
147 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(screenFormat,
148 GLFrame.EXISTING_FBO_BINDING,
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
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/videosink/
MediaEncoderFilter.java 25 import android.filterfw.core.GLFrame;
161 private GLFrame mScreen;
308 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(
309 screenFormat, GLFrame.EXISTING_FBO_BINDING, 0);
455 // and GLFrame members

Completed in 405 milliseconds

1 2