diff options
author | angiebird <angiebird@google.com> | 2019-11-18 10:54:18 -0800 |
---|---|---|
committer | angiebird <angiebird@google.com> | 2019-11-20 10:41:16 -0800 |
commit | f563d975c6d0b1b48f8dc1497cfc895ab523c312 (patch) | |
tree | c22eecfd1bdb3a15d9fec929949b087ed5c46a2c | |
parent | 3afd6e8270d8cb5f03b620c653ff5bfe7157ce64 (diff) | |
download | libvpx-f563d975c6d0b1b48f8dc1497cfc895ab523c312.tar.gz |
Use indicative mood in comments of SimpleEncode
Change-Id: I913e14994646945a7237c9ab65097647fb3a5b5c
-rw-r--r-- | vp9/simple_encode.cc | 2 | ||||
-rw-r--r-- | vp9/simple_encode.h | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/vp9/simple_encode.cc b/vp9/simple_encode.cc index c7bed7308..faafcc6ba 100644 --- a/vp9/simple_encode.cc +++ b/vp9/simple_encode.cc @@ -145,7 +145,7 @@ void SimpleEncode::ComputeFirstPassStats() { { int64_t time_stamp; int64_t time_end; - int flush = 1; // Make vp9_get_compressed_data process a frame + int flush = 1; // Makes vp9_get_compressed_data process a frame size_t size; unsigned int frame_flags = 0; ENCODE_FRAME_RESULT encode_frame_info; diff --git a/vp9/simple_encode.h b/vp9/simple_encode.h index c78e57093..c370e4306 100644 --- a/vp9/simple_encode.h +++ b/vp9/simple_encode.h @@ -47,27 +47,27 @@ class SimpleEncode { // future encode void ComputeFirstPassStats(); - // Output the first pass stats + // Outputs the first pass stats std::vector<std::vector<double>> ObserveFirstPassStats(); - // Initialize the encoder for actual encoding + // Initializes the encoder for actual encoding // This funtion should be called after ComputeFirstPassStats() void StartEncode(); - // Free the encoder + // Frees the encoder // This funtion should be called after StartEncode() or EncodeFrame() void EndEncode(); - // Encode a frame + // Encodes a frame // This funtion should be called after StartEncode() before EndEncode() void EncodeFrame(EncodeFrameResult *encode_frame_result); - // Encode a frame with a specific quantize index + // Encodes a frame with a specific quantize index // This funtion should be called after StartEncode() before EndEncode() void EncodeFrameWithQuantizeIndex(EncodeFrameResult *encode_frame_result, int quantize_index); - // Get the number of coding frames for the video. The coding frames include + // Gets the number of coding frames for the video. The coding frames include // show frame and no show frame. // This funtion should be called after ComputeFirstPassStats() int GetCodingFrameNum(); |