Home
last modified time | relevance | path

Searched refs:bitrateAdjuster (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/sdk/android/src/java/org/webrtc/
DHardwareVideoEncoder.java115 private final BitrateAdjuster bitrateAdjuster; field in HardwareVideoEncoder
185 BitrateAdjuster bitrateAdjuster, EglBase14.Context sharedContext) { in HardwareVideoEncoder() argument
195 this.bitrateAdjuster = bitrateAdjuster; in HardwareVideoEncoder()
213 bitrateAdjuster.setTargets(settings.startBitrate * 1000, settings.maxFramerate); in initEncode()
215 adjustedBitrate = bitrateAdjuster.getAdjustedBitrateBps(); in initEncode()
241 format.setInteger(MediaFormat.KEY_FRAME_RATE, bitrateAdjuster.getCodecConfigFramerate()); in initEncodeInternal()
460 bitrateAdjuster.setTargets(bitrateAllocation.getSum(), framerate); in setRateAllocation()
555 bitrateAdjuster.reportEncodedFrame(info.size);
556 if (adjustedBitrate != bitrateAdjuster.getAdjustedBitrateBps()) {
633 adjustedBitrate = bitrateAdjuster.getAdjustedBitrateBps();
/external/webrtc/sdk/android/tests/src/org/webrtc/
DHardwareVideoEncoderTest.java68 BitrateAdjuster bitrateAdjuster, EglBase14.Context sharedContext) { in TestEncoder() argument
70 params, keyFrameIntervalSec, forceKeyFrameIntervalMs, bitrateAdjuster, sharedContext); in TestEncoder()