Home
last modified time | relevance | path

Searched refs:decoded (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DDecoderTestAacDrc.java402 short [] decoded = new short[0]; in decodeToMemory() local
510 if (decodedIdx + (info.size / 2) >= decoded.length) { in decodeToMemory()
511 decoded = Arrays.copyOf(decoded, decodedIdx + (info.size / 2)); in decodeToMemory()
516 decoded[decodedIdx++] = buf.getShort(); in decodeToMemory()
544 return decoded; in decodeToMemory()
DDecoderTestXheAac.java825 short [] decoded = new short[0];
942 if (decodedIdx + (info.size / 2) >= decoded.length) {
943 decoded = Arrays.copyOf(decoded, decodedIdx + (info.size / 2));
948 decoded[decodedIdx++] = buf.getShort();
977 return decoded;
DDecoderTest.java1440 short[] decoded = decodeToMemory(decParams, testinput, RESET_MODE_NONE, CONFIG_MODE_NONE,
1442 double rmse = getRmsError(decoded);
1484 short[] decoded = decodeToMemory(testinput, RESET_MODE_NONE, CONFIG_MODE_NONE, -1, null);
1486 assertEquals("wrong data size", mMasterBuffer.length, decoded.length);
1488 double rmse = getRmsError(decoded);
1509 decoded.length, decoded2.length);
1510 for (int i = 0; i < decoded.length; i++) {
1511 assertEquals("samples don't match" + params, decoded[i], decoded2[i]);
1580 short [] decoded = new short[0];
1726 if (decodedIdx + (info.size / 2) >= decoded.length) {
[all …]
/cts/tests/tests/graphics/assets/fonts/security/
Dft45987.ttf.README.txt4 decoded back.
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1165 YUVValue decoded = new YUVValue(); in runDecoder() local
1229 getPixelValuesFromOutputBuffer(buf, w, h, decoded); in runDecoder()
1235 + decoded.mY + "," + decoded.mU + "," + decoded.mV); in runDecoder()
1237 totalErrorSquared += expected.calcErrorSquared(decoded); in runDecoder()
1247 getPixelValuesFromImage(image, w, h, decoded); in runDecoder()
1253 + decoded.mY + "," + decoded.mU + "," + decoded.mV); in runDecoder()
1255 totalErrorSquared += expected.calcErrorSquared(decoded); in runDecoder()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareBitmapTests.java287 Bitmap decoded = BitmapFactory.decodeStream( in testCompressHardware() local
294 canvas.drawBitmap(decoded, 0, 0, null); in testCompressHardware()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapFactoryTest.java505 Bitmap decoded = BitmapFactory.decodeResource(mRes, RES_IDS[i], options); in testDecodeReuseFormats() local
506 assertSame(reuseBuffer, decoded); in testDecodeReuseFormats()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java1352 String[] decoded = Genres.decode(encoded); in checkGenreEncodeDecode() local
1353 assertEquals(expectedDecodedLength, decoded.length); in checkGenreEncodeDecode()
1358 assertEquals(original, decoded[decodedIndex++]); in checkGenreEncodeDecode()