Commit 59dd91b0 authored by Sebastien Alaiwan's avatar Sebastien Alaiwan

Remove EIGHTH_PEL_MV_ONLY experiment

This experiment has been abandonned for AV1.

Change-Id: I28c92b8cfd41742b0d2713737d0fd1c34d66c6ca
parent 5024136f
......@@ -3068,18 +3068,10 @@ static int read_uncompressed_header(AV1Decoder *pbi,
if (cm->cur_frame_force_integer_mv) {
cm->allow_high_precision_mv = 0;
} else {
#if CONFIG_EIGHTH_PEL_MV_ONLY
cm->allow_high_precision_mv = 1;
#else
cm->allow_high_precision_mv = aom_rb_read_bit(rb);
#endif // CONFIG_EIGHTH_PEL_MV_ONLY
}
#else
#if CONFIG_EIGHTH_PEL_MV_ONLY
cm->allow_high_precision_mv = 1;
#else
cm->allow_high_precision_mv = aom_rb_read_bit(rb);
#endif // CONFIG_EIGHTH_PEL_MV_ONLY
#endif
cm->interp_filter = read_frame_interp_filter(rb);
if (frame_might_use_prev_frame_mvs(cm))
......
......@@ -3742,14 +3742,10 @@ static void write_uncompressed_header_frame(AV1_COMP *cpi,
if (cm->cur_frame_force_integer_mv) {
cm->allow_high_precision_mv = 0;
} else {
#if !CONFIG_EIGHTH_PEL_MV_ONLY
aom_wb_write_bit(wb, cm->allow_high_precision_mv);
#endif // !CONFIG_EIGHTH_PEL_MV_ONLY
}
#else
#if !CONFIG_EIGHTH_PEL_MV_ONLY
aom_wb_write_bit(wb, cm->allow_high_precision_mv);
#endif // !CONFIG_EIGHTH_PEL_MV_ONLY
#endif
fix_interp_filter(cm, cpi->td.counts);
write_frame_interp_filter(cm->interp_filter, wb);
......
......@@ -4750,18 +4750,10 @@ static void set_size_dependent_vars(AV1_COMP *cpi, int *q, int *bottom_index,
if (!frame_is_intra_only(cm)) {
#if CONFIG_AMVR
#if CONFIG_EIGHTH_PEL_MV_ONLY
set_high_precision_mv(cpi, 1, cpi->common.cur_frame_force_integer_mv);
#else
set_high_precision_mv(cpi, (*q) < HIGH_PRECISION_MV_QTHRESH,
cpi->common.cur_frame_force_integer_mv);
#endif // CONFIG_EIGHTH_PEL_MV_ONLY
#else
#if CONFIG_EIGHTH_PEL_MV_ONLY
set_high_precision_mv(cpi, 1);
#else
set_high_precision_mv(cpi, (*q) < HIGH_PRECISION_MV_QTHRESH);
#endif // CONFIG_EIGHTH_PEL_MV_ONLY
#endif
}
......@@ -6702,17 +6694,9 @@ int av1_get_compressed_data(AV1_COMP *cpi, unsigned int *frame_flags,
aom_usec_timer_start(&cmptimer);
#if CONFIG_AMVR
#if CONFIG_EIGHTH_PEL_MV_ONLY
set_high_precision_mv(cpi, 1, 0);
#else
set_high_precision_mv(cpi, ALTREF_HIGH_PRECISION_MV, 0);
#endif // CONFIG_EIGHTH_PEL_MV_ONLY
#else
#if CONFIG_EIGHTH_PEL_MV_ONLY
set_high_precision_mv(cpi, 1);
#else
set_high_precision_mv(cpi, ALTREF_HIGH_PRECISION_MV);
#endif // CONFIG_EIGHTH_PEL_MV_ONLY
#endif
// Is multi-arf enabled.
......
......@@ -99,7 +99,6 @@ set(CONFIG_DEPENDENT_HORZTILEGROUPS 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_DEPENDENT_HORZTILES 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_DIST_8X8 1 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_DUAL_FILTER 1 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_EIGHTH_PEL_MV_ONLY 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_ENTROPY_STATS 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_EOB_FIRST 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_EXT_COMP_REFS 1 CACHE NUMBER "AV1 experiment flag.")
......
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