Lines Matching defs:min
117 * @brief Return the clamped value between min and max.
121 return min(max(a, vint4(minv)), vint4(maxv));
194 * @brief Return the min vector of a vector and a scalar.
198 ASTCENC_SIMD_INLINE vfloat4 min(vfloat4 a, float b)
200 return min(a, vfloat4(b));
214 * @brief Return the clamped value between min and max.
216 * It is assumed that neither @c min nor @c max are NaN values. If @c a is NaN
217 * then @c min will be returned for that lane.
222 return min(max(a, minv), maxv);
234 return min(max(a, vfloat4::zero()), maxv);
245 return min(max(a, vfloat4::zero()), 1.0f);
257 * @brief Return the horizontal min of RGB vector lanes as a scalar.