Searched refs:ACOMP (Results 1 - 11 of 11) sorted by relevance
/third_party/mesa3d/src/mesa/main/ |
H A D | texcompress_s3tc.c | 271 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); in fetch_rgb_dxt1() 283 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); in fetch_rgba_dxt1() 295 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); in fetch_rgba_dxt3() 307 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); in fetch_rgba_dxt5() 320 texel[ACOMP] = UBYTE_TO_FLOAT(tex[ACOMP]); in fetch_srgb_dxt1() [all...] |
H A D | pixeltransfer.c | 72 rgba[i][ACOMP] = rgba[i][ACOMP] * aScale + aBias; in _mesa_scale_and_bias_rgba() 97 GLfloat a = CLAMP(rgba[i][ACOMP], 0.0F, 1.0F); in _mesa_map_rgba() 101 rgba[i][ACOMP] = aMap[(int)_mesa_lroundevenf(a * ascale)]; in _mesa_map_rgba() 125 rgba[i][ACOMP] = aMap[index[i] & amask]; in _mesa_map_ci_to_rgba() 187 rgba[i][ACOMP] = CLAMP(rgba[i][ACOMP], 0.0F, 1.0F); in _mesa_apply_rgba_transfer_ops()
|
H A D | texcompress_rgtc.c | 323 texel[ACOMP] = 1.0; in fetch_red_rgtc1() 335 texel[ACOMP] = 1.0; in fetch_l_latc1() 348 texel[ACOMP] = 1.0; in fetch_signed_red_rgtc1() 361 texel[ACOMP] = 1.0; in fetch_signed_l_latc1() 378 texel[ACOMP] = 1.0; in fetch_rg_rgtc2() 395 texel[ACOMP] = UBYTE_TO_FLOAT(green); in fetch_la_latc2() 413 texel[ACOMP] = 1.0; in fetch_signed_rg_rgtc2() 431 texel[ACOMP] = BYTE_TO_FLOAT_TEX(green); in fetch_signed_la_latc2()
|
H A D | texcompress_etc.c | 1286 texel[ACOMP] = 1.0f; in fetch_etc1_rgb8() 1308 texel[ACOMP] = 1.0f; in fetch_etc2_rgb8() 1329 texel[ACOMP] = 1.0f; in fetch_etc2_srgb8() 1348 texel[ACOMP] = UBYTE_TO_FLOAT(dst[3]); in fetch_etc2_rgba8_eac() 1367 texel[ACOMP] = UBYTE_TO_FLOAT(dst[3]); in fetch_etc2_srgb8_alpha8_eac() 1386 texel[ACOMP] = 1.0f; in fetch_etc2_r11_eac() 1410 texel[ACOMP] = 1.0f; in fetch_etc2_rg11_eac() 1429 texel[ACOMP] = 1.0f; in fetch_etc2_signed_r11_eac() 1453 texel[ACOMP] = 1.0f; in fetch_etc2_signed_rg11_eac() 1474 texel[ACOMP] in fetch_etc2_rgb8_punchthrough_alpha1() [all...] |
H A D | texcompress_s3tc_tmp.h | 40 #define ACOMP 3 macro 67 rgba[ACOMP] = CHAN_MAX; in dxt135_decode_imageblock() 101 if (dxt_type == 1) rgba[ACOMP] = UBYTE_TO_CHAN(0); in dxt135_decode_imageblock() 115 * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. in fetch_2d_texel_rgb_dxt1() 127 * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. in fetch_2d_texel_rgba_dxt1() 138 * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. in fetch_2d_texel_rgba_dxt3() 145 rgba[ACOMP] = UBYTE_TO_CHAN( (GLubyte)(EXP4TO8(anibble)) ); in fetch_2d_texel_rgba_dxt3() 152 * in texel[RCOMP], texel[GCOMP], texel[BCOMP], texel[ACOMP]. in fetch_2d_texel_rgba_dxt5() 166 rgba[ACOMP] = UBYTE_TO_CHAN( alpha0 ); in fetch_2d_texel_rgba_dxt5() 168 rgba[ACOMP] in fetch_2d_texel_rgba_dxt5() [all...] |
H A D | accum.c | 248 acc[i * 4 + 3] = (GLshort) (rgba[i][ACOMP] * scale); in accum_or_load() 257 acc[i * 4 + 3] += (GLshort) (rgba[i][ACOMP] * scale); in accum_or_load() 362 rgba[i][ACOMP] = dest[i][ACOMP]; in accum_return()
|
H A D | texcompress_bptc.c | 90 texel[ACOMP] = UBYTE_TO_FLOAT(texel_bytes[3]); in fetch_bptc_rgba_unorm() 105 texel[ACOMP] = UBYTE_TO_FLOAT(texel_bytes[3]); in fetch_bptc_srgb_alpha_unorm()
|
H A D | config.h | 292 #define ACOMP 3 macro
|
H A D | pack.c | 1360 dst[2*i+1] = rgba[i][ACOMP]; in _mesa_pack_luminance_from_rgba_float() 1365 dst[2*i+1] = rgba[i][ACOMP]; in _mesa_pack_luminance_from_rgba_float() 1520 alpha = convert_integer(rgba[i][ACOMP], dst_bits, in _mesa_pack_luminance_from_rgba_integer()
|
H A D | texparam.c | 855 texObj->Sampler.Attrib.state.border_color.f[ACOMP] = CLAMP(params[3], 0.0F, 1.0F); in set_tex_parameterf()
|
/third_party/mesa3d/src/util/format/ |
H A D | u_format_fxt1.c | 35 #define ACOMP 3 macro 480 FX64_OR32(hi, (uint32_t)(vec[j][ACOMP] / 8.0F)); in fxt1_quantize_ALPHA0() 651 FX64_OR32(hi, (uint32_t)(vec[j][ACOMP] / 8.0F)); in fxt1_quantize_ALPHA1() 1095 if (reord[l][ACOMP] < (255 - ALPHA_TS)) { in fxt1_quantize() 1266 rgba[RCOMP] = rgba[GCOMP] = rgba[BCOMP] = rgba[ACOMP] = 0; in fxt1_decode_1HI() 1286 rgba[ACOMP] = 255; in fxt1_decode_1HI() 1310 rgba[ACOMP] = 255; in fxt1_decode_1CHROMA() 1354 rgba[RCOMP] = rgba[BCOMP] = rgba[GCOMP] = rgba[ACOMP] = 0; in fxt1_decode_1MIXED() 1373 rgba[ACOMP] = 255; in fxt1_decode_1MIXED() 1395 rgba[ACOMP] in fxt1_decode_1MIXED() [all...] |
Completed in 18 milliseconds