Home
last modified time | relevance | path

Searched refs:ASTCENC_SIMD_WIDTH (Results 1 – 10 of 10) sorted by relevance

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_vecmathlib.h78 #define ASTCENC_SIMD_WIDTH 8 macro
99 #define ASTCENC_SIMD_WIDTH 4 macro
114 #define ASTCENC_SIMD_WIDTH 4 macro
146 #define ASTCENC_SIMD_WIDTH 4 macro
192 return count & static_cast<unsigned int>(~(ASTCENC_SIMD_WIDTH - 1)); in round_down_to_simd_multiple_vla()
206 unsigned int multiples = (count + ASTCENC_SIMD_WIDTH - 1) / ASTCENC_SIMD_WIDTH; in round_up_to_simd_multiple_vla()
207 return multiples * ASTCENC_SIMD_WIDTH; in round_up_to_simd_multiple_vla()
Dastcenc_averages_and_directions.cpp67 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_partition_averages_rgb()
72 lane_id += vint(ASTCENC_SIMD_WIDTH); in compute_partition_averages_rgb()
103 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_partition_averages_rgb()
108 lane_id += vint(ASTCENC_SIMD_WIDTH); in compute_partition_averages_rgb()
148 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_partition_averages_rgb()
153 lane_id += vint(ASTCENC_SIMD_WIDTH); in compute_partition_averages_rgb()
238 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_partition_averages_rgba()
243 lane_id += vint(ASTCENC_SIMD_WIDTH); in compute_partition_averages_rgba()
278 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_partition_averages_rgba()
283 lane_id += vint(ASTCENC_SIMD_WIDTH); in compute_partition_averages_rgba()
[all …]
Dastcenc_weight_align.cpp49 static_assert((ANGULAR_STEPS % ASTCENC_SIMD_WIDTH) == 0,
105 for (unsigned int i = 0; i < weight_count; i += ASTCENC_SIMD_WIDTH) in compute_angular_offsets()
116 for (unsigned int i = 0; i < max_angular_steps; i += ASTCENC_SIMD_WIDTH) in compute_angular_offsets()
170 for (unsigned int sp = 0; sp < max_angular_steps; sp += ASTCENC_SIMD_WIDTH) in compute_lowest_and_highest_weight()
222 rcp_stepsize = rcp_stepsize + vfloat(ASTCENC_SIMD_WIDTH); in compute_lowest_and_highest_weight()
Dastcenc_ideal_endpoints_and_weights.cpp700 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_error_of_weight_set_1plane()
716 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_error_of_weight_set_1plane()
732 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_error_of_weight_set_1plane()
765 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_error_of_weight_set_2planes()
790 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_error_of_weight_set_2planes()
815 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_error_of_weight_set_2planes()
866 for (unsigned int i = 0; i < texel_count_simd; i += ASTCENC_SIMD_WIDTH) in compute_ideal_weights_for_decimation()
884 for (unsigned int i = 0; i < weight_count; i += ASTCENC_SIMD_WIDTH) in compute_ideal_weights_for_decimation()
919 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_ideal_weights_for_decimation()
927 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_ideal_weights_for_decimation()
[all …]
Dastcenc_decompress_symbolic.cpp115 for (unsigned int i = 0; i < bsd.texel_count; i += ASTCENC_SIMD_WIDTH) in unpack_weights()
148 for (unsigned int i = 0; i < bsd.texel_count; i += ASTCENC_SIMD_WIDTH) in unpack_weights()
569 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_symbolic_block_difference_1plane_1partition()
620 lane_id += vint(ASTCENC_SIMD_WIDTH); in compute_symbolic_block_difference_1plane_1partition()
Dastcenc_image.cpp380 for (unsigned int x = 0; x < x_count; x += ASTCENC_SIMD_WIDTH) in store_image_block()
382 unsigned int max_texels = ASTCENC_SIMD_WIDTH; in store_image_block()
438 data8_row += ASTCENC_SIMD_WIDTH * 4; in store_image_block()
Dastcenc_internal.h158 static_assert((BLOCK_MAX_TEXELS % ASTCENC_SIMD_WIDTH) == 0,
161 static_assert((BLOCK_MAX_WEIGHTS % ASTCENC_SIMD_WIDTH) == 0,
164 static_assert((WEIGHTS_MAX_BLOCK_MODES % ASTCENC_SIMD_WIDTH) == 0,
Dastcenc_pick_best_endpoint_format.cpp124 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_error_squared_rgb_single_partition()
129 lane_ids += vint(ASTCENC_SIMD_WIDTH); in compute_error_squared_rgb_single_partition()
1304 for (unsigned int j = start_block_mode; j < end_block_mode; j += ASTCENC_SIMD_WIDTH) in compute_ideal_endpoint_formats()
1310 lane_ids += vint(ASTCENC_SIMD_WIDTH); in compute_ideal_endpoint_formats()
Dastcenc_compress_symbolic.cpp253 for (unsigned int we_idx = 0; we_idx < weight_count; we_idx += ASTCENC_SIMD_WIDTH) in realign_weights_decimated()
/hardware/google/gfxstream/third-party/astc-encoder/Source/UnitTest/
Dtest_simd.cpp36 unsigned int remainder = x % ASTCENC_SIMD_WIDTH; in round_down()
42 unsigned int remainder = x % ASTCENC_SIMD_WIDTH; in round_up()
48 return x - remainder + ASTCENC_SIMD_WIDTH; in round_up()
81 #if ASTCENC_SIMD_WIDTH == 1
153 #elif ASTCENC_SIMD_WIDTH == 4
192 #elif ASTCENC_SIMD_WIDTH == 8
2015 # if ASTCENC_SIMD_WIDTH == 8