From 9f8776ff4af45a412c247c3ebafee7d002c1094d Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 20 Nov 2023 11:49:14 -0800 Subject: [PATCH] vp8_ratectrl_rtc.h: fix a few typos is -> if returns -> computes in the documentation for ComputeQP(). This is the same as: 9142314c2 ratectrl_rtc.h: fix a few typos + remove a duplicate, commented out, version of GetLoopfilterLevel() Change-Id: I8832e628b63b0b7dac6236631072f36ad55d90e8 --- vp8/vp8_ratectrl_rtc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vp8/vp8_ratectrl_rtc.h b/vp8/vp8_ratectrl_rtc.h index 5ffe54c..4c174b1 100644 --- a/vp8/vp8_ratectrl_rtc.h +++ b/vp8/vp8_ratectrl_rtc.h @@ -50,8 +50,7 @@ class VP8RateControlRTC { // GetLoopfilterLevel() needs to be called after ComputeQP() since loopfilter // level is calculated from frame qp. int GetLoopfilterLevel() const; - // int GetLoopfilterLevel() const; - // ComputeQP returns the QP is the frame is not dropped (kOk return), + // ComputeQP computes the QP if the frame is not dropped (kOk return), // otherwise it returns kDrop and subsequent GetQP and PostEncodeUpdate // are not to be called. FrameDropDecision ComputeQP(const VP8FrameParamsQpRTC &frame_params); -- 2.7.4