ref: 79f4c1b9a44a8a721e03a93261527d6fc0c4503d
parent: 3e340880a8790283598fd3b174ab74b98c2bd1f0
author: Adrian Grange <[email protected]>
date: Fri Aug 9 12:25:01 EDT 2013
Fixed typos and formatting Change-Id: I3814984a624bc64147c57efa74fbdda8eda47262
--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -4026,7 +4026,7 @@
// Activate segmentation.
vp9_enable_segmentation((VP9_PTR)cpi);
- // Set up the quan, LF and breakout threshold segment data
+ // Set up the quant, LF and breakout threshold segment data
for (i = 0; i < MAX_SEGMENTS; i++) {
feature_data[SEG_LVL_ALT_Q][i] = delta_q[i];
feature_data[SEG_LVL_ALT_LF][i] = delta_lf[i];
@@ -4046,7 +4046,7 @@
vp9_disable_segfeature(seg, i, SEG_LVL_ALT_LF);
}
- // Initialise the feature data structure
+ // Initialize the feature data structure
// SEGMENT_DELTADATA 0, SEGMENT_ABSDATA 1
vp9_set_segment_data((VP9_PTR)cpi, &feature_data[0][0], SEGMENT_DELTADATA);
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -1182,9 +1182,8 @@
}
this_rd = rd_pick_intra4x4block(cpi, mb, i, &best_mode, bmode_costs,
- t_above + idx, t_left + idy,
- &r, &ry, &d, bsize,
- best_rd - total_rd);
+ t_above + idx, t_left + idy, &r, &ry, &d,
+ bsize, best_rd - total_rd);
if (this_rd >= best_rd - total_rd)
return INT64_MAX;
--- a/vpx_scale/generic/yv12config.c
+++ b/vpx_scale/generic/yv12config.c
@@ -192,7 +192,7 @@
ybf->alpha_buffer = ybf->buffer_alloc + yplane_size + 2 * uvplane_size +
(alpha_border_h * alpha_stride) + alpha_border_w;
#endif
- ybf->corrupted = 0; /* assume not currupted by errors */
+ ybf->corrupted = 0; /* assume not corrupted by errors */
return 0;
}
return -2;