Lines Matching refs:config
555 * @param config The compressor configuration.
567 const astcenc_config& config,
579 promise(config.tune_candidate_limit > 0);
580 promise(config.tune_refinement_limit > 0);
585 if ((partition_count == 1) && !(config.flags & ASTCENC_FLG_MAP_RGBM))
711 config.tune_candidate_limit, 0, max_block_modes,
750 for (unsigned int l = 0; l < config.tune_refinement_limit; l++)
833 float errorval = compute_difference(config, bsd, workscb, blk);
847 unsigned int iters_remaining = config.tune_refinement_limit - l;
873 config.profile, bsd, blk, workscb);
878 config.profile, bsd, blk, workscb);
882 float errorval = compute_difference(config, bsd, workscb, blk);
895 unsigned int iters_remaining = config.tune_refinement_limit - 1 - l;
929 * @param config The compressor configuration.
939 const astcenc_config& config,
948 promise(config.tune_candidate_limit > 0);
949 promise(config.tune_refinement_limit > 0);
1097 config.privateProfile,
1099 config.tune_candidate_limit,
1141 for (unsigned int l = 0; l < config.tune_refinement_limit; l++)
1170 float errorval = compute_symbolic_block_difference_2plane(config, bsd, workscb, blk);
1184 unsigned int iters_remaining = config.tune_refinement_limit - l;
1211 config.profile, bsd, blk, workscb);
1216 config.profile, bsd, blk, workscb);
1220 float errorval = compute_symbolic_block_difference_2plane(config, bsd, workscb, blk);
1233 unsigned int iters_remaining = config.tune_refinement_limit - 1 - l;
1400 astcenc_profile decode_mode = ctx.config.profile;
1420 if (ctx.config.privateProfile == HIGH_SPEED_PROFILE)
1425 else if (ctx.config.privateProfile == CUSTOMIZED_PROFILE)
1438 max_partitions = ctx.config.tune_partition_count_limit;
1442 ctx.config.tune_2partition_index_limit,
1443 ctx.config.tune_3partition_index_limit,
1444 ctx.config.tune_4partition_index_limit
1448 ctx.config.tune_2partitioning_candidate_limit,
1449 ctx.config.tune_3partitioning_candidate_limit,
1450 ctx.config.tune_4partitioning_candidate_limit
1457 float error_threshold = ctx.config.tune_db_limit
1494 if (ctx.config.privateProfile != HIGH_QUALITY_PROFILE)
1500 if (ctx.config.privateProfile == HIGH_SPEED_PROFILE)
1505 else if (ctx.config.privateProfile == CUSTOMIZED_PROFILE)
1527 scb.privateProfile = ctx.config.privateProfile;
1539 float error_threshold = ctx.config.tune_db_limit
1555 ctx.config.tune_2partition_early_out_limit_factor,
1556 ctx.config.tune_3partition_early_out_limit_factor,
1568 1.0f / ctx.config.tune_mse_overshoot,
1572 static const float errorval_overshoot = 1.0f / ctx.config.tune_mse_overshoot;
1577 if ((ctx.config.tune_search_mode0_enable >= TUNE_MIN_SEARCH_MODE0) && (bsd.zdim == 1))
1591 ctx.config.privateProfile,
1592 ctx.config, bsd, blk, i == 0,
1601 if ((ctx.config.privateProfile == HIGH_SPEED_PROFILE) || (errorval < (error_threshold * errorval_mult[i])))
1612 block_skip_two_plane = lowest_correl > ctx.config.tune_2plane_early_out_limit_correlation;
1618 if (ctx.config.privateProfile != HIGH_QUALITY_PROFILE)
1646 ctx.config.privateProfile,
1647 ctx.config, bsd, blk, error_threshold * errorval_overshoot,
1688 ctx.config.privateProfile,
1689 ctx.config, bsd, blk, false,
1749 scb.privateProfile = ctx.config.privateProfile;
1754 decompress_symbolic_block(ctx.config.profile, bsd, blk.xpos, blk.ypos, blk.zpos, scb, decBlk);