Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeExtractorTest.cpp286 auto sampleInfo = new AMediaCodecBufferInfo; in getSeekablePoints() local
287 setSampleInfo(extractor, sampleInfo); in getSeekablePoints()
288 bookmarks.push_back(sampleInfo); in getSeekablePoints()
599 AMediaCodecBufferInfo sampleInfo; in nativeReadAllData() local
601 setSampleInfo(extractor, &sampleInfo); in nativeReadAllData()
604 if (sampleInfo.size != refSz) { in nativeReadAllData()
607 sampleInfo.size); in nativeReadAllData()
609 if (sampleInfo.flags == -1) { in nativeReadAllData()
613 if (sampleInfo.presentationTimeUs == -1) { in nativeReadAllData()
618 flattenField<int32_t>(buffer, &bufferSize, sampleInfo.size); in nativeReadAllData()
[all …]
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java447 MediaCodec.BufferInfo sampleInfo = new MediaCodec.BufferInfo(); in readAllData() local
449 sampleInfo.set(0, (int) extractor.getSampleSize(), extractor.getSampleTime(), in readAllData()
453 assertEquals(sampleInfo.size, buffer.limit()); in readAllData()
454 assertTrue(sampleInfo.flags != -1); in readAllData()
455 assertTrue(sampleInfo.presentationTimeUs != -1); in readAllData()
457 buffer.putInt(sampleInfo.size) in readAllData()
458 .putInt(sampleInfo.flags) in readAllData()
459 .putLong(sampleInfo.presentationTimeUs); in readAllData()
893 MediaCodec.BufferInfo sampleInfo = new MediaCodec.BufferInfo();
894 sampleInfo.set(0, (int) extractor.getSampleSize(),
[all …]