Use backticks not vertical bars to denote variables in comments for /modules/video_coding
Bug: webrtc:12338 Change-Id: Ia8a9adea291d594e4f59a6a1203a7bfb0758adac Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227165 Commit-Queue: Artem Titov <titovartem@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34684}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
7f854bce1f
commit
dcd7fc7ea8
@ -117,8 +117,8 @@ static std::vector<DataRate> SplitBitrate(size_t num_layers,
|
||||
return bitrates;
|
||||
}
|
||||
|
||||
// Returns the minimum bitrate needed for |num_active_layers| spatial layers to
|
||||
// become active using the configuration specified by |codec|.
|
||||
// Returns the minimum bitrate needed for `num_active_layers` spatial layers to
|
||||
// become active using the configuration specified by `codec`.
|
||||
DataRate FindLayerTogglingThreshold(const VideoCodec& codec,
|
||||
size_t first_active_layer,
|
||||
size_t num_active_layers) {
|
||||
@ -142,7 +142,7 @@ DataRate FindLayerTogglingThreshold(const VideoCodec& codec,
|
||||
.minBitrate);
|
||||
|
||||
// Do a binary search until upper and lower bound is the highest bitrate for
|
||||
// |num_active_layers| - 1 layers and lowest bitrate for |num_active_layers|
|
||||
// `num_active_layers` - 1 layers and lowest bitrate for `num_active_layers`
|
||||
// layers respectively.
|
||||
while (upper_bound - lower_bound > DataRate::BitsPerSec(1)) {
|
||||
DataRate try_rate = (lower_bound + upper_bound) / 2;
|
||||
|
||||
Reference in New Issue
Block a user