Searched refs:rgba_sum (Results 1 – 1 of 1) sorted by relevance
1209 vfloat4 rgba_sum(blk.data_mean * static_cast<float>(blk.texel_count)); in recompute_ideal_colors_1plane() local1219 rgba_sum = vfloat4(1e-17f); in recompute_ideal_colors_1plane()1224 rgba_sum += blk.texel(tix); in recompute_ideal_colors_1plane()1228 rgba_sum = rgba_sum * blk.channel_weight; in recompute_ideal_colors_1plane()1230 vfloat4 scale_dir = normalize((rgba_sum / rgba_weight_sum).swz<0, 1, 2>()); in recompute_ideal_colors_1plane()