Searched refs:paddedSize (Results 1 – 18 of 18) sorted by relevance
/frameworks/rs/toolkit/ |
D | Histogram.cpp | 75 mSums(256 * paddedSize(vectorSize) * threadCount) { 102 int* sums = &mSums[256 * paddedSize(mVectorSize) * threadIndex]; in processData() 105 const uchar* inPtr = mIn + (mSizeX * y + startX) * paddedSize(mVectorSize); in processData() 145 for (uint32_t ct = 0; ct < (256 * paddedSize(mVectorSize)); ct++) { in collateSums() 148 out[ct] += mSums[ct + (256 * paddedSize(mVectorSize) * t)]; in collateSums() 199 const uchar* inPtr = mIn + (mSizeX * y + startX) * paddedSize(mVectorSize); in processData()
|
D | Convolve3x3.cpp | 211 const size_t stride = paddedSize(vectorSize) * sizeX; in convolveU4() 216 size_t offset = (y * sizeX + startX) * paddedSize(vectorSize); in convolveU4()
|
D | ColorMatrix.cpp | 216 mOutstep = paddedSize(outputVectorSize); 217 mInstep = paddedSize(inputVectorSize); 1031 uchar* in = ((uchar*)mIn) + offset * paddedSize(mInputVectorSize); 1032 uchar* out = ((uchar*)mOut) + offset * paddedSize(mVectorSize);
|
D | Utils.h | 148 inline size_t paddedSize(size_t size) { in paddedSize() function
|
D | Convolve5x5.cpp | 292 const size_t stride = paddedSize(vectorSize) * sizeX; in convolveU4() 300 size_t offset = (y * sizeX + startX) * paddedSize(vectorSize); in convolveU4()
|
D | Resize.cpp | 94 size_t offset = (mSizeX * y + startX) * paddedSize(mVectorSize); in processData() 354 const size_t stride = mInputSizeX * paddedSize(mVectorSize); in kernelU4()
|
/frameworks/rs/toolkit/test/ |
D | ReferenceColorMatrix.kt | 35 val outputArray = ByteArray(sizeX * sizeY * paddedSize(outputVectorSize)) in <lambda>() 42 …val outUByteValue = UByteArray(paddedSize(output.vectorSize)) { unitFloatClampedToUByte(outFloatVa… in <lambda>()
|
D | ReferenceHistogram.kt | 42 val counts = IntArray(paddedSize(input.vectorSize) * 256) in <lambda>() 46 counts[value[i].toInt() * paddedSize(input.vectorSize) + i]++ in <lambda>()
|
D | ReferenceConvolve.kt | 58 var sum = FloatArray(paddedSize(inputAlloc.vectorSize)) in convolveOne()
|
D | BufferUtils.kt | 168 return UByteArray(paddedSize(vectorSize)) { values[start + it] } in plus() 172 require(value.size == paddedSize(vectorSize)) { "Not the expected vector size" } in plus() 180 private fun indexOfVector(x: Int, y: Int) = ((y * sizeX) + x) * paddedSize(vectorSize) in plus() 228 private fun indexOfVector(x: Int, y: Int) = ((y * sizeX) + x) * paddedSize(vectorSize) in indexOfVector() 293 fun paddedSize(vectorSize: Int) = if (vectorSize == 3) 4 else vectorSize in indexOfVector() method
|
D | IntrinsicResize.kt | 53 val intrinsicOutArray = ByteArray(outSizeX * outSizeY * paddedSize(vectorSize)) in intrinsicResize()
|
D | IntrinsicConvolve.kt | 49 val intrinsicOutArray = ByteArray(sizeX * sizeY * paddedSize(vectorSize)) in intrinsicConvolve()
|
D | IntrinsicColorMatrix.kt | 67 val intrinsicOutArray = ByteArray(sizeX * sizeY * paddedSize(outputVectorSize)) in intrinsicColorMatrix()
|
D | AllTests.kt | 340 val inputArray = randomByteArray(0x50521f0, sizeX, sizeY, paddedSize(inputVectorSize)) in <lambda>() 473 val inputArray = randomByteArray(0x50521f0, sizeX, sizeY, paddedSize(vectorSize)) in <lambda>() 573 val inputArray = randomByteArray(0x50521f0, sizeX, sizeY, paddedSize(vectorSize)) in <lambda>() 637 val inputArray = randomByteArray(0x50521f0, sizeX, sizeY, paddedSize(vectorSize)) in <lambda>() 976 val inputArray = randomByteArray(0x50521f0, inSizeX, inSizeY, paddedSize(vectorSize)) in <lambda>()
|
D | ReferenceResize.kt | 38 val outArray = UByteArray(outSizeX * outSizeY * paddedSize(input.vectorSize)) in <lambda>()
|
D | IntrinsicHistogram.kt | 63 val intrinsicOutArray = IntArray(256 * paddedSize(vectorSize)) in intrinsicHistogram()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHostView.java | 404 SizeF paddedSize = new SizeF(Math.max(0.f, size.getWidth() - xPaddingDips), in updateAppWidgetSize() local 406 paddedSizes.add(paddedSize); in updateAppWidgetSize() 407 minWidth = Math.min(minWidth, paddedSize.getWidth()); in updateAppWidgetSize() 408 maxWidth = Math.max(maxWidth, paddedSize.getWidth()); in updateAppWidgetSize() 409 minHeight = Math.min(minHeight, paddedSize.getHeight()); in updateAppWidgetSize() 410 maxHeight = Math.max(maxHeight, paddedSize.getHeight()); in updateAppWidgetSize()
|
/frameworks/rs/toolkit/java/ |
D | Toolkit.kt | 368 val outputArray = ByteArray(sizeX * sizeY * paddedSize(outputVectorSize)) in colorMatrix() 582 val outputArray = IntArray(256 * paddedSize(vectorSize)) in histogram() 988 val outputArray = ByteArray(outputSizeX * outputSizeY * paddedSize(vectorSize)) in resize() 1566 internal fun paddedSize(vectorSize: Int) = if (vectorSize == 3) 4 else vectorSize method
|