Home
last modified time | relevance | path

Searched refs:outputHeight (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DGpuVideoTrackDecoder.java155 int outputHeight = mOutputHeight; in copyFrameDataTo() local
161 outputHeight = mOutputWidth; in copyFrameDataTo()
164 outputVideoFrame.resize(new int[] { outputWidth, outputHeight }); in copyFrameDataTo()
169 outputHeight); in copyFrameDataTo()
DCpuVideoTrackDecoder.java105 int outputHeight = mHeight; in copyFrameDataTo() local
108 outputHeight = mWidth; in copyFrameDataTo()
112 outputVideoFrame.resize(new int[] {outputWidth, outputHeight}); in copyFrameDataTo()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DImageStitcher.java117 float outputHeight = (float) Math.min(mSliceHeight, mImageHeight - outputOffsetY); in process() local
122 outputHeight / mInputHeight); in process()
127 outputHeight / mImageHeight); in process()
DToPackedGrayFilter.java75 private void checkOutputDimensions(int outputWidth, int outputHeight) { in checkOutputDimensions() argument
76 if (outputWidth <= 0 || outputHeight <= 0) { in checkOutputDimensions()
78 outputWidth + " " + outputHeight); in checkOutputDimensions()
/frameworks/base/media/mca/effect/java/android/media/effect/
DSizeChangeEffect.java48 int outputHeight = resultFrame.getFormat().getHeight(); in apply() local
50 Frame outputFrame = frameFromTexture(outputTexId, outputWidth, outputHeight); in apply()
/frameworks/ml/nn/common/operations/
DTransposeConv2D.cpp82 int32_t outputHeight = useNchw ? outputShapeData[2] : outputShapeData[1]; in initialize() local
85 calculateExplicitPaddingTransposeConv(outputHeight, strideHeight, filterHeight, in initialize()
117 uint32_t outputHeight = getSizeOfDimension(outputShape, 1); \
151 if (hOutput >= 0 && hOutput < static_cast<int32_t>(outputHeight) && in transposeConvNhwc()
166 outputBase += outputHeight * outputWidth * outputDepth; in transposeConvNhwc()
169 const uint32_t outerSize = numBatches * outputHeight * outputWidth; in transposeConvNhwc()
237 if (hOutput >= 0 && hOutput < static_cast<int32_t>(outputHeight) && in transposeConvNhwc()
257 outputBase += outputHeight * outputWidth * outputDepth; in transposeConvNhwc()
260 const uint32_t outerSize = numBatches * outputHeight * outputWidth; in transposeConvNhwc()
379 if (hOutput >= 0 && hOutput < static_cast<int32_t>(outputHeight) && in transposeConvQuant8PerChannelNhwc()
[all …]
DReshape.cpp117 const int outputHeight = extOutputShape.Dims(1); in padGeneric() local
127 outputData, padValue, leftBPadding * outputHeight * outputWidth * outputDepth); in padGeneric()
135 for (int outH = leftHPadding; outH < outputHeight - rightHPadding; ++outH) { in padGeneric()
171 outputData + tflite::Offset(extOutputShape, outB, outputHeight - rightHPadding, in padGeneric()
179 padValue, rightBPadding * outputHeight * outputWidth * outputDepth); in padGeneric()
DRoiPooling.cpp245 auto outputHeight = context->getInputValue<int32_t>(kOutputHeightScalar); in prepare() local
255 NN_RET_CHECK_GT(outputHeight, 0); in prepare()
267 output.dimensions = {numRois, inDepth, static_cast<uint32_t>(outputHeight), in prepare()
270 output.dimensions = {numRois, static_cast<uint32_t>(outputHeight), in prepare()
DGroupedConv2D.cpp41 uint32_t outputHeight = getSizeOfDimension(outputShape, 1); \
61 for (uint32_t h = 0; h < outputHeight; h++) { in groupedConvFloat32()
133 for (uint32_t h = 0; h < outputHeight; h++) { in groupedConvQuant8()
237 for (uint32_t h = 0; h < outputHeight; h++) { in groupedConvQuant8PerChannel()
DRoiAlign.cpp405 int32_t outputHeight = context->getInputValue<int32_t>(kOutputHeightScalar); in prepare() local
417 NN_RET_CHECK_GT(outputHeight, 0); in prepare()
433 output.dimensions = {numRois, inDepth, static_cast<uint32_t>(outputHeight), in prepare()
436 output.dimensions = {numRois, static_cast<uint32_t>(outputHeight), in prepare()
DConv2D.cpp368 uint32_t outputHeight = getSizeOfDimension(outputShape, 1); in convQuant8PerChannelNhwc() local
397 for (uint32_t h = 0; h < outputHeight; h++) { in convQuant8PerChannelNhwc()
461 uint32_t outputHeight = getSizeOfDimension(outputShape, 1); in convQuant8PerChannelNhwc() local
DDepthwiseConv2D.cpp294 uint32_t outputHeight = getSizeOfDimension(outputShape, 1); in depthwiseConvQuant8PerChannelNhwc() local
324 for (uint32_t h = 0; h < outputHeight; h++) { in depthwiseConvQuant8PerChannelNhwc()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp557 int outputHeight = getBufferHeight(buffer); in ImageReader_imageSetup() local
564 (imageReaderWidth != outputWidth || imageReaderHeight != outputHeight)) { in ImageReader_imageSetup()
566 __FUNCTION__, outputWidth, outputHeight, imageReaderWidth, imageReaderHeight); in ImageReader_imageSetup()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java536 int outputHeight = 0; in getThumbnail() local
554 outputHeight = outThumbnail.getHeight(); in getThumbnail()
559 if ((outputWidth != goldenWidth) || (outputHeight != goldenHeight)) in getThumbnail()