/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | Program.java | 20 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 D | FrameManager.java | 20 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 D | CachedFrameManager.java | 20 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 D | FilterContext.java | 21 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 D | SimpleFrameManager.java | 20 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 D | StreamPort.java | 25 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 D | FilterFunction.java | 43 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 D | FieldPort.java | 43 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 D | FilterPort.java | 98 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 D | NativeBuffer.java | 20 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 D | IdentityEffect.java | 20 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 D | StringSource.java | 22 import android.filterfw.core.Frame; 51 Frame output = env.getFrameManager().newFrame(mOutputFormat); 53 output.setTimestamp(Frame.TIMESTAMP_UNKNOWN);
|
H A D | ToUpperCase.java | 22 import android.filterfw.core.Frame; 46 Frame input = pullInput("mixedcase"); 49 Frame output = env.getFrameManager().newFrame(mOutputFormat);
|
H A D | StringLogger.java | 22 import android.filterfw.core.Frame; 44 Frame input = pullInput("string");
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
H A D | FrameStore.java | 22 import android.filterfw.core.Frame; 45 Frame input = pullInput("frame");
|
H A D | FrameBranch.java | 22 import android.filterfw.core.Frame; 54 Frame input = pullInput("in");
|
H A D | FrameFetch.java | 22 import android.filterfw.core.Frame; 53 Frame output = context.fetchFrame(mKey);
|
H A D | FrameSource.java | 22 import android.filterfw.core.Frame; 36 private Frame mFrame = null;
|
H A D | CallbackFilter.java | 22 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 D | NullFilter.java | 22 import android.filterfw.core.Frame;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | BitmapOverlayFilter.java | 21 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 D | DrawOverlayFilter.java | 22 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 D | FilterEffect.java | 25 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 D | SizeChangeEffect.java | 22 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 D | SingleFilterEffect.java | 23 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);
|