Searched refs:testSampleInfo (Results 1 – 2 of 2) sorted by relevance
/cts/tests/media/jni/ |
D | NativeExtractorTest.cpp | 90 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() 113 if (testSz != testSampleInfo.size) { in isMediaSimilar() 114 ALOGD("Mime: %s Size exp/got: %d / %zd ", mime, testSampleInfo.size, testSz); in isMediaSimilar() 475 AMediaCodecBufferInfo refSampleInfo, testSampleInfo; in isSeekOk() local 488 setSampleInfo(testExtractor, &testSampleInfo); in isSeekOk() [all …]
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 298 MediaCodec.BufferInfo testSampleInfo = new MediaCodec.BufferInfo(); in isMediaSimilar() local 303 testSampleInfo.set(0, (int) testExtractor.getSampleSize(), in isMediaSimilar() 305 if (!isSampleInfoValidAndIdentical(refSampleInfo, testSampleInfo)) { in isMediaSimilar() 310 refSampleInfo.flags + '/' + testSampleInfo.flags); in isMediaSimilar() 312 refSampleInfo.size + '/' + testSampleInfo.size); in isMediaSimilar() 314 '/' + testSampleInfo.presentationTimeUs); in isMediaSimilar() 329 if (testSz != testSampleInfo.size) { in isMediaSimilar() 332 testSampleInfo.size + '/' + testSz); in isMediaSimilar() 543 MediaCodec.BufferInfo testSampleInfo = new MediaCodec.BufferInfo(); in isSeekOk() local 556 testSampleInfo.set(0, (int) testExtractor.getSampleSize(), in isSeekOk() [all …]
|