fix minor spelling errors
authorJohann <johannkoenig@google.com>
Thu, 12 Mar 2020 23:25:47 +0000 (08:25 +0900)
committerJohann <johannkoenig@google.com>
Thu, 12 Mar 2020 23:26:53 +0000 (08:26 +0900)
Change-Id: I929fec66d541705fe94365b56a5bdd8cf5ee7c37

CHANGELOG
vp8/encoder/onyx_int.h
vp8/encoder/ratectrl.c
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_ratectrl.h

index 0717e35..345d3dc 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
       of particular interest to real time streaming applications.
 
       Temporal scalability allows the encoder to produce a stream that can
-      be decimated to different frame rates, with independent rate targetting
+      be decimated to different frame rates, with independent rate targeting
       for each substream.
 
       Multiframe quality enhancement postprocessing can make visual quality
index 50a750d..b96f9b1 100644 (file)
@@ -339,7 +339,7 @@ typedef struct VP8_COMP {
 
   CODING_CONTEXT coding_context;
 
-  /* Rate targetting variables */
+  /* Rate targeting variables */
   int64_t last_prediction_error;
   int64_t last_intra_error;
 
index dbd76ed..1a30c95 100644 (file)
@@ -357,7 +357,7 @@ static void calc_iframe_target_size(VP8_COMP *cpi) {
 
   cpi->this_frame_target = (int)target;
 
-  /* TODO: if we separate rate targeting from Q targetting, move this.
+  /* TODO: if we separate rate targeting from Q targeting, move this.
    * Reset the active worst quality to the baseline value for key frames.
    */
   if (cpi->pass != 2) cpi->active_worst_quality = cpi->worst_quality;
index edbed73..94af1c3 100644 (file)
@@ -245,7 +245,7 @@ int vp9_rc_clamp_iframe_target_size(const VP9_COMP *const cpi, int target) {
   return target;
 }
 
-// TODO(marpan/jianj): bits_off_target and buffer_level are used in the saame
+// TODO(marpan/jianj): bits_off_target and buffer_level are used in the same
 // way for CBR mode, for the buffering updates below. Look into removing one
 // of these (i.e., bits_off_target).
 // Update the buffer level before encoding with the per-frame-bandwidth,
@@ -636,7 +636,7 @@ int vp9_rc_drop_frame(VP9_COMP *cpi) {
         // In particular temporal layer counter (which is incremented in
         // vp9_inc_frame_in_layer()) won't be incremented, so on a dropped
         // frame we try the same temporal_layer_id on next incoming frame.
-        // This is to avoid an issue with temporal alignement with full
+        // This is to avoid an issue with temporal alignment with full
         // superframe dropping.
         vp9_inc_frame_in_layer(cpi);
       }
@@ -2235,7 +2235,7 @@ void vp9_rc_get_svc_params(VP9_COMP *cpi) {
   // Periodic key frames is based on the super-frame counter
   // (svc.current_superframe), also only base spatial layer is key frame.
   // Key frame is set for any of the following: very first frame, frame flags
-  // indicates key, superframe counter hits key frequencey, or (non-intra) sync
+  // indicates key, superframe counter hits key frequency, or (non-intra) sync
   // flag is set for spatial layer 0.
   if ((cm->current_video_frame == 0 && !svc->previous_frame_is_intra_only) ||
       (cpi->frame_flags & FRAMEFLAGS_KEY) ||
@@ -2569,7 +2569,7 @@ void vp9_rc_update_framerate(VP9_COMP *cpi) {
 
   // A maximum bitrate for a frame is defined.
   // However this limit is extended if a very high rate is given on the command
-  // line or the the rate cannnot be acheived because of a user specificed max q
+  // line or the rate can not be achieved because of a user specified max q
   // (e.g. when the user specifies lossless encode).
   //
   // If a level is specified that requires a lower maximum rate then the level
index 7dbe17d..1fb8dae 100644 (file)
@@ -83,7 +83,7 @@ static const double rate_thresh_mult[FRAME_SCALE_STEPS] = { 1.0, 2.0 };
 static const double rcf_mult[FRAME_SCALE_STEPS] = { 1.0, 2.0 };
 
 typedef struct {
-  // Rate targetting variables
+  // Rate targeting variables
   int base_frame_target;  // A baseline frame target before adjustment
                           // for previous under or over shoot.
   int this_frame_target;  // Actual frame target after rc adjustment.