mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-12-17 19:04:05 +00:00
[inter] Disable AMVR by default
* Can be used to reduce cost on signalling motion vectors later
This commit is contained in:
parent
d4902cc840
commit
757772e8c4
|
@ -195,7 +195,7 @@ int kvz_config_init(kvz_config *cfg)
|
|||
|
||||
cfg->jccr = 0;
|
||||
|
||||
cfg->amvr = 1;
|
||||
cfg->amvr = 0;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -1368,8 +1368,9 @@ void kvz_encode_coding_tree(encoder_state_t * const state,
|
|||
kvz_hmvp_add_mv(state, x, y, pu_w, pu_h, cur_pu);
|
||||
}
|
||||
|
||||
// imv mode, set to quarter-pel resolution
|
||||
if (non_zero_mvd) {
|
||||
// imv mode, select between fullpel, half-pel and quarter-pel resolutions
|
||||
// 0 = off, 1 = fullpel, 2 = quarter-pel, 3 = half-pel
|
||||
if (ctrl->cfg.amvr && non_zero_mvd) {
|
||||
cabac->cur_ctx = &(cabac->ctx.imv_flag[0]);
|
||||
CABAC_BIN(cabac, (imv_mode > 0), "imv_flag");
|
||||
if (imv_mode > 0) {
|
||||
|
|
Loading…
Reference in a new issue