Home
last modified time | relevance | path

Searched refs:minStride (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp450 static bool bitmapsEqual(size_t minStride, int height, in bitmapsEqual() argument
456 if (memcmp(rowA, rowB, minStride) != 0) { in bitmapsEqual()
477 int width, int height, int alphaFlags, size_t minStride, in bitmapsEqual() argument
498 EXPECT_GE("Stride too small", jInfo.stride, minStride); in bitmapsEqual()
504 bool equal = bitmapsEqual(minStride, height, pixelsA, strideA, jPixels, jInfo.stride); in bitmapsEqual()
546 size_t minStride = AImageDecoder_getMinimumStride(decoder); in testDecode() local
548 size_t size = minStride * height; in testDecode()
556 result = AImageDecoder_decodeImage(decoder, nullptr, minStride, size); in testDecode()
560 result = AImageDecoder_decodeImage(decoder, pixels, minStride - 1, size); in testDecode()
563 result = AImageDecoder_decodeImage(decoder, pixels, minStride, size - minStride); in testDecode()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DRSBaseCompute.java47 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()