Home | History | Annotate | Download | only in media

Lines Matching refs:Math

697                 bitrate = Math.max(bitrate, maxBitrate);
1295 * {@code Math.min(getSupportedWidths().getUpper(),
1330 final int minWidthInBlocks = Math.max(
1332 (int)Math.ceil(mBlockAspectRatioRange.getLower().doubleValue()
1334 final int maxWidthInBlocks = Math.min(
1349 (int)Math.ceil(mAspectRatioRange.getLower().doubleValue()
1374 final int minHeightInBlocks = Math.max(
1376 (int)Math.ceil(widthInBlocks /
1378 final int maxHeightInBlocks = Math.min(
1393 (int)Math.ceil(width /
1424 Math.max(mBlocksPerSecondRange.getLower() / (double) blockCount,
1426 Math.min(mBlocksPerSecondRange.getUpper() / (double) blockCount,
1440 int diff = Math.abs(targetBlockCount -
1454 / (double)Math.max(getBlockCount(width, height), 1);
1548 ok = Math.min(height, width) <= mSmallerDimensionUpperLimit;
1709 int D = dimensionRanges == null ? 0 : Math.max(
1775 Math.min(widths.getUpper(), heights.getUpper());
1780 Math.min(mWidthRange.getUpper(), mHeightRange.getUpper());
1908 final int newBlockWidth = Math.max(blockWidth, mBlockWidth);
1909 final int newBlockHeight = Math.max(blockHeight, mBlockHeight);
1949 Math.max(widthAlignment, mBlockWidth),
1950 Math.max(heightAlignment, mBlockHeight),
1954 mWidthAlignment = Math.max(widthAlignment, mWidthAlignment);
1955 mHeightAlignment = Math.max(heightAlignment, mHeightAlignment);
1998 mSmallerDimensionUpperLimit = Math.min(
2000 Math.min(mWidthRange.getUpper(), mHeightRange.getUpper()));
2133 maxBlocksPerSecond = Math.max(MBPS, maxBlocksPerSecond);
2134 maxBlocks = Math.max(FS, maxBlocks);
2135 maxBps = Math.max(BR, maxBps);
2136 maxDPBBlocks = Math.max(maxDPBBlocks, DPB);
2139 int maxLengthInBlocks = (int)(Math.sqrt(maxBlocks * 8));
2201 maxBlocksPerSecond = Math.max(MBPS, maxBlocksPerSecond);
2202 maxBlocks = Math.max(FS, maxBlocks);
2203 maxBps = Math.max(BR * 1000, maxBps);
2204 maxWidth = Math.max(W, maxWidth);
2205 maxHeight = Math.max(H, maxHeight);
2206 maxRate = Math.max(FR, maxRate);
2304 maxBlocksPerSecond = Math.max(MBPS, maxBlocksPerSecond);
2305 maxBlocks = Math.max(FS, maxBlocks);
2306 maxBps = Math.max(BR * 1000, maxBps);
2308 maxWidth = Math.max(W, maxWidth);
2309 maxHeight = Math.max(H, maxHeight);
2310 maxRate = Math.max(FR, maxRate);
2313 int maxDim = (int)Math.sqrt(FS * 2);
2314 maxWidth = Math.max(maxDim, maxWidth);
2315 maxHeight = Math.max(maxDim, maxHeight);
2316 maxRate = Math.max(Math.max(FR, 60), maxRate);
2402 maxBlocksPerSecond = Math.max(MBPS, maxBlocksPerSecond);
2403 maxBlocks = Math.max(W * H, maxBlocks);
2404 maxBps = Math.max(BR * 64000, maxBps);
2405 maxWidth = Math.max(W, maxWidth);
2406 maxHeight = Math.max(H, maxHeight);
2407 maxRate = Math.max(FR, maxRate);
2408 minWidth = Math.min(minW, minWidth);
2409 minHeight = Math.min(minH, minHeight);
2519 maxBlocksPerSecond = Math.max(SR, maxBlocksPerSecond);
2520 maxBlocks = Math.max(FS, maxBlocks);
2521 maxBps = Math.max(BR * 1000, maxBps);
2522 maxDim = Math.max(D, maxDim);
2621 maxBlocksPerSecond = Math.max((int)(FR * FS), maxBlocksPerSecond);
2622 maxBlocks = Math.max(FS, maxBlocks);
2623 maxBps = Math.max(BR * 1000, maxBps);
2626 int maxLengthInBlocks = (int)(Math.sqrt(maxBlocks * 8));