Commit 79f4c1b9 authored by Adrian Grange's avatar Adrian Grange Committed by Gerrit Code Review
Browse files

Fixed typos and formatting

Change-Id: I3814984a624bc64147c57efa74fbdda8eda47262
parent 3e340880
...@@ -4026,7 +4026,7 @@ int vp9_set_roimap(VP9_PTR comp, unsigned char *map, unsigned int rows, ...@@ -4026,7 +4026,7 @@ int vp9_set_roimap(VP9_PTR comp, unsigned char *map, unsigned int rows,
// Activate segmentation. // Activate segmentation.
vp9_enable_segmentation((VP9_PTR)cpi); 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++) { for (i = 0; i < MAX_SEGMENTS; i++) {
feature_data[SEG_LVL_ALT_Q][i] = delta_q[i]; feature_data[SEG_LVL_ALT_Q][i] = delta_q[i];
feature_data[SEG_LVL_ALT_LF][i] = delta_lf[i]; feature_data[SEG_LVL_ALT_LF][i] = delta_lf[i];
...@@ -4046,7 +4046,7 @@ int vp9_set_roimap(VP9_PTR comp, unsigned char *map, unsigned int rows, ...@@ -4046,7 +4046,7 @@ int vp9_set_roimap(VP9_PTR comp, unsigned char *map, unsigned int rows,
vp9_disable_segfeature(seg, i, SEG_LVL_ALT_LF); 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 // SEGMENT_DELTADATA 0, SEGMENT_ABSDATA 1
vp9_set_segment_data((VP9_PTR)cpi, &feature_data[0][0], SEGMENT_DELTADATA); vp9_set_segment_data((VP9_PTR)cpi, &feature_data[0][0], SEGMENT_DELTADATA);
......
...@@ -1182,9 +1182,8 @@ static int64_t rd_pick_intra_sub_8x8_y_mode(VP9_COMP * const cpi, ...@@ -1182,9 +1182,8 @@ static int64_t rd_pick_intra_sub_8x8_y_mode(VP9_COMP * const cpi,
} }
this_rd = rd_pick_intra4x4block(cpi, mb, i, &best_mode, bmode_costs, this_rd = rd_pick_intra4x4block(cpi, mb, i, &best_mode, bmode_costs,
t_above + idx, t_left + idy, t_above + idx, t_left + idy, &r, &ry, &d,
&r, &ry, &d, bsize, bsize, best_rd - total_rd);
best_rd - total_rd);
if (this_rd >= best_rd - total_rd) if (this_rd >= best_rd - total_rd)
return INT64_MAX; return INT64_MAX;
......
...@@ -192,7 +192,7 @@ int vp9_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, ...@@ -192,7 +192,7 @@ int vp9_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf,
ybf->alpha_buffer = ybf->buffer_alloc + yplane_size + 2 * uvplane_size + ybf->alpha_buffer = ybf->buffer_alloc + yplane_size + 2 * uvplane_size +
(alpha_border_h * alpha_stride) + alpha_border_w; (alpha_border_h * alpha_stride) + alpha_border_w;
#endif #endif
ybf->corrupted = 0; /* assume not currupted by errors */ ybf->corrupted = 0; /* assume not corrupted by errors */
return 0; return 0;
} }
return -2; return -2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment