Searched refs:maxSampleSize (Results 1 – 2 of 2) sorted by relevance
389 const int maxSampleSize = 512 * 1024; in nativeTestReadSampleDataBeforeSetDataSource() local390 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() local403 auto buffer = new uint8_t[maxSampleSize]; in nativeTestReadSampleDataBeforeSelectTrack()406 isPass = AMediaExtractor_readSampleData(extractor, buffer, maxSampleSize) < 0; in nativeTestReadSampleDataBeforeSelectTrack()
91 const int maxSampleSize = (4 * 1024 * 1024); in isMediaSimilar() local92 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()