Lines Matching refs:g_level_constraint
1800 static level_constraints_t g_level_constraint[NB_LEVELS_TRACKED+1]; variable
1805 memset(g_level_constraint, 0, sizeof(g_level_constraint)); in BMK_init_level_constraints()
1806 g_level_constraint[1].cSpeed_min = bytePerSec_level1; in BMK_init_level_constraints()
1807 g_level_constraint[1].dSpeed_min = 0; in BMK_init_level_constraints()
1808 g_level_constraint[1].windowLog_max = 19; in BMK_init_level_constraints()
1809 g_level_constraint[1].strategy_max = ZSTD_fast; in BMK_init_level_constraints()
1814 g_level_constraint[l].cSpeed_min = (g_level_constraint[l-1].cSpeed_min * 49) / 64; in BMK_init_level_constraints()
1815 g_level_constraint[l].dSpeed_min = 0; in BMK_init_level_constraints()
1816 …g_level_constraint[l].windowLog_max = (l<20) ? 23 : l+5; /* only --ultra levels >= 20 can use wi… in BMK_init_level_constraints()
1817 g_level_constraint[l].strategy_max = ZSTD_STRATEGY_MAX; in BMK_init_level_constraints()
1834 if (testResult.cSpeed < g_level_constraint[cLevel].cSpeed_min) in BMK_seed()
1836 if (testResult.dSpeed < g_level_constraint[cLevel].dSpeed_min) in BMK_seed()
1838 if (params.vals[wlog_ind] > g_level_constraint[cLevel].windowLog_max) in BMK_seed()
1840 if (params.vals[strt_ind] > (U32)g_level_constraint[cLevel].strategy_max) in BMK_seed()