Searched refs:vint (Results 1 – 9 of 9) sorted by relevance
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_decompress_symbolic.cpp | 112 vint tab0p, tab1p, tab2p, tab3p; in unpack_weights() 117 vint summed_value(8); in unpack_weights() 118 vint weight_count(di.texel_weight_count + i); in unpack_weights() 124 vint texel_weights(di.texel_weights_4t[j] + i); in unpack_weights() 125 vint texel_weights_int(di.texel_weights_int_4t[j] + i); in unpack_weights() 139 vint tab0_plane1p, tab1_plane1p; in unpack_weights() 145 vint tab0_plane2p, tab1_plane2p; in unpack_weights() 150 vint sum_plane1(8); in unpack_weights() 151 vint sum_plane2(8); in unpack_weights() 153 vint weight_count(di.texel_weight_count + i); in unpack_weights() [all …]
|
D | astcenc_averages_and_directions.cpp | 66 vint lane_id = vint::lane_id(); in compute_partition_averages_rgb() 69 vint texel_partition(pi.partition_of_texel + i); in compute_partition_averages_rgb() 71 vmask lane_mask = lane_id < vint(texel_count); in compute_partition_averages_rgb() 72 lane_id += vint(ASTCENC_SIMD_WIDTH); in compute_partition_averages_rgb() 74 vmask p0_mask = lane_mask & (texel_partition == vint(0)); in compute_partition_averages_rgb() 102 vint lane_id = vint::lane_id(); in compute_partition_averages_rgb() 105 vint texel_partition(pi.partition_of_texel + i); in compute_partition_averages_rgb() 107 vmask lane_mask = lane_id < vint(texel_count); in compute_partition_averages_rgb() 108 lane_id += vint(ASTCENC_SIMD_WIDTH); in compute_partition_averages_rgb() 110 vmask p0_mask = lane_mask & (texel_partition == vint(0)); in compute_partition_averages_rgb() [all …]
|
D | astcenc_image.cpp | 391 vint data_ri = float_to_int_rtn(min(data_r, 1.0f) * 255.0f); in store_image_block() 392 vint data_gi = float_to_int_rtn(min(data_g, 1.0f) * 255.0f); in store_image_block() 393 vint data_bi = float_to_int_rtn(min(data_b, 1.0f) * 255.0f); in store_image_block() 394 vint data_ai = float_to_int_rtn(min(data_a, 1.0f) * 255.0f); in store_image_block() 398 vint swizzle_table[7]; in store_image_block() 399 swizzle_table[ASTCENC_SWZ_0] = vint(0); in store_image_block() 400 swizzle_table[ASTCENC_SWZ_1] = vint(255); in store_image_block() 428 data_ri = select(data_ri, vint(0xFF), nan_mask); in store_image_block() 429 data_gi = select(data_gi, vint(0x00), nan_mask); in store_image_block() 430 data_bi = select(data_bi, vint(0xFF), nan_mask); in store_image_block() [all …]
|
D | astcenc_ideal_endpoints_and_weights.cpp | 44 vint weight_idx0 = vint(di.texel_weights_4t[0] + index); in bilinear_infill_vla() 45 vint weight_idx1 = vint(di.texel_weights_4t[1] + index); in bilinear_infill_vla() 46 vint weight_idx2 = vint(di.texel_weights_4t[2] + index); in bilinear_infill_vla() 47 vint weight_idx3 = vint(di.texel_weights_4t[3] + index); in bilinear_infill_vla() 84 vint weight_idx0 = vint(di.texel_weights_4t[0] + index); in bilinear_infill_vla_2() 85 vint weight_idx1 = vint(di.texel_weights_4t[1] + index); in bilinear_infill_vla_2() 891 vint weight_texel_count(di.weight_texel_count + i); in compute_ideal_weights_for_decimation() 897 vint texel(di.weight_texel[j] + i); in compute_ideal_weights_for_decimation() 949 vint weight_texel_count(di.weight_texel_count + i); in compute_ideal_weights_for_decimation() 955 vint texel(di.weight_texel[j] + i); in compute_ideal_weights_for_decimation() [all …]
|
D | astcenc_vecmathlib.h | 88 using vint = vint8; variable 103 using vint = vint4; variable 118 using vint = vint4; variable 150 using vint = vint4; variable 215 vint ia = float_as_int(a); in change_sign() 216 vint ib = float_as_int(b); in change_sign() 217 vint sign_mask(static_cast<int>(0x80000000)); in change_sign() 218 vint r = ia ^ (ib & sign_mask); in change_sign()
|
D | astcenc_weight_align.cpp | 109 vint isample = float_as_int(sample) & vint((SINCOS_STEPS - 1)); in compute_angular_offsets() 208 vint span = float_to_int(maxidx - minidx + vfloat(1)); in compute_lowest_and_highest_weight() 209 span = min(span, vint(max_quant_steps + 3)); in compute_lowest_and_highest_weight() 210 span = max(span, vint(2)); in compute_lowest_and_highest_weight()
|
D | astcenc_pick_best_endpoint_format.cpp | 123 vint lane_ids = vint::lane_id(); in compute_error_squared_rgb_single_partition() 126 vint tix(texel_indexes + i); in compute_error_squared_rgb_single_partition() 128 vmask mask = lane_ids < vint(texel_count); in compute_error_squared_rgb_single_partition() 129 lane_ids += vint(ASTCENC_SIMD_WIDTH); in compute_error_squared_rgb_single_partition() 1299 vint vbest_error_index(-1); in compute_ideal_endpoint_formats() 1303 vint lane_ids = vint::lane_id() + vint(start_block_mode); in compute_ideal_endpoint_formats() 1310 lane_ids += vint(ASTCENC_SIMD_WIDTH); in compute_ideal_endpoint_formats() 1315 vbest_error_index = select(vint(0x7FFFFFFF), vbest_error_index, lanes_min_error); in compute_ideal_endpoint_formats()
|
D | astcenc_compress_symbolic.cpp | 255 vint unquant_value(dec_weights_uquant + we_idx); in realign_weights_decimated()
|
/hardware/google/pixel/power-libperfmgr/aidl/ |
D | PowerSessionManager.cpp | 393 auto vint = static_cast<std::underlying_type_t<AdpfVoteType>>(vid); in disableBoosts() local 394 sessValPtr->votes->setUseVote(vint, false); in disableBoosts() 396 ATRACE_INT(sessValPtr->sessionTrace->trace_votes[vint].c_str(), 0); in disableBoosts()
|