Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeExtractorTest.cpp114 AMediaCodecBufferInfo refSampleInfo, testSampleInfo; in isMediaSimilar() local
118 setSampleInfo(testExtractor, &testSampleInfo); in isMediaSimilar()
119 if (!isSampleInfoValidAndIdentical(&refSampleInfo, &testSampleInfo)) { in isMediaSimilar()
121 ALOGD(" flags exp/got: %d / %d", refSampleInfo.flags, testSampleInfo.flags); in isMediaSimilar()
122 ALOGD(" size exp/got: %d / %d ", refSampleInfo.size, testSampleInfo.size); in isMediaSimilar()
124 (int)testSampleInfo.presentationTimeUs); in isMediaSimilar()
137 if (testSz != testSampleInfo.size) { in isMediaSimilar()
138 ALOGD("Mime: %s Size exp/got: %d / %zd ", refMime, testSampleInfo.size, in isMediaSimilar()
469 AMediaCodecBufferInfo refSampleInfo, testSampleInfo; in isSeekOk() local
482 setSampleInfo(testExtractor, &testSampleInfo); in isSeekOk()
[all …]
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java267 MediaCodec.BufferInfo testSampleInfo = new MediaCodec.BufferInfo(); in isMediaSimilar() local
272 testSampleInfo.set(0, (int) testExtractor.getSampleSize(), in isMediaSimilar()
274 if (!isSampleInfoValidAndIdentical(refSampleInfo, testSampleInfo)) { in isMediaSimilar()
279 refSampleInfo.flags + '/' + testSampleInfo.flags); in isMediaSimilar()
281 refSampleInfo.size + '/' + testSampleInfo.size); in isMediaSimilar()
283 '/' + testSampleInfo.presentationTimeUs); in isMediaSimilar()
298 if (testSz != testSampleInfo.size) { in isMediaSimilar()
301 testSampleInfo.size + '/' + testSz); in isMediaSimilar()
438 MediaCodec.BufferInfo testSampleInfo = new MediaCodec.BufferInfo(); in isSeekOk() local
451 testSampleInfo.set(0, (int) testExtractor.getSampleSize(), in isSeekOk()
[all …]