Home
last modified time | relevance | path

Searched refs:data_g (Results 1 – 7 of 7) sorted by relevance

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_averages_and_directions.cpp79 vfloat data_g = loada(blk.data_g + i); in compute_partition_averages_rgb() local
80 haccumulate(pp_avg_rgb[1], data_g, p0_mask); in compute_partition_averages_rgb()
117 vfloat data_g = loada(blk.data_g + i); in compute_partition_averages_rgb() local
118 haccumulate(pp_avg_rgb[0][1], data_g, p0_mask); in compute_partition_averages_rgb()
119 haccumulate(pp_avg_rgb[1][1], data_g, p1_mask); in compute_partition_averages_rgb()
164 vfloat data_g = loada(blk.data_g + i); in compute_partition_averages_rgb() local
165 haccumulate(pp_avg_rgb[0][1], data_g, p0_mask); in compute_partition_averages_rgb()
166 haccumulate(pp_avg_rgb[1][1], data_g, p1_mask); in compute_partition_averages_rgb()
167 haccumulate(pp_avg_rgb[2][1], data_g, p2_mask); in compute_partition_averages_rgb()
250 vfloat data_g = loada(blk.data_g + i); in compute_partition_averages_rgba() local
[all …]
Dastcenc_image.cpp236 blk.data_g[idx] = datav.lane<1>(); in load_image_block()
314 blk.data_g[idx] = datav.lane<1>(); in load_image_block_fast_ldr()
387 vfloat data_g(blk.data_g + idx); in store_image_block() local
392 vint data_gi = float_to_int_rtn(min(data_g, 1.0f) * 255.0f); in store_image_block()
468 data[ASTCENC_SWZ_G] = blk.data_g[idx]; in store_image_block()
Dastcenc_pick_best_endpoint_format.cpp139 vfloat data_g = gatherf(blk.data_g, tix); in compute_error_squared_rgb_single_partition() local
144 + data_g * uncor_bs1 in compute_error_squared_rgb_single_partition()
148 vfloat dist1 = (uncor_amod1 + param * uncor_bs1) - data_g; in compute_error_squared_rgb_single_partition()
159 + data_g * samec_bs1 in compute_error_squared_rgb_single_partition()
163 dist1 = (param * samec_bs1) - data_g; in compute_error_squared_rgb_single_partition()
174 + data_g * rgbl_bs1 in compute_error_squared_rgb_single_partition()
178 dist1 = (rgbl_amod1 + param * rgbl_bs1) - data_g; in compute_error_squared_rgb_single_partition()
189 + data_g * l_bs1 in compute_error_squared_rgb_single_partition()
193 dist1 = (param * l_bs1) - data_g; in compute_error_squared_rgb_single_partition()
Dastcenc_decompress_symbolic.cpp211 blk.data_g[i] = error_color_nan(); in decompress_symbolic_block()
263 blk.data_g[i] = color.lane<1>(); in decompress_symbolic_block()
318 blk.data_g[tix] = colorf.lane<1>(); in decompress_symbolic_block()
598 vfloat color_orig_g = loada(blk.data_g + i); in compute_symbolic_block_difference_1plane_1partition()
Dastcenc_internal.h731 alignas(ASTCENC_VECALIGN) float data_g[BLOCK_MAX_TEXELS]; member
785 data_g[index], in texel()
800 data_g[index], in texel3()
Dastcenc_ideal_endpoints_and_weights.cpp132 data_vr = blk.data_g; in compute_ideal_colors_and_weights_1_comp()
242 data_vg = blk.data_g; in compute_ideal_colors_and_weights_2_comp()
257 data_vr = blk.data_g; in compute_ideal_colors_and_weights_2_comp()
376 data_vr = blk.data_g; in compute_ideal_colors_and_weights_3_comp()
391 data_vg = blk.data_g; in compute_ideal_colors_and_weights_3_comp()
400 data_vg = blk.data_g; in compute_ideal_colors_and_weights_3_comp()
Dastcenc_compress_symbolic.cpp1084 float g = blk.data_g[i]; in prepare_block_statistics()