/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
ResizeFilter.java | 31 FrameType imageIn = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_GPU); 32 FrameType imageOut = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.WRITE_GPU); 35 .addInputPort("outputWidth", Signature.PORT_OPTIONAL, FrameType.single(int.class)) 36 .addInputPort("outputHeight", Signature.PORT_OPTIONAL, FrameType.single(int.class) [all...] |
ScaleFilter.java | 20 import androidx.media.filterfw.FrameType; 35 FrameType imageIn = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_GPU); 36 FrameType imageOut = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.WRITE_GPU); 39 .addInputPort("scale", Signature.PORT_OPTIONAL, FrameType.single(float.class) [all...] |
FrameType.java | 19 * A FrameType instance specifies the data format of a Frame. 22 * When filters are connected, their FrameType information is analyzed and checked for 26 * A FrameType generally consists of an element type and number of dimensions. The currently 37 * If the object element type is used, class information may be appended to the FrameType to 38 * indicate what class of objects are expected. When constructing an object based FrameType, you 83 public final class FrameType { 112 private static SimpleCache<String, FrameType> mTypeCache = 113 new SimpleCache<String, FrameType>(64); 116 * Constructs a wild-card FrameType that matches any other FrameType [all...] |
RotateFilter.java | 21 import androidx.media.filterfw.FrameType; 41 FrameType imageIn = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_GPU); 42 FrameType imageOut = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.WRITE_GPU); 45 .addInputPort("rotateAngle", Signature.PORT_REQUIRED, FrameType.single(float.class) [all...] |
TransformUtils.java | 21 import androidx.media.filterfw.FrameType; 46 FrameType imageType = FrameType.image2D(FrameType.ELEMENT_RGBA8888, 47 FrameType.READ_GPU | FrameType.WRITE_GPU); 57 FrameType imageType = FrameType.image2D(FrameType.ELEMENT_RGBA8888, 58 FrameType.READ_GPU | FrameType.WRITE_GPU) [all...] |
BrightnessFilter.java | 21 import androidx.media.filterfw.FrameType; 55 FrameType imageIn = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_GPU); 56 FrameType imageOut = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.WRITE_GPU); 59 .addInputPort("brightness", Signature.PORT_OPTIONAL, FrameType.single(float.class) [all...] |
FrameQueue.java | 23 private FrameType mReadType = null; 24 private FrameType mWriteType = null; 30 public void setWriteType(FrameType type) { 34 public void setReadType(FrameType type) { 43 FrameType type = buildType(); 56 private FrameType buildType() { 57 FrameType result = FrameType.merge(mWriteType, mReadType); 59 result = FrameType.merge(result, queue.mType); 65 private void validateType(FrameType type, String queueName) [all...] |
GraphOutputTarget.java | 7 import androidx.media.filterfw.FrameType; 14 private FrameType mType = FrameType.any(); 21 public void setType(FrameType type) { 25 public FrameType getType() {
|
NewChromaHistogramFilter.java | 24 import androidx.media.filterfw.FrameType; 55 FrameType imageIn = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_CPU); 56 FrameType dataOut = FrameType.buffer2D(FrameType.ELEMENT_FLOAT32); 60 .addInputPort("huebins", Signature.PORT_OPTIONAL, FrameType.single(int.class)) 61 .addInputPort("saturationbins", Signature.PORT_OPTIONAL, FrameType.single(int.class) [all...] |
CropFilter.java | 26 import androidx.media.filterfw.FrameType; 49 FrameType imageIn = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_GPU); 50 FrameType imageOut = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.WRITE_GPU); 53 .addInputPort("cropRect", Signature.PORT_REQUIRED, FrameType.single(Quad.class) [all...] |
ToGrayValuesFilter.java | 23 import androidx.media.filterfw.FrameType; 58 private FrameType mImageInType; 66 mImageInType = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_GPU); 67 FrameType imageOut = FrameType.buffer2D(FrameType.ELEMENT_INT8);
|
ToStringFilter.java | 20 import androidx.media.filterfw.FrameType; 35 .addInputPort("object", Signature.PORT_REQUIRED, FrameType.single()) 36 .addOutputPort("string", Signature.PORT_REQUIRED, FrameType.single(String.class))
|
ColorfulnessFilter.java | 26 import androidx.media.filterfw.FrameType; 47 FrameType dataIn = FrameType.buffer2D(FrameType.ELEMENT_FLOAT32); 50 .addOutputPort("score", Signature.PORT_REQUIRED, FrameType.single(float.class))
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
IfElseFilter.java | 23 import androidx.media.filterfw.FrameType; 41 FrameType imageIn = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_GPU); 42 FrameType videoIn = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_GPU); 43 FrameType imageOut = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.WRITE_GPU) [all...] |
AvgBrightnessFilter.java | 23 import androidx.media.filterfw.FrameType; 42 FrameType imageIn = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_CPU); 43 FrameType floatT = FrameType.single(float.class);
|
ContrastRatioFilter.java | 23 import androidx.media.filterfw.FrameType; 42 FrameType imageIn = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_CPU); 43 FrameType floatT = FrameType.single(float.class);
|
FloatArrayToSizeFilter.java | 22 import androidx.media.filterfw.FrameType; 44 FrameType intT = FrameType.single(int.class); 45 FrameType floatType = FrameType.array(float.class);
|
ExposureFilter.java | 23 import androidx.media.filterfw.FrameType; 33 private FrameType mImageType; 44 FrameType imageIn = FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_GPU); 45 FrameType floatT = FrameType.single(float.class);
|
FloatArrayToStrFilter.java | 22 import androidx.media.filterfw.FrameType; 46 FrameType floatType = FrameType.array(float.class); 50 .addOutputPort("string", Signature.PORT_REQUIRED, FrameType.single(String.class))
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
ImageGoodnessFilterTest.java | 20 import androidx.media.filterfw.FrameType; 41 FrameValue sharpnessFrame = createFrame(FrameType.single(), new int[] { 1 }). 44 FrameValue oEFrame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); 46 FrameValue uEFrame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); 48 FrameValue colorFrame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); 50 FrameValue contrastFrame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); 52 FrameValue motionFrame = createFrame(FrameType.array(), new int[] { 1 }).asFrameValue(); 69 FrameValue sharpnessFrame = createFrame(FrameType.single(), new int[] { 1 }). 72 FrameValue oEFrame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); 74 FrameValue uEFrame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue() [all...] |
IfElseFilterTest.java | 27 import androidx.media.filterfw.FrameType; 52 createFrame(FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_CPU), 55 createFrame(FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_CPU), 68 FrameValue conditionFrame = createFrame(FrameType.single(boolean.class), new int[] {1}). 83 createFrame(FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_CPU) [all...] |
AvgBrightnessFilterTest.java | 27 import androidx.media.filterfw.FrameType; 44 createFrame(FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_CPU),
|
ContrastRatioFilterTest.java | 21 import androidx.media.filterfw.FrameType; 52 createFrame(FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_CPU),
|
ExposureFilterTest.java | 26 import androidx.media.filterfw.FrameType; 49 createFrame(FrameType.image2D(FrameType.ELEMENT_RGBA8888, FrameType.READ_CPU),
|
AverageFilterTest.java | 19 import androidx.media.filterfw.FrameType; 33 FrameValue frame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue(); 44 FrameValue frame = createFrame(FrameType.single(), new int[] { 1 }).asFrameValue();
|