Home
last modified time | relevance | path

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

/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp320 int numsamples = sizes.size(); in testExtractor() local
321 jintArray ret = env->NewIntArray(numsamples); in testExtractor()
324 for (int i = 0; i < numsamples; ++i) { in testExtractor()
643 int numsamples = 0; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local
645 numsamples += sizes[i].size(); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
647 ALOGV("checksums: %d", numsamples); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
648 jintArray ret = env->NewIntArray(numsamples); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
/cts/tests/tests/media/src/android/media/cts/
DDecoderTest.java1901 int numsamples = countSamples(res);
1902 assertTrue(numsamples != 0);
1908 short[] decode2 = decodeToMemory(res, RESET_MODE_NONE, CONFIG_MODE_NONE, numsamples - 1,
1923 decode2 = decodeToMemory(res, RESET_MODE_RECONFIGURE, CONFIG_MODE_NONE, numsamples - 1,
1935 decode2 = decodeToMemory(res, RESET_MODE_FLUSH, CONFIG_MODE_NONE, numsamples - 1,
1950 int numsamples = extractor.getSampleTime() < 0 ? 0 : 1;
1952 numsamples++;
1954 return numsamples;