Searched refs:Frame (Results 1 - 25 of 97) sorted by relevance

1234

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DProgram.java20 import android.filterfw.core.Frame;
27 public abstract void process(Frame[] inputs, Frame output);
29 public void process(Frame input, Frame output) {
30 Frame[] inputs = new Frame[1];
H A DFrameManager.java20 import android.filterfw.core.Frame;
31 public abstract Frame newFrame(FrameFormat format);
33 public abstract Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId);
35 public Frame duplicateFrame(Frame frame) {
36 Frame result = newFrame(frame.getFormat());
41 public Frame duplicateFrameToTarget(Frame frame, int newTarget) {
44 Frame result = newFrame(newFormat);
49 public abstract Frame retainFram
[all...]
H A DCachedFrameManager.java20 import android.filterfw.core.Frame;
33 private SortedMap<Integer, Frame> mAvailableFrames;
40 mAvailableFrames = new TreeMap<Integer, Frame>();
44 public Frame newFrame(FrameFormat format) {
45 Frame result = findAvailableFrame(format, Frame.NO_BINDING, 0);
49 result.setTimestamp(Frame.TIMESTAMP_NOT_SET);
54 public Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId) {
55 Frame result = findAvailableFrame(format, bindingType, bindingId);
59 result.setTimestamp(Frame
[all...]
H A 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);
72 public synchronized void storeFrame(String key, Frame frame) {
73 Frame storedFrame = fetchFrame(key);
81 public synchronized Frame fetchFrame(String key) {
82 Frame frame = mStoredFrames.get(key);
90 Frame frame = mStoredFrames.get(key);
99 for (Frame fram
[all...]
H A DSimpleFrameManager.java20 import android.filterfw.core.Frame;
37 public Frame newFrame(FrameFormat format) {
42 public Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId) {
43 Frame result = null;
59 private Frame createNewFrame(FrameFormat format) {
60 Frame result = null;
90 public Frame retainFrame(Frame frame) {
96 public Frame releaseFrame(Frame fram
[all...]
H A DStreamPort.java25 private Frame mFrame;
41 public void setFrame(Frame frame) {
46 public void pushFrame(Frame frame) {
50 protected synchronized void assignFrame(Frame frame, boolean persistent) {
68 public synchronized Frame pullFrame() {
75 Frame result = mFrame;
H A DFilterFunction.java43 public Frame execute(KeyValueMap inputMap) {
68 if (entry.getValue() instanceof Frame) {
69 mFilter.pushInputFrame(entry.getKey(), (Frame)entry.getValue());
83 Frame result = null;
96 public Frame executeWithArgList(Object... inputs) {
112 public void setInputFrame(String input, Frame frame) {
H A DFieldPort.java43 public void pushFrame(Frame frame) {
48 public void setFrame(Frame frame) {
78 public synchronized Frame pullFrame() {
97 protected synchronized void setFieldFrame(Frame frame, boolean isAssignment) {
H A DFilterPort.java98 public abstract void pushFrame(Frame frame);
100 public abstract void setFrame(Frame frame);
102 public abstract Frame pullFrame();
118 protected void checkFrameType(Frame frame, boolean forceCheck) {
122 throw new RuntimeException("Frame passed to " + this + " is of incorrect type! "
127 protected void checkFrameManager(Frame frame, FilterContext context) {
130 throw new RuntimeException("Frame " + frame + " is managed by foreign FrameManager! ");
H A DNativeBuffer.java20 import android.filterfw.core.Frame;
31 private Frame mAttachedFrame;
107 void attachToFrame(Frame frame) {
/frameworks/base/media/mca/effect/java/android/media/effect/effects/
H A DIdentityEffect.java20 import android.filterfw.core.Frame;
37 Frame inputFrame = frameFromTexture(inputTexId, width, height);
38 Frame outputFrame = frameFromTexture(outputTexId, width, height);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A DStringSource.java22 import android.filterfw.core.Frame;
51 Frame output = env.getFrameManager().newFrame(mOutputFormat);
53 output.setTimestamp(Frame.TIMESTAMP_UNKNOWN);
H A DToUpperCase.java22 import android.filterfw.core.Frame;
46 Frame input = pullInput("mixedcase");
49 Frame output = env.getFrameManager().newFrame(mOutputFormat);
H A DStringLogger.java22 import android.filterfw.core.Frame;
44 Frame input = pullInput("string");
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DFrameStore.java22 import android.filterfw.core.Frame;
45 Frame input = pullInput("frame");
H A DFrameBranch.java22 import android.filterfw.core.Frame;
54 Frame input = pullInput("in");
H A DFrameFetch.java22 import android.filterfw.core.Frame;
53 Frame output = context.fetchFrame(mKey);
H A DFrameSource.java22 import android.filterfw.core.Frame;
36 private Frame mFrame = null;
H A DCallbackFilter.java22 import android.filterfw.core.Frame;
53 private Frame mFrame;
57 public CallbackRunnable(FilterContext.OnFrameReceivedListener listener, Filter filter, Frame frame, Object userData) {
87 final Frame input = pullInput("frame");
H A DNullFilter.java22 import android.filterfw.core.Frame;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DBitmapOverlayFilter.java21 import android.filterfw.core.Frame;
47 private Frame mFrame;
103 Frame input = pullInput("image");
107 Frame output = context.getFrameManager().newFrame(inputFormat);
115 Frame frame = createBitmapFrame(context);
117 Frame[] inputs = {input, frame};
132 private Frame createBitmapFrame(FilterContext context) {
138 Frame frame = context.getFrameManager().newFrame(format);
H A DDrawOverlayFilter.java22 import android.filterfw.core.Frame;
69 Frame sourceFrame = pullInput("source");
70 Frame overlayFrame = pullInput("overlay");
71 Frame boxFrame = pullInput("box");
80 Frame output = env.getFrameManager().newFrame(sourceFrame.getFormat());
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DFilterEffect.java25 import android.filterfw.core.Frame;
86 * Converts a texture into a Frame.
88 protected Frame frameFromTexture(int texId, int width, int height) {
93 Frame frame = manager.newBoundFrame(format,
96 frame.setTimestamp(Frame.TIMESTAMP_UNKNOWN);
H A DSizeChangeEffect.java22 import android.filterfw.core.Frame;
50 Frame inputFrame = frameFromTexture(inputTexId, width, height);
51 Frame resultFrame = mFunction.executeWithArgList(mInputName, inputFrame);
56 Frame outputFrame = frameFromTexture(outputTexId, outputWidth, outputHeight);
H A DSingleFilterEffect.java23 import android.filterfw.core.Frame;
73 Frame inputFrame = frameFromTexture(inputTexId, width, height);
74 Frame outputFrame = frameFromTexture(outputTexId, width, height);
76 Frame resultFrame = mFunction.executeWithArgList(mInputName, inputFrame);

Completed in 170 milliseconds

1234