/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationGL1.cpp | 56 GLfloat alpha) in ValidateClearAccum() 196 GLbyte alpha) in ValidateColor4b() 211 GLdouble alpha) in ValidateColor4d() 231 GLint alpha) in ValidateColor4i() 246 GLshort alpha) in ValidateColor4s() 266 GLuint alpha) in ValidateColor4ui() 281 GLushort alpha) in ValidateColor4us() 51 ValidateClearAccum(const Context *, angle::EntryPoint entryPoint, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) ValidateClearAccum() argument 191 ValidateColor4b(const Context *, angle::EntryPoint entryPoint, GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) ValidateColor4b() argument 206 ValidateColor4d(const Context *, angle::EntryPoint entryPoint, GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) ValidateColor4d() argument 226 ValidateColor4i(const Context *, angle::EntryPoint entryPoint, GLint red, GLint green, GLint blue, GLint alpha) ValidateColor4i() argument 241 ValidateColor4s(const Context *, angle::EntryPoint entryPoint, GLshort red, GLshort green, GLshort blue, GLshort alpha) ValidateColor4s() argument 261 ValidateColor4ui(const Context *, angle::EntryPoint entryPoint, GLuint red, GLuint green, GLuint blue, GLuint alpha) ValidateColor4ui() argument 276 ValidateColor4us(const Context *, angle::EntryPoint entryPoint, GLushort red, GLushort green, GLushort blue, GLushort alpha) ValidateColor4us() argument
|
H A D | validationGL1_autogen.h | 44 GLfloat alpha); 104 GLbyte alpha); 111 GLdouble alpha); 119 GLint alpha); 126 GLshort alpha); 134 GLuint alpha); 141 GLushort alpha);
|
H A D | formatutils.cpp | 763 return (red + green + blue + alpha + shared + unused) / 8; in pixelBytes() 768 ((alpha > 0) ? 1 : 0); in componentCount() 772 return ((red + green + blue + alpha + shared + unused) % 8) == 0; in valid() 778 GLuint alpha; member 783 template <GLuint red, GLuint green, GLuint blue, GLuint alpha, GLuint unused, GLuint shared> 786 constexpr FormatBits formatBits = {red, green, blue, alpha, unused, shared}; in FB() 815 formatInfo.alphaBits = formatBits.alpha; in AddRGBAXFormat() 838 GLuint alpha, in AddRGBAFormat() 850 return AddRGBAXFormat(map, internalFormat, sized, {red, green, blue, alpha, 0, shared}, format, in AddRGBAFormat() 859 GLuint alpha, in AddLUMAFormat() 832 AddRGBAFormat(InternalFormatInfoMap *map, GLenum internalFormat, bool sized, GLuint red, GLuint green, GLuint blue, GLuint alpha, GLuint shared, GLenum format, GLenum type, GLenum componentType, bool srgb, InternalFormat::SupportCheckFunction textureSupport, InternalFormat::SupportCheckFunction filterSupport, InternalFormat::SupportCheckFunction textureAttachmentSupport, InternalFormat::SupportCheckFunction renderbufferSupport, InternalFormat::SupportCheckFunction blendSupport) AddRGBAFormat() argument 855 AddLUMAFormat(InternalFormatInfoMap *map, GLenum internalFormat, bool sized, GLuint luminance, GLuint alpha, GLenum format, GLenum type, GLenum componentType, InternalFormat::SupportCheckFunction textureSupport, InternalFormat::SupportCheckFunction filterSupport, InternalFormat::SupportCheckFunction textureAttachmentSupport, InternalFormat::SupportCheckFunction renderbufferSupport, InternalFormat::SupportCheckFunction blendSupport) AddLUMAFormat() argument 965 AddYUVFormat(InternalFormatInfoMap *map, GLenum internalFormat, bool sized, GLuint cr, GLuint y, GLuint cb, GLuint alpha, GLuint shared, GLenum format, GLenum type, GLenum componentType, bool srgb, InternalFormat::SupportCheckFunction textureSupport, InternalFormat::SupportCheckFunction filterSupport, InternalFormat::SupportCheckFunction textureAttachmentSupport, InternalFormat::SupportCheckFunction renderbufferSupport, InternalFormat::SupportCheckFunction blendSupport) AddYUVFormat() argument [all...] |
/third_party/skia/third_party/externals/libpng/ |
H A D | pngwutil.c | 734 png_error(png_ptr, "Invalid bit depth for grayscale+alpha image"); in png_write_IHDR() 1215 entrybuf[3] = (png_byte)ep->alpha; in png_write_sPLT() 1224 png_save_uint_16(entrybuf + 6, ep->alpha); in png_write_sPLT() 1239 entrybuf[3] = (png_byte)ep[i].alpha; in png_write_sPLT() 1248 png_save_uint_16(entrybuf + 6, ep[i].alpha); in png_write_sPLT() 1306 if (sbit->alpha == 0 || sbit->alpha > png_ptr->usr_bit_depth) in png_write_sBIT() 1312 buf[size++] = sbit->alpha; in png_write_sBIT() 1406 png_app_warning(png_ptr, "Can't write tRNS with an alpha channel"); in png_write_tRNS()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_render_util_test.cpp | 897 float alpha = 1.f; in HWTEST_F() local 899 RSUniRenderUtil::DrawRectForDfx(filterCanvas, rect, color, alpha, extraInfo); in HWTEST_F() 904 RSUniRenderUtil::DrawRectForDfx(filterCanvas, rect, color, alpha, extraInfo); in HWTEST_F() 1457 float alpha = 1.0f; in HWTEST_F() local 1459 rsUniRenderUtil.AccumulateMatrixAndAlpha(hwcNode, matrix, alpha); in HWTEST_F() 1479 float alpha = 1.0f; in HWTEST_F() local 1481 rsUniRenderUtil.AccumulateMatrixAndAlpha(hwcNode, matrix, alpha); in HWTEST_F() 1486 * @tc.desc: AccumulateMatrixAndAlpha test when alpha != 1.f 1501 float alpha = 0.8f; in HWTEST_F() local 1502 rsUniRenderUtil.AccumulateMatrixAndAlpha(hwcNode, matrix, alpha); in HWTEST_F() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | exr.c | 158 int channel_offsets[4]; // 0 = red, 1 = green, 2 = blue and 3 = alpha 923 float alpha[4], beta[4], theta[4], gamma[4]; in idct_1d() local 925 alpha[0] = c * blk[2 * step]; in idct_1d() 926 alpha[1] = f * blk[2 * step]; in idct_1d() 927 alpha[2] = c * blk[6 * step]; in idct_1d() 928 alpha[3] = f * blk[6 * step]; in idct_1d() 938 theta[1] = alpha[0] + alpha[3]; in idct_1d() 939 theta[2] = alpha[1] - alpha[ in idct_1d() [all...] |
/third_party/ffmpeg/libswscale/ |
H A D | swscale_unscaled.c | 713 int alpha = src_format->flags & AV_PIX_FMT_FLAG_ALPHA; in Rgb16ToPlanarRgb16Wrapper() local 742 dst2013, stride2013, srcSliceH, alpha, swap, in Rgb16ToPlanarRgb16Wrapper() 750 dst1023, stride1023, srcSliceH, alpha, swap, in Rgb16ToPlanarRgb16Wrapper() 764 int alpha, int swap, int bpp, int width) in gbr16ptopacked16() 775 if (alpha && !src_alpha) { in gbr16ptopacked16() 785 } else if (alpha && src_alpha) { in gbr16ptopacked16() 808 if (alpha && !src_alpha) { in gbr16ptopacked16() 815 } else if (alpha && src_alpha) { in gbr16ptopacked16() 831 if (alpha && !src_alpha) { in gbr16ptopacked16() 838 } else if (alpha in gbr16ptopacked16() 762 gbr16ptopacked16(const uint16_t *src[], int srcStride[], uint8_t *dst, int dstStride, int srcSliceH, int alpha, int swap, int bpp, int width) gbr16ptopacked16() argument [all...] |
/third_party/mesa3d/include/GL/ |
H A D | gl.h | 743 GLAPI void GLAPIENTRY glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ); 749 GLAPI void GLAPIENTRY glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ); 850 GLAPI void GLAPIENTRY glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); 993 GLbyte blue, GLbyte alpha ); 995 GLdouble blue, GLdouble alpha ); 997 GLfloat blue, GLfloat alpha ); 999 GLint blue, GLint alpha ); 1001 GLshort blue, GLshort alpha ); 1003 GLubyte blue, GLubyte alpha ); 1005 GLuint blue, GLuint alpha ); [all...] |
/drivers/peripheral/display/composer/vdi_base/src/ |
H A D | display_composer_vdi_impl.cpp | 234 int32_t DisplayComposerVdiImpl::SetLayerAlpha(uint32_t devId, uint32_t layerId, const LayerAlpha& alpha) in SetLayerAlpha() argument 237 const_cast<LayerAlpha*>(&alpha)); in SetLayerAlpha()
|
/drivers/peripheral/display/hal/default_standard/src/display_device/ |
H A D | display_composer_vdi_impl.cpp | 251 int32_t DisplayComposerVdiImpl::SetLayerAlpha(uint32_t devId, uint32_t layerId, const LayerAlpha& alpha) in SetLayerAlpha() argument 255 const_cast<LayerAlpha*>(&alpha)); in SetLayerAlpha()
|
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/ |
H A D | node_functions.cpp | 300 attr->alpha = actAttr.alpha; in GetActivationPrimitive()
|
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/ |
H A D | node_functions.cpp | 300 attr->alpha = actAttr.alpha; in GetActivationPrimitive()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | custom_paint_paint_method.h | 131 void SetAlpha(double alpha) in SetAlpha() argument 133 state_.globalState.SetAlpha(alpha); in SetAlpha()
|
H A D | offscreen_canvas_pattern.cpp | 283 void OffscreenCanvasPattern::SetAlpha(double alpha) in SetAlpha() argument 285 offscreenPaintMethod_->SetAlpha(alpha); in SetAlpha()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/ |
H A D | canvas_rendering_context_2d_model_impl.cpp | 177 void CanvasRenderingContext2DModelImpl::SetGlobalAlpha(double alpha) in SetGlobalAlpha() argument 180 pattern_->UpdateGlobalAlpha(alpha); in SetGlobalAlpha() 495 buffer[4 * idx + 3] = color.GetAlpha(); // 4 * idx + 3: the 4th byte format: alpha. in GetImageDataModel()
|
H A D | offscreen_canvas_rendering_context_2d_model_impl.cpp | 179 void OffscreenCanvasRenderingContext2DModelImpl::SetGlobalAlpha(double alpha) in SetGlobalAlpha() argument 182 pattern_->SetAlpha(alpha); in SetGlobalAlpha() 496 buffer[4 * idx + 3] = color.GetAlpha(); // 4 * idx + 3: the 4th byte format: alpha. in GetImageDataModel()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | canvas_renderer.cpp | 129 void NativeCanvasRenderer::SetGlobalAlpha(double alpha) in SetGlobalAlpha() argument 131 renderingContext2DModel_->SetGlobalAlpha(alpha); in SetGlobalAlpha()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/ |
H A D | progress_pattern.cpp | 187 auto alpha = theme->GetProgressDisable(); in HandleEnabled() local 189 renderContext->OnOpacityUpdate(enabled ? originalOpacity : alpha * originalOpacity); in HandleEnabled()
|
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_canvas.cpp | 123 DrawCanvas::ChangeColor(shadowColor, paint.GetShadowColor(), paint.GetShadowColor().alpha * paint.GetGlobalAlpha()); in DoDrawShadow() 248 ChangeColor(sRgba8, stopColor, stopColor.alpha * paint.GetGlobalAlpha()); in BuildGradientColor()
|
/foundation/graphic/graphic_surface/surface/include/ |
H A D | buffer_queue.h | 199 GSError SetGlobalAlpha(int32_t alpha); 200 GSError GetGlobalAlpha(int32_t &alpha);
|
H A D | consumer_surface.h | 247 GSError SetGlobalAlpha(int32_t alpha) override; 248 GSError GetGlobalAlpha(int32_t &alpha) override;
|
/foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
H A D | graphic_neon_utils.h | 50 static inline uint8x8_t NeonLerp(uint8x8_t p, uint8x8_t q, uint8x8_t alpha) in NeonLerp() argument 52 uint16x8_t mulRes = vmlal_u8(vdupq_n_u16(BASEMSB), alpha, vsub_u8(p, q)); in NeonLerp()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/ |
H A D | brush_test.cpp | 353 auto alpha = brush->GetAlpha(); in HWTEST_F() local 354 EXPECT_TRUE(alpha == 1); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rsuidirector_fuzzer/ |
H A D | rsuidirector_fuzzer.cpp | 196 uint8_t alpha = GetData<uint8_t>();
in DoSetAbilityBGAlpha() local 197 director->SetAbilityBGAlpha(alpha);
in DoSetAbilityBGAlpha()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_ui_director.cpp | 209 void RSUIDirector::SetAbilityBGAlpha(uint8_t alpha) in SetAbilityBGAlpha() argument 216 node->SetAbilityBGAlpha(alpha); in SetAbilityBGAlpha()
|