mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
[isp] Limit ISP search to block size 32. Size 64 is not allowed.
This commit is contained in:
parent
8ae285322e
commit
c4bc2d6b10
|
@ -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