Home
last modified time | relevance | path

Searched refs:inputInfo (Results 1 – 6 of 6) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DScriptYuvMeans2dTo1d.java41 private static AllocationInfo createOutputInfo(AllocationInfo inputInfo) { in createOutputInfo() argument
42 checkNotNull("inputInfo", inputInfo); in createOutputInfo()
44 return AllocationInfo.newInstance(inputInfo.getElement(), in createOutputInfo()
45 new Size(inputInfo.getSize().getHeight(), /*height*/1)); in createOutputInfo()
48 public ScriptYuvMeans2dTo1d(AllocationInfo inputInfo) { in ScriptYuvMeans2dTo1d() argument
49 super(inputInfo, in ScriptYuvMeans2dTo1d()
50 createOutputInfo(inputInfo), in ScriptYuvMeans2dTo1d()
54 if (!inputInfo.isElementEqualTo(ElementInfo.YUV) && in ScriptYuvMeans2dTo1d()
55 !inputInfo.isElementEqualTo(ElementInfo.U8_3)) { in ScriptYuvMeans2dTo1d()
57 + inputInfo.getElement()); in ScriptYuvMeans2dTo1d()
DScriptYuvMeans1d.java38 private static AllocationInfo createOutputInfo(AllocationInfo inputInfo) { in createOutputInfo() argument
39 checkNotNull("inputInfo", inputInfo); in createOutputInfo()
44 public ScriptYuvMeans1d(AllocationInfo inputInfo) { in ScriptYuvMeans1d() argument
45 super(inputInfo, in ScriptYuvMeans1d()
46 createOutputInfo(inputInfo), in ScriptYuvMeans1d()
50 if (!inputInfo.isElementEqualTo(ElementInfo.U8_3)) { in ScriptYuvMeans1d()
52 + inputInfo.getElement()); in ScriptYuvMeans1d()
DScriptYuvCrop.java53 private static AllocationInfo createOutputInfo(AllocationInfo inputInfo, in createOutputInfo() argument
55 checkNotNull("inputInfo", inputInfo); in createOutputInfo()
62 Size inputSize = inputInfo.getSize(); in createOutputInfo()
77 public ScriptYuvCrop(AllocationInfo inputInfo, in ScriptYuvCrop() argument
79 super(inputInfo, in ScriptYuvCrop()
80 createOutputInfo(inputInfo, parameterMap), in ScriptYuvCrop()
84 if (!inputInfo.isElementEqualTo(ElementInfo.YUV)) { in ScriptYuvCrop()
86 + inputInfo.getElement()); in ScriptYuvCrop()
DScriptYuvToRgb.java40 public ScriptYuvToRgb(AllocationInfo inputInfo) { in ScriptYuvToRgb() argument
41 super(inputInfo, in ScriptYuvToRgb()
42 createOutputInfo(inputInfo), in ScriptYuvToRgb()
47 if (!inputInfo.isElementEqualTo(ElementInfo.YUV)) { in ScriptYuvToRgb()
49 + inputInfo.getElement()); in ScriptYuvToRgb()
DScriptGraph.java472 AllocationInfo inputInfo = AllocationInfo.newInstance(mSize, mFormat, mUsage); in ScriptGraph() local
477 mInputBlocker = inputInfo.createBlockingInputAllocation(); in ScriptGraph()
481 inputAllocation = inputInfo.createAllocation(); in ScriptGraph()
496 Script<?> script = instantiateScript(scriptClass, inputInfo, parameters); in ScriptGraph()
500 inputInfo = script.getOutputInfo(); in ScriptGraph()
523 inputInfo = inputScript.getInputInfo(); in ScriptGraph()
524 inputAllocation = inputInfo.createAllocation(); in ScriptGraph()
563 Class<T> scriptClass, AllocationInfo inputInfo, ParameterMap<T> parameterMap) { in instantiateScript() argument
582 return ctor.newInstance(inputInfo); in instantiateScript()
584 return ctor.newInstance(inputInfo, parameterMap); in instantiateScript()
DScript.java259 protected Script(AllocationInfo inputInfo, AllocationInfo outputInfo, T rsScript) { in Script() argument
260 checkNotNull("inputInfo", inputInfo); in Script()
264 mInputInfo = inputInfo; in Script()
270 getName(), inputInfo, outputInfo, rsScript)); in Script()