Searched refs:refArray (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RsPackColorTo8888Test.java | 79 byte[] refArray = new byte[INPUTSIZE * 4]; in float3input() 91 refArray[i] = cValue[0]; in float3input() 92 refArray[i + 1] = cValue[1]; in float3input() 93 refArray[i + 2] = cValue[2]; in float3input() 94 refArray[i + 3] = cValue[3]; in float3input() 96 assertEquals(refArray[i+j] & 0xff, outArray[i+j] & 0xff); in float3input() 109 byte[] refArray = new byte[INPUTSIZE * 4]; in float4input() 121 refArray[i] = cValue[0]; in float4input() 122 refArray[i + 1] = cValue[1]; in float4input() 123 refArray[i + 2] = cValue[2]; in float4input() [all …]
|
D | RsUnpackColor8888Test.java | 47 float[] refArray = new float[INPUTSIZE * 4]; in testRsUnpackColor8888RGB() local 62 refArray[i] = c.x; in testRsUnpackColor8888RGB() 63 refArray[i + 1] = c.y; in testRsUnpackColor8888RGB() 64 refArray[i + 2] = c.z; in testRsUnpackColor8888RGB() 65 refArray[i + 3] = c.w; in testRsUnpackColor8888RGB() 67 assertEquals(refArray[i+j], outArray[i+j]); in testRsUnpackColor8888RGB()
|
/cts/tests/tests/media/decoder/jni/ |
D | native-media-jni.cpp | 471 static bool arePtsListsIdentical(const std::vector<u_long>& refArray, in arePtsListsIdentical() argument 475 if (refArray.size() != testArray.size()) { in arePtsListsIdentical() 477 ALOGE("Expected pts list size is %zu", refArray.size()); in arePtsListsIdentical() 481 for (i = 0; i < refArray.size(); i++) { in arePtsListsIdentical() 482 if (refArray[i] != testArray[i]) { in arePtsListsIdentical() 489 for (i = 0; i < std::min(refArray.size(), testArray.size()); i++) { in arePtsListsIdentical() 490 ALOGE("Frame idx %3lu, expected pts %9luus, received pts %9luus", i, refArray[i], in arePtsListsIdentical() 493 if (refArray.size() < testArray.size()) { in arePtsListsIdentical() 494 for (i = refArray.size(); i < testArray.size(); i++) { in arePtsListsIdentical() 498 } else if (refArray.size() > testArray.size()) { in arePtsListsIdentical() [all …]
|
/cts/tests/media/jni/ |
D | NativeCodecTestBase.cpp | 59 static bool arePtsListsIdentical(const std::vector<int64_t>& refArray, in arePtsListsIdentical() argument 63 if (refArray.size() != testArray.size()) { in arePtsListsIdentical() 65 logs->append(StringFormat("reference pts list size is %zu \n", refArray.size())); in arePtsListsIdentical() 69 for (int i = 0; i < std::min(refArray.size(), testArray.size()); i++) { in arePtsListsIdentical() 70 if (refArray[i] != testArray[i]) { in arePtsListsIdentical() 72 refArray[i], testArray[i])); in arePtsListsIdentical() 76 if (refArray.size() < testArray.size()) { in arePtsListsIdentical() 77 for (auto i = refArray.size(); i < testArray.size(); i++) { in arePtsListsIdentical() 81 } else if (refArray.size() > testArray.size()) { in arePtsListsIdentical() 82 for (auto i = testArray.size(); i < refArray.size(); i++) { in arePtsListsIdentical() [all …]
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecDecoderTest.java | 295 int[] refArray = (int[]) refObject; in verify() local 300 refArray[j] = byte1 | (byte2 << 8) | (byte3 << 16); in verify()
|