Fix spelling errors and TODO(any)

The changes were suggested by James Zern.

Change-Id: If52a3b46c30611263bc04d1b1c98604d8cdc0773
diff --git a/av1/encoder/nonrd_opt.h b/av1/encoder/nonrd_opt.h
index e8b27fd..39049e5 100644
--- a/av1/encoder/nonrd_opt.h
+++ b/av1/encoder/nonrd_opt.h
@@ -25,7 +25,7 @@
  * \param[in]    cpi                      Top-level encoder structure
  * \param[in]    x                        Pointer to structure holding all the
  *                                        data for the current macroblock
- * \param[in]    ref_frame                Reference freme for which to find
+ * \param[in]    ref_frame                Reference frame for which to find
  *                                        ref MVs
  * \param[in]    frame_mv                 Predicted MVs for a block
  * \param[in]    tile_data                Pointer to struct holding adaptive
diff --git a/av1/encoder/nonrd_pickmode.c b/av1/encoder/nonrd_pickmode.c
index 77f5389..bd34b2d 100644
--- a/av1/encoder/nonrd_pickmode.c
+++ b/av1/encoder/nonrd_pickmode.c
@@ -325,7 +325,7 @@
  *                                        data for the current macroblock
  * \param[in]    frame_mv                 Array that holds MVs for all modes
  *                                        and ref frames
- * \param[in]    ref_frame                Reference freme for which to find
+ * \param[in]    ref_frame                Reference frame for which to find
  *                                        the best New MVs
  * \param[in]    gf_temporal_ref          Flag, indicating temporal reference
  *                                        for GOLDEN frame
diff --git a/av1/encoder/partition_search.c b/av1/encoder/partition_search.c
index 1817b8f..daaec87 100644
--- a/av1/encoder/partition_search.c
+++ b/av1/encoder/partition_search.c
@@ -2633,8 +2633,8 @@
           this_mi[0]->partition = PARTITION_NONE;
           this_mi[0]->skip_txfm = 1;
 
-          // TODO(any): functions called below can be optimized with removing
-          // unrelated operations.
+          // TODO(yunqing): functions called below can be optimized with
+          // removing unrelated operations.
           av1_set_offsets_without_segment_id(cpi, &tile_data->tile_info, x,
                                              mi_row, mi_col, this_mi[0]->bsize);
 
@@ -2669,8 +2669,8 @@
             this_mi[0]->bsize = orig_bsize;
             this_mi[0]->partition = orig_partition;
 
-            // TODO(any): Store the results and restore here instead of calling
-            // find_predictors() again.
+            // TODO(yunqing): Store the results and restore here instead of
+            // calling find_predictors() again.
             av1_set_offsets_without_segment_id(cpi, &tile_data->tile_info, x,
                                                mi_row, mi_col,
                                                this_mi[0]->bsize);
diff --git a/av1/encoder/ratectrl.c b/av1/encoder/ratectrl.c
index bfc2602..ab01767 100644
--- a/av1/encoder/ratectrl.c
+++ b/av1/encoder/ratectrl.c
@@ -1122,7 +1122,7 @@
     }
   }
   // Special case: we force the first few frames to use low q such that
-  // the these frames are encoded at a high quality, which provides good
+  // these frames are encoded at a high quality, which provides good
   // references for following frames.
   if (current_frame->frame_type != KEY_FRAME && !cpi->ppi->use_svc &&
       current_frame->frame_number >= 10 && current_frame->frame_number <= 15) {
diff --git a/av1/ratectrl_qmode.cc b/av1/ratectrl_qmode.cc
index 0cb5752..6eb26d3 100644
--- a/av1/ratectrl_qmode.cc
+++ b/av1/ratectrl_qmode.cc
@@ -368,7 +368,7 @@
     const double cost_with_propagation =
         tpl_frame_dep_stats_accumulate(frame_dep_stats);
     // TODO(angiebird): This part is still a draft. Check whether this makes
-    // sense mathmatically.
+    // sense mathematically.
     const double frame_importance =
         cost_with_propagation / cost_without_propagation;
     // Imitate the behavior of av1_tpl_get_qstep_ratio()