Home
last modified time | relevance | path

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

/third_party/astc-encoder/Source/
H A Dastcenc_vecmathlib.h27 * accessible for e.g. loop strides via the ASTCENC_SIMD_WIDTH constant.
78 #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()
H A 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)
243 lane_id += vint(ASTCENC_SIMD_WIDTH);
278 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH)
283 lane_id += vint(ASTCENC_SIMD_WIDTH);
[all...]
H A Dastcenc_ideal_endpoints_and_weights.cpp436 for (; j + ASTCENC_SIMD_WIDTH <= partition_texel_count; j += ASTCENC_SIMD_WIDTH)
745 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH)
761 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH)
777 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH)
811 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH)
836 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH)
861 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH)
911 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH)
929 for (unsigned int i = 0; i < weight_count; i += ASTCENC_SIMD_WIDTH)
[all...]
H A Dastcenc_weight_align.cpp49 static_assert((ANGULAR_STEPS % ASTCENC_SIMD_WIDTH) == 0,
50 "ANGULAR_STEPS must be multiple of ASTCENC_SIMD_WIDTH");
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()
187 for (unsigned int sp = 0; sp < max_angular_steps; sp += ASTCENC_SIMD_WIDTH) in compute_lowest_and_highest_weight()
242 rcp_stepsize = rcp_stepsize + vfloat(ASTCENC_SIMD_WIDTH); in compute_lowest_and_highest_weight()
266 for (unsigned int sp = 0; sp < max_angular_steps; sp += ASTCENC_SIMD_WIDTH) in compute_lowest_and_highest_weight()
318 rcp_stepsize = rcp_stepsize + vfloat(ASTCENC_SIMD_WIDTH); in compute_lowest_and_highest_weight()
H A Dastcenc_decompress_symbolic.cpp109 for (unsigned int i = 0; i < bsd.texel_count; i += ASTCENC_SIMD_WIDTH) in unpack_weights()
142 for (unsigned int i = 0; i < bsd.texel_count; i += ASTCENC_SIMD_WIDTH) in unpack_weights()
559 for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH) in compute_symbolic_block_difference_1plane_1partition()
624 lane_id += vint(ASTCENC_SIMD_WIDTH); in compute_symbolic_block_difference_1plane_1partition()
H A 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()
H A Dastcenc_pick_best_endpoint_format.cpp138 for (; i + ASTCENC_SIMD_WIDTH <= texel_count; i += ASTCENC_SIMD_WIDTH) in compute_error_squared_rgb_single_partition()
218 lane_ids += vint(ASTCENC_SIMD_WIDTH); in compute_error_squared_rgb_single_partition()
1408 for (unsigned int j = start_block_mode; j < end_block_mode; j += ASTCENC_SIMD_WIDTH)
1414 lane_ids += vint(ASTCENC_SIMD_WIDTH);
H A Dastcenc_internal.h168 static_assert((BLOCK_MAX_TEXELS % ASTCENC_SIMD_WIDTH) == 0,
169 "BLOCK_MAX_TEXELS must be multiple of ASTCENC_SIMD_WIDTH");
174 static_assert((BLOCK_MAX_WEIGHTS % ASTCENC_SIMD_WIDTH) == 0,
175 "BLOCK_MAX_WEIGHTS must be multiple of ASTCENC_SIMD_WIDTH");
177 static_assert((WEIGHTS_MAX_BLOCK_MODES % ASTCENC_SIMD_WIDTH) == 0,
178 "WEIGHTS_MAX_BLOCK_MODES must be multiple of ASTCENC_SIMD_WIDTH");
H A Dastcenc_compress_symbolic.cpp132 for (; texel + ASTCENC_SIMD_WIDTH <= bsd.texel_count; texel += ASTCENC_SIMD_WIDTH) in realign_weights_undecimated()
463 for (unsigned int we_idx = 0; we_idx < weight_count; we_idx += ASTCENC_SIMD_WIDTH) in realign_weights_decimated()
/third_party/astc-encoder/Source/UnitTest/
H A 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

Completed in 16 milliseconds