Home | History | Annotate | Download | only in media

Lines Matching defs:bitrates

961          * Returns the range of supported bitrates in bits/second.
1079 Range<Integer> sampleRateRange = null, bitRates = null;
1088 bitRates = Range.create(8000, 320000);
1092 bitRates = Range.create(4750, 12200);
1096 bitRates = Range.create(6600, 23850);
1105 bitRates = Range.create(8000, 510000);
1108 bitRates = Range.create(32000, 500000);
1112 bitRates = Range.create(6000, 510000);
1117 bitRates = Range.create(1, 10000000);
1126 bitRates = Range.create(64000, 64000);
1130 bitRates = Range.create(13000, 13000);
1147 applyLimits(maxChannels, bitRates);
1150 private void applyLimits(int maxInputChannels, Range<Integer> bitRates) {
1153 if (bitRates != null) {
1154 mBitrateRange = mBitrateRange.intersect(bitRates);
1160 Range<Integer> bitRates = POSITIVE_INTEGERS;
1177 bitRates = bitRates.intersect(
1178 Utils.parseIntRange(info.getString("bitrate-range"), bitRates));
1180 applyLimits(maxInputChannels, bitRates);
1247 * Returns the range of supported bitrates in bits/second.
1712 Range<Integer> bitRates = Utils.parseIntRange(map.get("bitrate-range"), null);
1713 int BR = bitRates == null ? 0 : Utils.divUp(bitRates.getUpper(), 1000);
1752 Range<Integer> frameRates = null, bitRates = null;
1799 bitRates = Utils.parseIntRange(map.get("bitrate-range"), null);
1800 if (bitRates != null) {
1802 bitRates = bitRates.intersect(BITRATE_RANGE);
1804 Log.w(TAG, "bitrate range (" + bitRates
1806 bitRates = null;
1857 if (bitRates != null) {
1860 mBitrateRange = BITRATE_RANGE.intersect(bitRates);
1862 mBitrateRange = mBitrateRange.intersect(bitRates);
1895 if (bitRates != null) {
1896 mBitrateRange = mBitrateRange.intersect(bitRates);
2677 private static final Feature[] bitrates = new Feature[] {
2684 for (Feature feat: bitrates) {
2696 for (Feature feat: bitrates) {
2810 // bitrates are listed in order of preference
2811 for (Feature feat: bitrates) {