Home
last modified time | relevance | path

Searched refs:partition_texel_count (Results 1 - 7 of 7) sorted by relevance

/third_party/astc-encoder/Source/
H A Dastcenc_averages_and_directions.cpp94 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[
[all...]
H A Dastcenc_find_best_partitioning.cpp156 uint8_t partition_texel_count[BLOCK_MAX_PARTITIONS] { 0 }; in kmeans_assign()
177 partition_texel_count[best_partition]++; in kmeans_assign()
190 if (partition_texel_count[i] == 0) in kmeans_assign()
192 partition_texel_count[partition_of_texel[i]]--; in kmeans_assign()
193 partition_texel_count[i]++; in kmeans_assign()
227 uint8_t partition_texel_count[BLOCK_MAX_PARTITIONS] { 0 }; in kmeans_update()
234 partition_texel_count[partition]++; in kmeans_update()
240 float scale = 1.0f / static_cast<float>(partition_texel_count[i]); in kmeans_update()
676 float tpp = static_cast<float>(pi.partition_texel_count[j]);
744 float tpp = static_cast<float>(pi.partition_texel_count[
[all...]
H A Dastcenc_ideal_endpoints_and_weights.cpp154 unsigned int partition_texel_count = pi.partition_texel_count[i]; in compute_ideal_colors_and_weights_1_comp()
155 for (unsigned int j = 0; j < partition_texel_count; j++) in compute_ideal_colors_and_weights_1_comp()
182 for (unsigned int j = 0; j < partition_texel_count; j++) in compute_ideal_colors_and_weights_1_comp()
281 unsigned int partition_texel_count = pi.partition_texel_count[i];
282 for (unsigned int j = 0; j < partition_texel_count; j++)
314 for (unsigned int j = 0; j < partition_texel_count; j++)
430 unsigned int partition_texel_count = pi.partition_texel_count[
[all...]
H A Dastcenc_decompress_symbolic.cpp305 int texel_count = pi.partition_texel_count[i]; in decompress_symbolic_block()
464 unsigned int texel_count = pi.partition_texel_count[i]; in compute_symbolic_block_difference_1plane()
H A Dastcenc_partition_tables.cpp357 pi.partition_texel_count[i] = static_cast<uint8_t>(counts[i]); in generate_one_partition_info_entry()
H A Dastcenc_pick_best_endpoint_format.cpp88 unsigned int texel_count = pi.partition_texel_count[partition_index]; in compute_error_squared_rgb_single_partition()
416 int partition_size = pi.partition_texel_count[partition_index];
H A Dastcenc_internal.h338 uint8_t partition_texel_count[BLOCK_MAX_PARTITIONS]; member

Completed in 10 milliseconds