Home
last modified time | relevance | path

Searched refs:BLOCK_MAX_PARTITIONS (Results 1 – 8 of 8) sorted by relevance

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_internal.h77 static constexpr unsigned int BLOCK_MAX_PARTITIONS { 4 };
323 uint8_t partition_texel_count[BLOCK_MAX_PARTITIONS];
329 uint8_t texels_of_partition[BLOCK_MAX_PARTITIONS][BLOCK_MAX_TEXELS];
559 unsigned int partitioning_count_selected[BLOCK_MAX_PARTITIONS];
562 unsigned int partitioning_count_all[BLOCK_MAX_PARTITIONS];
868 vfloat4 endpt0[BLOCK_MAX_PARTITIONS];
871 vfloat4 endpt1[BLOCK_MAX_PARTITIONS];
954 uint8_t best_ep_formats[WEIGHTS_MAX_BLOCK_MODES][BLOCK_MAX_PARTITIONS];
1074 uint8_t color_formats[BLOCK_MAX_PARTITIONS];
1088 uint8_t color_values[BLOCK_MAX_PARTITIONS][8];
[all …]
Dastcenc_find_best_partitioning.cpp64 vfloat4 cluster_centers[BLOCK_MAX_PARTITIONS] in kmeans_init() argument
150 const vfloat4 cluster_centers[BLOCK_MAX_PARTITIONS], in kmeans_assign() argument
156 uint8_t partition_texel_count[BLOCK_MAX_PARTITIONS] { 0 }; in kmeans_assign()
214 vfloat4 cluster_centers[BLOCK_MAX_PARTITIONS], in kmeans_update() argument
220 vfloat4 color_sum[BLOCK_MAX_PARTITIONS] { in kmeans_update()
227 uint8_t partition_texel_count[BLOCK_MAX_PARTITIONS] { 0 }; in kmeans_update()
361 const uint64_t bitmaps[BLOCK_MAX_PARTITIONS], in count_partition_mismatch_bits() argument
450 vfloat4 cluster_centers[BLOCK_MAX_PARTITIONS]; in compute_kmeans_partition_ordering()
469 uint64_t bitmaps[BLOCK_MAX_PARTITIONS] { 0 }; in compute_kmeans_partition_ordering()
593 partition_metrics pms[BLOCK_MAX_PARTITIONS]; in find_best_partition_candidates()
[all …]
Dastcenc_compress_symbolic.cpp91 vint4 endpnt0[BLOCK_MAX_PARTITIONS]; in realign_weights_undecimated()
92 vint4 endpnt1[BLOCK_MAX_PARTITIONS]; in realign_weights_undecimated()
93 vfloat4 endpnt0f[BLOCK_MAX_PARTITIONS]; in realign_weights_undecimated()
94 vfloat4 offset[BLOCK_MAX_PARTITIONS]; in realign_weights_undecimated()
216 vint4 endpnt0[BLOCK_MAX_PARTITIONS]; in realign_weights_decimated()
217 vint4 endpnt1[BLOCK_MAX_PARTITIONS]; in realign_weights_decimated()
218 vfloat4 endpnt0f[BLOCK_MAX_PARTITIONS]; in realign_weights_decimated()
219 vfloat4 offset[BLOCK_MAX_PARTITIONS]; in realign_weights_decimated()
494 uint8_t partition_format_specifiers[TUNE_MAX_TRIAL_CANDIDATES][BLOCK_MAX_PARTITIONS]; in compress_symbolic_block_for_partition_1plane()
528 vfloat4 rgbs_colors[BLOCK_MAX_PARTITIONS]; in compress_symbolic_block_for_partition_1plane()
[all …]
Dastcenc_averages_and_directions.cpp50 vfloat4 averages[BLOCK_MAX_PARTITIONS] in compute_partition_averages_rgb() argument
221 vfloat4 averages[BLOCK_MAX_PARTITIONS] in compute_partition_averages_rgba() argument
391 partition_metrics pm[BLOCK_MAX_PARTITIONS] in compute_avgs_and_dirs_4_comp() argument
397 vfloat4 partition_averages[BLOCK_MAX_PARTITIONS]; in compute_avgs_and_dirs_4_comp()
463 partition_metrics pm[BLOCK_MAX_PARTITIONS] in compute_avgs_and_dirs_3_comp() argument
466 vfloat4 partition_averages[BLOCK_MAX_PARTITIONS]; in compute_avgs_and_dirs_3_comp()
571 partition_metrics pm[BLOCK_MAX_PARTITIONS] in compute_avgs_and_dirs_3_comp_rgb() argument
577 vfloat4 partition_averages[BLOCK_MAX_PARTITIONS]; in compute_avgs_and_dirs_3_comp_rgb()
636 partition_metrics pm[BLOCK_MAX_PARTITIONS] in compute_avgs_and_dirs_2_comp() argument
726 const processed_line4 uncor_plines[BLOCK_MAX_PARTITIONS], in compute_error_squared_rgba() argument
[all …]
Dastcenc_partition_tables.cpp49 int mapped_index[BLOCK_MAX_PARTITIONS]; in generate_canonical_partitioning()
52 for (unsigned int i = 0; i < BLOCK_MAX_PARTITIONS; i++) in generate_canonical_partitioning()
271 int counts[BLOCK_MAX_PARTITIONS] { 0 }; in generate_one_partition_info_entry()
336 for (unsigned int i = 0; i < BLOCK_MAX_PARTITIONS; i++) in generate_one_partition_info_entry()
Dastcenc_pick_best_endpoint_format.cpp226 encoding_choice_errors eci[BLOCK_MAX_PARTITIONS]) in compute_encoding_choice_errors() argument
231 partition_metrics pms[BLOCK_MAX_PARTITIONS]; in compute_encoding_choice_errors()
1105 uint8_t partition_format_specifiers[TUNE_MAX_TRIAL_CANDIDATES][BLOCK_MAX_PARTITIONS], in compute_ideal_endpoint_formats() argument
1120 encoding_choice_errors eci[BLOCK_MAX_PARTITIONS]; in compute_ideal_endpoint_formats()
1123 float best_error[BLOCK_MAX_PARTITIONS][21][4]; in compute_ideal_endpoint_formats()
1124 uint8_t format_of_choice[BLOCK_MAX_PARTITIONS][21][4]; in compute_ideal_endpoint_formats()
1136 uint8_t (&best_ep_formats)[WEIGHTS_MAX_BLOCK_MODES][BLOCK_MAX_PARTITIONS] = tmpbuf.best_ep_formats; in compute_ideal_endpoint_formats()
Dastcenc_ideal_endpoints_and_weights.cpp231 partition_metrics pms[BLOCK_MAX_PARTITIONS]; in compute_ideal_colors_and_weights_2_comp()
367 partition_metrics pms[BLOCK_MAX_PARTITIONS]; in compute_ideal_colors_and_weights_3_comp()
533 partition_metrics pms[BLOCK_MAX_PARTITIONS]; in compute_ideal_colors_and_weights_4_comp()
1163 vfloat4 rgbs_vectors[BLOCK_MAX_PARTITIONS], in recompute_ideal_colors_1plane() argument
1164 vfloat4 rgbo_vectors[BLOCK_MAX_PARTITIONS] in recompute_ideal_colors_1plane() argument
Dastcenc_symbolic_physical.cpp421 int color_formats[BLOCK_MAX_PARTITIONS]; in physical_to_symbolic()