Searched refs:AllocationInfo (Results 1 – 7 of 7) sorted by relevance
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | AllocationInfo.java | 40 public class AllocationInfo { class 62 public static AllocationInfo newInstance(Allocation allocation) { in newInstance() 65 return new AllocationInfo(allocation.getElement(), in newInstance() 89 public static AllocationInfo newInstance(Size size, int format, int usage) { in newInstance() 105 return new AllocationInfo(element, size, usage); in newInstance() 127 public static AllocationInfo newInstance(Size size, int format) { in newInstance() 145 public static AllocationInfo newInstance(Element element, Size size) { in newInstance() 146 return new AllocationInfo(element, size, Allocation.USAGE_SCRIPT); in newInstance() 164 public static AllocationInfo newInstance(Element element, Size size, int usage) { in newInstance() 165 return new AllocationInfo(element, size, usage); in newInstance() [all …]
|
D | ScriptYuvMeans1d.java | 23 import android.hardware.camera2.cts.rs.AllocationInfo.ElementInfo; 38 private static AllocationInfo createOutputInfo(AllocationInfo inputInfo) { in createOutputInfo() 41 return AllocationInfo.newInstance(Element.U8_3(getRS()), UNIT_SQUARE); in createOutputInfo() 44 public ScriptYuvMeans1d(AllocationInfo inputInfo) { in ScriptYuvMeans1d()
|
D | Script.java | 184 protected final AllocationInfo mInputInfo; 185 protected final AllocationInfo mOutputInfo; 200 public AllocationInfo getInputInfo() { in getInputInfo() 212 public AllocationInfo getOutputInfo() { in getOutputInfo() 228 checkEquals("allocation info", AllocationInfo.newInstance(allocation), in setInput() 252 checkEquals("allocation info", AllocationInfo.newInstance(allocation), in setOutput() 259 protected Script(AllocationInfo inputInfo, AllocationInfo outputInfo, T rsScript) { in Script()
|
D | ScriptYuvMeans2dTo1d.java | 25 import android.hardware.camera2.cts.rs.AllocationInfo.ElementInfo; 41 private static AllocationInfo createOutputInfo(AllocationInfo inputInfo) { in createOutputInfo() 44 return AllocationInfo.newInstance(inputInfo.getElement(), in createOutputInfo() 48 public ScriptYuvMeans2dTo1d(AllocationInfo inputInfo) { in ScriptYuvMeans2dTo1d()
|
D | ScriptYuvCrop.java | 25 import android.hardware.camera2.cts.rs.AllocationInfo.ElementInfo; 53 private static AllocationInfo createOutputInfo(AllocationInfo inputInfo, in createOutputInfo() 74 return AllocationInfo.newInstance(Element.U8_3(getRS()), outputSize); in createOutputInfo() 77 public ScriptYuvCrop(AllocationInfo inputInfo, in ScriptYuvCrop()
|
D | ScriptYuvToRgb.java | 22 import android.hardware.camera2.cts.rs.AllocationInfo.ElementInfo; 35 private static AllocationInfo createOutputInfo(AllocationInfo outputInfo) { in createOutputInfo() 40 public ScriptYuvToRgb(AllocationInfo inputInfo) { in ScriptYuvToRgb()
|
D | ScriptGraph.java | 472 AllocationInfo inputInfo = AllocationInfo.newInstance(mSize, mFormat, mUsage); in ScriptGraph() 563 Class<T> scriptClass, AllocationInfo inputInfo, ParameterMap<T> parameterMap) { in instantiateScript() 570 ctor = scriptClass.getConstructor(AllocationInfo.class); in instantiateScript() 573 ctor = scriptClass.getConstructor(AllocationInfo.class, ParameterMap.class); in instantiateScript()
|