Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeExtractorTest.cpp90 AMediaCodecBufferInfo refSampleInfo, testSampleInfo; in isMediaSimilar() local
93 setSampleInfo(refExtractor, &refSampleInfo); 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()
106 if (refSz != refSampleInfo.size) { in isMediaSimilar()
107 ALOGD("MediaType: %s Size exp/got: %d / %zd ", mediaType, refSampleInfo.size, in isMediaSimilar()
158 frameCount, refSampleInfo.flags, refSampleInfo.size, in isMediaSimilar()
159 refSampleInfo.presentationTimeUs); in isMediaSimilar()
[all …]
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java305 MediaCodec.BufferInfo refSampleInfo = new MediaCodec.BufferInfo(); in isMediaSimilar() local
309 refSampleInfo.set(0, (int) refExtractor.getSampleSize(), in isMediaSimilar()
313 if (!isSampleInfoValidAndIdentical(refSampleInfo, testSampleInfo)) { in isMediaSimilar()
318 Log.d(LOG_TAG, " flags exp/got: " + refSampleInfo.flags + '/' in isMediaSimilar()
320 Log.d(LOG_TAG, " size exp/got: " + refSampleInfo.size + '/' in isMediaSimilar()
322 Log.d(LOG_TAG, " ts exp/got: " + refSampleInfo.presentationTimeUs in isMediaSimilar()
329 if (refSz != refSampleInfo.size) { in isMediaSimilar()
332 + refSampleInfo.size + '/' + refSz); in isMediaSimilar()
403 + " flags: " + refSampleInfo.flags + " size: " + refSampleInfo.size in isMediaSimilar()
404 + " ts: " + refSampleInfo.presentationTimeUs); in isMediaSimilar()
[all …]