/third_party/ffmpeg/libavcodec/mips/ |
H A D | sbrdsp_mips.c | 615 float alpha[4]; in sbr_hf_gen_mips() local 622 alpha[0] = alpha1[0] * bw * bw; in sbr_hf_gen_mips() 623 alpha[1] = alpha1[1] * bw * bw; in sbr_hf_gen_mips() 624 alpha[2] = alpha0[0] * bw; in sbr_hf_gen_mips() 625 alpha[3] = alpha0[1] * bw; in sbr_hf_gen_mips() 635 "lwc1 %[temp7], 0(%[alpha]) \n\t" in sbr_hf_gen_mips() 636 "lwc1 %[temp8], 4(%[alpha]) \n\t" in sbr_hf_gen_mips() 637 "lwc1 %[temp9], 8(%[alpha]) \n\t" in sbr_hf_gen_mips() 638 "lwc1 %[temp10], 12(%[alpha]) \n\t" in sbr_hf_gen_mips() 660 : [alpha]" in sbr_hf_gen_mips() [all...] |
/third_party/mesa3d/src/gallium/frontends/wgl/ |
H A D | stw_pixelformat.c | 51 unsigned char alpha; member 57 unsigned char alpha; member 76 /* no-alpha */ 79 /* alpha */ 147 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 3) == color->bits.alpha); in stw_pixelformat_add() 180 color->bits.red + color->bits.green + color->bits.blue + color->bits.alpha; in stw_pixelformat_add() 187 pfi->pfd.cAlphaBits = color->bits.alpha; in stw_pixelformat_add() 188 pfi->pfd.cAlphaShift = color->shift.alpha; in stw_pixelformat_add() 220 if (color->bits.alpha) in stw_pixelformat_add()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | dsp.h | 601 // Apply alpha pre-multiply on an rgba, bgra or argb plane of size w * h. 602 // alpha_first should be 0 for argb, 1 for rgba or bgra (where alpha is last). 610 // Dispatch the values from alpha[] plane to the ARGB destination 'dst'. 611 // Returns true if alpha[] plane has non-trivial values different from 0xff. 612 extern int (*WebPDispatchAlpha)(const uint8_t* WEBP_RESTRICT alpha, 616 // Transfer packed 8b alpha[] values to green channel in dst[], zero'ing the 618 extern void (*WebPDispatchAlphaToGreen)(const uint8_t* WEBP_RESTRICT alpha, 623 // Extract the alpha values from 32b values in argb[] and pack them into alpha[] 625 // Returns true if there's only trivial 0xff alpha value [all...] |
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | alpha_enc.c | 25 // Encodes the given alpha data via specified compression method 'method'. 30 // 'method = 1' - Use lossless coder on the alpha plane only 37 // 'output' corresponds to the buffer containing compressed alpha data. 40 // 'output_size' corresponds to size of this compressed alpha buffer. 42 // Returns 1 on successfully encoding the alpha and 64 // Transfer the alpha values to the green channel. in EncodeLossless() 70 // Enable exact, or it would alter RGB values of transparent alpha, which is in EncodeLossless() 76 // Set a low default quality for encoding alpha. Ensure that Alpha quality at in EncodeLossless() 79 // If the alpha quality is set to 100 and the method to 6, allow for a high in EncodeLossless() 86 // a decoder bug related to alpha wit in EncodeLossless() 202 GetFilterMap(const uint8_t* alpha, int width, int height, int filter, int effort_level) GetFilterMap() argument 234 ApplyFiltersAndEncode(const uint8_t* alpha, int width, int height, size_t data_size, int method, int filter, int reduce_levels, int effort_level, uint8_t** const output, size_t* const output_size, WebPAuxStats* const stats) ApplyFiltersAndEncode() argument [all...] |
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_utils.cpp | 262 lineBackgroundRect, lineStyle, lineStyle.bgColor_.alpha); in DrawNormalLetter() 270 backgroundRect, style, style.bgColor_.alpha); in DrawNormalLetter() 440 if ((fillColor.alpha == OPA_TRANSPARENT) || (opa == OPA_TRANSPARENT)) { in FillAreaWithSoftWare() 444 if ((opa == OPA_OPAQUE) && (fillColor.alpha == OPA_OPAQUE)) { in FillAreaWithSoftWare() 510 uint8_t alpha, uint8_t cover) in BlendLerpPix() 513 mNeonBlendPipeLine.NeonLerpARGB8888(color, red, green, blue, alpha, cover); in BlendLerpPix() 516 void DrawUtils::BlendLerpPix(uint8_t* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha) in BlendLerpPix() argument 519 mNeonBlendPipeLine.NeonLerpARGB8888(color, red, green, blue, alpha); in BlendLerpPix() 535 uint8_t alpha, uint8_t* covers) in BlendLerpPix() 538 mNeonBlendPipeLine.NeonLerpARGB8888(color, red, green, blue, alpha, cover in BlendLerpPix() 509 BlendLerpPix(uint8_t* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t cover) BlendLerpPix() argument 534 BlendLerpPix(uint8_t* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t* covers) BlendLerpPix() argument 541 BlendPreLerpPix(uint8_t* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t cover) BlendPreLerpPix() argument 548 BlendPreLerpPix(uint8_t* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha) BlendPreLerpPix() argument 565 BlendPreLerpPix(uint8_t *color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t *covers) BlendPreLerpPix() argument [all...] |
/test/xts/hats/hdf/display/composer/benchmark/ |
H A D | display_benchmark_test.cpp | 99 if ((setting.alpha >= 0) && (setting.alpha <= 0xff)) { // alpha rang 0x00 ~ 0xff
in CreateTestLayer() 100 LayerAlpha alpha = { 0 };
in CreateTestLayer() local 101 alpha.gAlpha = setting.alpha;
in CreateTestLayer() 102 alpha.enGlobalAlpha = true;
in CreateTestLayer() 103 layer->SetAlpha(alpha);
in CreateTestLayer() 894 LayerAlpha alpha = { 0 };
in BENCHMARK_F() local 895 alpha in BENCHMARK_F() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | cfhdenc.c | 242 int16_t *alpha; member 370 s->alpha = av_calloc(avctx->width * avctx->height, sizeof(*s->alpha)); in cfhd_encode_init() 371 if (!s->alpha) in cfhd_encode_init() 405 int alpha = src[j]; in process_alpha() local 407 if (alpha > 0 && alpha < 4080) { in process_alpha() 408 alpha *= 223; in process_alpha() 409 alpha += 128; in process_alpha() 410 alpha >> in process_alpha() [all...] |
H A D | acelp_vectors.c | 193 int size, float alpha, float *gain_mem) in ff_adaptive_gain_control() 203 gain_scale_factor *= 1.0 - alpha; in ff_adaptive_gain_control() 206 mem = alpha * mem + gain_scale_factor; in ff_adaptive_gain_control() 192 ff_adaptive_gain_control(float *out, const float *in, float speech_energ, int size, float alpha, float *gain_mem) ff_adaptive_gain_control() argument
|
H A D | movtextdec.c | 69 uint8_t alpha; member 146 style->alpha = bytestream_get_byte(ptr); in mov_text_parse_style_record() 268 CMP(alpha) && CMP(fontsize) && CMP(font_id); in styles_equivalent() 395 if (default_style->alpha != style->alpha) in text_to_ass() 396 av_bprintf(buf, "{\\1a&H%02X&}", 255 - style->alpha); in text_to_ass() 465 (255U - default_style->alpha) << 24 | default_style->color, in mov_text_init() 466 (255U - default_style->alpha) << 24 | default_style->color, in mov_text_init()
|
/base/theme/wallpaper_mgr/frameworks/js/napi/ |
H A D | wallpaper_js_util.cpp | 66 napi_value alpha = nullptr; in Convert2JSRgbaArray() local 70 napi_create_int32(env, static_cast<int32_t>(colors.a * COLOR_MASK), &alpha); in Convert2JSRgbaArray() 76 napi_set_named_property(env, element, "alpha", alpha); in Convert2JSRgbaArray()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/ |
H A D | 3d_dm_target_packing_common.h | 130 vec4 GetPackPbrColor(in vec3 color, in CORE_RELAXEDP float alpha) in GetPackPbrColor() argument 132 // zero to hdr max clamp and alpha multiply in GetPackPbrColor() 133 return vec4(clamp(color.rgb, 0.0, CORE3D_HDR_FLOAT_CLAMP_MAX_VALUE) * alpha, alpha); in GetPackPbrColor()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_despill.c | 33 int alpha; member 82 if (s->alpha) { in do_despill_slice() 155 { "alpha", "change alpha component", OFFSET(alpha), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
|
/third_party/ffmpeg/libswscale/ |
H A D | vscale.c | 57 if (desc->alpha) { in lum_planar_vscale() 130 uint8_t **src3 = desc->alpha ? desc->src->plane[3].line + sp3 : NULL; in packed_vscale() 136 (const int16_t*)(desc->alpha ? *src3 : NULL), *dst, dstW, 0, sliceY); in packed_vscale() 142 (const int16_t*)(desc->alpha ? *src3 : NULL), *dst, dstW, chrAlpha, sliceY); in packed_vscale() 198 uint8_t **src3 = desc->alpha ? desc->src->plane[3].line + sp3 : NULL; in any_vscale() 202 desc->alpha ? desc->dst->plane[3].line[dp3] : NULL }; in any_vscale() 228 desc[0].alpha = c->needAlpha; in ff_init_vscale() 249 desc[0].alpha = c->needAlpha; in ff_init_vscale()
|
/third_party/skia/src/core/ |
H A D | SkBlitter.cpp | 55 SkAlpha alpha = (SkAlpha)(a * 255); in ScalarToAlpha() local 56 return alpha > 247 ? 0xFF : alpha < 8 ? 0 : alpha; in ScalarToAlpha() 111 void SkBlitter::blitV(int x, int y, int height, SkAlpha alpha) { in blitV() argument 112 if (alpha == 255) { in blitV() 120 this->blitAntiH(x, y++, &alpha, runs); in blitV() 133 /// such as alpha == 255; also uses blitV(), which some subclasses 313 void SkNullBlitter::blitV(int x, int y, int height, SkAlpha alpha) {} in blitV() argument 408 void SkRectClipBlitter::blitV(int x, int y, int height, SkAlpha alpha) { [all...] |
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/ |
H A D | gelu_builder.cpp | 110 float alpha = 0.0f; in GetPrimitive() local 114 alpha, minVal, maxVal, m_approximate); in GetPrimitive()
|
H A D | leaky_relu_builder.cpp | 106 float alpha {m_negativeSlope};
in GetPrimitive() 112 void* primitive = mindspore::lite::MindIR_Activation_CreatePrimitive(activationType, alpha,
in GetPrimitive()
|
/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | interactive_effect.h | 69 void SetAlpha(double alpha) in SetAlpha() argument 71 alpha_ = alpha; in SetAlpha() 127 double alpha_ = 0.0; // alpha factor in argb
|
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | animatable_data.cpp | 40 uint8_t alpha = static_cast<uint8_t>(startA + (end.GetAlpha() - startA) * process); in Blend() local 44 return Color::FromARGB(alpha, red, green, blue); in Blend()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | qrcode_component.cpp | 108 uint8_t alpha = 255;
in SetColor() local 109 if (!GetStyleColorValue(&style, color, alpha)) {
in SetColor()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsproxyrendernode_fuzzer/ |
H A D | rsproxyrendernode_fuzzer.cpp | 68 float alpha = GetData<float>();
in DoSomethingInterestingWithMyAPI() local 86 rsProxyRenderNode->SetContextAlpha(alpha);
in DoSomethingInterestingWithMyAPI()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_anco_manager.cpp | 87 auto alpha = surfaceNode->GetGlobalAlpha(); in AncoOptimizeDisplayNode() local 88 if (ROSEN_EQ(alpha, 0.0f) || !surfaceNode->GetRSSurfaceHandler() || in AncoOptimizeDisplayNode()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_shadow.cpp | 41 void RSShadow::SetAlpha(float alpha) in SetAlpha() argument 43 color_.SetAlpha(std::clamp(alpha, 0.0f, 1.0f) * UINT8_MAX); in SetAlpha()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/params/ |
H A D | rs_render_params_test.cpp | 72 float alpha = 1.0; in HWTEST_F() local 73 params.SetAlpha(alpha); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_hps_blur_test.cpp | 89 float alpha = 0.8; in HWTEST_F() local 94 EXPECT_EQ(filter.ApplyHpsBlur(canvas_, image, param, alpha, colorFilter), false); in HWTEST_F()
|
/foundation/graphic/graphic_2d/graphic_test/graphic_test/rs_display_effect/property_display/ |
H A D | test_RSBackground_UseEffect.cpp | 36 void setNode(std::shared_ptr<RSCanvasNode>& node, float alpha) in setNode() argument 45 node->SetAlpha(alpha); in setNode()
|