Merged branch 'master' into nextgenv2
Resolved Conflicts in the following files:
configure
vp10/common/idct.c
vp10/encoder/dct.c
vp10/encoder/encodemb.c
vp10/encoder/rdopt.c
Change-Id: I4cb3986b0b80de65c722ca29d53a0a57f5a94316
This commit is contained in:
@@ -170,15 +170,16 @@ static BLOCK_SIZE get_rd_var_based_fixed_partition(VP10_COMP *cpi,
|
||||
|
||||
// Lighter version of set_offsets that only sets the mode info
|
||||
// pointers.
|
||||
static INLINE void set_mode_info_offsets(VP10_COMMON *const cm,
|
||||
static INLINE void set_mode_info_offsets(VP10_COMP *const cpi,
|
||||
MACROBLOCK *const x,
|
||||
MACROBLOCKD *const xd,
|
||||
int mi_row,
|
||||
int mi_col) {
|
||||
VP10_COMMON *const cm = &cpi->common;
|
||||
const int idx_str = xd->mi_stride * mi_row + mi_col;
|
||||
xd->mi = cm->mi_grid_visible + idx_str;
|
||||
xd->mi[0] = cm->mi + idx_str;
|
||||
x->mbmi_ext = x->mbmi_ext_base + (mi_row * cm->mi_cols + mi_col);
|
||||
x->mbmi_ext = cpi->mbmi_ext_base + (mi_row * cm->mi_cols + mi_col);
|
||||
}
|
||||
|
||||
static void set_offsets(VP10_COMP *cpi, const TileInfo *const tile,
|
||||
@@ -193,7 +194,7 @@ static void set_offsets(VP10_COMP *cpi, const TileInfo *const tile,
|
||||
|
||||
set_skip_context(xd, mi_row, mi_col);
|
||||
|
||||
set_mode_info_offsets(cm, x, xd, mi_row, mi_col);
|
||||
set_mode_info_offsets(cpi, x, xd, mi_row, mi_col);
|
||||
|
||||
mbmi = &xd->mi[0]->mbmi;
|
||||
|
||||
@@ -244,7 +245,7 @@ static void set_block_size(VP10_COMP * const cpi,
|
||||
int mi_row, int mi_col,
|
||||
BLOCK_SIZE bsize) {
|
||||
if (cpi->common.mi_cols > mi_col && cpi->common.mi_rows > mi_row) {
|
||||
set_mode_info_offsets(&cpi->common, x, xd, mi_row, mi_col);
|
||||
set_mode_info_offsets(cpi, x, xd, mi_row, mi_col);
|
||||
xd->mi[0]->mbmi.sb_type = bsize;
|
||||
}
|
||||
}
|
||||
@@ -2695,18 +2696,6 @@ static void encode_frame_internal(VP10_COMP *cpi) {
|
||||
cm->uv_dc_delta_q == 0 &&
|
||||
cm->uv_ac_delta_q == 0;
|
||||
|
||||
#if CONFIG_VP9_HIGHBITDEPTH
|
||||
if (cm->use_highbitdepth)
|
||||
x->fwd_txm4x4 = xd->lossless ? vp10_highbd_fwht4x4 : vpx_highbd_fdct4x4;
|
||||
else
|
||||
x->fwd_txm4x4 = xd->lossless ? vp10_fwht4x4 : vpx_fdct4x4;
|
||||
x->highbd_itxm_add = xd->lossless ? vp10_highbd_iwht4x4_add :
|
||||
vp10_highbd_idct4x4_add;
|
||||
#else
|
||||
x->fwd_txm4x4 = xd->lossless ? vp10_fwht4x4 : vpx_fdct4x4;
|
||||
#endif // CONFIG_VP9_HIGHBITDEPTH
|
||||
x->itxm_add = xd->lossless ? vp10_iwht4x4_add : vp10_idct4x4_add;
|
||||
|
||||
if (xd->lossless)
|
||||
x->optimize = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user