Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeExtractorTest.cpp90 AMediaCodecBufferInfo refSampleInfo, testSampleInfo; in isMediaSimilar() local
94 setSampleInfo(testExtractor, &testSampleInfo); in isMediaSimilar()
95 if (!isSampleInfoValidAndIdentical(&refSampleInfo, &testSampleInfo)) { in isMediaSimilar()
97 ALOGD(" flags exp/got: %d / %d", refSampleInfo.flags, testSampleInfo.flags); in isMediaSimilar()
98 ALOGD(" size exp/got: %d / %d ", refSampleInfo.size, testSampleInfo.size); in isMediaSimilar()
100 refSampleInfo.presentationTimeUs, testSampleInfo.presentationTimeUs); in isMediaSimilar()
114 if (testSz != testSampleInfo.size) { in isMediaSimilar()
115 ALOGD("MediaType: %s Size exp/got: %d / %zd ", mediaType, testSampleInfo.size, in isMediaSimilar()
481 AMediaCodecBufferInfo refSampleInfo, testSampleInfo; in isSeekOk() local
494 setSampleInfo(testExtractor, &testSampleInfo); in isSeekOk()
[all …]
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java306 MediaCodec.BufferInfo testSampleInfo = new MediaCodec.BufferInfo(); in isMediaSimilar() local
311 testSampleInfo.set(0, (int) testExtractor.getSampleSize(), in isMediaSimilar()
313 if (!isSampleInfoValidAndIdentical(refSampleInfo, testSampleInfo)) { in isMediaSimilar()
319 + testSampleInfo.flags); in isMediaSimilar()
321 + testSampleInfo.size); in isMediaSimilar()
323 + '/' + testSampleInfo.presentationTimeUs); in isMediaSimilar()
338 if (testSz != testSampleInfo.size) { in isMediaSimilar()
341 + testSampleInfo.size + '/' + testSz); in isMediaSimilar()
558 MediaCodec.BufferInfo testSampleInfo = new MediaCodec.BufferInfo(); in isSeekOk() local
571 testSampleInfo.set(0, (int) testExtractor.getSampleSize(), in isSeekOk()
[all …]