Searched refs:inputWidth (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
D | BitmapUtil.java | 120 final int inputWidth = input.getWidth(); in getRoundedBitmap() local 126 Math.min((float) inputWidth / targetWidth, (float) inputHeight / targetHeight); in getRoundedBitmap() 133 inputWidth / 2 - xCropAmountHalved, in getRoundedBitmap() 135 inputWidth / 2 + xCropAmountHalved, in getRoundedBitmap()
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | GroupedConv2D.cpp | 40 uint32_t inputWidth = getSizeOfDimension(inputShape, 2); \ 82 wInput >= 0 && wInput < static_cast<int32_t>(inputWidth)) { in groupedConvFloat32() 85 uint32_t inputIndex = hInput * inputWidth * inputDepth + in groupedConvFloat32() 101 inputBase += inputHeight * inputWidth * inputDepth; in groupedConvFloat32() 154 wInput >= 0 && wInput < static_cast<int32_t>(inputWidth)) { in groupedConvQuant8() 157 uint32_t inputIndex = hInput * inputWidth * inputDepth + in groupedConvQuant8() 179 inputBase += inputHeight * inputWidth * inputDepth; in groupedConvQuant8() 259 wInput >= 0 && wInput < static_cast<int32_t>(inputWidth)) { in groupedConvQuant8PerChannel() 262 uint32_t inputIndex = hInput * inputWidth * inputDepth + in groupedConvQuant8PerChannel() 284 inputBase += inputHeight * inputWidth * inputDepth; in groupedConvQuant8PerChannel()
|
D | TransposeConv2D.cpp | 108 uint32_t inputWidth = getSizeOfDimension(inputShape, 2); \ 138 for (uint32_t w = 0; w < inputWidth; w++) { in transposeConvNhwc() 224 for (uint32_t w = 0; w < inputWidth; w++) { in transposeConvNhwc() 366 for (uint32_t w = 0; w < inputWidth; w++) { in transposeConvQuant8PerChannelNhwc()
|
D | Conv2D.cpp | 361 uint32_t inputWidth = getSizeOfDimension(inputShape, 2); in convQuant8PerChannelNhwc() local 413 wInput >= 0 && wInput < static_cast<int32_t>(inputWidth)) { in convQuant8PerChannelNhwc() 416 uint32_t inputIndex = hInput * inputWidth * inputDepth + in convQuant8PerChannelNhwc() 436 inputBase += inputHeight * inputWidth * inputDepth; in convQuant8PerChannelNhwc() 454 [[maybe_unused]] uint32_t inputWidth = getSizeOfDimension(inputShape, 2); in convQuant8PerChannelNhwc() local
|
D | DepthwiseConv2D.cpp | 287 uint32_t inputWidth = getSizeOfDimension(inputShape, 2); in depthwiseConvQuant8PerChannelNhwc() local 339 wInput >= 0 && wInput < static_cast<int32_t>(inputWidth)) { in depthwiseConvQuant8PerChannelNhwc() 342 uint32_t inputIndex = hInput * inputWidth * inputDepth + in depthwiseConvQuant8PerChannelNhwc() 362 inputBase += inputHeight * inputWidth * inputDepth; in depthwiseConvQuant8PerChannelNhwc()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | BitmapUtil.java | 144 final int inputWidth = input.getWidth(); in getRoundedBitmap() local 149 final float scaleBy = Math.min((float) inputWidth / targetWidth, in getRoundedBitmap() 156 inputWidth / 2 - xCropAmountHalved, in getRoundedBitmap() 158 inputWidth / 2 + xCropAmountHalved, in getRoundedBitmap()
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskConvertImageToRGBPreview.java | 236 int inputWidth = crop.width(); in colorInscribedDataCircleFromYuvImage() local 238 int outputWidth = inputWidth / subsample; in colorInscribedDataCircleFromYuvImage() 549 int inputWidth = crop.width(); in colorSubSampleFromYuvImage() local 551 int outputWidth = inputWidth / subsample; in colorSubSampleFromYuvImage()
|