Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeExtractorUnitTest.cpp389 const int maxSampleSize = 512 * 1024; in nativeTestReadSampleDataBeforeSetDataSource() local
390 auto buffer = new uint8_t[maxSampleSize]; in nativeTestReadSampleDataBeforeSetDataSource()
391 bool isPass = AMediaExtractor_readSampleData(extractor, buffer, maxSampleSize) < 0; in nativeTestReadSampleDataBeforeSetDataSource()
402 const int maxSampleSize = (512 * 1024); in nativeTestReadSampleDataBeforeSelectTrack() local
403 auto buffer = new uint8_t[maxSampleSize]; in nativeTestReadSampleDataBeforeSelectTrack()
406 isPass = AMediaExtractor_readSampleData(extractor, buffer, maxSampleSize) < 0; in nativeTestReadSampleDataBeforeSelectTrack()
DNativeExtractorTest.cpp91 const int maxSampleSize = (4 * 1024 * 1024); in isMediaSimilar() local
92 auto refBuffer = new uint8_t[maxSampleSize]; in isMediaSimilar()
93 auto testBuffer = new uint8_t[maxSampleSize]; in isMediaSimilar()
129 AMediaExtractor_readSampleData(refExtractor, refBuffer, maxSampleSize); in isMediaSimilar()
136 AMediaExtractor_readSampleData(testExtractor, testBuffer, maxSampleSize); in isMediaSimilar()