Home
last modified time | relevance | path

Searched refs:outputWidth (Results 1 – 15 of 15) sorted by relevance

/frameworks/ml/nn/common/operations/
DReshape.cpp110 const int outputWidth = extOutputShape.Dims(2); in padGeneric() local
119 outputData, padValue, leftBPadding * outputHeight * outputWidth * outputDepth); in padGeneric()
125 leftHPadding * outputWidth * outputDepth); in padGeneric()
133 for (int outW = leftWPadding; outW < outputWidth - rightWPadding; ++outW) { in padGeneric()
157 outputWidth - rightWPadding, 0), in padGeneric()
165 padValue, rightHPadding * outputWidth * outputDepth); in padGeneric()
171 padValue, rightBPadding * outputHeight * outputWidth * outputDepth); in padGeneric()
DTransposeConv2D.cpp71 int32_t outputWidth = useNchw ? outputShapeData[3] : outputShapeData[2]; in initialize() local
73 calculateExplicitPaddingTransposeConv(outputWidth, strideWidth, filterWidth, in initialize()
108 uint32_t outputWidth = getSizeOfDimension(outputShape, 2); \
142 wOutput >= 0 && wOutput < static_cast<int32_t>(outputWidth)) { in transposeConvNhwc()
144 uint32_t outputIndex = hOutput * outputWidth * outputDepth + in transposeConvNhwc()
156 outputBase += outputHeight * outputWidth * outputDepth; in transposeConvNhwc()
159 const uint32_t outerSize = numBatches * outputHeight * outputWidth; in transposeConvNhwc()
228 wOutput >= 0 && wOutput < static_cast<int32_t>(outputWidth)) { in transposeConvNhwc()
232 uint32_t outputIndex = hOutput * outputWidth * outputDepth + in transposeConvNhwc()
247 outputBase += outputHeight * outputWidth * outputDepth; in transposeConvNhwc()
[all …]
DGroupedConv2D.cpp38 uint32_t outputWidth = getSizeOfDimension(outputShape, 2); \
58 for (uint32_t w = 0; w < outputWidth; w++) { in groupedConvFloat32()
129 for (uint32_t w = 0; w < outputWidth; w++) { in groupedConvQuant8()
215 for (uint32_t w = 0; w < outputWidth; w++) { in groupedConvQuant8PerChannel()
DRoiPooling.cpp219 auto outputWidth = context->getInputValue<int32_t>(kOutputWidthScalar); in prepare() local
229 NN_RET_CHECK_GT(outputWidth, 0); in prepare()
241 static_cast<uint32_t>(outputWidth)}; in prepare()
244 static_cast<uint32_t>(outputWidth), inDepth}; in prepare()
DRoiAlign.cpp389 int32_t outputWidth = context->getInputValue<int32_t>(kOutputWidthScalar); in prepare() local
401 NN_RET_CHECK_GT(outputWidth, 0); in prepare()
417 static_cast<uint32_t>(outputWidth)}; in prepare()
420 static_cast<uint32_t>(outputWidth), inDepth}; in prepare()
DDepthwiseConv2D.cpp169 uint32_t outputWidth = getSizeOfDimension(outputShape, 2); in depthwiseConvQuant8PerChannel() local
199 for (uint32_t w = 0; w < outputWidth; w++) { in depthwiseConvQuant8PerChannel()
DConv2D.cpp300 uint32_t outputWidth = getSizeOfDimension(outputShape, 2); in convQuant8PerChannelNhwc() local
329 for (uint32_t w = 0; w < outputWidth; w++) { in convQuant8PerChannelNhwc()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DGpuVideoTrackDecoder.java154 int outputWidth = mOutputWidth; in copyFrameDataTo() local
160 outputWidth = mOutputHeight; in copyFrameDataTo()
164 outputVideoFrame.resize(new int[] { outputWidth, outputHeight }); in copyFrameDataTo()
168 outputWidth, in copyFrameDataTo()
DCpuVideoTrackDecoder.java104 int outputWidth = mWidth; in copyFrameDataTo() local
107 outputWidth = mHeight; in copyFrameDataTo()
112 outputVideoFrame.resize(new int[] {outputWidth, outputHeight}); in copyFrameDataTo()
/frameworks/base/media/mca/effect/java/android/media/effect/
DSizeChangeEffect.java47 int outputWidth = resultFrame.getFormat().getWidth(); in apply() local
50 Frame outputFrame = frameFromTexture(outputTexId, outputWidth, outputHeight); in apply()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DImageStitcher.java116 float outputWidth = (float) Math.min(mSliceWidth, mImageWidth - outputOffsetX); in process() local
121 outputWidth / mInputWidth, in process()
126 outputWidth / mImageWidth, 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/jni/
Dandroid_media_ImageReader.cpp556 int outputWidth = getBufferWidth(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.java535 int outputWidth = 0; in getThumbnail() local
553 outputWidth = outThumbnail.getWidth(); in getThumbnail()
559 if ((outputWidth != goldenWidth) || (outputHeight != goldenHeight)) in getThumbnail()
/frameworks/av/media/codec2/tests/
DC2Param_test.cpp811 C2NumberConfig outputWidth(false, 123);