diff --git a/common_video/frame_rate_estimator.h b/common_video/frame_rate_estimator.h index 4cdd284c34..95219a534d 100644 --- a/common_video/frame_rate_estimator.h +++ b/common_video/frame_rate_estimator.h @@ -43,7 +43,7 @@ class FrameRateEstimator { // Get the current average FPS, based on the frames currently in the window. absl::optional GetAverageFps() const; - // Move the window so it ends at |now|, and return the new fps estimate. + // Move the window so it ends at `now`, and return the new fps estimate. absl::optional GetAverageFps(Timestamp now); // Completely clear the averaging window. diff --git a/common_video/h264/h264_bitstream_parser.cc b/common_video/h264/h264_bitstream_parser.cc index 6eee02ed24..bc2104c9ef 100644 --- a/common_video/h264/h264_bitstream_parser.cc +++ b/common_video/h264/h264_bitstream_parser.cc @@ -152,7 +152,7 @@ H264BitstreamParser::Result H264BitstreamParser::ParseNonParameterSetNalu( // else { // ref_pic_list_modification(): - // |slice_type| checks here don't use named constants as they aren't named + // `slice_type` checks here don't use named constants as they aren't named // in the spec for this segment. Keeping them consistent makes it easier to // verify that they are both the same. if (slice_type % 5 != 2 && slice_type % 5 != 4) { diff --git a/common_video/h264/sps_vui_rewriter.h b/common_video/h264/sps_vui_rewriter.h index 311db30d50..ef80d5b60e 100644 --- a/common_video/h264/sps_vui_rewriter.h +++ b/common_video/h264/sps_vui_rewriter.h @@ -50,7 +50,7 @@ class SpsVuiRewriter : private SpsParser { rtc::Buffer* destination, Direction Direction); - // Parses NAL units from |buffer|, strips AUD blocks and rewrites VUI in SPS + // Parses NAL units from `buffer`, strips AUD blocks and rewrites VUI in SPS // blocks if necessary. static rtc::Buffer ParseOutgoingBitstreamAndRewrite( rtc::ArrayView buffer, diff --git a/common_video/include/video_frame_buffer_pool.h b/common_video/include/video_frame_buffer_pool.h index 6af117577e..539a6cc0f3 100644 --- a/common_video/include/video_frame_buffer_pool.h +++ b/common_video/include/video_frame_buffer_pool.h @@ -40,7 +40,7 @@ class VideoFrameBufferPool { ~VideoFrameBufferPool(); // Returns a buffer from the pool. If no suitable buffer exist in the pool - // and there are less than |max_number_of_buffers| pending, a buffer is + // and there are less than `max_number_of_buffers` pending, a buffer is // created. Returns null otherwise. rtc::scoped_refptr CreateI420Buffer(int width, int height); rtc::scoped_refptr CreateNV12Buffer(int width, int height); diff --git a/common_video/libyuv/include/webrtc_libyuv.h b/common_video/libyuv/include/webrtc_libyuv.h index 03c9ff49ca..905219b6a6 100644 --- a/common_video/libyuv/include/webrtc_libyuv.h +++ b/common_video/libyuv/include/webrtc_libyuv.h @@ -98,9 +98,9 @@ double I420SSIM(const I420BufferInterface& ref_buffer, const I420BufferInterface& test_buffer); // Helper function for scaling NV12 to NV12. -// If the |src_width| and |src_height| matches the |dst_width| and |dst_height|, -// then |tmp_buffer| is not used. In other cases, the minimum size of -// |tmp_buffer| should be: +// If the `src_width` and `src_height` matches the `dst_width` and `dst_height`, +// then `tmp_buffer` is not used. In other cases, the minimum size of +// `tmp_buffer` should be: // (src_width/2) * (src_height/2) * 2 + (dst_width/2) * (dst_height/2) * 2 void NV12Scale(uint8_t* tmp_buffer, const uint8_t* src_y,