Searched refs:minStride (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_AImageDecoderTest.cpp | 444 static bool bitmapsEqual(size_t minStride, int height, in bitmapsEqual() argument 450 if (memcmp(rowA, rowB, minStride) != 0) { in bitmapsEqual() 471 int width, int height, int alphaFlags, size_t minStride, in bitmapsEqual() argument 492 EXPECT_GE("Stride too small", jInfo.stride, minStride); in bitmapsEqual() 498 bool equal = bitmapsEqual(minStride, height, pixelsA, strideA, jPixels, jInfo.stride); in bitmapsEqual() 540 size_t minStride = AImageDecoder_getMinimumStride(decoder); in testDecode() local 542 size_t size = minStride * height; in testDecode() 549 result = AImageDecoder_decodeImage(decoder, nullptr, minStride, size); in testDecode() 553 result = AImageDecoder_decodeImage(decoder, pixels, minStride - 1, size); in testDecode() 556 result = AImageDecoder_decodeImage(decoder, pixels, minStride, size - minStride); in testDecode() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RSBaseCompute.java | 47 int minStride = refStride > outStride ? outStride : refStride; in checkArray() local 49 for (int j = 0; j < minStride; j++) { in checkArray() 63 int minStride = refStride > outStride ? outStride : refStride; in checkArray() local 65 for (int j = 0; j < minStride; j++) { in checkArray()
|