Lines Matching full:average
28 * @brief Compute the average RGB color of each partition.
34 * the last partition can be computed given that we know the block-wide average
199 * @brief Compute the average RGBA color of each partition.
205 * the last partition can be computed given that we know the block-wide average
406 vfloat4 average = partition_averages[partition]; in compute_avgs_and_dirs_4_comp() local
407 pm[partition].avg = average; in compute_avgs_and_dirs_4_comp()
418 texel_datum = texel_datum - average; in compute_avgs_and_dirs_4_comp()
521 vfloat4 average = partition_averages[partition]; in compute_avgs_and_dirs_3_comp() local
522 pm[partition].avg = average; in compute_avgs_and_dirs_3_comp()
535 texel_datum = texel_datum - average; in compute_avgs_and_dirs_3_comp()
586 vfloat4 average = partition_averages[partition]; in compute_avgs_and_dirs_3_comp_rgb() local
587 pm[partition].avg = average; in compute_avgs_and_dirs_3_comp_rgb()
598 texel_datum = texel_datum - average; in compute_avgs_and_dirs_3_comp_rgb()
638 vfloat4 average; in compute_avgs_and_dirs_2_comp() local
645 average = blk.data_mean.swz<0, 1>(); in compute_avgs_and_dirs_2_comp()
652 average = blk.data_mean.swz<0, 2>(); in compute_avgs_and_dirs_2_comp()
661 average = blk.data_mean.swz<1, 2>(); in compute_avgs_and_dirs_2_comp()
679 average = vfloat4::zero(); in compute_avgs_and_dirs_2_comp()
683 average += vfloat2(data_vr[iwt], data_vg[iwt]); in compute_avgs_and_dirs_2_comp()
686 average = average / static_cast<float>(texel_count); in compute_avgs_and_dirs_2_comp()
689 pm[partition].avg = average; in compute_avgs_and_dirs_2_comp()
698 texel_datum = texel_datum - average; in compute_avgs_and_dirs_2_comp()