mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
[isp] Limit ISP search to block size 32. Size 64 is not allowed.
This commit is contained in:
parent
d059db1f65
commit
18fca3798b
|
@ -1392,7 +1392,7 @@ static int8_t search_intra_rdo(
|
|||
double best_isp_cost = MAX_DOUBLE;
|
||||
double best_bits = MAX_DOUBLE;
|
||||
int8_t best_isp_mode = -1;
|
||||
int max_isp_modes = can_do_isp_search && uvg_can_use_isp(width, height, 64 /*MAX_TR_SIZE*/) && state->encoder_control->cfg.isp ? NUM_ISP_MODES : 1;
|
||||
int max_isp_modes = can_do_isp_search && uvg_can_use_isp(width, height, TR_MAX_WIDTH) && state->encoder_control->cfg.isp ? NUM_ISP_MODES : 1;
|
||||
|
||||
for (int isp_mode = 0; isp_mode < max_isp_modes; ++isp_mode) {
|
||||
search_data[mode].pred_cu.intra.isp_mode = isp_mode;
|
||||
|
|
Loading…
Reference in a new issue