Home
last modified time | relevance | path

Searched refs:alpha1 (Results 1 – 9 of 9) sorted by relevance

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_color_unquantize.cpp217 uint8_t alpha1 = unquant_color(quant_level, alpha1q); in rgb_scale_alpha_unpack() local
221 output1.set_lane<3>(alpha1); in rgb_scale_alpha_unpack()
321 int alpha1 = unquant_color(quant_level, input[3]); in luminance_alpha_unpack() local
323 output1 = vint4(lum1, lum1, lum1, alpha1); in luminance_alpha_unpack()
343 int alpha1 = unquant_color(quant_level, input[3]); in luminance_alpha_delta_unpack() local
346 alpha0 |= (alpha1 & 0x80) << 1; in luminance_alpha_delta_unpack()
348 alpha1 &= 0x7F; in luminance_alpha_delta_unpack()
351 if (alpha1 & 0x40) in luminance_alpha_delta_unpack()
352 alpha1 -= 0x80; in luminance_alpha_delta_unpack()
357 alpha1 >>= 1; in luminance_alpha_delta_unpack()
[all …]
Dastcenc_internal.h840 bool alpha1 = (this->data_min.lane<3>() == default_alpha) && in is_luminance() local
842 return this->grayscale && alpha1; in is_luminance()
853 bool alpha1 = (this->data_min.lane<3>() == default_alpha) && in is_luminancealpha() local
855 return this->grayscale && !alpha1; in is_luminancealpha()
Dastcenc_color_quantize.cpp1949 float alpha1, in quantize_hdr_alpha() argument
1954 alpha1 = astc::clamp(alpha1, 0.0f, 65280.0f); in quantize_hdr_alpha()
1957 int ialpha1 = astc::flt2int_rtn(alpha1); in quantize_hdr_alpha()
/hardware/google/gfxstream/guest/mesa/src/util/
Dtexcompress_rgtc_tmp.h38 const TYPE alpha1 = blksrc[1]; in TAG() local
48 decode = alpha1; in TAG()
49 else if (alpha0 > alpha1) in TAG()
50 decode = ((alpha0 * (8 - code) + (alpha1 * (code - 1))) / 7); in TAG()
52 decode = ((alpha0 * (6 - code) + (alpha1 * (code - 1))) / 5); in TAG()
/hardware/google/gfxstream/guest/mesa/src/util/format/
Dtexcompress_s3tc_tmp.h154 const GLubyte alpha1 = blksrc[1]; in fetch_2d_texel_rgba_dxt5() local
164 rgba[ACOMP] = UBYTE_TO_CHAN( alpha1 ); in fetch_2d_texel_rgba_dxt5()
165 else if (alpha0 > alpha1) in fetch_2d_texel_rgba_dxt5()
166 rgba[ACOMP] = UBYTE_TO_CHAN( ((alpha0 * (8 - code) + (alpha1 * (code - 1))) / 7) ); in fetch_2d_texel_rgba_dxt5()
168 rgba[ACOMP] = UBYTE_TO_CHAN( ((alpha0 * (6 - code) + (alpha1 * (code - 1))) / 5) ); in fetch_2d_texel_rgba_dxt5()
/hardware/qcom/sm8150p/gps/utils/
Dgps_extended_c.h2055 float alpha1; member
/hardware/qcom/sm7150/gps/utils/
Dgps_extended_c.h2087 float alpha1; member
/hardware/qcom/sm7250/gps/utils/
Dgps_extended_c.h2160 float alpha1; member
/hardware/qcom/sm8150/gps/utils/
Dgps_extended_c.h2160 float alpha1; member