Lines Matching refs:di

32  * @param di        The weight grid decimation to use.
39 const decimation_info& di,
44 vint weight_idx0 = vint(di.texel_weights_tr[0] + index);
45 vint weight_idx1 = vint(di.texel_weights_tr[1] + index);
46 vint weight_idx2 = vint(di.texel_weights_tr[2] + index);
47 vint weight_idx3 = vint(di.texel_weights_tr[3] + index);
56 vfloat tex_weight_float0 = loada(di.texel_weight_contribs_float_tr[0] + index);
57 vfloat tex_weight_float1 = loada(di.texel_weight_contribs_float_tr[1] + index);
58 vfloat tex_weight_float2 = loada(di.texel_weight_contribs_float_tr[2] + index);
59 vfloat tex_weight_float3 = loada(di.texel_weight_contribs_float_tr[3] + index);
72 * @param di The weight grid decimation to use.
79 const decimation_info& di,
84 vint weight_idx0 = vint(di.texel_weights_tr[0] + index);
85 vint weight_idx1 = vint(di.texel_weights_tr[1] + index);
92 vfloat tex_weight_float0 = loada(di.texel_weight_contribs_float_tr[0] + index);
93 vfloat tex_weight_float1 = loada(di.texel_weight_contribs_float_tr[1] + index);
735 const decimation_info& di,
739 unsigned int texel_count = di.texel_count;
743 if (di.max_texel_weight_count > 2)
748 vfloat current_values = bilinear_infill_vla(di, dec_weight_quant_uvalue, i);
759 else if (di.max_texel_weight_count > 1)
764 vfloat current_values = bilinear_infill_vla_2(di, dec_weight_quant_uvalue, i);
800 const decimation_info& di,
805 unsigned int texel_count = di.texel_count;
809 if (di.max_texel_weight_count > 2)
815 vfloat current_values1 = bilinear_infill_vla(di, dec_weight_quant_uvalue_plane1, i);
824 vfloat current_values2 = bilinear_infill_vla(di, dec_weight_quant_uvalue_plane2, i);
834 else if (di.max_texel_weight_count > 1)
840 vfloat current_values1 = bilinear_infill_vla_2(di, dec_weight_quant_uvalue_plane1, i);
849 vfloat current_values2 = bilinear_infill_vla_2(di, dec_weight_quant_uvalue_plane2, i);
892 const decimation_info& di,
895 unsigned int texel_count = di.texel_count;
896 unsigned int weight_count = di.weight_count;
936 vint weight_texel_count(di.weight_texel_count + i);
943 const uint8_t* texel = di.weight_texels_tr[j] + i;
945 vint texel(di.weight_texels_tr[j] + i);
947 vfloat weight = loada(di.weights_texel_contribs_tr[j] + i);
966 if (di.max_texel_weight_count <= 2)
970 vfloat weight = bilinear_infill_vla_2(di, dec_weight_ideal_value, i);
978 vfloat weight = bilinear_infill_vla(di, dec_weight_ideal_value, i);
998 vint weight_texel_count(di.weight_texel_count + i);
1005 const uint8_t* texel = di.weight_texels_tr[j] + i;
1007 vint texel(di.weight_texels_tr[j] + i);
1009 vfloat contrib_weight = loada(di.weights_texel_contribs_tr[j] + i);
1034 const decimation_info& di,
1042 int weight_count = di.weight_count;
1207 const decimation_info& di,
1213 unsigned int weight_count = di.weight_count;
1231 if (di.max_texel_weight_count == 1)
1235 else if (di.max_texel_weight_count <= 2)
1239 vfloat weight = bilinear_infill_vla_2(di, dec_weight, i);
1249 vfloat weight = bilinear_infill_vla(di, dec_weight, i);
1430 const decimation_info& di,
1438 unsigned int weight_count = di.weight_count;
1466 if (di.max_texel_weight_count == 1)
1471 else if (di.max_texel_weight_count <= 2)
1475 vfloat weight = bilinear_infill_vla_2(di, dec_weight_plane1, i);
1478 weight = bilinear_infill_vla_2(di, dec_weight_plane2, i);
1489 vfloat weight = bilinear_infill_vla(di, dec_weight_plane1, i);
1492 weight = bilinear_infill_vla(di, dec_weight_plane2, i);