Home
last modified time | relevance | path

Searched refs:alpha0 (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/third_party/astc-encoder/Source/
Dastc_color_unquantize.cpp306 int alpha0 = color_unquantization_tables[quantization_level][input[2]]; in luminance_alpha_unpack() local
308 *output0 = uint4(lum0, lum0, lum0, alpha0); in luminance_alpha_unpack()
320 int alpha0 = color_unquantization_tables[quantization_level][input[2]]; in luminance_alpha_delta_unpack() local
324 alpha0 |= (alpha1 & 0x80) << 1; in luminance_alpha_delta_unpack()
334 alpha0 >>= 1; in luminance_alpha_delta_unpack()
337 alpha1 += alpha0; in luminance_alpha_delta_unpack()
349 *output0 = uint4(lum0, lum0, lum0, alpha0); in luminance_alpha_delta_unpack()
792 int alpha0, alpha1; in hdr_rgb_hdr_alpha_unpack3() local
793 hdr_alpha_unpack(input + 6, quantization_level, &alpha0, &alpha1); in hdr_rgb_hdr_alpha_unpack3()
795 output0->w = alpha0; in hdr_rgb_hdr_alpha_unpack3()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_s3tc.c832 LLVMValueRef alpha0, in lp_build_lerpdxta() argument
868 alpha0 = LLVMBuildBitCast(builder, alpha0, bld16.vec_type, ""); in lp_build_lerpdxta()
879 delta = LLVMBuildSub(builder, alpha1, alpha0, ""); in lp_build_lerpdxta()
886 alpha0 = LLVMBuildBitCast(builder, alpha0, lp_build_vec_type(gallivm, type8), ""); in lp_build_lerpdxta()
887 ainterp = LLVMBuildAdd(builder, alpha0, ainterp, ""); in lp_build_lerpdxta()
902 LLVMValueRef tmp, alpha0, alpha1, alphac, alphac0, bit_pos, shift; in s3tc_dxt5_alpha_channel() local
928 alpha0 = LLVMBuildAnd(builder, alpha_lo, in s3tc_dxt5_alpha_channel()
931 alpha0 = LLVMBuildTrunc(builder, alpha0, lp_build_vec_type(gallivm, type8), ""); in s3tc_dxt5_alpha_channel()
932 alpha0 = LLVMBuildSExt(builder, alpha0, lp_build_vec_type(gallivm, type), ""); in s3tc_dxt5_alpha_channel()
997 alpha0, alpha1); in s3tc_dxt5_alpha_channel()
[all …]
/external/mesa3d/src/util/
Dtexcompress_rgtc_tmp.h37 const TYPE alpha0 = blksrc[0]; in TAG() local
46 decode = alpha0; 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()
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dgamma_test.py373 alpha0 = np.array([3.])
380 g0 = gamma_lib.Gamma(concentration=alpha0, rate=beta0)
393 kl_expected = ((alpha0 - alpha1) * special.digamma(alpha0)
395 - special.gammaln(alpha0)
398 + alpha0 * (beta1 / beta0 - 1.))
/external/skqp/src/core/
DSkScan_DAAPath.cpp131 SkFixed alpha0 = SkFixedMul_lowprec(first, firstH) >> 1; // triangle alpha in add_coverage_delta_segment() local
133 deltas->addDelta(L, y, alpha0 * sign); in add_coverage_delta_segment()
134 deltas->addDelta(L + 1, y, (alpha1 - alpha0) * sign); in add_coverage_delta_segment()
/external/deqp/modules/gles31/functional/
Des31fMultisampleTests.cpp802 …Vec4 alpha0 (0.0f, 0.0f, 0.0f, m_isAlphaToCoverageCase ? (float)col / (float)(numQuadRowsCols-1)… in iterate() local
829 …ec2(x1, y0), Vec2(x0, y1), Vec2(x1, y1), baseGreen + alpha0, baseGreen + alpha1, baseGreen + alpha… in iterate()
830 …), Vec2(x1, y0), Vec2(x0, y1), Vec2(x1, y1), baseRed + alpha0, baseRed + alpha1, baseRed + alpha0,… in iterate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DWTauNafMultiplier.java54 ZTauElement[] alpha = (a == 0) ? Tnaf.alpha0 : Tnaf.alpha1; in multiplyWTnaf()
DTnaf.java39 public static final ZTauElement[] alpha0 = { field in Tnaf
/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h157 const GLubyte alpha0 = blksrc[0]; in fetch_2d_texel_rgba_dxt5() local
166 rgba[ACOMP] = UBYTE_TO_CHAN( alpha0 ); in fetch_2d_texel_rgba_dxt5()
169 else if (alpha0 > alpha1) in fetch_2d_texel_rgba_dxt5()
170 rgba[ACOMP] = UBYTE_TO_CHAN( ((alpha0 * (8 - code) + (alpha1 * (code - 1))) / 7) ); in fetch_2d_texel_rgba_dxt5()
172 rgba[ACOMP] = UBYTE_TO_CHAN( ((alpha0 * (6 - code) + (alpha1 * (code - 1))) / 5) ); in fetch_2d_texel_rgba_dxt5()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/math/ec/
DWTauNafMultiplier.java56 ZTauElement[] alpha = (a == 0) ? Tnaf.alpha0 : Tnaf.alpha1; in multiplyWTnaf()
DTnaf.java40 public static final ZTauElement[] alpha0 = { field in Tnaf
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
DWTauNafMultiplier.java56 ZTauElement[] alpha = (a == 0) ? Tnaf.alpha0 : Tnaf.alpha1; in multiplyWTnaf()
DTnaf.java40 public static final ZTauElement[] alpha0 = { field in Tnaf
/external/deqp/modules/gles2/functional/
Des2fTextureUnitTests.cpp695 deUint32 alpha0 = 0xff000000; in init() local
700 alpha0 &= rnd.getUint32(); in init()
701 alpha1 = ~alpha0; in init()
704 deUint32 colorA = alpha0 | rgb; in init()
Des2fMultisampleTests.cpp1330 …Vec4 alpha0 (0.0f, 0.0f, 0.0f, m_isAlphaToCoverageCase ? (float)col / (float)(numQuadRowsCols-1)… in iterate() local
1339 …ec2(x1, y0), Vec2(x0, y1), Vec2(x1, y1), baseGreen + alpha0, baseGreen + alpha1, baseGreen + alpha… in iterate()
1340 …), Vec2(x1, y0), Vec2(x0, y1), Vec2(x1, y1), baseRed + alpha0, baseRed + alpha1, baseRed + alpha0,… in iterate()
/external/angle/src/tests/gl_tests/
DRobustResourceInitTest.cpp84 uint8_t alpha0 = src[srcOffset + yy * 2 + (xx >> 1)]; in UncompressDXTBlock() local
85 uint8_t alpha1 = (alpha0 >> ((xx % 2) * 4)) & 0xF; in UncompressDXTBlock()
91 uint8_t alpha0 = src[srcOffset + 0]; in UncompressDXTBlock() local
100 if (alpha0 > alpha1) in UncompressDXTBlock()
105 alpha = alpha0; in UncompressDXTBlock()
112 alpha = ((8 - alphaCode) * alpha0 + (alphaCode - 1) * alpha1) / 7; in UncompressDXTBlock()
121 alpha = alpha0; in UncompressDXTBlock()
134 alpha = ((6 - alphaCode) * alpha0 + (alphaCode - 1) * alpha1) / 5; in UncompressDXTBlock()
/external/freetype/src/base/
Dftstroke.c1427 FT_Angle theta, phi, rotate, alpha0 = 0; in FT_Stroker_ConicTo() local
1439 alpha0 = FT_Atan2( arc[0].x - arc[2].x, arc[0].y - arc[2].y ); in FT_Stroker_ConicTo()
1471 if ( ft_pos_abs( FT_Angle_Diff( alpha0, alpha1 ) ) > in FT_Stroker_ConicTo()
1633 FT_Angle theta1, phi1, theta2, phi2, rotate, alpha0 = 0; in FT_Stroker_CubicTo() local
1648 alpha0 = FT_Atan2( arc[0].x - arc[3].x, arc[0].y - arc[3].y ); in FT_Stroker_CubicTo()
1684 if ( ft_pos_abs( FT_Angle_Diff( alpha0, alpha1 ) ) > in FT_Stroker_CubicTo()
/external/deqp/modules/gles3/functional/
Des3fMultisampleTests.cpp1483 …Vec4 alpha0 (0.0f, 0.0f, 0.0f, m_isAlphaToCoverageCase ? (float)col / (float)(numQuadRowsCols-1)… in iterate() local
1492 …ec2(x1, y0), Vec2(x0, y1), Vec2(x1, y1), baseGreen + alpha0, baseGreen + alpha1, baseGreen + alpha… in iterate()
1493 …), Vec2(x1, y0), Vec2(x0, y1), Vec2(x1, y1), baseRed + alpha0, baseRed + alpha1, baseRed + alpha0,… in iterate()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp1621 const deUint8 alpha0 = src[0]; in decompressBc3() local
1679 alphas[0] = alpha0 << 24; in decompressBc3()
1682 if (alpha0 > alpha1) in decompressBc3()
1685 alphas[i + 2] = (((deUint32)alpha0 * (6 - i) + (deUint32)alpha1 * (1 + i)) / 7) << 24; in decompressBc3()
1690 alphas[i + 2] = (((deUint32)alpha0 * (4 - i) + (deUint32)alpha1 * (1 + i)) / 5) << 24; in decompressBc3()
/external/rust/crates/nom/src/character/
Dcomplete.rs331 pub fn alpha0<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in alpha0() function
Dstreaming.rs311 pub fn alpha0<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in alpha0() function
/external/rust/crates/nom/
DCHANGELOG.md83 parsers in different submodules, like `nom::character::streaming::alpha0` and
84 `nom::character::complete::alpha0`.