Home
last modified time | relevance | path

Searched refs:alpha (Results 151 - 175 of 1465) sorted by relevance

12345678910>>...59

/third_party/python/Tools/scripts/
H A Dgenerate_re_casefix.py37 def alpha(i): function
69 print(" '%s' (U+%04x, %s)" % (alpha(i), i, uname(i)),
86 alpha(i),
87 ''.join(map(alpha, t)),
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DD3DImageFormatConversionTest.cpp76 srcColorF[0].alpha = 1.0f; // Red in runTest()
80 srcColorF[1].alpha = 1.0f; // Green in runTest()
84 srcColorF[2].alpha = 1.0f; // Blue in runTest()
88 srcColorF[3].alpha = 1.0f; // Red + Green (Yellow) in runTest()
/third_party/typescript/tests/baselines/reference/
H A DtypedefOnStatements.js75 var alpha = { alpha: "aleph" }
76 /** @typedef {{ alpha: string }} Alpha */
154 var alpha = { alpha: "aleph" };
155 /** @typedef {{ alpha: string }} Alpha */
/third_party/skia/include/core/
H A DSkColorPriv.h18 alpha * value / 255.
20 In debugging, asserts that alpha is 0..255
22 static inline unsigned SkAlpha255To256(U8CPU alpha) { in SkAlpha255To256() argument
23 SkASSERT(SkToU8(alpha) == alpha); in SkAlpha255To256()
26 return alpha + 1; in SkAlpha255To256()
102 * the components are 0..255, and are already premultiplied (i.e. alpha >= color)
/third_party/skia/docs/examples/
H A DSKIA_LOGO_ANIMATE.cpp75 const uint8_t alpha = pos*255.999; in REG_FIDDLE_ANIMATED() local
78 p.setAlpha(alpha); in REG_FIDDLE_ANIMATED()
81 p.setAlpha(alpha); in REG_FIDDLE_ANIMATED()
84 p.setAlpha(alpha); in REG_FIDDLE_ANIMATED()
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/
H A Drosen_context_impl.cpp67 EGLint red, green, blue, alpha, depth, stencil, samples, sft, rt; in ShowConfig() local
72 eglGetConfigAttrib(eglDisplay_, cfg, EGL_ALPHA_SIZE, &alpha); in ShowConfig()
79 printf("%8d%8d%8d%8d%8d%8d%8d%8d%8d\n", red, green, blue, alpha, depth, stencil, samples, sft, rt); in ShowConfig()
121 printf("%8s%8s%8s%8s%8s%8s%8s%8s%8s\n", "red", "green", "blue", "alpha", "depth", "stencil", "samples", "sft", "rt"); in InitEgl()
238 EGLint red, green, blue, alpha, depth, stencil, samples; in SetConfig() local
242 eglGetConfigAttrib(eglDisplay_, config_, EGL_ALPHA_SIZE, &alpha); in SetConfig()
274 if (pixelFormat_.alphaBits != alpha) in SetConfig()
277 printf("Failed to eglChooseConfig alphaBits %d != %d\n", pixelFormat_.alphaBits, alpha); in SetConfig()
278 pixelFormat_.alphaBits = alpha; in SetConfig()
634 EGLint red, green, blue, alpha, stenci in OH_createWindowSurface() local
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_htcp.c27 u32 alpha; /* Fixed point arith, << 7 */ member
127 if (ca->packetcount >= tp->snd_cwnd - (ca->alpha >> 7 ? : 1) && in measure_achieved_throughput()
194 ca->alpha = 2 * factor * ((1 << 7) - ca->beta); in htcp_alpha_update()
195 if (!ca->alpha) in htcp_alpha_update()
196 ca->alpha = ALPHA_BASE; in htcp_alpha_update()
243 * In theory this is tp->snd_cwnd += alpha / tp->snd_cwnd in htcp_cong_avoid()
245 if ((tp->snd_cwnd_cnt * ca->alpha)>>7 >= tp->snd_cwnd) { in htcp_cong_avoid()
262 ca->alpha = ALPHA_BASE; in htcp_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/
H A Dvkms_composer.c53 static u8 blend_channel(u8 src, u8 dst, u8 alpha) in blend_channel() argument
58 pre_blend = (src * 255 + dst * (255 - alpha)); in blend_channel()
68 u8 alpha; in alpha_blending() local
70 alpha = argb_src[3]; in alpha_blending()
71 argb_dst[0] = blend_channel(argb_src[0], argb_dst[0], alpha); in alpha_blending()
72 argb_dst[1] = blend_channel(argb_src[1], argb_dst[1], alpha); in alpha_blending()
73 argb_dst[2] = blend_channel(argb_src[2], argb_dst[2], alpha); in alpha_blending()
86 * alpha blending equation, since DRM currently assumes that the pixel color
87 * values have already been pre-multiplied with the alpha channel values. See
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp_dctcp.c66 MODULE_PARM_DESC(dctcp_alpha_on_init, "parameter for initial alpha value");
125 u32 alpha = ca->dctcp_alpha; in dctcp_update_alpha() local
141 /* alpha = (1 - g) * alpha + g * F */ in dctcp_update_alpha()
143 alpha -= min_not_zero(alpha, alpha >> dctcp_shift_g); in dctcp_update_alpha()
152 alpha = min(alpha + delivered_ce, DCTCP_MAX_ALPHA); in dctcp_update_alpha()
158 WRITE_ONCE(ca->dctcp_alpha, alpha); in dctcp_update_alpha()
[all...]
H A Dtcp_htcp.c27 u32 alpha; /* Fixed point arith, << 7 */ member
127 if (ca->packetcount >= tcp_snd_cwnd(tp) - (ca->alpha >> 7 ? : 1) && in measure_achieved_throughput()
194 ca->alpha = 2 * factor * ((1 << 7) - ca->beta); in htcp_alpha_update()
195 if (!ca->alpha) in htcp_alpha_update()
196 ca->alpha = ALPHA_BASE; in htcp_alpha_update()
243 * In theory this is tp->snd_cwnd += alpha / tp->snd_cwnd in htcp_cong_avoid()
245 if ((tp->snd_cwnd_cnt * ca->alpha)>>7 >= tcp_snd_cwnd(tp)) { in htcp_cong_avoid()
262 ca->alpha = ALPHA_BASE; in htcp_init()
/third_party/ffmpeg/libavfilter/
H A Daf_aexciter.c85 double a0, a1, a2, b0, b1, b2, w0, alpha; in set_params() local
103 alpha = sin(w0) / (2. * 0.707); in set_params()
104 a0 = 1 + alpha; in set_params()
106 a2 = 1 - alpha; in set_params()
118 alpha = sin(w0) / (2. * 0.707); in set_params()
119 a0 = 1 + alpha; in set_params()
121 a2 = 1 - alpha; in set_params()
H A Dvf_minterpolate.c847 pixel_weights->weights[pixel_refs->nb] = b_weight * (ALPHA_MAX - alpha);\
848 pixel_mvs->mvs[pixel_refs->nb][0] = av_clip((mv_x * alpha) / ALPHA_MAX, x_min, x_max);\
849 pixel_mvs->mvs[pixel_refs->nb][1] = av_clip((mv_y * alpha) / ALPHA_MAX, y_min, y_max);\
852 pixel_weights->weights[pixel_refs->nb] = b_weight * alpha;\
853 pixel_mvs->mvs[pixel_refs->nb][0] = av_clip(-mv_x * (ALPHA_MAX - alpha) / ALPHA_MAX, x_min, x_max);\
854 pixel_mvs->mvs[pixel_refs->nb][1] = av_clip(-mv_y * (ALPHA_MAX - alpha) / ALPHA_MAX, y_min, y_max);\
858 static void bidirectional_obmc(MIContext *mi_ctx, int alpha) in bidirectional_obmc() argument
872 int a = dir ? alpha : (ALPHA_MAX - alpha); in bidirectional_obmc()
908 static void set_frame_data(MIContext *mi_ctx, int alpha, AVFram argument
966 var_size_bmc(MIContext *mi_ctx, Block *block, int x_mb, int y_mb, int n, int alpha) var_size_bmc() argument
1005 bilateral_obmc(MIContext *mi_ctx, Block *block, int mb_x, int mb_y, int alpha) bilateral_obmc() argument
1075 int plane, alpha; interpolate() local
[all...]
/third_party/ffmpeg/tests/fate/
H A Dhap.mak22 FATE_HAP += fate-hap-alpha-only-nosnappy-128x72
23 fate-hap-alpha-only-nosnappy-128x72: CMD = framecrc -i $(TARGET_SAMPLES)/hap/HapAlphaOnly_NoSnappy_128x72.mov -pix_fmt gray8
25 FATE_HAP += fate-hap-alpha-only-snappy-127x71
26 fate-hap-alpha-only-snappy-127x71: CMD = framecrc -i $(TARGET_SAMPLES)/hap/HapAlphaOnly_snappy1chunk_127x71.mov -pix_fmt gray8
42 fate-hapqa-extract-snappy1-to-hapalphaonly: CMD = framecrc -i $(TARGET_SAMPLES)/hap/HAPQA_Snappy_1chunk_127x1.mov -c:v copy -bsf:v hapqa_extract=texture=alpha -tag:v HapA -metadata:s:v:0 encoder="HAPAlphaOnly"
45 fate-hapqa-extract-snappy16-to-hapalphaonly: CMD = framecrc -i $(TARGET_SAMPLES)/hap/HAPQA_Snappy_16chunk_127x1.mov -c:v copy -bsf:v hapqa_extract=texture=alpha -tag:v HapA -metadata:s:v:0 encoder="HAPAlphaOnly"
59 -i $(TARGET_SAMPLES)/hap/HAPQA_NoSnappy_127x1.mov -nostdin -c:v copy -bsf:v hapqa_extract=texture=alpha \
/third_party/skia/src/core/
H A DSkBlitter.h40 /// zero-terminated run-length encoding of spans of constant alpha values.
42 /// alphas. The runs[] contains the number of pixels with the same alpha, and antialias[]
46 /// in the runs array contains the number of pixels (np) that have the same alpha value. The
49 /// np entry is at runs[45] = 12 then the alpha value can be found at antialias[45] = 0x88.
50 /// This would mean to use an alpha value of 0x88 for the next 12 pixels starting at pixel 45.
53 /// Blit a vertical run of pixels with a constant alpha value.
54 virtual void blitV(int x, int y, int height, SkAlpha alpha);
59 /** Blit a rectangle with one alpha-blended column on the left,
60 width (zero or more) opaque pixels, and one alpha-blended column
169 void blitV(int x, int y, int height, SkAlpha alpha) overrid
[all...]
H A DSkAAClip.cpp61 * Data runs are packed [count, alpha]
89 U8CPU alpha() const { return fAlpha; } in alpha() function in __anon18671::RowIter
200 return segments * 2; // each segment is row[0] + row[1] (n + alpha) in ComputeRowSizeForWidth()
276 void addRun(int x, int y, U8CPU alpha, int count) { in addRun() argument
308 AppendRun(data, alpha, count); in addRun()
313 void addColumn(int x, int y, U8CPU alpha, int height) { in addColumn() argument
316 this->addRun(x, y, alpha, 1); in addColumn()
340 // as the rect with full alpha. in addAntiRectRun()
513 static void AppendRun(SkTDArray<uint8_t>& data, U8CPU alpha, int count) { in AppendRun() argument
521 ptr[1] = alpha; in AppendRun()
[all...]
/third_party/ffmpeg/libavcodec/mips/
H A Dh264dsp_mips.h29 int alpha, int beta, int8_t *tc0);
31 int alpha, int beta, int8_t *tc0);
33 int alpha, int beta, int8_t *tc0);
35 int alpha, int beta, int8_t *tc0);
37 int32_t alpha, int32_t beta,
40 int32_t alpha, int32_t beta,
43 int32_t alpha, int32_t beta,
71 int alpha, int beta);
73 int alpha, int beta);
75 int alpha, in
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_paint_filter_canvas.h144 // This class is used to filter the paint before drawing. currently, it is used to filter the alpha and foreground
148 RSPaintFilterCanvas(Drawing::Canvas* canvas, float alpha = 1.0f);
149 RSPaintFilterCanvas(Drawing::Surface* surface, float alpha = 1.0f);
158 // alpha related
159 void MultiplyAlpha(float alpha);
160 void SetAlpha(float alpha);
311 float alpha = alphaStack_.top(); variable
317 // use alphaStack_.top() to multiply alpha
318 if (alpha < 1 && alpha >
326 float alpha = alphaStack_.top(); global() variable
[all...]
/third_party/ffmpeg/libavcodec/
H A Dmovtextenc.c443 // Highlight alpha not set yet, use current primary alpha in mov_text_color_cb()
461 static void mov_text_alpha_set(MovTextContext *s, uint8_t alpha) in mov_text_alpha_set() argument
463 if ((s->style_attributes_temp.style_color & 0xff) == alpha) { in mov_text_alpha_set()
469 (s->style_attributes_temp.style_color & 0xffffff00) | alpha; in mov_text_alpha_set()
472 static void mov_text_alpha_cb(void *priv, int alpha, int alpha_id) in mov_text_alpha_cb() argument
476 alpha = 255 - alpha; in mov_text_alpha_cb()
477 if (alpha_id == 1) // primary alpha changes in mov_text_alpha_cb()
478 mov_text_alpha_set(s, alpha); in mov_text_alpha_cb()
547 uint8_t style_flags, alpha; mov_text_ass_style_set() local
[all...]
H A Dkbdwin.h32 * @param alpha determines window shape
35 void ff_kbd_window_init(float *window, float alpha, int n);
36 void ff_kbd_window_init_fixed(int32_t *window, float alpha, int n);
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fDrawBuffersIndexedTests.cpp125 , alpha (alpha_) in SeparateBlendEq()
130 BlendEq alpha; member
149 , alpha (alpha_) in SeparateBlendFunc()
154 BlendFunc alpha; member
216 gl.blendEquationSeparate(blendEq.get<SeparateBlendEq>().rgb, blendEq.get<SeparateBlendEq>().alpha); in setCommonBlendState()
228 gl.blendFuncSeparate(blendFunc.get<SeparateBlendFunc>().rgb.src, blendFunc.get<SeparateBlendFunc>().rgb.dst, blendFunc.get<SeparateBlendFunc>().alpha.src, blendFunc.get<SeparateBlendFunc>().alpha.dst); in setCommonBlendState()
260 gl.blendEquationSeparatei(index, blendEq.get<SeparateBlendEq>().rgb, blendEq.get<SeparateBlendEq>().alpha); in setIndexedBlendState()
272 gl.blendFuncSeparatei(index, blendFunc.get<SeparateBlendFunc>().rgb.src, blendFunc.get<SeparateBlendFunc>().rgb.dst, blendFunc.get<SeparateBlendFunc>().alpha.src, blendFunc.get<SeparateBlendFunc>().alpha in setIndexedBlendState()
330 const float alpha = -1000.0f + 2000.0f * alphaScale; clearRenderbuffer() local
343 const deInt32 alpha = deInt32(info.valueMin.w() + (info.valueMax.w() - info.valueMin.w()) * alphaScale); clearRenderbuffer() local
356 const deUint32 alpha = deUint32(info.valueMax.w() * alphaScale); clearRenderbuffer() local
369 const float alpha = info.valueMin.w() + (info.valueMax.w() - info.valueMin.w()) * alphaScale; clearRenderbuffer() local
382 const float alpha = info.valueMax.w() * alphaScale; clearRenderbuffer() local
1293 const BlendEq alpha = getRandomBlendEq(rng); genRandomBlendState() local
1306 const BlendFunc alpha = getRandomBlendFunc(rng); genRandomBlendState() local
1317 const bool alpha = rng.getBool(); genRandomBlendState() local
[all...]
/third_party/jerryscript/tests/jerry/es2015/
H A Dregression-test-issue-3356.js15 var alpha = []; variable
19 alpha.concat(obj)
/third_party/skia/third_party/externals/libwebp/src/dec/
H A Dio_dec.c127 const uint8_t* alpha = io->a; in EmitAlphaYUV() local
135 if (alpha != NULL) { in EmitAlphaYUV()
137 memcpy(dst, alpha, mb_w * sizeof(*dst)); in EmitAlphaYUV()
138 alpha += io->width; in EmitAlphaYUV()
142 // the user requested alpha, but there is none, set it to opaque. in EmitAlphaYUV()
149 const uint8_t** alpha, int* const num_rows) { in GetAlphaSourceRow()
161 // Fortunately, *alpha data is persistent, so we can go back in GetAlphaSourceRow()
162 // one row and finish alpha blending, now that the fancy upscaler in GetAlphaSourceRow()
164 *alpha -= io->width; in GetAlphaSourceRow()
176 const uint8_t* alpha in EmitAlphaRGB() local
148 GetAlphaSourceRow(const VP8Io* const io, const uint8_t** alpha, int* const num_rows) GetAlphaSourceRow() argument
202 const uint8_t* alpha = io->a; EmitAlphaRGBA4444() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_color.cpp18 uint32_t OH_Drawing_ColorSetArgb(uint32_t alpha, uint32_t red, uint32_t green, uint32_t blue) in OH_Drawing_ColorSetArgb() argument
20 // alpha left-shifted 24, red left-shifted 16, green left-shifted 8, blue left-shifted 0 in OH_Drawing_ColorSetArgb()
21 return ((alpha & 0xffu) << 24) | ((red & 0xffu) << 16) | ((green & 0xffu) << 8) | ((blue & 0xffu) << 0); in OH_Drawing_ColorSetArgb()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dswitch_component.cpp53 uint8_t alpha = OPA_OPAQUE; in ApplyPrivateStyle() local
54 if (GetStyleColorValue(style, color, alpha)) { in ApplyPrivateStyle()
56 toggleButton_.SetStyle(STYLE_BACKGROUND_OPA, alpha); in ApplyPrivateStyle()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_color.h32 RSColor(int16_t red, int16_t green, int16_t blue, int16_t alpha) noexcept;
61 void SetAlpha(int16_t alpha);
62 void MultiplyAlpha(float alpha);

Completed in 16 milliseconds

12345678910>>...59