Home
last modified time | relevance | path

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

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_find_best_partitioning.cpp611 uncor_lines[j].b = normalize_safe(pm.dir, unit4()); in find_best_partition_candidates()
617 samec_lines[j].b = normalize_safe(pm.avg, unit4()); in find_best_partition_candidates()
680 pl.uncor_line.b = normalize_safe(pm.dir, unit3()); in find_best_partition_candidates()
683 pl.samec_line.b = normalize_safe(pm.avg, unit3()); in find_best_partition_candidates()
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()
Dastcenc_vecmathlib.h300 static ASTCENC_SIMD_INLINE vfloat4 normalize_safe(vfloat4 a, vfloat4 safe) in normalize_safe() function
Dastcenc_pick_best_endpoint_format.cpp255 uncor_rgb_lines.b = normalize_safe(pm.dir, unit3()); in compute_encoding_choice_errors()
258 samec_rgb_lines.b = normalize_safe(pm.avg, unit3()); in compute_encoding_choice_errors()
Dastcenc_ideal_endpoints_and_weights.cpp277 line2 line { pms[i].avg, normalize_safe(dir, unit2()) }; in compute_ideal_colors_and_weights_2_comp()
426 line3 line { pms[i].avg, normalize_safe(dir, unit3()) }; in compute_ideal_colors_and_weights_3_comp()
548 line4 line { pms[i].avg, normalize_safe(dir, unit4()) }; in compute_ideal_colors_and_weights_4_comp()
/hardware/google/gfxstream/third-party/astc-encoder/Source/UnitTest/
Dtest_simd.cpp1040 TEST(vfloat4, normalize_safe) in TEST() argument
1045 vfloat4 r1 = normalize_safe(a1, s); in TEST()
1052 vfloat4 r2 = normalize_safe(a2, s); in TEST()