Home
last modified time | relevance | path

Searched refs:ACOMP (Results 1 - 11 of 11) sorted by relevance

/third_party/mesa3d/src/mesa/main/
H A Dtexcompress_s3tc.c271 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 Dpixeltransfer.c72 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 Dtexcompress_rgtc.c323 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 Dtexcompress_etc.c1286 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 Dtexcompress_s3tc_tmp.h40 #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 Daccum.c248 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 Dtexcompress_bptc.c90 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 Dconfig.h292 #define ACOMP 3 macro
H A Dpack.c1360 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 Dtexparam.c855 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 Du_format_fxt1.c35 #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 15 milliseconds