Searched refs:sampleInfo (Results 1 – 2 of 2) sorted by relevance
/cts/tests/media/jni/ |
D | NativeExtractorTest.cpp | 290 auto sampleInfo = new AMediaCodecBufferInfo; in getSeekablePoints() local 291 setSampleInfo(extractor, sampleInfo); in getSeekablePoints() 292 bookmarks.push_back(sampleInfo); in getSeekablePoints() 606 AMediaCodecBufferInfo sampleInfo; in nativeReadAllData() local 608 setSampleInfo(extractor, &sampleInfo); in nativeReadAllData() 611 if (sampleInfo.size != refSz) { in nativeReadAllData() 614 sampleInfo.size); in nativeReadAllData() 616 if (sampleInfo.flags == -1) { in nativeReadAllData() 620 if (sampleInfo.presentationTimeUs == -1) { in nativeReadAllData() 625 flattenField<int32_t>(buffer, &bufferSize, sampleInfo.size); in nativeReadAllData() [all …]
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 461 MediaCodec.BufferInfo sampleInfo = new MediaCodec.BufferInfo(); in readAllData() local 463 sampleInfo.set(0, (int) extractor.getSampleSize(), extractor.getSampleTime(), in readAllData() 467 assertEquals(sampleInfo.size, buffer.limit()); in readAllData() 468 assertTrue(sampleInfo.flags != -1); in readAllData() 469 assertTrue(sampleInfo.presentationTimeUs != -1); in readAllData() 471 buffer.putInt(sampleInfo.size) in readAllData() 472 .putInt(sampleInfo.flags) in readAllData() 473 .putLong(sampleInfo.presentationTimeUs); in readAllData() 908 MediaCodec.BufferInfo sampleInfo = new MediaCodec.BufferInfo(); 909 sampleInfo.set(0, (int) extractor.getSampleSize(), [all …]
|