Searched refs:normalize_safe (Results 1 – 6 of 6) sorted by relevance
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_find_best_partitioning.cpp | 611 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()
|
D | astcenccli_error_metrics.cpp | 275 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()
|
D | astcenc_vecmathlib.h | 300 static ASTCENC_SIMD_INLINE vfloat4 normalize_safe(vfloat4 a, vfloat4 safe) in normalize_safe() function
|
D | astcenc_pick_best_endpoint_format.cpp | 255 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()
|
D | astcenc_ideal_endpoints_and_weights.cpp | 277 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/ |
D | test_simd.cpp | 1040 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()
|