Searched refs:alpha1 (Results 1 – 9 of 9) sorted by relevance
217 uint8_t alpha1 = unquant_color(quant_level, alpha1q); in rgb_scale_alpha_unpack() local221 output1.set_lane<3>(alpha1); in rgb_scale_alpha_unpack()321 int alpha1 = unquant_color(quant_level, input[3]); in luminance_alpha_unpack() local323 output1 = vint4(lum1, lum1, lum1, alpha1); in luminance_alpha_unpack()343 int alpha1 = unquant_color(quant_level, input[3]); in luminance_alpha_delta_unpack() local346 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 …]
840 bool alpha1 = (this->data_min.lane<3>() == default_alpha) && in is_luminance() local842 return this->grayscale && alpha1; in is_luminance()853 bool alpha1 = (this->data_min.lane<3>() == default_alpha) && in is_luminancealpha() local855 return this->grayscale && !alpha1; in is_luminancealpha()
1949 float alpha1, in quantize_hdr_alpha() argument1954 alpha1 = astc::clamp(alpha1, 0.0f, 65280.0f); in quantize_hdr_alpha()1957 int ialpha1 = astc::flt2int_rtn(alpha1); in quantize_hdr_alpha()
38 const TYPE alpha1 = blksrc[1]; in TAG() local48 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()
154 const GLubyte alpha1 = blksrc[1]; in fetch_2d_texel_rgba_dxt5() local164 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()
2055 float alpha1; member
2087 float alpha1; member
2160 float alpha1; member