Home
last modified time | relevance | path

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

/third_party/astc-encoder/Source/
Dastcenc_averages_and_directions.cpp393 float texel_weight = hadd_s(blk.channel_weight) / 4.0f; in compute_avgs_and_dirs_4_comp() local
437 sum_xp = sum_xp * texel_weight; in compute_avgs_and_dirs_4_comp()
438 sum_yp = sum_yp * texel_weight; in compute_avgs_and_dirs_4_comp()
439 sum_zp = sum_zp * texel_weight; in compute_avgs_and_dirs_4_comp()
440 sum_wp = sum_wp * texel_weight; in compute_avgs_and_dirs_4_comp()
476 float texel_weight = hadd_s(blk.channel_weight.swz<0, 1, 2>()); in compute_avgs_and_dirs_3_comp() local
485 texel_weight = hadd_s(blk.channel_weight.swz<1, 2, 3>()); in compute_avgs_and_dirs_3_comp()
498 texel_weight = hadd_s(blk.channel_weight.swz<0, 2, 3>()); in compute_avgs_and_dirs_3_comp()
510 texel_weight = hadd_s(blk.channel_weight.swz<0, 1, 3>()); in compute_avgs_and_dirs_3_comp()
527 texel_weight = texel_weight * (1.0f / 3.0f); in compute_avgs_and_dirs_3_comp()
[all …]