ratectrl_rtc.h: fix a few typos
authorJames Zern <jzern@google.com>
Wed, 15 Nov 2023 01:57:04 +0000 (17:57 -0800)
committerJames Zern <jzern@google.com>
Thu, 16 Nov 2023 02:55:04 +0000 (18:55 -0800)
is -> if
returns -> computes

in the documentation for ComputeQP().

Change-Id: If70706736b0dc2ae56e45e2489dc208c61fd557a

vp9/ratectrl_rtc.h

index a8dd5c4..7f624a5 100644 (file)
@@ -100,7 +100,7 @@ class VP9RateControlRTC {
   int GetQP() const;
   int GetLoopfilterLevel() const;
   bool GetSegmentationData(VP9SegmentationData *segmentation_data) 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 (vp9_rc_postencode_update_drop_frame is already
   // called via ComputeQP if drop is decided).