/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/ |
H A D | render_blur_common.h | 123 float alpha = textureLod(sampler2D(tex, sampl), uv, 0).a * CORE_BLUR_WEIGHTS[0]; in GaussianBlurA() local 128 alpha += textureLod(sampler2D(tex, sampl), (vec2(fragCoord) + currOffset, 0) * invTexSize, 0).a * in GaussianBlurA() 130 alpha += textureLod(sampler2D(tex, sampl), (vec2(fragCoord) - currOffset, 0) * invTexSize, 0).a * in GaussianBlurA() 134 return alpha; in GaussianBlurA() 220 float alpha = textureLod(sampler2DArray(tex, sampl), vec3(uv, dirLayer.z), 0).a * CORE_BLUR_WEIGHTS[0]; in GaussianBlurALayer() local 225 alpha += in GaussianBlurALayer() 229 alpha += in GaussianBlurALayer() 235 return alpha; in GaussianBlurALayer()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | blend.c | 311 * \param sfactorA alpha source factor operator. 312 * \param dfactorA alpha destination factor operator. 788 * \param alpha alpha color component. 797 _mesa_BlendColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) in _mesa_BlendColor() 805 tmp[3] = alpha; in _mesa_BlendColor() 822 * Specify the alpha test function. 824 * \param func alpha comparison function. 973 * \param alpha whether to mask writing of the alpha colo 1011 _mesa_ColorMaski(GLuint buf, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) _mesa_ColorMaski() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context_gles_1_0.cpp | 49 void Context::clearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) in clearColorx() argument 52 ConvertFixedToFloat(blue), ConvertFixedToFloat(alpha)); in clearColorx() 83 void Context::color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in color4f() argument 85 mState.gles1().setCurrentColor({red, green, blue, alpha}); in color4f() 88 void Context::color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) in color4ub() argument 92 normalizedToFloat<uint8_t>(blue), normalizedToFloat<uint8_t>(alpha)}); in color4ub() 95 void Context::color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) in color4x() argument 98 ConvertFixedToFloat(blue), ConvertFixedToFloat(alpha)}); in color4x()
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | pngvalid.c | 249 "grayscale with alpha", invalid, "truecolour with alpha", invalid 464 if (*colour_type < 4/*no alpha channel*/) in next_format() 467 * and one without for other non-alpha formats: in next_format() 705 png_byte alpha; member 2627 * composition actually happens (0 < alpha < 1). in calcerr() 3599 /* Fill in the alpha values in the first byte. Just use all possible values in make_standard_palette() 3629 palette[i].alpha = values[i ^ selector[1]][0]; in make_standard_palette() 3675 if ((tRNS[i] = ppal[i].alpha) < 255) in init_standard_palette() 4601 bad.red = bad.green = bad.blue = bad.gray = bad.alpha in sBIT0_error_fn() 6015 unsigned int red, green, blue, alpha; /* For non-palette images. */ global() member 9523 gamma_component_compose(int do_background, double input_sample, double alpha, double background, int *compose) gamma_component_compose() argument 10260 double alpha = 1; /* serves as a flag value */ gamma_image_validate() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | sheet_drag_bar_paint_method.cpp | 65 auto alpha = std::floor(UINT8_MAX * defaultOpacity); in Paint() local 66 pen.SetAlpha(alpha * opacity); in Paint()
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | render_svg.h | 118 void SetRootOpacity(uint8_t alpha) in SetRootOpacity() argument 120 rootOpacity_ = alpha; in SetRootOpacity()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rsuisurface_fuzzer/ |
H A D | rsuisurface_fuzzer.cpp | 89 uint8_t alpha = GetData<uint8_t>(); in RSUIDirectorFuzzTest() local 102 uiDirector->SetAbilityBGAlpha(alpha); in RSUIDirectorFuzzTest()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_kawase_blur.h | 32 float alpha = 0.f;
member 36 : src(s), dst(d), radius(r), colorFilter(color), alpha(a) {}
in KawaseParameter()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/ |
H A D | hdilayer_context_systest.cpp | 111 GraphicLayerAlpha alpha = { .enPixelAlpha = true }; in FillHdiLayer() local 115 hdiLayer_->SetAlpha(alpha); in FillHdiLayer()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_property_drawable_utilities.h | 83 explicit RSAlphaDrawable(float alpha); 95 explicit RSAlphaOffscreenDrawable(float alpha);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_hps_blur.cpp | 41 const Drawing::HpsBlurParameter& param, float alpha, std::shared_ptr<Drawing::ColorFilter> colorFilter) const
in ApplyHpsBlur() 85 brush.SetAlphaF(alpha);
in ApplyHpsBlur() 40 ApplyHpsBlur(Drawing::Canvas& canvas, const std::shared_ptr<Drawing::Image>& image, const Drawing::HpsBlurParameter& param, float alpha, std::shared_ptr<Drawing::ColorFilter> colorFilter) const ApplyHpsBlur() argument
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdilayer_fuzzer/ |
H A D | hdilayer_fuzzer.cpp | 69 GraphicLayerAlpha alpha = GetData<GraphicLayerAlpha>(); in GetLayerInfoFromData() local 87 layerInfo->SetAlpha(alpha); in GetLayerInfoFromData()
|
/third_party/ffmpeg/tests/fate/ |
H A D | prores.mak | 5 fate-prores-alpha \ 18 fate-prores-alpha: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/prores/Sequence_1-Apple_ProRes_with_Alpha.mov -pix_fmt yuva444p12le -vf scale
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_nir_lower_alpha_to_coverage.c | 28 * We need to compute alpha to coverage dithering manually in shader 30 * alpha to coverage dithering. 38 * It gives a number of ones proportional to the alpha for 2, 4, 8 or 16 62 nir_ssa_def *alpha = nir_channel(b, color, 3); in build_dither_mask() local 65 nir_f2i32(b, nir_fmul_imm(b, nir_fsat(b, alpha), 16.0)); in build_dither_mask() 145 * assuming an alpha of 1.0 and letting the sample mask pass through in brw_nir_lower_alpha_to_coverage()
|
/third_party/libdrm/tests/tegra/ |
H A D | vic.h | 129 unsigned int alpha, unsigned red, 156 int vic_clear(struct vic *vic, struct vic_image *output, unsigned int alpha,
|
/third_party/ltp/testcases/realtime/tools/ |
H A D | ftqviz.py | 102 plot(ts, xi, alpha=0.2) 111 plot(X[0], X[1], ls='steps', alpha=0.2)
|
/third_party/mesa3d/src/gbm/backends/dri/ |
H A D | gbm_driint.h | 51 int alpha; member 57 unsigned int alpha; member
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrAATriangulator.h | 13 // Triangulates the given path in device space with a mesh of alpha ramps for antialiasing. 31 Event(SSEdge* edge, const SkPoint& point, uint8_t alpha) in Event() 32 : fEdge(edge), fPoint(point), fAlpha(alpha) {} in Event() 63 // new vertices, and set zero alpha on the exterior and one alpha on the interior. Build a
|
/third_party/skia/src/shaders/ |
H A D | SkColorFilterShader.cpp | 23 float alpha, in SkColorFilterShader() 27 , fAlpha (alpha) in SkColorFilterShader() 77 // Scale that by alpha. in onProgram() 22 SkColorFilterShader(sk_sp<SkShader> shader, float alpha, sk_sp<SkColorFilter> filter) SkColorFilterShader() argument
|
/third_party/typescript/tests/baselines/reference/ |
H A D | moduleVisibilityTest1.js | 63 var alpha = M.E.A; variable 124 var alpha = M.E.A;
variable
|
H A D | moduleVisibilityTest2.js | 64 var alpha = M.E.A; variable 125 var alpha = M.E.A;
variable
|
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/ |
H A D | 3d_dm_lighting_common.h | 77 float alpha; member 107 in CORE_RELAXEDP float alpha, inout CORE_RELAXEDP vec3 irradiance, inout CORE_RELAXEDP vec3 radiance) in AppendIndirectSheen() 119 in CORE_RELAXEDP float alpha, in vec3 V, inout CORE_RELAXEDP vec3 irradiance, inout CORE_RELAXEDP vec3 radiance) in AppendIndirectClearcoat() 151 const CORE_RELAXEDP float alpha = roughness * roughness; in GetFinalSampledBrdfGeometricCorrection() local 152 ibd.alpha2 = alpha * alpha; in GetFinalSampledBrdfGeometricCorrection() 159 const CORE_RELAXEDP float alpha = roughness * roughness; in GetFinalSampledBrdfGeometricCorrection() local 160 ibd.alpha2 = alpha * alpha; in GetFinalSampledBrdfGeometricCorrection() 556 const float at = max(asv.alpha * (1. in CalculateLight() 106 AppendIndirectSheen(in SheenShadingVariables ssv, in CORE_RELAXEDP vec3 radianceSample, in CORE_RELAXEDP float alpha, inout CORE_RELAXEDP vec3 irradiance, inout CORE_RELAXEDP vec3 radiance) AppendIndirectSheen() argument 118 AppendIndirectClearcoat(in ClearcoatShadingVariables ccsv, in CORE_RELAXEDP vec3 radianceSample, in CORE_RELAXEDP float alpha, in vec3 V, inout CORE_RELAXEDP vec3 irradiance, inout CORE_RELAXEDP vec3 radiance) AppendIndirectClearcoat() argument [all...] |
/third_party/cups-filters/cupsfilters/ |
H A D | image-tiff.c | 69 alpha; /* cupsImage includes alpha? */ in _cupsImageReadTIFF() local 190 * See if the image has an alpha channel... in _cupsImageReadTIFF() 194 alpha = 1; in _cupsImageReadTIFF() 196 alpha = 0; in _cupsImageReadTIFF() 431 else if (xdir < 0 || zero || alpha) in _cupsImageReadTIFF() 435 if (alpha) in _cupsImageReadTIFF() 583 else if (ydir < 0 || zero || alpha) in _cupsImageReadTIFF() 587 if (alpha) in _cupsImageReadTIFF() 1035 else if (xdir < 0 || alpha) in _cupsImageReadTIFF() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/cmd/ |
H A D | rs_surface_node_cmd_test.cpp | 277 uint8_t alpha = static_cast<uint8_t>(0);
in HWTEST_F() local 278 SurfaceNodeCommandHelper::SetAbilityBGAlpha(context, id, alpha);
in HWTEST_F() 282 SurfaceNodeCommandHelper::SetAbilityBGAlpha(*context2, id2, alpha);
in HWTEST_F() 330 float alpha = 0;
in HWTEST_F() local 331 SurfaceNodeCommandHelper::SetContextAlpha(context, id, alpha);
in HWTEST_F() 335 SurfaceNodeCommandHelper::SetContextAlpha(*context2, id2, alpha);
in HWTEST_F()
|
/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingNativePenTest.cpp | 357 // 2. Set the alpha value for the pen using OH_Drawing_PenSetAlpha in HWTEST_F() 359 // 3. Get the alpha value of the pen using OH_Drawing_PenGetAlpha in HWTEST_F() 360 uint8_t alpha = OH_Drawing_PenGetAlpha(pen); in HWTEST_F() local 361 EXPECT_EQ(alpha, 0x00); in HWTEST_F() 394 // 2. Set the alpha value for the pen using OH_Drawing_PenSetAlpha in HWTEST_F() 396 // 3. Get the alpha value of the pen using OH_Drawing_PenGetAlpha in HWTEST_F() 397 uint8_t alpha = OH_Drawing_PenGetAlpha(pen); in HWTEST_F() local 398 EXPECT_EQ(alpha, 0x00); in HWTEST_F() 414 // 2. Set the alpha value for the pen using OH_Drawing_PenSetAlpha with nullptr as the first parameter in HWTEST_F() 416 // 3. Set the alpha valu in HWTEST_F() 436 uint8_t alpha = OH_Drawing_PenGetAlpha(pen); HWTEST_F() local [all...] |