ratectrl_rtc.h: fix a few typos

is -> if
returns -> computes

in the documentation for ComputeQP().

Change-Id: If70706736b0dc2ae56e45e2489dc208c61fd557a
This commit is contained in:
James Zern
2023-11-14 17:57:04 -08:00
parent 81aaa7f04b
commit 9142314c2c
+1 -1
View 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).