Lines Matching defs: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];
407 pm[partition].avg = average;
418 texel_datum = texel_datum - average;
521 vfloat4 average = partition_averages[partition];
522 pm[partition].avg = average;
535 texel_datum = texel_datum - average;
586 vfloat4 average = partition_averages[partition];
587 pm[partition].avg = average;
598 texel_datum = texel_datum - average;
638 vfloat4 average;
645 average = blk.data_mean.swz<0, 1>();
652 average = blk.data_mean.swz<0, 2>();
661 average = blk.data_mean.swz<1, 2>();
679 average = vfloat4::zero();
683 average += vfloat2(data_vr[iwt], data_vg[iwt]);
686 average = average / static_cast<float>(texel_count);
689 pm[partition].avg = average;
698 texel_datum = texel_datum - average;