Searched refs:outDims (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CropFilter.java | 94 int[] outDims = { getOutputWidth(croppedDims[0], croppedDims[1]), in onProcess() local 96 FrameImage2D outputImage = outPort.fetchAvailableFrame(outDims).asFrameImage2D(); in onProcess() 101 boolean scaleDown = (outDims[0] < croppedDims[0]) || (outDims[1] < croppedDims[1]); in onProcess() 129 transform.postScale(outDims[0] / (float)inDims[0], outDims[1] / (float)inDims[1]); in onProcess() 133 Bitmap cropped = Bitmap.createBitmap(outDims[0], outDims[1], config); in onProcess()
|
D | NewChromaHistogramFilter.java | 92 int[] outDims = new int[] {mHueBins, mSaturationBins + 1}; in onProcess() local 93 FrameBuffer2D histogramFrame = outPort.fetchAvailableFrame(outDims).asFrameBuffer2D(); in onProcess()
|
/frameworks/ml/nn/common/operations/ |
D | Squeeze.cpp | 112 std::vector<uint32_t> outDims(numInputDims - numDimsSqueezed); in prepare() local 115 outDims.push_back(1); in prepare() 119 outDims[outIdx++] = getSizeOfDimension(inputShape, inIdx); in prepare() 124 outputShape.dimensions = outDims; in prepare()
|
D | StridedSlice.cpp | 169 std::vector<uint32_t> outDims; in prepare() local 186 outDims.push_back(outDim); in prepare() 195 if (outDims.empty()) { in prepare() 196 outDims.push_back(1); in prepare() 201 outputShape.dimensions = outDims; in prepare()
|
D | Transpose.cpp | 126 std::vector<uint32_t> outDims(numInputDims); in prepare() local 129 outDims[idx] = getSizeOfDimension(input, permData[idx]); in prepare() 131 output.dimensions = outDims; in prepare()
|
/frameworks/ml/nn/common/ |
D | OperationsUtils.cpp | 393 std::vector<uint32_t> outDims(targetDimsSize); in reshapePrepare() local 403 outDims[i] = (uint32_t)value; in reshapePrepare() 408 outDims[strechDim] = (uint32_t)strechValue; in reshapePrepare() 415 output->dimensions = outDims; in reshapePrepare() 513 std::vector<uint32_t> outDims(numInputDims); in padPrepare() local 519 outDims[i] = beforePadding + getSizeOfDimension(input, i) + afterPadding; in padPrepare() 522 output->dimensions = outDims; in padPrepare() 605 std::vector<uint32_t> outDims(numInputDims); in meanPrepare() local 615 outDims[idx] = 1; in meanPrepare() 617 outDims[idx] = getSizeOfDimension(input, idx); in meanPrepare() [all …]
|