Home
last modified time | relevance | path

Searched refs:outHeight (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DResize.cpp32 RandomVariable outHeight, outWidth; in resizeOpConstructor() local
37 outHeight = op->inputs[2]->value<RandomVariable>(); in resizeOpConstructor()
42 outHeight = op->inputs[0]->dimensions[heightIndex] * op->inputs[2]->value<float>(); in resizeOpConstructor()
47 outHeight = op->inputs[0]->dimensions[heightIndex] * in resizeOpConstructor()
56 outHeight, outWidth}; in resizeOpConstructor()
58 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outHeight, outWidth, in resizeOpConstructor()
DReshape.cpp38 auto outHeight = op->inputs[0]->dimensions[heightIndex].exactDiv(blockSize); in spaceToDepthConstructor() local
43 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outDepth, outHeight, outWidth}; in spaceToDepthConstructor()
45 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outHeight, outWidth, outDepth}; in spaceToDepthConstructor()
93 auto outHeight = op->inputs[0]->dimensions[heightIndex] * blockSize; in depthToSpaceConstructor() local
98 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outDepth, outHeight, outWidth}; in depthToSpaceConstructor()
100 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outHeight, outWidth, outDepth}; in depthToSpaceConstructor()
182 auto outHeight = op->inputs[0]->dimensions[heightIndex] * blockHeight; in batchToSpaceConstructor() local
186 op->outputs[0]->dimensions = {outBatch, op->inputs[0]->dimensions[1], outHeight, outWidth}; in batchToSpaceConstructor()
188 op->outputs[0]->dimensions = {outBatch, outHeight, outWidth, op->inputs[0]->dimensions[3]}; in batchToSpaceConstructor()
248 auto outHeight = paddedHeight.exactDiv(blockHeight); in spaceToBatchConstructor() local
[all …]
DBoundingBox.cpp55 auto outHeight = op->inputs[3]->value<RandomVariable>(); in roiConstructor() local
58 op->outputs[0]->dimensions = {outBatch, outDepth, outHeight, outWidth}; in roiConstructor()
60 op->outputs[0]->dimensions = {outBatch, outHeight, outWidth, outDepth}; in roiConstructor()
/frameworks/base/core/java/com/android/internal/widget/
DLocalImageResolver.java42 if ((onlyBoundsOptions.outWidth == -1) || (onlyBoundsOptions.outHeight == -1)) { in resolveImage()
47 (onlyBoundsOptions.outHeight > onlyBoundsOptions.outWidth) in resolveImage()
48 ? onlyBoundsOptions.outHeight in resolveImage()
74 onlyBoundsOptions.outHeight = -1; in getBoundsOptionsForImage()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java426 final int outHeight = (int) Math.round(cropRect.height() * cropScale); in cropImageAndSetWallpaper()
437 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop); in cropImageAndSetWallpaper()
467 RectF cropBounds, int rotation, int outWidth, int outHeight,
472 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
476 RectF cropBounds, int rotation, int outWidth, int outHeight,
480 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
484 RectF cropBounds, int rotation, int outWidth, int outHeight,
489 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
493 RectF cropBounds, int rotation, int outWidth, int outHeight,
499 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
[all …]
/frameworks/base/core/java/android/app/
DWallpaperManager.java651 public Drawable getBuiltInDrawable(int outWidth, int outHeight, in getBuiltInDrawable() argument
653 return getBuiltInDrawable(outWidth, outHeight, scaleToFit, in getBuiltInDrawable()
673 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument
696 if (outWidth <= 0 || outHeight <= 0) { in getBuiltInDrawable()
707 if (options.outWidth != 0 && options.outHeight != 0) { in getBuiltInDrawable()
709 inHeight = options.outHeight; in getBuiltInDrawable()
723 outHeight = Math.min(inHeight, outHeight); in getBuiltInDrawable()
725 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, in getBuiltInDrawable()
730 float top = (inHeight - outHeight) * verticalAlignment; in getBuiltInDrawable()
731 float bottom = top + outHeight; in getBuiltInDrawable()
[all …]
DDisabledWallpaperManager.java93 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument
99 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument
/frameworks/ml/nn/common/operations/
DResizeImageOps.cpp72 const int outHeight = getSizeOfDimension(outputShape, 1); in resizeNearestNeighbor() local
75 const float heightScale = calculateResizeScale(inHeight, outHeight, alignCorners); in resizeNearestNeighbor()
82 for (int y = 0; y < outHeight; ++y) { in resizeNearestNeighbor()
99 outputData + b * outHeight * outWidth * channels + in resizeNearestNeighbor()
DRoiAlign.cpp72 uint32_t outHeight = getSizeOfDimension(outputShape, 1); in roiAlignNhwc() local
107 T_Roi hStepSize = roiHeight / static_cast<T_Roi>(outHeight); in roiAlignNhwc()
120 for (uint32_t i = 0; i < outHeight; i++) { in roiAlignNhwc()
199 uint32_t outHeight = getSizeOfDimension(outputShape, 1); in roiAlignQuantNhwc() local
230 float hStepSize = roiHeight / static_cast<float>(outHeight); in roiAlignQuantNhwc()
249 for (uint32_t i = 0; i < outHeight; i++) { in roiAlignQuantNhwc()
DRoiPooling.cpp68 uint32_t outHeight = getSizeOfDimension(outputShape, 1); in roiPoolingNhwc() local
104 T_Roi hStepSize = roiHeight / static_cast<T_Roi>(outHeight); in roiPoolingNhwc()
107 for (uint32_t i = 0; i < outHeight; i++) { in roiPoolingNhwc()
DPooling.cpp374 uint32_t outHeight = computeOutSize(height, param.filter_height, param.stride_height, in prepare() local
379 output.dimensions = {batches, channels, outHeight, outWidth}; in prepare()
381 output.dimensions = {batches, outHeight, outWidth, channels}; in prepare()
DTransposeConv2D.cpp526 uint32_t outHeight = computeOutSizeTransposeConv(height, filterHeight, param.strideHeight, in prepare() local
529 NN_RET_CHECK_GT(outHeight, 0); in prepare()
534 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare()
536 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
DDepthwiseConv2D.cpp125 uint32_t outHeight = getSizeOfDimension(outputShape, 1); \
553 uint32_t outHeight = in prepare() local
563 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare()
565 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
DConv2D.cpp137 uint32_t outHeight = getSizeOfDimension(outputShape, 1); \
653 uint32_t outHeight = in prepare() local
660 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare()
662 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp298 uint32_t outWidth, outHeight; in setDisplayProjection() local
309 outHeight = (uint32_t)(videoWidth * displayAspect); in setDisplayProjection()
312 outHeight = videoHeight; in setDisplayProjection()
317 offY = (videoHeight - outHeight) / 2; in setDisplayProjection()
318 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); in setDisplayProjection()
323 outHeight, outWidth, offY, offX); in setDisplayProjection()
327 outWidth, outHeight, offX, offY); in setDisplayProjection()
/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java227 srcH = mOpts.outHeight; in decode()
229 srcW = mOpts.outHeight; in decode()
413 result.setLogicalHeight(mOpts.outHeight); in decode()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DUtils.java99 final int height = options.outHeight; in calculateInSampleSize()
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp204 status_t GraphicBufferMapper::getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight) { in getHeight() argument
205 return mMapper->getHeight(bufferHandle, outHeight); in getHeight()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java202 return new Point(opts.outWidth, opts.outHeight); in getImageBounds()
/frameworks/native/libs/gralloc/types/
DGralloc4.cpp968 status_t encodeHeight(uint64_t height, hidl_vec<uint8_t>* outHeight) { in encodeHeight() argument
969 return encodeMetadata(MetadataType_Height, height, outHeight, encodeInteger); in encodeHeight()
972 status_t decodeHeight(const hidl_vec<uint8_t>& height, uint64_t* outHeight) { in decodeHeight() argument
973 return decodeMetadata(MetadataType_Height, height, outHeight, decodeInteger); in decodeHeight()
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBufferMapper.h100 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight);
/frameworks/native/libs/ui/include/ui/
DGraphicBufferMapper.h100 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight);
DGralloc4.h73 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight) const override;
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h296 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java378 public int outHeight; field in BitmapFactory.Options

12