/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | panel_view.cpp | 153 const uint8_t alpha = OPA_OPAQUE; in SetVideoSlider() local 156 videoSlider_->SetBackgroundStyle(STYLE_BACKGROUND_OPA, alpha); in SetVideoSlider() 159 videoSlider_->SetForegroundStyle(STYLE_BACKGROUND_OPA, alpha); in SetVideoSlider()
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/spancolorfill/ |
H A D | fill_pattern_rgba.h | 68 fillColor.alpha = MAX_COLOR_NUM; in NoColor() 144 color->alpha = colorType.alpha; in ChangeColor()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkbrush_fuzzer/ |
H A D | brush_fuzzer.cpp | 48 uint8_t alpha = GetObject<uint8_t>(); in BrushFuzzTest000() local 62 OH_Drawing_BrushSetAlpha(nullptr, alpha); in BrushFuzzTest000() 63 OH_Drawing_BrushSetAlpha(brush, alpha); in BrushFuzzTest000()
|
/foundation/multimedia/image_framework/interfaces/kits/native/include/ |
H A D | image_pixel_map_mdk.h | 79 * @brief Enumerates the pixel map alpha types. 236 * @brief Creates a <b>PixelMap</b> object that contains only alpha channel information. 240 * @param alpha Indicates the pointer to the alpha channel. 274 int32_t OH_PixelMap_CreateAlphaPixelMap(napi_env env, napi_value source, napi_value* alpha); 324 * @brief Checks whether a <b>PixelMap</b> object supports alpha channels. 327 * @param alpha Indicates the pointer to the support for alpha channels. 338 int32_t OH_PixelMap_IsSupportAlpha(const NativePixelMap* native, int32_t* alpha); 341 * @brief Sets an alpha channe [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vc1dsp.h | 69 void (*sprite_v_double_noscale)(uint8_t *dst, const uint8_t *src1a, const uint8_t *src2a, int alpha, int width); 71 const uint8_t *src2a, int alpha, int width); 74 int alpha, int width);
|
/third_party/lame/libmp3lame/ |
H A D | version.c | 61 "(alpha " STR(LAME_PATCH_VERSION) ", " __DATE__ " " __TIME__ ")"; in get_lame_version() 93 STR(LAME_MAJOR_VERSION) "." STR(LAME_MINOR_VERSION) " (alpha " STR(LAME_PATCH_VERSION) ")"; in get_lame_short_version() 168 " (alpha " STR(PSY_ALPHA_VERSION) ", " __DATE__ " " __TIME__ ")"; in get_psy_version() 212 lvp->alpha = LAME_PATCH_VERSION; in get_lame_version_numerical() 215 lvp->alpha = 0; in get_lame_version_numerical() 218 lvp->alpha = 0; in get_lame_version_numerical()
|
/third_party/skia/src/core/ |
H A D | SkBlitter_A8.cpp | 47 void SkA8_Coverage_Blitter::blitV(int x, int y, int height, SkAlpha alpha) { in blitV() argument 48 if (0 == alpha) { in blitV() 55 *dst = alpha; in blitV()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
H A D | TapLatencyAnalyser.java | 53 float alpha = 0.05f; in highPassFilter() 56 float yn = alpha * yn1 + ((1.0f - alpha) * (xn - xn1)); in highPassFilter()
|
/third_party/skia/tests/ |
H A D | RuntimeBlendTest.cpp | 36 for (int alpha : {0x80, 0xFF}) { in test_blend() 46 paint.setColor(SkColorSetARGB(alpha, 0x00, 0x00, 0xFF)); in test_blend() 64 (alpha == 0xFF) ? "solid" : "transparent", in test_blend()
|
/third_party/skia/third_party/externals/dawn/examples/ |
H A D | CHelloTriangle.cpp | 67 blend.alpha.operation = WGPUBlendOperation_Add; in init() 68 blend.alpha.srcFactor = WGPUBlendFactor_One; in init() 69 blend.alpha.dstFactor = WGPUBlendFactor_One; in init()
|
/third_party/skia/tools/ |
H A D | imgcvt.cpp | 123 auto alpha = skcms_AlphaFormat_PremulAsEncoded; in main() local 130 if (!skcms_Transform(pixmap.addr(), fmt,alpha, &src_profile, in main() 131 pixmap.writable_addr(), fmt,alpha, &dst_profile, in main()
|
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_blend.c | 323 /* Returns if src alpha = 0 implies the blended colour equals the destination 324 * colour. Suppose source alpha = 0 and consider cases. 327 * with S_a = 0, for each component. For the alpha component (if it unmasked), 363 /* Returns if src alpha = 1 implies the blended colour equals the source 364 * colour. Suppose source alpha = 1 and consider cases. 395 is_dest_factor(enum blend_factor factor, bool alpha) in is_dest_factor() argument 399 (factor == BLEND_FACTOR_SRC_ALPHA_SATURATE && !alpha); in is_dest_factor() 431 out->alpha.a = MALI_BLEND_OPERAND_A_SRC; in pan_blend_to_fixed_function_equation() 432 out->alpha.b = MALI_BLEND_OPERAND_B_SRC; in pan_blend_to_fixed_function_equation() 433 out->alpha in pan_blend_to_fixed_function_equation() [all...] |
/third_party/skia/third_party/externals/angle2/src/libGLESv1_CM/ |
H A D | libGLESv1_CM.cpp | 23 void GL_APIENTRY glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in glClearColor() argument 25 return GL_ClearColor(red, green, blue, alpha); in glClearColor() 38 void GL_APIENTRY glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in glColor4f() argument 40 return GL_Color4f(red, green, blue, alpha); in glColor4f() 248 void GL_APIENTRY glClearColorx(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) in glClearColorx() argument 250 return GL_ClearColorx(red, green, blue, alpha); in glClearColorx() 273 void GL_APIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) in glColor4ub() argument 275 return GL_Color4ub(red, green, blue, alpha); in glColor4ub() 278 void GL_APIENTRY glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) in glColor4x() argument 280 return GL_Color4x(red, green, blue, alpha); in glColor4x() 283 glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) glColorMask() argument [all...] |
/third_party/skia/src/gpu/effects/ |
H A D | GrPorterDuffXferProcessor.cpp | 181 * When there is no coverage, or the blend mode can tweak alpha for coverage, we use the standard 567 PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha); 591 PDLCDXferProcessor::PDLCDXferProcessor(const SkPMColor4f& blendConstant, float alpha) 595 , fAlpha(alpha) { 608 float alpha = blendConstantUPM.fA; 610 return sk_sp<GrXferProcessor>(new PDLCDXferProcessor(blendConstantPM, alpha)); 617 const char* alpha; 621 "alpha", 622 &alpha); 624 // We want to force our primary output to be alpha * Coverag [all...] |
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | pngstest.c | 185 unpremultiply(int component, int alpha) 187 if (alpha <= component) 190 else if (alpha >= 65535) 194 return sRGB((double)component / alpha); 205 ilineara(int fixed_srgb, int alpha) in ilineara() argument 207 return u16d((257 * alpha) * sRGB_to_d[fixed_srgb]); in ilineara() 218 ilineara_g22(int fixed_srgb, int alpha) in ilineara_g22() argument 220 return u16d((257 * alpha) * g22_to_d[fixed_srgb]); in ilineara_g22() 378 "sRGB-gray+alpha", 380 "sRGB-rgb+alpha", 3707 unsigned int alpha; main() local 3738 unsigned int alpha; main() local 3766 unsigned int alpha; main() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_processor.cpp | 99 "buffer:[%d, %d] alpha:[%f] type:[%d]", in CreateLayer() 104 buffer->GetSurfaceBufferWidth(), buffer->GetSurfaceBufferHeight(), layerInfo.alpha, layerInfo.layerType); in CreateLayer() 108 "buffer:[%{public}d, %{public}d] alpha:[%{public}f]", in CreateLayer() 113 buffer->GetSurfaceBufferWidth(), buffer->GetSurfaceBufferHeight(), layerInfo.alpha); in CreateLayer() 145 "buffer:[%d, %d] alpha:[%f] type:[%d]", in CreateLayerForRenderThread() 150 buffer->GetSurfaceBufferWidth(), buffer->GetSurfaceBufferHeight(), layerInfo.alpha, layerInfo.layerType); in CreateLayerForRenderThread() 154 "buffer:[%{public}d, %{public}d] alpha:[%{public}f] type:%{public}d]", in CreateLayerForRenderThread() 159 buffer->GetSurfaceBufferWidth(), buffer->GetSurfaceBufferHeight(), layerInfo.alpha, layerInfo.layerType); in CreateLayerForRenderThread() 242 GraphicLayerAlpha alpha; in GetLayerInfo() local 243 alpha in GetLayerInfo() [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/drawing_fuzzer/ |
H A D | drawing_fuzzer.cpp | 70 uint32_t alpha = static_cast<uint32_t>(data[1]); in NativeDrawingBrushTest() local 74 OH_Drawing_BrushSetColor(brush, OH_Drawing_ColorSetArgb(alpha, red, gree, blue)); in NativeDrawingBrushTest() 329 uint32_t alpha = static_cast<float>(data[1]); in OHDrawingTypographyTest() local 334 OH_Drawing_SetTextStyleColor(txtStyle, OH_Drawing_ColorSetArgb(alpha, red, gree, blue)); in OHDrawingTypographyTest() 354 OH_Drawing_CanvasClear(cCanvas, OH_Drawing_ColorSetArgb(alpha, red, gree, blue)); in OHDrawingTypographyTest() 379 uint32_t alpha = static_cast<float>(data[0]); in OHDrawingLineTypographyTest() local 384 OH_Drawing_SetTextStyleColor(textStyle, OH_Drawing_ColorSetArgb(alpha, red, gree, blue)); in OHDrawingLineTypographyTest() 422 uint32_t alpha = static_cast<float>(data[0]); in NativeDrawingPenTest() local 428 OH_Drawing_PenSetColor(pen, OH_Drawing_ColorSetArgb(alpha, red, gree, blue)); in NativeDrawingPenTest()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/ |
H A D | pen_test.cpp | 354 uint32_t alpha = 1; in HWTEST_F() local 355 pen->SetAlpha(alpha); in HWTEST_F() 356 ASSERT_EQ(alpha, pen->GetAlpha()); in HWTEST_F() 370 uint32_t alpha = 0; in HWTEST_F() local 371 pen->SetAlpha(alpha); in HWTEST_F() 372 ASSERT_EQ(alpha, pen->GetAlpha()); in HWTEST_F() 386 scalar alpha = 0; in HWTEST_F() local 387 pen->SetAlphaF(alpha); in HWTEST_F() 388 ASSERT_TRUE(IsScalarAlmostEqual(alpha, pen->GetAlphaF())); in HWTEST_F()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_bilateral.c | 45 float alpha; member 97 s->alpha = expf(-sqrtf(2.f) / s->sigmaS); in config_params() 101 s->range_table[i] = s->alpha * expf(-i * inv_sigma_range); in config_params() 167 const float alpha = s->alpha; \ 169 const float inv_alpha_ = 1.f - alpha; \ 245 const float alpha = s->alpha; \ 247 const float inv_alpha_ = 1.f - alpha; \
|
H A D | vf_deshake.c | 411 float alpha = 2.0 / deshake->refcount; in filter_frame() local 462 deshake->avg.vec.x = alpha * t.vec.x + (1.0 - alpha) * deshake->avg.vec.x; in filter_frame() 463 deshake->avg.vec.y = alpha * t.vec.y + (1.0 - alpha) * deshake->avg.vec.y; in filter_frame() 464 deshake->avg.angle = alpha * t.angle + (1.0 - alpha) * deshake->avg.angle; in filter_frame() 465 deshake->avg.zoom = alpha * t.zoom + (1.0 - alpha) * deshake->avg.zoom; in filter_frame()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | texenv.c | 178 GLboolean alpha, legal; in set_combiner_source() local 181 * Translate pname to (term, alpha). in set_combiner_source() 191 alpha = GL_FALSE; in set_combiner_source() 198 alpha = GL_TRUE; in set_combiner_source() 253 if (alpha) in set_combiner_source() 269 GLboolean alpha, legal; in set_combiner_operand() local 279 alpha = GL_FALSE; in set_combiner_operand() 286 alpha = GL_TRUE; in set_combiner_operand() 307 legal = !alpha; in set_combiner_operand() 324 if (alpha) in set_combiner_operand() [all...] |
/foundation/arkui/ui_lite/frameworks/core/ |
H A D | render_manager.cpp | 105 static float alpha = 1.f / SAMPLE_NUMBER; in UpdateFPSByAverageSamplingMethod() local 110 alpha = 1.f / SAMPLE_NUMBER; in UpdateFPSByAverageSamplingMethod() 125 avgDuration = avgDuration * (1 - alpha) + deltaTime * alpha; in UpdateFPSByAverageSamplingMethod()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_vegas.c | 44 static int alpha = 2; variable 48 module_param(alpha, int, 0644); 49 MODULE_PARM_DESC(alpha, "lower bound of packets in network"); 260 } else if (diff < alpha) { in tcp_vegas_cong_avoid()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxgp100.c | 49 const u32 alpha = grctx->alpha_nr; in gp100_grctx_generate_attrib() local 69 mmio_wr32(info, 0x40585c, alpha); in gp100_grctx_generate_attrib() 70 mmio_wr32(info, 0x4064c4, ((alpha / 4) << 16) | max_batches); in gp100_grctx_generate_attrib() 74 const u32 as = alpha * gr->ppc_tpc_nr[gpc][ppc]; in gp100_grctx_generate_attrib()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_vegas.c | 44 static int alpha = 2; variable 48 module_param(alpha, int, 0644); 49 MODULE_PARM_DESC(alpha, "lower bound of packets in network"); 261 } else if (diff < alpha) { in tcp_vegas_cong_avoid()
|