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
// 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);