Home
last modified time | relevance | path

Searched refs:normalize_safe (Results 1 - 6 of 6) sorted by relevance

/third_party/astc-encoder/Source/
H A Dastcenc_find_best_partitioning.cpp641 uncor_lines[j].b = normalize_safe(pm.dir, unit4());
647 samec_lines[j].b = normalize_safe(pm.avg, unit4());
709 pl.uncor_line.b = normalize_safe(pm.dir, unit3());
712 pl.samec_line.b = normalize_safe(pm.avg, unit3());
H A Dastcenccli_error_metrics.cpp275 normal1 = normalize_safe(normal1.swz<0, 1, 2>(), unit3()); in compute_error_metrics()
278 normal2 = normalize_safe(normal2.swz<0, 1, 2>(), unit3()); in compute_error_metrics()
H A Dastcenc_vecmathlib.h300 static ASTCENC_SIMD_INLINE vfloat4 normalize_safe(vfloat4 a, vfloat4 safe) in normalize_safe() function
H A Dastcenc_pick_best_endpoint_format.cpp345 uncor_rgb_lines.b = normalize_safe(pm.dir, unit3());
348 samec_rgb_lines.b = normalize_safe(pm.avg, unit3());
H A Dastcenc_ideal_endpoints_and_weights.cpp277 line2 line { pms[i].avg, normalize_safe(dir, unit2()) };
426 line3 line { pms[i].avg, normalize_safe(dir, unit3()) };
593 line4 line { pms[i].avg, normalize_safe(dir, unit4()) };
/third_party/astc-encoder/Source/UnitTest/
H A Dtest_simd.cpp1039 /** @brief Test vfloat4 normalize_safe. */
1040 TEST(vfloat4, normalize_safe) in TEST()
1045 vfloat4 r1 = normalize_safe(a1, s); in TEST()
1052 vfloat4 r2 = normalize_safe(a2, s); in TEST()

Completed in 10 milliseconds