Searched refs:min_weight (Results 1 - 2 of 2) sorted by relevance
/third_party/astc-encoder/Source/ |
H A D | astcenc_weight_align.cpp | 172 float min_weight = 0.0f; in compute_lowest_and_highest_weight() local 173 // in HIGH_SPEED_PROFILE, max_weight is always equal to 1.0, and min_weight is always equal to 0 in compute_lowest_and_highest_weight() 177 min_weight = dec_weight_ideal_value[0]; in compute_lowest_and_highest_weight() 182 __asm__ volatile("fmin %s0, %s0, %s1" : "+w"(min_weight) : "w"(weight)); in compute_lowest_and_highest_weight() 206 minidx = round((vfloat)vfmaq_n_f32(offset.m, rcp_stepsize.m, min_weight)); in compute_lowest_and_highest_weight()
|
/third_party/pulseaudio/src/modules/ |
H A D | module-loopback.c | 287 double min_cycles_1, min_cycles_2, drift_rate, latency_drift, controller_weight, min_weight; in rate_controller() local 303 min_weight = PA_CLAMP(0.5 / (double)base_rate * (100.0 + (double)u->real_adjust_time / u->adjust_threshold), 0, 1.0); in rate_controller() 305 controller_weight = PA_CLAMP((double)abs(latency_difference_at_optimum_rate) / u->adjust_threshold * min_weight, min_weight, 1.0); in rate_controller()
|
Completed in 5 milliseconds