Home
last modified time | relevance | path

Searched refs:alpha (Results 726 - 750 of 1148) sorted by relevance

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

/third_party/skia/src/pdf/
H A DSkPDFShader.cpp57 const SkBitmap& bitmap, int x, int y, float alpha) { in fill_color_from_bitmap()
61 SkPaint paint(SkColor4f{color.fR, color.fG, color.fB, alpha * color.fA}); in fill_color_from_bitmap()
328 return SkColor4f{0, 0, 0, paintColor.fA}; // only preserve the alpha. in adjust_color()
55 fill_color_from_bitmap(SkCanvas* canvas, float left, float top, float right, float bottom, const SkBitmap& bitmap, int x, int y, float alpha) fill_color_from_bitmap() argument
/third_party/skia/gm/
H A Drasterhandleallocator.cpp24 void saveLayer(const SkRect& bounds, SkAlpha alpha) { in saveLayer() argument
25 fCanvas->saveLayerAlpha(&bounds, alpha); in saveLayer()
174 // Assuming GDI wrote zeros for alpha, this will or-in 0xFF for alpha
H A Ddrawatlas.cpp316 * - colorfilter, imagefilter, blendmode, alpha
320 * of alpha | colorFilter | mode
341 for (float alpha : { 1.0f, 0.5f }) { in DEF_SIMPLE_GM()
342 paint.setAlphaf(alpha); in DEF_SIMPLE_GM()
/third_party/skia/bench/
H A DGradientBench.cpp317 fName.printf("gradient_create_%s", hasAlpha ? "alpha" : "opaque"); in Gradient2Bench()
338 const int alpha = fHasAlpha ? gray : 0xFF; variable
341 SkColorSetARGB(alpha, gray, gray, gray),
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrContext.hpp99 virtual void clearColor (float red, float green, float blue, float alpha) = DE_NULL;
130 virtual void blendColor (float red, float green, float blue, float alpha) = DE_NULL;
H A DsglrGLContext.hpp111 virtual void clearColor (float red, float green, float blue, float alpha);
142 virtual void blendColor (float red, float green, float blue, float alpha);
H A DsglrContextWrapper.hpp55 void glBlendColor (float red, float green, float blue, float alpha);
64 void glClearColor (float red, float green, float blue, float alpha);
67 void glColorMask (deBool red, deBool green, deBool blue, deBool alpha);
/third_party/skia/third_party/externals/angle2/src/libGL/
H A DlibGL_autogen.cpp68 void GL_APIENTRY glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in glClearAccum() argument
70 return GL_ClearAccum(red, green, blue, alpha); in glClearAccum()
73 void GL_APIENTRY glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in glClearColor() argument
75 return GL_ClearColor(red, green, blue, alpha); in glClearColor()
178 void GL_APIENTRY glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) in glColor4b() argument
180 return GL_Color4b(red, green, blue, alpha); in glColor4b()
188 void GL_APIENTRY glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) in glColor4d() argument
190 return GL_Color4d(red, green, blue, alpha); in glColor4d()
198 void GL_APIENTRY glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in glColor4f() argument
200 return GL_Color4f(red, green, blue, alpha); in glColor4f()
208 glColor4i(GLint red, GLint green, GLint blue, GLint alpha) glColor4i() argument
218 glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha) glColor4s() argument
228 glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) glColor4ub() argument
238 glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) glColor4ui() argument
248 glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha) glColor4us() argument
258 glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) glColorMask() argument
2131 glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) glBlendColor() argument
[all...]
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dbuffer_queue_test.cpp852 int32_t alpha = 255; in HWTEST_F() local
853 GSError ret = bq->SetGlobalAlpha(alpha); in HWTEST_F()
859 ASSERT_EQ(resultAlpha, alpha); in HWTEST_F()
/third_party/ffmpeg/libavcodec/
H A Ddnxhddec.c72 int alpha; member
206 ctx->alpha = buf[0x7] & 1; in dnxhd_decode_header()
208 if (ctx->alpha) in dnxhd_decode_header()
209 avpriv_request_sample(ctx->avctx, "alpha"); in dnxhd_decode_header()
H A Dopus_celt.c32 /* Use the 2D z-transform to apply prediction in both the time domain (alpha)
38 float alpha = ff_celt_alpha_coef[f->size]; in celt_decode_coarse_energy() local
44 alpha = 0.0f; in celt_decode_coarse_energy()
72 block->energy[i] = FFMAX(-9.0f, block->energy[i]) * alpha + prev[j] + value; in celt_decode_coarse_energy()
/third_party/ffmpeg/libavfilter/
H A Daf_mcompand.c281 double Q = sqrt(.5), alpha = sin(w0) / (2*Q); in crossover_setup() local
294 x[6] = 1 + alpha; in crossover_setup()
296 x[8] = 1 - alpha; in crossover_setup()
H A Dvf_geq.c79 { "alpha_expr", "set alpha expression", OFFSET(expr_str[A]), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS },
80 { "a", "set alpha expression", OFFSET(expr_str[A]), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS },
241 static double alpha(void *priv, double x, double y) { return getpix(priv, x, y, 3); } in alpha() function
298 lum , cb , cr , alpha , in geq_init()
302 "lum" , "cb" , "cr" , "alpha" , "p", in geq_init()
306 "g" , "b" , "r" , "alpha" , "p", in geq_init()
311 lum , cb , cr , alpha , p[plane], in geq_init()
/third_party/openGLES/api/GLSC2/
H A Dglsc2.h331 GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
340 GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
343 GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
/third_party/icu/icu4c/source/test/intltest/
H A Ducdtest.cpp292 UnicodeSet alpha(UNICODE_STRING_SIMPLE("[:Alphabetic:]"), errorCode); in TestBinaryValues()
311 if(set!=alpha) { in TestBinaryValues()
324 if(set!=alpha) { in TestBinaryValues()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DvalidationES2_autogen.h52 GLfloat alpha);
89 GLfloat alpha);
97 GLboolean alpha);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DlibGLESv2.hpp52 void (GL_APIENTRY *glBlendColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
61 void (GL_APIENTRY *glClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
64 void (GL_APIENTRY *glColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
/third_party/skia/third_party/externals/libpng/contrib/gregbook/
H A Drpng2-win.c153 * only happen with alpha (which could easily be avoided with
154 * "ush acopy = (alpha);") */
156 #define alpha_composite(composite, fg, alpha, bg) { \
157 ush temp = ((ush)(fg)*(ush)(alpha) + \
158 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_wgpu.cpp20 // 2021-02-18: Change blending equation to preserve alpha in output buffer.
586 blend_state.alpha.operation = WGPUBlendOperation_Add; in ImGui_ImplWGPU_CreateDeviceObjects()
587 blend_state.alpha.srcFactor = WGPUBlendFactor_One; in ImGui_ImplWGPU_CreateDeviceObjects()
588 blend_state.alpha.dstFactor = WGPUBlendFactor_OneMinusSrcAlpha; in ImGui_ImplWGPU_CreateDeviceObjects()
/third_party/skia/third_party/externals/opengl-registry/api/GLSC2/
H A Dglsc2.h352 GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
361 GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
364 GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
/third_party/glfw/src/
H A Dwin32_window.c1333 // just ignores the alpha channel and makes the whole cursor opaque in createNativeWindow()
2023 BYTE alpha = 0; in _glfwSetWindowMousePassthroughWin32() local
2028 GetLayeredWindowAttributes(window->win32.handle, &key, &alpha, &flags); in _glfwSetWindowMousePassthroughWin32()
2036 // remove it if the window is alpha blended in _glfwSetWindowMousePassthroughWin32()
2047 SetLayeredWindowAttributes(window->win32.handle, key, alpha, flags); in _glfwSetWindowMousePassthroughWin32()
2052 BYTE alpha; in _glfwGetWindowOpacityWin32() local
2056 GetLayeredWindowAttributes(window->win32.handle, NULL, &alpha, &flags)) in _glfwGetWindowOpacityWin32()
2059 return alpha / 255.f; in _glfwGetWindowOpacityWin32()
2070 const BYTE alpha = (BYTE) (255 * opacity); in _glfwSetWindowOpacityWin32() local
2073 SetLayeredWindowAttributes(window->win32.handle, 0, alpha, LWA_ALPH in _glfwSetWindowOpacityWin32()
[all...]
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
H A Dentry_points_gles_2_0_autogen.cpp204 void GL_APIENTRY GL_BlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in GL_BlendColor() argument
207 EVENT(context, GLBlendColor, "context = %d, red = %f, green = %f, blue = %f, alpha = %f", in GL_BlendColor()
208 CID(context), red, green, blue, alpha); in GL_BlendColor()
215 ValidateBlendColor(context, angle::EntryPoint::GLBlendColor, red, green, blue, alpha)); in GL_BlendColor()
218 context->blendColor(red, green, blue, alpha); in GL_BlendColor()
220 ANGLE_CAPTURE(BlendColor, isCallValid, context, red, green, blue, alpha); in GL_BlendColor()
448 void GL_APIENTRY GL_ClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in GL_ClearColor() argument
451 EVENT(context, GLClearColor, "context = %d, red = %f, green = %f, blue = %f, alpha = %f", in GL_ClearColor()
452 CID(context), red, green, blue, alpha); in GL_ClearColor()
459 ValidateClearColor(context, angle::EntryPoint::GLClearColor, red, green, blue, alpha)); in GL_ClearColor()
516 GL_ColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) GL_ColorMask() argument
[all...]
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
H A Ddisplay_composer_vdi_impl.h61 virtual int32_t SetLayerAlpha(uint32_t devId, uint32_t layerId, const LayerAlpha& alpha) override;
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
H A Ddisplay_composer_vdi_impl.h62 virtual int32_t SetLayerAlpha(uint32_t devId, uint32_t layerId, const LayerAlpha& alpha) override;
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
H A Ddisplay_composer_vdi_impl.h61 virtual int32_t SetLayerAlpha(uint32_t devId, uint32_t layerId, const LayerAlpha& alpha) override;

Completed in 37 milliseconds

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