Searched refs:outputHeight (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskConvertImageToRGBPreview.java | 239 int outputHeight = inputHeight / subsample; in colorInscribedDataCircleFromYuvImage() local 241 int h = outputHeight; in colorInscribedDataCircleFromYuvImage() 552 int outputHeight = inputHeight / subsample; in colorSubSampleFromYuvImage() local 578 int r = inscribedCircleRadius(outputWidth, outputHeight); in colorSubSampleFromYuvImage() 582 if (outputWidth > outputHeight) { in colorSubSampleFromYuvImage() 587 inscribedYMax = outputHeight; in colorSubSampleFromYuvImage() 592 inscribedYMin = quantizeBy2(outputHeight / 2 - r); in colorSubSampleFromYuvImage() 593 inscribedYMax = quantizeBy2(outputHeight / 2 + r); in colorSubSampleFromYuvImage() 597 len = outputWidth * outputHeight; in colorSubSampleFromYuvImage() 601 inscribedYMax = quantizeBy2(outputHeight); in colorSubSampleFromYuvImage() [all …]
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | TransposeConv2D.cpp | 77 int32_t outputHeight = useNchw ? outputShapeData[2] : outputShapeData[1]; in initialize() local 80 calculateExplicitPaddingTransposeConv(outputHeight, strideHeight, filterHeight, in initialize() 112 uint32_t outputHeight = getSizeOfDimension(outputShape, 1); \ 148 if (hOutput >= 0 && hOutput < static_cast<int32_t>(outputHeight) && in transposeConvNhwc() 163 outputBase += outputHeight * outputWidth * outputDepth; in transposeConvNhwc() 166 const uint32_t outerSize = numBatches * outputHeight * outputWidth; in transposeConvNhwc() 234 if (hOutput >= 0 && hOutput < static_cast<int32_t>(outputHeight) && in transposeConvNhwc() 254 outputBase += outputHeight * outputWidth * outputDepth; in transposeConvNhwc() 257 const uint32_t outerSize = numBatches * outputHeight * outputWidth; in transposeConvNhwc() 376 if (hOutput >= 0 && hOutput < static_cast<int32_t>(outputHeight) && in transposeConvQuant8PerChannelNhwc() [all …]
|
D | Reshape.cpp | 123 const int outputHeight = extOutputShape.Dims(1); in padGeneric() local 133 outputData, padValue, leftBPadding * outputHeight * outputWidth * outputDepth); in padGeneric() 141 for (int outH = leftHPadding; outH < outputHeight - rightHPadding; ++outH) { in padGeneric() 177 outputData + tflite::Offset(extOutputShape, outB, outputHeight - rightHPadding, in padGeneric() 185 padValue, rightBPadding * outputHeight * outputWidth * outputDepth); in padGeneric()
|
D | RoiPooling.cpp | 194 auto outputHeight = context->getInputValue<int32_t>(kOutputHeightScalar); in prepare() local 204 NN_RET_CHECK_GT(outputHeight, 0); in prepare() 216 output.dimensions = {numRois, inDepth, static_cast<uint32_t>(outputHeight), in prepare() 219 output.dimensions = {numRois, static_cast<uint32_t>(outputHeight), in prepare()
|
D | GroupedConv2D.cpp | 45 uint32_t outputHeight = getSizeOfDimension(outputShape, 1); \ 65 for (uint32_t h = 0; h < outputHeight; h++) { in groupedConvFloat32() 137 for (uint32_t h = 0; h < outputHeight; h++) { in groupedConvQuant8() 242 for (uint32_t h = 0; h < outputHeight; h++) { in groupedConvQuant8PerChannel()
|
D | RoiAlign.cpp | 353 int32_t outputHeight = context->getInputValue<int32_t>(kOutputHeightScalar); in prepare() local 365 NN_RET_CHECK_GT(outputHeight, 0); in prepare() 381 output.dimensions = {numRois, inDepth, static_cast<uint32_t>(outputHeight), in prepare() 384 output.dimensions = {numRois, static_cast<uint32_t>(outputHeight), in prepare()
|
D | Conv2D.cpp | 366 uint32_t outputHeight = getSizeOfDimension(outputShape, 1); in convQuant8PerChannelNhwc() local 395 for (uint32_t h = 0; h < outputHeight; h++) { in convQuant8PerChannelNhwc() 459 [[maybe_unused]] uint32_t outputHeight = getSizeOfDimension(outputShape, 1); in convQuant8PerChannelNhwc() local
|
D | DepthwiseConv2D.cpp | 292 uint32_t outputHeight = getSizeOfDimension(outputShape, 1); in depthwiseConvQuant8PerChannelNhwc() local 322 for (uint32_t h = 0; h < outputHeight; h++) { in depthwiseConvQuant8PerChannelNhwc()
|