vp8_ratectrl_rtc.h: fix a few typos
authorJames Zern <jzern@google.com>
Mon, 20 Nov 2023 19:49:14 +0000 (11:49 -0800)
committerJames Zern <jzern@google.com>
Mon, 20 Nov 2023 19:49:14 +0000 (11:49 -0800)
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

index 5ffe54c..4c174b1 100644 (file)
@@ -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);