X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Flibvpx%2Fsource%2Flibvpx%2Fvp9%2Fcommon%2Fvp9_onyxc_int.h;h=f1eda9117377aba1826d992a3dc4d599802c687f;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=792e9d970b7095d76de34d3f5ccbbdc04822bc26;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/libvpx/source/libvpx/vp9/common/vp9_onyxc_int.h b/src/third_party/libvpx/source/libvpx/vp9/common/vp9_onyxc_int.h index 792e9d9..f1eda91 100644 --- a/src/third_party/libvpx/source/libvpx/vp9/common/vp9_onyxc_int.h +++ b/src/third_party/libvpx/source/libvpx/vp9/common/vp9_onyxc_int.h @@ -143,7 +143,6 @@ typedef struct VP9Common { int prev_mi_idx; int mi_alloc_size; MODE_INFO *mip_array[2]; - MODE_INFO **mi_grid_base_array[2]; MODE_INFO *mip; /* Base of allocated array */ MODE_INFO *mi; /* Corresponds to upper left visible macroblock */ @@ -180,6 +179,7 @@ typedef struct VP9Common { // VPX_BITS_8 in profile 0 or 1, VPX_BITS_10 or VPX_BITS_12 in profile 2 or 3. vpx_bit_depth_t bit_depth; + vpx_bit_depth_t dequant_bit_depth; // bit_depth of current dequantizer #if CONFIG_VP9_POSTPROC struct postproc_state postproc_state; @@ -328,11 +328,11 @@ static INLINE int partition_plane_context(const MACROBLOCKD *xd, const PARTITION_CONTEXT *above_ctx = xd->above_seg_context + mi_col; const PARTITION_CONTEXT *left_ctx = xd->left_seg_context + (mi_row & MI_MASK); - const int bsl = mi_width_log2(bsize); + const int bsl = mi_width_log2_lookup[bsize]; const int bs = 1 << bsl; int above = 0, left = 0, i; - assert(b_width_log2(bsize) == b_height_log2(bsize)); + assert(b_width_log2_lookup[bsize] == b_height_log2_lookup[bsize]); assert(bsl >= 0); for (i = 0; i < bs; i++) {