Home
last modified time | relevance | path

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

/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_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_image.cpp236 blk.data_g[idx] = datav.lane<1>(); in fetch_image_block()
314 blk.data_g[idx] = datav.lane<1>(); in fetch_image_block_fast_ldr()
393 data[ASTCENC_SWZ_G] = blk.data_g[idx]; in write_image_block()
445 data[ASTCENC_SWZ_G] = blk.data_g[idx]; in write_image_block()
Dastcenc_decompress_symbolic.cpp210 blk.data_g[i] = error_color_nan(); in decompress_symbolic_block()
262 blk.data_g[i] = color.lane<1>(); in decompress_symbolic_block()
317 blk.data_g[tix] = colorf.lane<1>(); in decompress_symbolic_block()
597 vfloat color_orig_g = loada(blk.data_g + i); in compute_symbolic_block_difference_1plane_1partition()
Dastcenc_ideal_endpoints_and_weights.cpp62 data_vr = blk.data_g; in compute_ideal_colors_and_weights_1_comp()
172 data_vg = blk.data_g; in compute_ideal_colors_and_weights_2_comp()
187 data_vr = blk.data_g; in compute_ideal_colors_and_weights_2_comp()
306 data_vr = blk.data_g; in compute_ideal_colors_and_weights_3_comp()
321 data_vg = blk.data_g; in compute_ideal_colors_and_weights_3_comp()
330 data_vg = blk.data_g; in compute_ideal_colors_and_weights_3_comp()
Dastcenc_internal.h900 alignas(ASTCENC_VECALIGN) float data_g[BLOCK_MAX_TEXELS]; member
954 data_g[index], in texel()
969 data_g[index], in texel3()
Dastcenc_compress_symbolic.cpp1092 float g = blk.data_g[i]; in prepare_block_statistics()
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
Dastc_image_load_store.cpp115 pb->data_g[i] = float_to_lns(fptr[1]); in imageblock_initialize_work_from_orig()
121 pb->data_g[i] = fptr[1] * 65535.0f; in imageblock_initialize_work_from_orig()
150 fptr[1] = sf16_to_float(lns_to_sf16((uint16_t)pb->data_g[i])); in imageblock_initialize_orig_from_work()
156 fptr[1] = sf16_to_float(unorm16_to_sf16((uint16_t)pb->data_g[i])); in imageblock_initialize_orig_from_work()
196 float green = pb->data_g[i]; in update_imageblock_flags()
Dastc_codec_internals.h119 float data_g[MAX_TEXELS_PER_BLOCK]; member
Dastc_decompress_symbolic.cpp282 blk->data_g[i] = (float)color.y; in decompress_symbolic_block()