summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2023-06-08 14:11:24 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-06-08 14:11:24 +0000
commitda02ccde30a90a2d0c9a7b91f5bb59c953243aad (patch)
tree8d7e871ccc59a9329d25aa2fd0759e18814b9c11
parentfb6aebcbbfc0acf1546a79c7e80fa2c309367b8a (diff)
parentd42b7fd66162be7a94ded287c09461acd7875c8d (diff)
downloadlibvpx-da02ccde30a90a2d0c9a7b91f5bb59c953243aad.tar
libvpx-da02ccde30a90a2d0c9a7b91f5bb59c953243aad.tar.gz
libvpx-da02ccde30a90a2d0c9a7b91f5bb59c953243aad.tar.bz2
libvpx-da02ccde30a90a2d0c9a7b91f5bb59c953243aad.zip
Merge "Fix more typos (n/n)" into main
-rw-r--r--vp8/encoder/firstpass.c4
-rw-r--r--vp9/encoder/vp9_firstpass.c4
-rw-r--r--vp9/encoder/vp9_svc_layercontext.c2
-rw-r--r--vp9/vp9_cx_iface.c2
-rw-r--r--vpx_dsp/ppc/variance_vsx.c2
-rw-r--r--vpx_dsp/variance.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/vp8/encoder/firstpass.c b/vp8/encoder/firstpass.c
index 2b88a88c8..ff088aa96 100644
--- a/vp8/encoder/firstpass.c
+++ b/vp8/encoder/firstpass.c
@@ -1537,7 +1537,7 @@ static int calc_arf_boost(VP8_COMP *cpi, int offset, int f_frames, int b_frames,
/* Calculate the baseline boost number for this frame */
r = calc_frame_boost(cpi, &this_frame, this_frame_mv_in_out);
- /* We want to discount the the flash frame itself and the recovery
+ /* We want to discount the flash frame itself and the recovery
* frame that follows as both will have poor scores.
*/
flash_detected =
@@ -1581,7 +1581,7 @@ static int calc_arf_boost(VP8_COMP *cpi, int offset, int f_frames, int b_frames,
/* Calculate the baseline boost number for this frame */
r = calc_frame_boost(cpi, &this_frame, this_frame_mv_in_out);
- /* We want to discount the the flash frame itself and the recovery
+ /* We want to discount the flash frame itself and the recovery
* frame that follows as both will have poor scores.
*/
flash_detected =
diff --git a/vp9/encoder/vp9_firstpass.c b/vp9/encoder/vp9_firstpass.c
index d726bc15f..27cfc805d 100644
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -610,7 +610,7 @@ static int get_smooth_intra_threshold(VP9_COMMON *cm) {
static uint8_t fp_dn_kernel_3[KERNEL_SIZE * KERNEL_SIZE] = { 1, 2, 1, 2, 4,
2, 1, 2, 1 };
-// Estimate noise at a single point based on the impace of a spatial kernel
+// Estimate noise at a single point based on the impact of a spatial kernel
// on the point value
static int fp_estimate_point_noise(uint8_t *src_ptr, const int stride) {
int sum_weight = 0;
@@ -2038,7 +2038,7 @@ static int compute_arf_boost(const FRAME_INFO *frame_info,
this_frame, &this_frame_mv_in_out, &mv_in_out_accumulator,
&abs_mv_in_out_accumulator, &mv_ratio_accumulator);
- // We want to discount the the flash frame itself and the recovery
+ // We want to discount the flash frame itself and the recovery
// frame that follows as both will have poor scores.
flash_detected = detect_flash_from_frame_stats(this_frame) ||
detect_flash_from_frame_stats(next_frame);
diff --git a/vp9/encoder/vp9_svc_layercontext.c b/vp9/encoder/vp9_svc_layercontext.c
index e4721271d..24fd81813 100644
--- a/vp9/encoder/vp9_svc_layercontext.c
+++ b/vp9/encoder/vp9_svc_layercontext.c
@@ -1145,7 +1145,7 @@ void vp9_svc_constrain_inter_layer_pred(VP9_COMP *const cpi) {
void vp9_svc_assert_constraints_pattern(VP9_COMP *const cpi) {
SVC *const svc = &cpi->svc;
// For fixed/non-flexible mode, the following constraint are expected,
- // when inter-layer prediciton is on (default).
+ // when inter-layer prediction is on (default).
if (svc->temporal_layering_mode != VP9E_TEMPORAL_LAYERING_MODE_BYPASS &&
svc->disable_inter_layer_pred == INTER_LAYER_PRED_ON &&
svc->framedrop_mode != LAYER_DROP) {
diff --git a/vp9/vp9_cx_iface.c b/vp9/vp9_cx_iface.c
index 5873f30e8..cc2ae20d2 100644
--- a/vp9/vp9_cx_iface.c
+++ b/vp9/vp9_cx_iface.c
@@ -2118,7 +2118,7 @@ static vpx_codec_enc_cfg_map_t encoder_usage_cfg_map[] = {
{ 0 }, // ts_rate_decimator
0, // ts_periodicity
{ 0 }, // ts_layer_id
- { 0 }, // layer_taget_bitrate
+ { 0 }, // layer_target_bitrate
0, // temporal_layering_mode
0, // use_vizier_rc_params
{ 1, 1 }, // active_wq_factor
diff --git a/vpx_dsp/ppc/variance_vsx.c b/vpx_dsp/ppc/variance_vsx.c
index be9614a35..6c6bc9a30 100644
--- a/vpx_dsp/ppc/variance_vsx.c
+++ b/vpx_dsp/ppc/variance_vsx.c
@@ -225,7 +225,7 @@ static INLINE void variance(const uint8_t *src_ptr, int src_stride,
}
/* Identical to the variance call except it does not calculate the
- * sse - sum^2 / w*h and returns sse in addtion to modifying the passed in
+ * sse - sum^2 / w*h and returns sse in addition to modifying the passed in
* variable.
*/
#define MSE(W, H) \
diff --git a/vpx_dsp/variance.c b/vpx_dsp/variance.c
index a6793efb6..1c476542f 100644
--- a/vpx_dsp/variance.c
+++ b/vpx_dsp/variance.c
@@ -180,7 +180,7 @@ static void var_filter_block2d_bil_second_pass(
}
/* Identical to the variance call except it does not calculate the
- * sse - sum^2 / w*h and returns sse in addtion to modifying the passed in
+ * sse - sum^2 / w*h and returns sse in addition to modifying the passed in
* variable.
*/
#define MSE(W, H) \