Lines Matching defs:max_size
1678 size_t max_size;
1679 err = mLastTrack->sampleTable->getMaxSampleSize(&max_size);
1685 if (max_size != 0) {
1690 if (max_size > SIZE_MAX - 10 * 2) {
1691 ALOGE("max sample size too big: %zu", max_size);
1694 mLastTrack->meta.setInt32(kKeyMaxInputSize, max_size + 10 * 2);
1717 max_size = 1024 * 128;
1722 max_size = ((width + 15) / 16) * ((height + 15) / 16) * 192;
1726 max_size = width * height * 3 / 2;
1730 max_size += max_size / 10;
1731 mLastTrack->meta.setInt32(kKeyMaxInputSize, max_size);
3956 size_t max_size = tmp;
3961 if (max_size > kMaxBufferSize) {
3962 ALOGE("bogus max input size: %zu > %zu", max_size, kMaxBufferSize);
3965 if (max_size == 0) {
3973 const size_t realMaxBuffers = min(kMaxBufferSize / max_size, kMaxBuffers);
3974 mGroup = new MediaBufferGroup(kInitialBuffers, max_size, realMaxBuffers);
3975 mSrcBuffer = new (std::nothrow) uint8_t[max_size];
5262 int32_t max_size;
5263 if (!mFormat.findInt32(kKeyMaxInputSize, &max_size)
5264 || !isInRange((size_t)0u, (size_t)max_size, size)) {