ref: 9c13add33a5db7d81b8d4d3c49a5f589dee80c69
parent: 5de72718b2c5037aea1334a01b989ef904af2e83
parent: 2294a2e995e2d176a8377ad6c968c165f346b01e
author: Jingning Han <[email protected]>
date: Wed Jul 25 23:53:22 EDT 2018
Merge "Clean up get_overlap_area function"
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -5629,7 +5629,6 @@
int get_overlap_area(int grid_pos_row, int grid_pos_col, int ref_pos_row,
int ref_pos_col, int block, BLOCK_SIZE bsize) {
- int overlap_area;
int width = 0, height = 0;
int bw = 4 << b_width_log2_lookup[bsize];
int bh = 4 << b_height_log2_lookup[bsize];
@@ -5654,7 +5653,7 @@
default: assert(0);
}
- return overlap_area = width * height;
+ return width * height;
}
int round_floor(int ref_pos, int bsize_pix) {