Fixed typos and formatting
Change-Id: I3814984a624bc64147c57efa74fbdda8eda47262
This commit is contained in:
parent
3e340880a8
commit
79f4c1b9a4
@ -4026,7 +4026,7 @@ int vp9_set_roimap(VP9_PTR comp, unsigned char *map, unsigned int rows,
|
||||
// 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 @@ int vp9_set_roimap(VP9_PTR comp, unsigned char *map, unsigned int rows,
|
||||
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);
|
||||
|
||||
|
@ -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,
|
||||
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;
|
||||
|
||||
|
@ -192,7 +192,7 @@ int vp9_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user