Home
last modified time | relevance | path

Searched refs:alpha (Results 551 - 575 of 1135) sorted by relevance

1...<<21222324252627282930>>...46

/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dbuffer_queue_consumer_test.cpp227 int32_t alpha = -1; in HWTEST_F() local
257 ASSERT_EQ(consumer->GetGlobalAlpha(alpha), OHOS::SURFACE_ERROR_UNKOWN); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/textblob_fuzzer/
H A Dtext_blob_fuzzer.cpp188 uint32_t alpha = GetObject<uint32_t>(); in TextBlobFuzzTest005() local
192 Color color = Color(red, green, blue, alpha); in TextBlobFuzzTest005()
/foundation/graphic/graphic_2d/rosen/samples/composer/
H A Dlayer_context.cpp141 GraphicLayerAlpha alpha = { .enPixelAlpha = true }; in FillHDILayer() local
143 hdiLayer_->SetAlpha(alpha); in FillHDILayer()
189 const uint32_t COLOR_A = 255; // 255 is alpha in FillHDIBuffer()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscommand_fuzzer/
H A Drscommand_fuzzer.cpp73 uint8_t alpha = GetData<uint8_t>(); in RSSurfaceNodeCommandFuzzTest() local
93 SurfaceNodeCommandHelper::SetAbilityBGAlpha(context, static_cast<NodeId>(id), alpha); in RSSurfaceNodeCommandFuzzTest()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/command/
H A Drs_surface_node_command.h80 static void SetContextAlpha(RSContext& context, NodeId nodeId, float alpha);
93 static void SetAbilityBGAlpha(RSContext& context, NodeId id, uint8_t alpha);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/
H A Drs_render_params.h62 void SetAlpha(float alpha);
139 void SetGlobalAlpha(float alpha);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rsnode_fuzzer/
H A Drsnode_fuzzer.cpp71 uint8_t alpha = GetData<uint8_t>(); in RSSurfaceNodeFuzzTest() local
86 surfaceNode->SetAbilityBGAlpha(alpha); in RSSurfaceNodeFuzzTest()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/color_filter_napi/
H A Djs_color_filter.cpp124 uint32_t alpha = (hexNumber >> 24) & 0xFF; in CreateBlendModeColorFilter() local
128 color = Color::ColorQuadSetARGB(alpha, red, green, blue); in CreateBlendModeColorFilter()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_util.h87 float alpha, const std::string& extraInfo = "");
124 Drawing::Matrix& matrix, float& alpha);
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dndk_test.cpp360 napi_value* alpha = nullptr; in HWTEST_F() local
361 int32_t res = OH_PixelMap_CreateAlphaPixelMap(env, source, alpha); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_pen.cpp180 void OH_Drawing_PenSetAlpha(OH_Drawing_Pen* cPen, uint8_t alpha) in OH_Drawing_PenSetAlpha() argument
187 pen->SetAlpha(alpha); in OH_Drawing_PenSetAlpha()
/third_party/ffmpeg/libavcodec/loongarch/
H A Dh264qpel_lasx.h30 int alpha, int beta, int8_t *tc0);
32 int alpha, int beta, int8_t *tc0);
/third_party/mesa3d/src/gallium/frontends/vdpau/
H A Dpresentation.c134 color.f[3] = background_color->alpha; in vlVdpPresentationQueueSetBackgroundColor()
167 background_color->alpha = color.f[3]; in vlVdpPresentationQueueGetBackgroundColor()
/third_party/mesa3d/src/mapi/glapi/
H A Dglapi_dispatch.c110 GL_API void GL_APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
113 GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_blend.c205 /* If we are not alpha dependent we can mess with the src/dst factors */ in lp_build_blend()
323 LLVMValueRef alpha, in lp_build_alpha_to_coverage()
334 test = lp_build_cmp(&bld, PIPE_FUNC_GREATER, alpha, alpha_ref_value); in lp_build_alpha_to_coverage()
320 lp_build_alpha_to_coverage(struct gallivm_state *gallivm, struct lp_type type, struct lp_build_mask_context *mask, LLVMValueRef alpha, boolean do_branch) lp_build_alpha_to_coverage() argument
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/
H A DesextcGPUShader5SamplerArrayIndexing.cpp193 const glw::GLfloat alpha[] = { 0.0f, 0.0f, 0.0f, 1.0f }; in initTest() local
230 GL_FLOAT, alpha); in initTest()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
H A DEGLBufferAgeTest.cpp207 float alpha = kColorSet[i].A / 255.0; in TEST_P() local
209 glClearColor(red, green, blue, alpha); in TEST_P()
/third_party/skia/src/opts/
H A DSkBlitRow_opts.h20 // In particular, don't be tempted to [v]ptest, pmovmskb, etc. to branch on the source alpha.
44 // Scale green and alpha, leaving results in the high byte, masking off the low bits. in SkPMSrcOver_SKX()
75 // handling dst red and blue, the other green and alpha. (They're in SkPMSrcOver_AVX2()
77 // src channels beyond alpha until the very end when we do the "s + " in SkPMSrcOver_AVX2()
93 // Scale green and alpha, leaving results in the high byte, masking off the low bits. in SkPMSrcOver_AVX2()
132 uint8x8_t nalphas = vmvn_u8(src.val[3]); // 256 - alpha in SkPMSrcOver_neon8()
153 inline void blit_row_s32a_opaque(SkPMColor* dst, const SkPMColor* src, int len, U8CPU alpha) { in blit_row_s32a_opaque() argument
154 SkASSERT(alpha == 0xFF); in blit_row_s32a_opaque()
232 SkASSERT(0 < invA && invA < 256); // We handle alpha == 0 or alpha in blit_row_color32()
[all...]
H A DSkBlitMask_opts.h24 static inline uint16x8_t SkAlpha255To256_neon8(uint8x8_t alpha) { in SkAlpha255To256_neon8() argument
25 return vaddw_u8(vdupq_n_u16(1), alpha); in SkAlpha255To256_neon8()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DPixelRoutine.hpp54 void alphaTest(Int &aMask, const Short4 &alpha);
55 void alphaToCoverage(Int cMask[4], const Float4 &alpha, const SampleSet &samples);
/third_party/skia/tests/
H A DDrawOpAtlasTest.cpp117 int alpha) { in fill_plot()
122 data.eraseARGB(alpha, 0, 0, 0); in fill_plot()
113 fill_plot(GrDrawOpAtlas* atlas, GrResourceProvider* resourceProvider, GrDeferredUploadTarget* target, GrDrawOpAtlas::AtlasLocator* atlasLocator, int alpha) fill_plot() argument
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
H A Ddistributions.h251 // absl::Beta<T>(bitgen, alpha, beta)
255 // interval [0,1] and parameterized by two values `alpha` and `beta` as per a
257 // from the types of `alpha` and `beta`.
269 RealType alpha, RealType beta) { in Beta()
279 distribution_t>(&urbg, alpha, beta); in Beta()
268 Beta(URBG&& urbg, RealType alpha, RealType beta) Beta() argument
/third_party/skia/gm/
H A Dvertices.cpp178 for (float alpha : {1.0f, 0.5f}) {
188 paint.setAlphaf(alpha);
H A Dpictureshader.cpp39 float alpha = 1) in PictureShaderGM()
42 , fAlpha(alpha) in PictureShaderGM()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_content_modifier.cpp570 uint8_t alpha = static_cast<uint8_t>(std::floor(textDecorationColorAlpha_->Get() + ROUND_VALUE)); in ModifyDecorationInTextStyle() local
571 if (alpha == 0) { in ModifyDecorationInTextStyle()
576 textStyle.SetTextDecorationColor(Color(textDecorationColor_.value()).ChangeAlpha(alpha)); in ModifyDecorationInTextStyle()
668 uint8_t alpha = static_cast<uint8_t>(std::floor(textDecorationColorAlpha_->Get() + ROUND_VALUE)); in UpdateTextDecorationMeasureFlag() local
669 if (textDecoration_.value() == TextDecoration::UNDERLINE && alpha != textDecorationColor_.value().GetAlpha()) { in UpdateTextDecorationMeasureFlag()
671 } else if (textDecoration_.value() == TextDecoration::NONE && alpha != 0.0) { in UpdateTextDecorationMeasureFlag()

Completed in 15 milliseconds

1...<<21222324252627282930>>...46