Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/astc-encoder/Source/
Dastc_color_unquantize.cpp307 int alpha1 = color_unquantization_tables[quantization_level][input[3]]; in luminance_alpha_unpack() local
309 *output1 = uint4(lum1, lum1, lum1, alpha1); in luminance_alpha_unpack()
321 int alpha1 = color_unquantization_tables[quantization_level][input[3]]; in luminance_alpha_delta_unpack() local
324 alpha0 |= (alpha1 & 0x80) << 1; in luminance_alpha_delta_unpack()
326 alpha1 &= 0x7F; in luminance_alpha_delta_unpack()
329 if (alpha1 & 0x40) in luminance_alpha_delta_unpack()
330 alpha1 -= 0x80; in luminance_alpha_delta_unpack()
335 alpha1 >>= 1; in luminance_alpha_delta_unpack()
337 alpha1 += alpha0; in luminance_alpha_delta_unpack()
344 if (alpha1 < 0) in luminance_alpha_delta_unpack()
[all …]
/external/skqp/src/core/
DSkScan_DAAPath.cpp114 SkFixed alpha1 = partialTriangleToAlpha(x1, edge->fDY); in add_coverage_delta_segment() local
116 deltas->addDelta(L, y, alpha1 * sign); in add_coverage_delta_segment()
117 deltas->addDelta(L + 1, y, (alpha2 - alpha1) * sign); in add_coverage_delta_segment()
132 SkFixed alpha1 = firstH + (dY >> 1); // rectangle plus triangle in add_coverage_delta_segment() local
134 deltas->addDelta(L + 1, y, (alpha1 - alpha0) * sign); in add_coverage_delta_segment()
139 SkFixed alphaR2 = alpha1 + dY * (len - 3); // the alpha at R - 2 in add_coverage_delta_segment()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_s3tc.c833 LLVMValueRef alpha1, in lp_build_lerpdxta() argument
869 alpha1 = LLVMBuildBitCast(builder, alpha1, bld16.vec_type, ""); in lp_build_lerpdxta()
879 delta = LLVMBuildSub(builder, alpha1, alpha0, ""); in lp_build_lerpdxta()
902 LLVMValueRef tmp, alpha0, alpha1, alphac, alphac0, bit_pos, shift; in s3tc_dxt5_alpha_channel() local
935 alpha1 = LLVMBuildLShr(builder, alpha_lo, in s3tc_dxt5_alpha_channel()
937 alpha1 = LLVMBuildAnd(builder, alpha1, in s3tc_dxt5_alpha_channel()
940 alpha1 = LLVMBuildTrunc(builder, alpha1, lp_build_vec_type(gallivm, type8), ""); in s3tc_dxt5_alpha_channel()
941 alpha1 = LLVMBuildSExt(builder, alpha1, lp_build_vec_type(gallivm, type), ""); in s3tc_dxt5_alpha_channel()
997 alpha0, alpha1); in s3tc_dxt5_alpha_channel()
998 ainterp = lp_build_lerpdxta(gallivm, alpha0, alpha1, alphac, sel_mask, n); in s3tc_dxt5_alpha_channel()
[all …]
/external/rust/crates/nom/src/character/
Dcomplete.rs359 pub fn alpha1<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in alpha1() function
743 assert_parse!(alpha1(a), Ok((empty, a))); in character()
745 alpha1(b), in character()
748 assert_eq!(alpha1::<_, (_, ErrorKind)>(c), Ok((&c[1..], &b"a"[..]))); in character()
749 assert_eq!(alpha1::<_, (_, ErrorKind)>(d), Ok(("é12".as_bytes(), &b"az"[..]))); in character()
801 assert_eq!(alpha1::<_, (_, ErrorKind)>(a), Ok((empty, a))); in character_s()
803 alpha1(b), in character_s()
806 assert_eq!(alpha1::<_, (_, ErrorKind)>(c), Ok((&c[1..], &"a"[..]))); in character_s()
807 assert_eq!(alpha1::<_, (_, ErrorKind)>(d), Ok(("é12", &"az"[..]))); in character_s()
859 match alpha1::<_, (_, ErrorKind)>(a) { in offset()
Dstreaming.rs335 pub fn alpha1<T, E: ParseError<T>>(input: T) -> IResult<T, T, E> in alpha1() function
676 assert_parse!(alpha1(a), Err(Err::Incomplete(Needed::Size(1)))); in character()
678 alpha1(b), in character()
681 assert_eq!(alpha1::<_, (_, ErrorKind)>(c), Ok((&c[1..], &b"a"[..]))); in character()
682 assert_eq!(alpha1::<_, (_, ErrorKind)>(d), Ok(("é12".as_bytes(), &b"az"[..]))); in character()
733 assert_eq!(alpha1::<_, (_, ErrorKind)>(a), Err(Err::Incomplete(Needed::Size(1)))); in character_s()
735 alpha1(b), in character_s()
738 assert_eq!(alpha1::<_, (_, ErrorKind)>(c), Ok((&c[1..], &"a"[..]))); in character_s()
739 assert_eq!(alpha1::<_, (_, ErrorKind)>(d), Ok(("é12", &"az"[..]))); in character_s()
791 match alpha1::<_, (_, ErrorKind)>(a) { in offset()
/external/mesa3d/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()
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dgamma_test.py376 alpha1 = np.array([0.4])
381 g1 = gamma_lib.Gamma(concentration=alpha1, rate=beta1)
393 kl_expected = ((alpha0 - alpha1) * special.digamma(alpha0)
394 + special.gammaln(alpha1)
396 + alpha1 * np.log(beta0)
397 - alpha1 * np.log(beta1)
/external/grpc-grpc-java/android-interop-testing/app/
Dbuild.gradle83 androidTestImplementation 'androidx.test:rules:1.1.0-alpha1'
84 androidTestImplementation 'androidx.test:runner:1.1.0-alpha1'
/external/aac/libSACdec/src/
Dsac_reshapeBBEnv.cpp350 FIXP_DBL alpha1 = ((FIXP_DBL)MAXVAL_DBL - alpha) << SF_ALPHA1; in extractBBEnv() local
423 partNrg[pb] = ((fMultDiv2(alpha1, slotNrg[pb]) << scaleCur) + in extractBBEnv()
431 partNrg[pb] = ((fMultDiv2(alpha1, slotNrg[pb]) >> scaleCur) + in extractBBEnv()
440 partNrg[pb] = ((fMultDiv2(alpha1, slotNrg[pb]) << scaleCur) + in extractBBEnv()
449 partNrg[pb] = ((fMultDiv2(alpha1, slotNrg[pb]) >> scaleCur) + in extractBBEnv()
471 frameNrg = ((fMultDiv2(alpha1, frameNrg) >> scaleCur) + in extractBBEnv()
/external/rust/crates/nom/tests/
Dinference.rs12 use nom::character::{streaming::alpha1 as alpha, is_digit};
/external/virglrenderer/ci/previous_results/archived/es_host_i915/piglit_gles3/
Dresults.txt6 spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 rgb8-punchthrough-alpha1: pass
10 spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 srgb8-punchthrough-alpha1: pass
/external/virglrenderer/ci/previous_results/archived/es_host_llvmpipe/piglit_gles3/
Dresults.txt6 spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 rgb8-punchthrough-alpha1: crash
10 spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 srgb8-punchthrough-alpha1: crash
/external/virglrenderer/ci/previous_results/archived/gl_host_llvmpipe/piglit_gles3/
Dresults.txt6 spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 rgb8-punchthrough-alpha1: crash
10 spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 srgb8-punchthrough-alpha1: crash
/external/virglrenderer/ci/previous_results/archived/gl_host_i915/piglit_gles3/
Dresults.txt6 spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 rgb8-punchthrough-alpha1: pass
10 spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 srgb8-punchthrough-alpha1: pass
/external/deqp/modules/gles31/functional/
Des31fMultisampleTests.cpp803 …Vec4 alpha1 (0.0f, 0.0f, 0.0f, m_isAlphaToCoverageCase ? (float)row / (float)(numQuadRowsCols-1)… in iterate() local
829 …, y1), Vec2(x1, y1), baseGreen + alpha0, baseGreen + alpha1, baseGreen + alpha0, baseGreen + alpha… in iterate()
830 …ec2(x0, y1), Vec2(x1, y1), baseRed + alpha0, baseRed + alpha1, baseRed + alpha0, baseRed + alpha1); in iterate()
/external/angle/src/tests/egl_tests/
DEGLContextCompatibilityTest.cpp210 EGLint red1, red2, green1, green2, blue1, blue2, alpha1, alpha2; in areConfigsCompatible() local
223 eglGetConfigAttrib(mDisplay, c1, EGL_ALPHA_SIZE, &alpha1); in areConfigsCompatible()
245 blue1 == blue2 && alpha1 == alpha2 && colorComponentType1 == colorComponentType2 && in areConfigsCompatible()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DWTauNafMultiplier.java54 ZTauElement[] alpha = (a == 0) ? Tnaf.alpha0 : Tnaf.alpha1; in multiplyWTnaf()
/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h158 const GLubyte alpha1 = blksrc[1]; in fetch_2d_texel_rgba_dxt5() local
168 rgba[ACOMP] = UBYTE_TO_CHAN( alpha1 ); 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()
/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()
/external/rust/crates/nom/src/sequence/
Dmod.rs306 use crate::character::complete::{alpha1, digit1}; in single_element_tuples()
309 let parser = tuple((alpha1,)); in single_element_tuples()
/external/freetype/src/base/
Dftstroke.c1460 FT_Angle alpha1; in FT_Stroker_ConicTo() local
1467 alpha1 = FT_Atan2( end.x - start.x, end.y - start.y ); in FT_Stroker_ConicTo()
1471 if ( ft_pos_abs( FT_Angle_Diff( alpha0, alpha1 ) ) > in FT_Stroker_ConicTo()
1488 sinA = ft_pos_abs( FT_Sin( alpha1 - gamma ) ); in FT_Stroker_ConicTo()
1673 FT_Angle alpha1; in FT_Stroker_CubicTo() local
1680 alpha1 = FT_Atan2( end.x - start.x, end.y - start.y ); in FT_Stroker_CubicTo()
1684 if ( ft_pos_abs( FT_Angle_Diff( alpha0, alpha1 ) ) > in FT_Stroker_CubicTo()
1701 sinA = ft_pos_abs( FT_Sin( alpha1 - gamma ) ); in FT_Stroker_CubicTo()
/external/angle/src/tests/gl_tests/
DRobustResourceInitTest.cpp85 uint8_t alpha1 = (alpha0 >> ((xx % 2) * 4)) & 0xF; in UncompressDXTBlock() local
86 alpha = alpha1 | (alpha1 << 4); in UncompressDXTBlock()
92 uint8_t alpha1 = src[srcOffset + 1]; in UncompressDXTBlock() local
100 if (alpha0 > alpha1) in UncompressDXTBlock()
108 alpha = alpha1; in UncompressDXTBlock()
112 alpha = ((8 - alphaCode) * alpha0 + (alphaCode - 1) * alpha1) / 7; in UncompressDXTBlock()
124 alpha = alpha1; in UncompressDXTBlock()
134 alpha = ((6 - alphaCode) * alpha0 + (alphaCode - 1) * alpha1) / 5; in UncompressDXTBlock()
/external/virglrenderer/ci/previous_results/es_host_softpipe/piglit_gles3/
Dresults.txt6 spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 rgb8-punchthrough-alpha1: pass
10 spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 srgb8-punchthrough-alpha1: pass
/external/virglrenderer/ci/previous_results/gl_host_softpipe/piglit_gles3/
Dresults.txt6 spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 rgb8-punchthrough-alpha1: pass
10 spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 srgb8-punchthrough-alpha1: pass

12