Searched refs:partition_texel_count (Results 1 – 7 of 7) sorted by relevance
94 averages[0] = p0_total / static_cast<float>(pi.partition_texel_count[0]); in compute_partition_averages_rgb()95 averages[1] = p1_total / static_cast<float>(pi.partition_texel_count[1]); in compute_partition_averages_rgb()138 averages[0] = p0_total / static_cast<float>(pi.partition_texel_count[0]); in compute_partition_averages_rgb()139 averages[1] = p1_total / static_cast<float>(pi.partition_texel_count[1]); in compute_partition_averages_rgb()140 averages[2] = p2_total / static_cast<float>(pi.partition_texel_count[2]); in compute_partition_averages_rgb()191 averages[0] = p0_total / static_cast<float>(pi.partition_texel_count[0]); in compute_partition_averages_rgb()192 averages[1] = p1_total / static_cast<float>(pi.partition_texel_count[1]); in compute_partition_averages_rgb()193 averages[2] = p2_total / static_cast<float>(pi.partition_texel_count[2]); in compute_partition_averages_rgb()194 averages[3] = p3_total / static_cast<float>(pi.partition_texel_count[3]); in compute_partition_averages_rgb()269 averages[0] = p0_total / static_cast<float>(pi.partition_texel_count[0]); in compute_partition_averages_rgba()[all …]
155 uint8_t partition_texel_count[BLOCK_MAX_PARTITIONS] { 0 }; in kmeans_assign() local176 partition_texel_count[best_partition]++; in kmeans_assign()189 if (partition_texel_count[i] == 0) in kmeans_assign()191 partition_texel_count[partition_of_texel[i]]--; in kmeans_assign()192 partition_texel_count[i]++; in kmeans_assign()226 uint8_t partition_texel_count[BLOCK_MAX_PARTITIONS] { 0 }; in kmeans_update() local233 partition_texel_count[partition]++; in kmeans_update()239 float scale = 1.0f / static_cast<float>(partition_texel_count[i]); in kmeans_update()597 float tpp = static_cast<float>(pi.partition_texel_count[j]); in find_best_partition_candidates()682 float tpp = static_cast<float>(pi.partition_texel_count[j]); in find_best_partition_candidates()
84 unsigned int partition_texel_count = pi.partition_texel_count[i]; in compute_ideal_colors_and_weights_1_comp() local85 for (unsigned int j = 0; j < partition_texel_count; j++) in compute_ideal_colors_and_weights_1_comp()112 for (unsigned int j = 0; j < partition_texel_count; j++) in compute_ideal_colors_and_weights_1_comp()211 unsigned int partition_texel_count = pi.partition_texel_count[i]; in compute_ideal_colors_and_weights_2_comp() local212 for (unsigned int j = 0; j < partition_texel_count; j++) in compute_ideal_colors_and_weights_2_comp()244 for (unsigned int j = 0; j < partition_texel_count; j++) in compute_ideal_colors_and_weights_2_comp()360 unsigned int partition_texel_count = pi.partition_texel_count[i]; in compute_ideal_colors_and_weights_3_comp() local361 for (unsigned int j = 0; j < partition_texel_count; j++) in compute_ideal_colors_and_weights_3_comp()393 for (unsigned int j = 0; j < partition_texel_count; j++) in compute_ideal_colors_and_weights_3_comp()482 unsigned int partition_texel_count = pi.partition_texel_count[i]; in compute_ideal_colors_and_weights_4_comp() local[all …]
308 int texel_count = pi.partition_texel_count[i]; in decompress_symbolic_block()465 unsigned int texel_count = pi.partition_texel_count[i]; in compute_symbolic_block_difference_1plane()
342 pi.partition_texel_count[i] = static_cast<uint8_t>(counts[i]); in generate_one_partition_info_entry()
88 unsigned int texel_count = pi.partition_texel_count[partition_index]; in compute_error_squared_rgb_single_partition()338 int partition_size = pi.partition_texel_count[partition_index]; in compute_color_error_for_every_integer_count_and_quant_level()
521 uint8_t partition_texel_count[BLOCK_MAX_PARTITIONS]; member