Searched refs:targetFrame (Results 1 – 3 of 3) sorted by relevance
97 FrameImage2D targetFrame = Frame.create(mImageInType, targetDims).asFrameImage2D(); in onProcess() local100 mShader.process(inputImage, targetFrame); in onProcess()101 RenderTarget grayTarget = targetFrame.lockRenderTarget(); in onProcess()103 targetFrame.unlock(); in onProcess()104 targetFrame.release(); in onProcess()
128 public abstract void grabFrame(FrameImage2D targetFrame); in grabFrame() argument212 public synchronized void grabFrame(FrameImage2D targetFrame) { in grabFrame() argument222 targetFrame.resize(new int[] { mOutWidth, mOutHeight }); in grabFrame()224 targetFrame.lockRenderTarget(), in grabFrame()227 targetFrame.setTimestamp(mPreviewSurfaceTexture.getTimestamp()); in grabFrame()228 targetFrame.unlock(); in grabFrame()333 public synchronized void grabFrame(FrameImage2D targetFrame) { in grabFrame() argument346 targetFrame.resize(new int[] { mOutWidth, mOutHeight }); in grabFrame()348 targetFrame.lockRenderTarget(), in grabFrame()352 targetFrame.setTimestamp(mPreviewSurfaceTexture.getTimestamp()); in grabFrame()[all …]
146 FakeFrame(ThreadedRenderer renderer, View targetFrame, View targetBack) { in FakeFrame() argument148 mTargetFrame = targetFrame; in FakeFrame()