Searched refs:data_r (Results 1 – 7 of 7) sorted by relevance
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_averages_and_directions.cpp | 76 vfloat data_r = loada(blk.data_r + i); in compute_partition_averages_rgb() local 77 haccumulate(pp_avg_rgb[0], data_r, p0_mask); in compute_partition_averages_rgb() 113 vfloat data_r = loada(blk.data_r + i); in compute_partition_averages_rgb() local 114 haccumulate(pp_avg_rgb[0][0], data_r, p0_mask); in compute_partition_averages_rgb() 115 haccumulate(pp_avg_rgb[1][0], data_r, p1_mask); in compute_partition_averages_rgb() 159 vfloat data_r = loada(blk.data_r + i); in compute_partition_averages_rgb() local 160 haccumulate(pp_avg_rgb[0][0], data_r, p0_mask); in compute_partition_averages_rgb() 161 haccumulate(pp_avg_rgb[1][0], data_r, p1_mask); in compute_partition_averages_rgb() 162 haccumulate(pp_avg_rgb[2][0], data_r, p2_mask); in compute_partition_averages_rgb() 247 vfloat data_r = loada(blk.data_r + i); in compute_partition_averages_rgba() local [all …]
|
D | astcenc_image.cpp | 235 blk.data_r[idx] = datav.lane<0>(); in load_image_block() 313 blk.data_r[idx] = datav.lane<0>(); in load_image_block_fast_ldr() 386 vfloat data_r(blk.data_r + idx); in store_image_block() local 391 vint data_ri = float_to_int_rtn(min(data_r, 1.0f) * 255.0f); in store_image_block() 408 vfloat data_x = (data_r * vfloat(2.0f)) - vfloat(1.0f); in store_image_block() 425 vmask nan_mask = data_r != data_r; in store_image_block() 467 data[ASTCENC_SWZ_R] = blk.data_r[idx]; in store_image_block()
|
D | astcenc_pick_best_endpoint_format.cpp | 138 vfloat data_r = gatherf(blk.data_r, tix); in compute_error_squared_rgb_single_partition() local 143 vfloat param = data_r * uncor_bs0 in compute_error_squared_rgb_single_partition() 147 vfloat dist0 = (uncor_amod0 + param * uncor_bs0) - data_r; in compute_error_squared_rgb_single_partition() 158 param = data_r * samec_bs0 in compute_error_squared_rgb_single_partition() 162 dist0 = (param * samec_bs0) - data_r; in compute_error_squared_rgb_single_partition() 173 param = data_r * rgbl_bs0 in compute_error_squared_rgb_single_partition() 177 dist0 = (rgbl_amod0 + param * rgbl_bs0) - data_r; in compute_error_squared_rgb_single_partition() 188 param = data_r * l_bs0 in compute_error_squared_rgb_single_partition() 192 dist0 = (param * l_bs0) - data_r; in compute_error_squared_rgb_single_partition()
|
D | astcenc_decompress_symbolic.cpp | 210 blk.data_r[i] = error_color_nan(); in decompress_symbolic_block() 262 blk.data_r[i] = color.lane<0>(); in decompress_symbolic_block() 317 blk.data_r[tix] = colorf.lane<0>(); in decompress_symbolic_block() 597 vfloat color_orig_r = loada(blk.data_r + i); in compute_symbolic_block_difference_1plane_1partition()
|
D | astcenc_internal.h | 728 alignas(ASTCENC_VECALIGN) float data_r[BLOCK_MAX_TEXELS]; member 784 return vfloat4(data_r[index], in texel() 799 return vfloat3(data_r[index], in texel3()
|
D | astcenc_ideal_endpoints_and_weights.cpp | 128 data_vr = blk.data_r; in compute_ideal_colors_and_weights_1_comp() 241 data_vr = blk.data_r; in compute_ideal_colors_and_weights_2_comp() 248 data_vr = blk.data_r; in compute_ideal_colors_and_weights_2_comp() 383 data_vr = blk.data_r; in compute_ideal_colors_and_weights_3_comp() 390 data_vr = blk.data_r; in compute_ideal_colors_and_weights_3_comp() 399 data_vr = blk.data_r; in compute_ideal_colors_and_weights_3_comp()
|
D | astcenc_compress_symbolic.cpp | 1083 float r = blk.data_r[i]; in prepare_block_statistics()
|