/cts/tests/media/src/android/mediav2/cts/ |
D | CodecDecoderBlockModelMultiAccessUnitTest.java | 142 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testSimpleDecode() local 145 configureKeysForLargeAudioBlockModelFrameMode(format, maxSampleSize, outSizeInMs[0], in testSimpleDecode() 219 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testFlush() local 220 configureKeysForLargeAudioBlockModelFrameMode(format, maxSampleSize, OUT_SIZE_IN_MS[0][0], in testFlush() 324 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testReconfigure() local 325 configureKeysForLargeAudioBlockModelFrameMode(format, maxSampleSize, OUT_SIZE_IN_MS[0][0], in testReconfigure() 374 maxSampleSize = getMaxSampleSizeForMediaType(mReconfigFile, mMediaType); in testReconfigure() 375 configureKeysForLargeAudioBlockModelFrameMode(newFormat, maxSampleSize, in testReconfigure()
|
D | CodecDecoderMultiAccessUnitTest.java | 212 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testSimpleDecode() local 215 configureKeysForLargeAudioFrameMode(format, maxSampleSize, outSizeInMs[0], in testSimpleDecode() 298 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testFlush() local 299 configureKeysForLargeAudioFrameMode(format, maxSampleSize, OUT_SIZE_IN_MS[0][0], in testFlush() 414 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testReconfigure() local 415 configureKeysForLargeAudioFrameMode(format, maxSampleSize, OUT_SIZE_IN_MS[0][0], in testReconfigure() 417 maxSampleSize = getMaxSampleSizeForMediaType(mReconfigFile, mMediaType); in testReconfigure() 418 configureKeysForLargeAudioFrameMode(newFormat, maxSampleSize, OUT_SIZE_IN_MS[0][0], in testReconfigure()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecDecoderTestBase.java | 89 int maxSampleSize = 0; in getMaxSampleSizeForMediaType() local 97 maxSampleSize = format.getInteger(MediaFormat.KEY_MAX_INPUT_SIZE); in getMaxSampleSizeForMediaType() 101 maxSampleSize = Math.max(maxSampleSize, size); in getMaxSampleSizeForMediaType() 106 return maxSampleSize; in getMaxSampleSizeForMediaType() 110 return maxSampleSize; in getMaxSampleSizeForMediaType()
|
/cts/tests/media/jni/ |
D | NativeExtractorUnitTest.cpp | 465 const int maxSampleSize = 512 * 1024; in nativeTestReadSampleDataBeforeSetDataSource() local 466 auto buffer = new uint8_t[maxSampleSize]; in nativeTestReadSampleDataBeforeSetDataSource() 467 bool isPass = AMediaExtractor_readSampleData(extractor, buffer, maxSampleSize) < 0; in nativeTestReadSampleDataBeforeSetDataSource() 478 const int maxSampleSize = (512 * 1024); in nativeTestReadSampleDataBeforeSelectTrack() local 479 auto buffer = new uint8_t[maxSampleSize]; in nativeTestReadSampleDataBeforeSelectTrack() 482 isPass = AMediaExtractor_readSampleData(extractor, buffer, maxSampleSize) < 0; in nativeTestReadSampleDataBeforeSelectTrack()
|
D | NativeExtractorTest.cpp | 67 const int maxSampleSize = (4 * 1024 * 1024); in isMediaSimilar() local 68 auto refBuffer = new uint8_t[maxSampleSize]; in isMediaSimilar() 69 auto testBuffer = new uint8_t[maxSampleSize]; in isMediaSimilar() 105 AMediaExtractor_readSampleData(refExtractor, refBuffer, maxSampleSize); in isMediaSimilar() 113 AMediaExtractor_readSampleData(testExtractor, testBuffer, maxSampleSize); in isMediaSimilar() 519 const int maxSampleSize = (4 * 1024 * 1024); in nativeReadAllData() local 546 auto buffer = new uint8_t[maxSampleSize]; in nativeReadAllData() 609 ssize_t refSz = AMediaExtractor_readSampleData(extractor, buffer, maxSampleSize); in nativeReadAllData()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | CodecDecoderMultiAccessUnitDrmTest.java | 147 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testSimpleDecode() local 150 configureKeysForLargeAudioFrameMode(format, maxSampleSize, outSizeInMs[0], in testSimpleDecode()
|
D | CodecDecoderBlockModelMultiAccessUnitDrmTest.java | 151 int maxSampleSize = getMaxSampleSizeForMediaType(mTestFile, mMediaType); in testSimpleDecode() local 154 configureKeysForLargeAudioBlockModelFrameMode(format, maxSampleSize, outSizeInMs[0], in testSimpleDecode()
|