Home
last modified time | relevance | path

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

123456

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DCachedFrameManager.java20 import android.filterfw.core.Frame;
33 private SortedMap<Integer, Frame> mAvailableFrames;
40 mAvailableFrames = new TreeMap<Integer, Frame>(); in CachedFrameManager()
44 public Frame newFrame(FrameFormat format) { in newFrame()
45 Frame result = findAvailableFrame(format, Frame.NO_BINDING, 0); in newFrame()
49 result.setTimestamp(Frame.TIMESTAMP_NOT_SET); in newFrame()
54 public Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId) { in newBoundFrame()
55 Frame result = findAvailableFrame(format, bindingType, bindingId); in newBoundFrame()
59 result.setTimestamp(Frame.TIMESTAMP_NOT_SET); in newBoundFrame()
64 public Frame retainFrame(Frame frame) { in retainFrame()
[all …]
DFrameManager.java20 import android.filterfw.core.Frame;
31 public abstract Frame newFrame(FrameFormat format); in newFrame()
33 public abstract Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId); in newBoundFrame()
35 public Frame duplicateFrame(Frame frame) { in duplicateFrame()
36 Frame result = newFrame(frame.getFormat()); in duplicateFrame()
41 public Frame duplicateFrameToTarget(Frame frame, int newTarget) { in duplicateFrameToTarget()
44 Frame result = newFrame(newFormat); in duplicateFrameToTarget()
49 public abstract Frame retainFrame(Frame frame); in retainFrame()
51 public abstract Frame releaseFrame(Frame frame); in releaseFrame()
DProgram.java20 import android.filterfw.core.Frame;
27 public abstract void process(Frame[] inputs, Frame output); in process()
29 public void process(Frame input, Frame output) { in process()
30 Frame[] inputs = new Frame[1]; in process()
DSimpleFrameManager.java20 import android.filterfw.core.Frame;
37 public Frame newFrame(FrameFormat format) { in newFrame()
42 public Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId) { in newBoundFrame()
43 Frame result = null; in newBoundFrame()
59 private Frame createNewFrame(FrameFormat format) { in createNewFrame()
60 Frame result = null; in createNewFrame()
90 public Frame retainFrame(Frame frame) { in retainFrame()
96 public Frame releaseFrame(Frame frame) { in releaseFrame()
DFilterContext.java21 import android.filterfw.core.Frame;
36 private HashMap<String, Frame> mStoredFrames = new HashMap<String, Frame>();
69 public void onFrameReceived(Filter filter, Frame frame, Object userData); in onFrameReceived()
72 public synchronized void storeFrame(String key, Frame frame) { in storeFrame()
73 Frame storedFrame = fetchFrame(key); in storeFrame()
81 public synchronized Frame fetchFrame(String key) { in fetchFrame()
82 Frame frame = mStoredFrames.get(key); in fetchFrame()
90 Frame frame = mStoredFrames.get(key); in removeFrame()
99 for (Frame frame : mStoredFrames.values()) { in tearDown()
DStreamPort.java25 private Frame mFrame;
41 public void setFrame(Frame frame) { in setFrame()
46 public void pushFrame(Frame frame) { in pushFrame()
50 protected synchronized void assignFrame(Frame frame, boolean persistent) { in assignFrame()
68 public synchronized Frame pullFrame() { in pullFrame()
75 Frame result = mFrame; in pullFrame()
DFilterFunction.java43 public Frame execute(KeyValueMap inputMap) { in execute()
68 if (entry.getValue() instanceof Frame) { in execute()
69 mFilter.pushInputFrame(entry.getKey(), (Frame)entry.getValue()); in execute()
83 Frame result = null; in execute()
96 public Frame executeWithArgList(Object... inputs) { in executeWithArgList()
112 public void setInputFrame(String input, Frame frame) { in setInputFrame()
DFilterPort.java98 public abstract void pushFrame(Frame frame); in pushFrame()
100 public abstract void setFrame(Frame frame); in setFrame()
102 public abstract Frame pullFrame(); in pullFrame()
118 protected void checkFrameType(Frame frame, boolean forceCheck) { in checkFrameType()
127 protected void checkFrameManager(Frame frame, FilterContext context) { in checkFrameManager()
DFrame.java29 public abstract class Frame { class
45 Frame(FrameFormat format, FrameManager frameManager) { in Frame() method in Frame
50 Frame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { in Frame() method in Frame
129 public void setDataFromFrame(Frame frame) { in setDataFromFrame()
141 public Frame release() { in release()
149 public Frame retain() { in retain()
DFieldPort.java43 public void pushFrame(Frame frame) { in pushFrame()
48 public void setFrame(Frame frame) { in setFrame()
78 public synchronized Frame pullFrame() { in pullFrame()
97 protected synchronized void setFieldFrame(Frame frame, boolean isAssignment) { in setFieldFrame()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameQueue.java79 public Frame pullFrame(); in pullFrame()
81 public Frame fetchAvailableFrame(int[] dimensions); in fetchAvailableFrame()
83 public Frame peek(); in peek()
85 public void pushFrame(Frame frame); in pushFrame()
91 private Frame mFrame = null;
104 public Frame pullFrame() { in pullFrame()
105 Frame result = mFrame; in pullFrame()
111 public Frame peek() { in peek()
116 public Frame fetchAvailableFrame(int[] dimensions) { in fetchAvailableFrame()
120 return new Frame(mType, dimensions, manager); in fetchAvailableFrame()
[all …]
DFrame.java53 public class Frame { class
133 return object instanceof Frame && ((Frame)object).mBackingStore == mBackingStore; in equals()
136 public static Frame create(FrameType type, int[] dimensions) { in create()
142 return new Frame(type, dimensions, manager); in create()
145 public final Frame release() { in release()
150 public final Frame retain() { in retain()
166 Frame(FrameType type, int[] dimensions, FrameManager manager) { in Frame() method in Frame
170 Frame(BackingStore backingStore) { in Frame() method in Frame
197 Frame makeCpuCopy(FrameManager frameManager) { in makeCpuCopy()
198 Frame frame = new Frame(getType(), getDimensions(), frameManager); in makeCpuCopy()
DGraphOutputTarget.java6 import androidx.media.filterfw.Frame;
13 private Frame mFrame = null;
37 public Frame pullFrame() { in pullFrame()
38 Frame result = null; in pullFrame()
48 Frame frame = getConnectedInputPort("frame").pullFrame(); in onProcess()
DFrameManager.java65 private Frame mFrame = null;
88 public void assignFrame(Frame frame) { in assignFrame()
89 Frame oldFrame = mFrame; in assignFrame()
96 public Frame getFrame() { in getFrame()
97 Frame result = mFrame.retain(); in getFrame()
175 int backingAccess = (mode == Frame.MODE_WRITE) in fetchBacking()
317 public Frame importFrame(Frame frame) { in importFrame()
363 public void storeFrame(Frame frame, String slotName) { in storeFrame()
371 public Frame fetchFrame(String slotName) { in fetchFrame()
DSobelFilter.java20 import androidx.media.filterfw.Frame;
129 FrameImage2D gxFrame = Frame.create(mImageType, inputDims).asFrameImage2D(); in onProcess()
130 FrameImage2D gyFrame = Frame.create(mImageType, inputDims).asFrameImage2D(); in onProcess()
145 ByteBuffer inputBuffer = inputImage.lockBytes(Frame.MODE_READ); in onProcess()
147 magImage.lockBytes(Frame.MODE_WRITE) : null; in onProcess()
149 dirImage.lockBytes(Frame.MODE_WRITE) : null; in onProcess()
DInputPort.java48 public void onFrameReceived(InputPort port, Frame frame); in onFrameReceived()
59 public void onFrameReceived(InputPort port, Frame frame) { in onFrameReceived()
177 public synchronized Frame pullFrame() { in pullFrame()
181 Frame frame = mQueue.pullFrame(); in pullFrame()
189 if (timestamp != Frame.TIMESTAMP_NOT_SET) { in pullFrame()
196 public synchronized Frame peek() { in peek()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DBitmapOverlayFilter.java21 import android.filterfw.core.Frame;
41 private Frame mFrame;
97 Frame input = pullInput("image"); in process()
101 Frame output = context.getFrameManager().newFrame(inputFormat); in process()
109 Frame frame = createBitmapFrame(context); in process()
111 Frame[] inputs = {input, frame}; in process()
126 private Frame createBitmapFrame(FilterContext context) { in createBitmapFrame()
132 Frame frame = context.getFrameManager().newFrame(format); in createBitmapFrame()
DDrawOverlayFilter.java22 import android.filterfw.core.Frame;
63 Frame sourceFrame = pullInput("source"); in process()
64 Frame overlayFrame = pullInput("overlay"); in process()
65 Frame boxFrame = pullInput("box"); in process()
74 Frame output = env.getFrameManager().newFrame(sourceFrame.getFormat()); in process()
DGrainFilter.java21 import android.filterfw.core.Frame;
154 Frame input = pullInput("image"); in process()
163 Frame noiseFrame = context.getFrameManager().newFrame(inputFormat); in process()
166 Frame output = context.getFrameManager().newFrame(inputFormat); in process()
179 Frame[] empty = {}; in process()
183 Frame[] inputs = {input, noiseFrame}; in process()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
DFrameSourceFilter.java30 private final Queue<Frame> mFrames = new LinkedList<Frame>();
43 private synchronized Frame obtainFrame() { in obtainFrame()
56 public synchronized void injectFrame(Frame frame) { in injectFrame()
63 Frame frame = obtainFrame(); in onProcess()
DMffFilterTestCase.java53 private Map<String, Frame> mOutputFrames;
85 mOutputFrames = new HashMap<String, Frame>(); in setUp()
91 for (Frame frame : mOutputFrames.values()) { in tearDown()
104 protected void injectInputFrame(String portName, Frame frame) { in injectInputFrame()
113 protected Frame getOutputFrame(String outputPortName) { in getOutputFrame()
132 protected Frame createFrame(FrameType type, int[] dimensions) { in createFrame()
133 return new Frame(type, dimensions, mRunner.getFrameManager()); in createFrame()
164 public void onFramePushed(String filterName, Frame frame) { in onFramePushed()
/frameworks/base/media/mca/effect/java/android/media/effect/
DSizeChangeEffect.java19 import android.filterfw.core.Frame;
44 Frame inputFrame = frameFromTexture(inputTexId, width, height); in apply()
45 Frame resultFrame = mFunction.executeWithArgList(mInputName, inputFrame); in apply()
50 Frame outputFrame = frameFromTexture(outputTexId, outputWidth, outputHeight); in apply()
DFilterEffect.java22 import android.filterfw.core.Frame;
85 protected Frame frameFromTexture(int texId, int width, int height) { in frameFromTexture()
90 Frame frame = manager.newBoundFrame(format, in frameFromTexture()
93 frame.setTimestamp(Frame.TIMESTAMP_UNKNOWN); in frameFromTexture()
/frameworks/base/libs/hwui/renderthread/
DEglManager.h29 class Frame; variable
50 Frame beginFrame(EGLSurface surface);
51 void damageFrame(const Frame& frame, const SkRect& dirty);
56 bool swapBuffers(const Frame& frame, const SkRect& screenDirty);
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
Dparcelable_composer_frame.h13 ParcelableComposerFrame(const ComposerView::Frame& frame);
16 ComposerView::Frame frame() const { return frame_; } in frame()
22 ComposerView::Frame frame_;

123456