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
@ -93,7 +93,7 @@ class VCMJitterBuffer {
|
||||
// Gets number of duplicated packets received.
|
||||
int num_duplicated_packets() const;
|
||||
|
||||
// Wait |max_wait_time_ms| for a complete frame to arrive.
|
||||
// Wait `max_wait_time_ms` for a complete frame to arrive.
|
||||
// If found, a pointer to the frame is returned. Returns nullptr otherwise.
|
||||
VCMEncodedFrame* NextCompleteFrame(uint32_t max_wait_time_ms);
|
||||
|
||||
@ -112,7 +112,7 @@ class VCMJitterBuffer {
|
||||
bool* retransmitted) const;
|
||||
|
||||
// Inserts a packet into a frame returned from GetFrame().
|
||||
// If the return value is <= 0, |frame| is invalidated and the pointer must
|
||||
// If the return value is <= 0, `frame` is invalidated and the pointer must
|
||||
// be dropped after this function returns.
|
||||
VCMFrameBufferEnum InsertPacket(const VCMPacket& packet, bool* retransmitted);
|
||||
|
||||
@ -138,36 +138,36 @@ class VCMJitterBuffer {
|
||||
|
||||
// Gets the frame assigned to the timestamp of the packet. May recycle
|
||||
// existing frames if no free frames are available. Returns an error code if
|
||||
// failing, or kNoError on success. |frame_list| contains which list the
|
||||
// failing, or kNoError on success. `frame_list` contains which list the
|
||||
// packet was in, or NULL if it was not in a FrameList (a new frame).
|
||||
VCMFrameBufferEnum GetFrame(const VCMPacket& packet,
|
||||
VCMFrameBuffer** frame,
|
||||
FrameList** frame_list)
|
||||
RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
|
||||
|
||||
// Returns true if |frame| is continuous in |decoding_state|, not taking
|
||||
// Returns true if `frame` is continuous in `decoding_state`, not taking
|
||||
// decodable frames into account.
|
||||
bool IsContinuousInState(const VCMFrameBuffer& frame,
|
||||
const VCMDecodingState& decoding_state) const
|
||||
RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
|
||||
// Returns true if |frame| is continuous in the |last_decoded_state_|, taking
|
||||
// Returns true if `frame` is continuous in the `last_decoded_state_`, taking
|
||||
// all decodable frames into account.
|
||||
bool IsContinuous(const VCMFrameBuffer& frame) const
|
||||
RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
|
||||
// Looks for frames in |incomplete_frames_| which are continuous in the
|
||||
// provided |decoded_state|. Starts the search from the timestamp of
|
||||
// |decoded_state|.
|
||||
// Looks for frames in `incomplete_frames_` which are continuous in the
|
||||
// provided `decoded_state`. Starts the search from the timestamp of
|
||||
// `decoded_state`.
|
||||
void FindAndInsertContinuousFramesWithState(
|
||||
const VCMDecodingState& decoded_state)
|
||||
RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
|
||||
// Looks for frames in |incomplete_frames_| which are continuous in
|
||||
// |last_decoded_state_| taking all decodable frames into account. Starts
|
||||
// the search from |new_frame|.
|
||||
// Looks for frames in `incomplete_frames_` which are continuous in
|
||||
// `last_decoded_state_` taking all decodable frames into account. Starts
|
||||
// the search from `new_frame`.
|
||||
void FindAndInsertContinuousFrames(const VCMFrameBuffer& new_frame)
|
||||
RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
|
||||
VCMFrameBuffer* NextFrame() const RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
|
||||
// Returns true if the NACK list was updated to cover sequence numbers up to
|
||||
// |sequence_number|. If false a key frame is needed to get into a state where
|
||||
// `sequence_number`. If false a key frame is needed to get into a state where
|
||||
// we can continue decoding.
|
||||
bool UpdateNackList(uint16_t sequence_number)
|
||||
RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
|
||||
@ -182,7 +182,7 @@ class VCMJitterBuffer {
|
||||
// continue decoding.
|
||||
bool HandleTooOldPackets(uint16_t latest_sequence_number)
|
||||
RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
|
||||
// Drops all packets in the NACK list up until |last_decoded_sequence_number|.
|
||||
// Drops all packets in the NACK list up until `last_decoded_sequence_number`.
|
||||
void DropPacketsFromNackList(uint16_t last_decoded_sequence_number);
|
||||
|
||||
// Gets an empty frame, creating a new frame if necessary (i.e. increases
|
||||
@ -204,7 +204,7 @@ class VCMJitterBuffer {
|
||||
// Should only be called prior to actual use.
|
||||
void CleanUpOldOrEmptyFrames() RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
|
||||
|
||||
// Returns true if |packet| is likely to have been retransmitted.
|
||||
// Returns true if `packet` is likely to have been retransmitted.
|
||||
bool IsPacketRetransmitted(const VCMPacket& packet) const;
|
||||
|
||||
// The following three functions update the jitter estimate with the
|
||||
|
Reference in New Issue
Block a user