Home
last modified time | relevance | path

Searched refs:inputVectorSize (Results 1 – 6 of 6) sorted by relevance

/frameworks/rs/toolkit/test/
DReferenceColorMatrix.kt26 inputVectorSize: Int, in <lambda>()
34 val input = Vector2dArray(inputArray.asUByteArray(), inputVectorSize, sizeX, sizeY) in <lambda>()
40 …val inFloatValue = FloatArray(4) { if (it >= inputVectorSize) 0f else byteToUnitFloat(inUByteValue… in <lambda>()
DIntrinsicColorMatrix.kt36 inputVectorSize: Int, in intrinsicColorMatrix()
48 inputVectorSize in intrinsicColorMatrix()
DAllTests.kt313 (1..4).all { inputVectorSize -> in <lambda>() method
317 inputVectorSize, in <lambda>()
333 inputVectorSize: Int, in <lambda>()
340 val inputArray = randomByteArray(0x50521f0, sizeX, sizeY, paddedSize(inputVectorSize)) in <lambda>()
354 inputVectorSize, in <lambda>()
366 inputVectorSize, in <lambda>()
379 inputArray, inputVectorSize, sizeX, sizeY, outputVectorSize, matrix, addVector, in <lambda>()
386 println("colorMatrix ($sizeX, $sizeY) $inputVectorSize->$outputVectorSize $restriction") in <lambda>()
/frameworks/rs/toolkit/
DColorMatrix.cpp204 ColorMatrixTask(const void* in, void* out, size_t inputVectorSize, size_t outputVectorSize, in ColorMatrixTask() argument
210 mInputVectorSize{inputVectorSize} {
217 mInstep = paddedSize(inputVectorSize);
223 preLaunch(inputVectorSize, RS_TYPE_UNSIGNED_8, outputVectorSize, RS_TYPE_UNSIGNED_8);
225 preLaunch(inputVectorSize, outputVectorSize);
1039 void RenderScriptToolkit::colorMatrix(const void* in, void* out, size_t inputVectorSize, argument
1047 if (inputVectorSize < 1 || inputVectorSize > 4) {
1048 ALOGE("The inputVectorSize should be between 1 and 4. %zu provided.", inputVectorSize);
1060 ColorMatrixTask task(in, out, inputVectorSize, outputVectorSize, sizeX, sizeY, matrix,
DRenderScriptToolkit.h315 void colorMatrix(const void* _Nonnull in, void* _Nonnull out, size_t inputVectorSize,
/frameworks/rs/toolkit/java/
DToolkit.kt339 inputVectorSize: Int, in colorMatrix()
347 require(inputVectorSize in 1..4) { in colorMatrix()
349 "$inputVectorSize provided." in colorMatrix()
355 require(inputArray.size >= sizeX * sizeY * inputVectorSize) { in colorMatrix()
357 "$sizeX*$sizeY*$inputVectorSize < ${inputArray.size}." in colorMatrix()
370 nativeHandle, inputArray, inputVectorSize, sizeX, sizeY, outputArray, outputVectorSize, in colorMatrix()
1154 inputVectorSize: Int, in createNative()