Some fixes from merging MISC_FIXES config
Change-Id: I3f77e952af3c441a50479bb5d278ea0fd6cf62c6
This commit is contained in:
Родитель
8edbe4d6db
Коммит
104636a39a
|
@ -192,9 +192,9 @@ static void vp10_init_intra_predictors_internal(void) {
|
|||
|
||||
INIT_ALL_SIZES(pred[V_PRED], v);
|
||||
INIT_ALL_SIZES(pred[H_PRED], h);
|
||||
INIT_ALL_SIZES(pred[D207_PRED], d207);
|
||||
INIT_ALL_SIZES(pred[D45_PRED], d45);
|
||||
INIT_ALL_SIZES(pred[D63_PRED], d63);
|
||||
INIT_ALL_SIZES(pred[D207_PRED], d207e);
|
||||
INIT_ALL_SIZES(pred[D45_PRED], d45e);
|
||||
INIT_ALL_SIZES(pred[D63_PRED], d63e);
|
||||
INIT_ALL_SIZES(pred[D117_PRED], d117);
|
||||
INIT_ALL_SIZES(pred[D135_PRED], d135);
|
||||
INIT_ALL_SIZES(pred[D153_PRED], d153);
|
||||
|
@ -208,9 +208,9 @@ static void vp10_init_intra_predictors_internal(void) {
|
|||
#if CONFIG_VP9_HIGHBITDEPTH
|
||||
INIT_ALL_SIZES(pred_high[V_PRED], highbd_v);
|
||||
INIT_ALL_SIZES(pred_high[H_PRED], highbd_h);
|
||||
INIT_ALL_SIZES(pred_high[D207_PRED], highbd_d207);
|
||||
INIT_ALL_SIZES(pred_high[D45_PRED], highbd_d45);
|
||||
INIT_ALL_SIZES(pred_high[D63_PRED], highbd_d63);
|
||||
INIT_ALL_SIZES(pred_high[D207_PRED], highbd_d207e);
|
||||
INIT_ALL_SIZES(pred_high[D45_PRED], highbd_d45e);
|
||||
INIT_ALL_SIZES(pred_high[D63_PRED], highbd_d63e);
|
||||
INIT_ALL_SIZES(pred_high[D117_PRED], highbd_d117);
|
||||
INIT_ALL_SIZES(pred_high[D135_PRED], highbd_d135);
|
||||
INIT_ALL_SIZES(pred_high[D153_PRED], highbd_d153);
|
||||
|
|
|
@ -23,7 +23,7 @@ static int inv_recenter_nonneg(int v, int m) {
|
|||
|
||||
static int decode_uniform(vpx_reader *r) {
|
||||
const int l = 8;
|
||||
const int m = (1 << l) - 192;
|
||||
const int m = (1 << l) - 190;
|
||||
const int v = vpx_read_literal(r, l - 1);
|
||||
return v < m ? v : (v << 1) - m + vpx_read_bit(r);
|
||||
}
|
||||
|
|
|
@ -85,7 +85,7 @@ static int prob_diff_update_cost(vpx_prob newp, vpx_prob oldp) {
|
|||
|
||||
static void encode_uniform(vpx_writer *w, int v) {
|
||||
const int l = 8;
|
||||
const int m = (1 << l) - 192;
|
||||
const int m = (1 << l) - 190;
|
||||
if (v < m) {
|
||||
vpx_write_literal(w, v, l - 1);
|
||||
} else {
|
||||
|
|
|
@ -832,6 +832,9 @@ static INLINE void highbd_dc_predictor(uint16_t *dst, ptrdiff_t stride,
|
|||
intra_pred_no_4x4(d207)
|
||||
intra_pred_no_4x4(d63)
|
||||
intra_pred_no_4x4(d45)
|
||||
intra_pred_allsizes(d207e)
|
||||
intra_pred_allsizes(d63e)
|
||||
intra_pred_no_4x4(d45e)
|
||||
intra_pred_no_4x4(d117)
|
||||
intra_pred_no_4x4(d135)
|
||||
intra_pred_no_4x4(d153)
|
||||
|
|
Загрузка…
Ссылка в новой задаче