Searched refs:bitrateAdjuster (Results 1 – 2 of 2) sorted by relevance
115 private final BitrateAdjuster bitrateAdjuster; field in HardwareVideoEncoder185 BitrateAdjuster bitrateAdjuster, EglBase14.Context sharedContext) { in HardwareVideoEncoder() argument195 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();
68 BitrateAdjuster bitrateAdjuster, EglBase14.Context sharedContext) { in TestEncoder() argument70 params, keyFrameIntervalSec, forceKeyFrameIntervalMs, bitrateAdjuster, sharedContext); in TestEncoder()