Commit b72bc718 authored by Yushin Cho's avatar Yushin Cho

Remove unused variables in blockd.h

Change-Id: I687453ab28d72412e49b4cc2676b70425b80848b
parent 6fc47e5f
......@@ -502,10 +502,6 @@ typedef struct macroblockd_plane {
#endif
uint8_t *color_index_map;
// number of 4x4s in current block
uint16_t n4_w, n4_h;
// log2 of n4_w, n4_h
uint8_t n4_wl, n4_hl;
// block size in pixels
uint8_t width, height;
......
......@@ -795,9 +795,6 @@ static INLINE int calc_mi_size(int len) {
static INLINE void set_plane_n4(MACROBLOCKD *const xd, int bw, int bh) {
int i;
for (i = 0; i < MAX_MB_PLANE; i++) {
xd->plane[i].n4_w = (bw << 1) >> xd->plane[i].subsampling_x;
xd->plane[i].n4_h = (bh << 1) >> xd->plane[i].subsampling_y;
xd->plane[i].width = (bw * MI_SIZE) >> xd->plane[i].subsampling_x;
xd->plane[i].height = (bh * MI_SIZE) >> xd->plane[i].subsampling_y;
......
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