/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | alpha_processing_mips_dsp_r2.c | 19 static int DispatchAlpha_MIPSdspR2(const uint8_t* alpha, int alpha_stride, in DispatchAlpha_MIPSdspR2() argument 27 const uint8_t* palpha = alpha; in DispatchAlpha_MIPSdspR2() 64 alpha += alpha_stride; in DispatchAlpha_MIPSdspR2() 91 if (argb < 0xff000000u) { // alpha < 255 in MultARGBRow_MIPSdspR2() 92 if (argb <= 0x00ffffffu) { // alpha == 0 in MultARGBRow_MIPSdspR2() 95 int temp0, temp1, temp2, temp3, alpha; in MultARGBRow_MIPSdspR2() local 97 "srl %[alpha], %[argb], 24 \n\t" in MultARGBRow_MIPSdspR2() 98 "replv.qb %[temp0], %[alpha] \n\t" in MultARGBRow_MIPSdspR2() 101 "divu $zero, %[c_ff000000], %[alpha] \n\t" in MultARGBRow_MIPSdspR2() 116 [temp3]"=&r"(temp3), [alpha]" in MultARGBRow_MIPSdspR2() [all...] |
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | symbol-isconcatspreadable.js | 16 var alpha = ['a', 'b', 'c']; variable 19 var alphaNumeric = alpha.concat(numeric); 24 alphaNumeric = alpha.concat(numeric); 50 var alphaObj = alpha.concat(obj); 55 alphaObj = alpha.concat(obj);
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_alpha_test.c | 27 * Implements GL alpha testing by comparing the output color's alpha to the 30 * The alpha_to_one value overrides the source alpha to 1.0 to implement 31 * GL_SAMPLE_ALPHA_TO_ONE, which applies before the alpha test (and would be 32 * rather silly to use with alpha test, but the spec permits). 87 nir_ssa_def *alpha; in nir_lower_alpha_test() local 89 alpha = nir_imm_float(&b, 1.0); in nir_lower_alpha_test() 91 alpha = nir_channel(&b, nir_ssa_for_src(&b, intr->src[1], 4), in nir_lower_alpha_test() 94 alpha = nir_channel(&b, nir_ssa_for_src(&b, intr->src[0], 4), in nir_lower_alpha_test() 110 nir_compare_func(&b, func, alpha, alpha_re in nir_lower_alpha_test() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | texturedsp.c | 43 int dxtn, int alpha) in extract_color() 81 colors[3] = RGBA(0, 0, 0, alpha); in extract_color() 86 const uint8_t *block, uint8_t alpha) in dxt1_block_internal() 94 extract_color(colors, color0, color1, 0, alpha); in dxt1_block_internal() 123 * Decompress one block of a DXT1 with 1-bit alpha texture and store 160 uint8_t alpha = alpha_values[x]; in dxt3_block_internal() local 161 uint32_t pixel = colors[code & 3] | ((unsigned)alpha << 24); in dxt3_block_internal() 170 /** Convert a premultiplied alpha pixel to a straight alpha pixel. */ 198 /* This format is DXT3, but returns premultiplied alpha in dxt2_block() 40 extract_color(uint32_t colors[4], uint16_t color0, uint16_t color1, int dxtn, int alpha) extract_color() argument 85 dxt1_block_internal(uint8_t *dst, ptrdiff_t stride, const uint8_t *block, uint8_t alpha) dxt1_block_internal() argument 273 uint8_t alpha; dxt5_block_internal() local [all...] |
H A D | dvdsubdec.c | 41 uint8_t alpha[256]; member 48 static void yuv_a_to_rgba(const uint8_t *ycbcr, const uint8_t *alpha, uint32_t *rgba, int num_values) in yuv_a_to_rgba() argument 61 *rgba++ = ((unsigned)*alpha++ << 24) | (r << 16) | (g << 8) | b; in yuv_a_to_rgba() 158 uint8_t *colormap = ctx->colormap, *alpha = ctx->alpha; in guess_palette() local 163 | ((alpha[i] * 17U) << 24); in guess_palette() 172 if (alpha[i] != 0 && !color_used[colormap[i]]) { in guess_palette() 184 if (alpha[i] != 0) { in guess_palette() 190 rgba_palette[i] = b | (g << 8) | (r << 16) | ((alpha[i] * 17U) << 24); in guess_palette() 195 ((alpha[ in guess_palette() 224 uint8_t *colormap = ctx->colormap, *alpha = ctx->alpha; decode_dvd_subtitles() local [all...] |
H A D | cavsdsp.h | 33 void (*cavs_filter_lv)(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int tc, int bs1, int bs2); 34 void (*cavs_filter_lh)(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int tc, int bs1, int bs2); 35 void (*cavs_filter_cv)(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int tc, int bs1, int bs2); 36 void (*cavs_filter_ch)(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int tc, int bs1, int bs2);
|
H A D | rv40.c | 315 int alpha, int beta, int beta2, in rv40_adaptive_loop_filter() 328 rdsp->rv40_strong_loop_filter[dir](src, stride, alpha, in rv40_adaptive_loop_filter() 331 rdsp->rv40_weak_loop_filter[dir](src, stride, 1, 1, alpha, beta, in rv40_adaptive_loop_filter() 335 alpha, beta, lims >> 1, lim_q1 >> 1, in rv40_adaptive_loop_filter() 349 int alpha, beta, betaY, betaC; in rv40_loop_filter() local 395 alpha = rv40_alpha_tab[q]; in rv40_loop_filter() 480 clip_cur, alpha, beta, betaY, in rv40_loop_filter() 492 alpha, beta, betaY, 0, 0, 1); in rv40_loop_filter() 499 alpha, beta, betaY, 0, 1, 0); in rv40_loop_filter() 507 alpha, bet in rv40_loop_filter() 312 rv40_adaptive_loop_filter(RV34DSPContext *rdsp, uint8_t *src, int stride, int dmode, int lim_q1, int lim_p1, int alpha, int beta, int beta2, int chroma, int edge, int dir) rv40_adaptive_loop_filter() argument [all...] |
/third_party/skia/third_party/externals/freetype/src/sdf/ |
H A D | ftbsdf.c | 58 * The original 8SED algorithm discards the pixels' alpha values, 60 * glyph. This paper takes advantage of those alpha values and 75 * example, if the pixel's alpha value is 0.5, then we can safely 92 * alpha/coverage value is greater than 0.5 then it is 'inside' (and 188 * alpha :: 198 FT_Byte alpha; member 263 * surrounded by a completely black pixel (zero alpha), and the current 301 if ( to_check->alpha == 0 ) \ 321 if ( dm->alpha == 0 ) in bsdf_is_edge() 324 if ( dm->alpha > in bsdf_is_edge() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
H A D | beta_distribution_test.cc | 98 for (TypeParam alpha : kValues) { in TYPED_TEST() 101 INFO, absl::StrFormat("Smoke test for Beta(%a, %a)", alpha, beta)); in TYPED_TEST() 103 param_type param(alpha, beta); in TYPED_TEST() 104 absl::beta_distribution<TypeParam> before(alpha, beta); in TYPED_TEST() 105 EXPECT_EQ(before.alpha(), param.alpha()); in TYPED_TEST() 126 EXPECT_NE(before.alpha(), after.alpha()); in TYPED_TEST() 133 EXPECT_EQ(before.alpha(), after.alpha()); in TYPED_TEST() [all...] |
/third_party/skia/third_party/externals/libpng/ |
H A D | pngread.c | 628 * image has alpha or transparency, and png_handle_alpha()[*] has been 640 * alpha channel or a transparency chunk, you must provide a buffer for 910 /* Read the entire image. If the image has an alpha channel or a tRNS 1347 /* Strip alpha bytes from the input data without combining with in png_read_png() 1379 * Expand paletted or RGB images with transparency to full alpha in png_read_png() 1438 /* Invert the alpha channel from opacity to transparency */ in png_read_png() 1526 #define PNG_CMAP_GA 1 /* Process GA data to a color-map with alpha */ 1981 png_uint_32 foreground, int foreground_encoding, png_uint_32 alpha, in png_colormap_compose() 1986 * file and alpha are 8-bit values. The (output) encoding will always be in png_colormap_compose() 1992 /* The alpha i in png_colormap_compose() 1980 png_colormap_compose(png_image_read_control *display, png_uint_32 foreground, int foreground_encoding, png_uint_32 alpha, png_uint_32 background, int encoding) png_colormap_compose() argument 2017 png_create_colormap_entry(png_image_read_control *display, png_uint_32 ip, png_uint_32 red, png_uint_32 green, png_uint_32 blue, png_uint_32 alpha, int encoding) png_create_colormap_entry() argument 2742 png_uint_32 alpha = 51 * a; png_image_read_colormap() local 3278 unsigned int alpha = *inrow++; png_image_read_and_map() local 3306 png_byte alpha = *inrow++; png_image_read_and_map() local 3330 unsigned int alpha = inrow[3]; png_image_read_and_map() local 3592 png_byte alpha = inrow[channels]; png_image_read_composite() local 3749 png_byte alpha = inrow[1]; png_image_read_background() local 3794 png_byte alpha = inrow[1]; png_image_read_background() local 3890 png_uint_16 alpha = inrow[1]; png_image_read_background() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_overlay.c | 166 /* overlay formats contains alpha, for avoiding conversion with alpha information loss */ in query_formats() 339 // calculate the unpremultiplied alpha, applying the general equation: 340 // alpha = alpha_overlay / ( (alpha_main + alpha_overlay) - (alpha_main * alpha_overlay) ) 360 uint8_t alpha; ///< the amount of overlay to blend on to main in blend_slice_packed_rgb() local 389 alpha = S[sa]; in blend_slice_packed_rgb() 391 // if the main channel has an alpha channel, alpha has to be calculated in blend_slice_packed_rgb() 392 // to create an un-premultiplied (straight) alpha value in blend_slice_packed_rgb() 393 if (main_has_alpha && alpha ! in blend_slice_packed_rgb() [all...] |
H A D | vf_premultiply.c | 478 AVFrame *alpha = td->a; in premultiply_slice() local 496 s->inplace ? alpha->data[3] + slice_start * alpha->linesize[3] : in premultiply_slice() 497 alpha->data[0] + slice_start * alpha->linesize[0], in premultiply_slice() 499 base->linesize[p], s->inplace ? alpha->linesize[3] : alpha->linesize[0], in premultiply_slice() 509 AVFrame **out, AVFrame *base, AVFrame *alpha) in filter_frame() 637 td.a = alpha; in filter_frame() 651 AVFrame *out = NULL, *base, *alpha; in process_frame() local 508 filter_frame(AVFilterContext *ctx, AVFrame **out, AVFrame *base, AVFrame *alpha) filter_frame() argument 698 AVFilterLink *alpha; config_output() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gles3/ |
H A D | es3cCopyTexImageConversionsTests.cpp | 264 ChannelData alpha; member 352 PixelData getAlpha8OESPixelData(GLenum type, unsigned char alpha); 354 PixelData getLuminance8Alpha8OESPixelData(GLenum type, unsigned char luminance, unsigned char alpha); 370 unsigned char alpha); 372 unsigned int blue, unsigned int alpha); 380 unsigned int blue, unsigned int alpha); 387 PixelData getRGBA16IPixelData(int is_source_pixel, GLenum type, int red, int green, int blue, int alpha); 389 unsigned int blue, unsigned int alpha); 390 PixelData getRGBA32IPixelData(GLenum type, int red, int green, int blue, int alpha); 393 unsigned int alpha); 694 getAlpha8OESPixelData(GLenum type, unsigned char alpha) getAlpha8OESPixelData() argument 760 getLuminance8Alpha8OESPixelData(GLenum type, unsigned char luminance, unsigned char alpha) getLuminance8Alpha8OESPixelData() argument 1429 getRGB10A2PixelData(GLenum type, unsigned short red, unsigned short green, unsigned short blue, unsigned char alpha) getRGB10A2PixelData() argument 1472 getRGB10A2UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) getRGB10A2UIPixelData() argument 1721 getRGB5A1PixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) getRGB5A1PixelData() argument 2048 getRGBA16IPixelData(int is_source_pixel, GLenum type, int red, int green, int blue, int alpha) getRGBA16IPixelData() argument 2104 getRGBA16UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) getRGBA16UIPixelData() argument 2158 getRGBA32IPixelData(GLenum type, int red, int green, int blue, int alpha) getRGBA32IPixelData() argument 2193 getRGBA32UIPixelData(GLenum type, unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) getRGBA32UIPixelData() argument 2231 getRGBA8IPixelData(int is_source_pixel, GLenum type, int red, int green, int blue, int alpha) getRGBA8IPixelData() argument 2287 getRGBA8UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha) getRGBA8UIPixelData() argument 2343 getRGBA4PixelData(int is_source_pixel, GLenum type, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) getRGBA4PixelData() argument 2412 getRGBA8PixelData(GLenum type, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) getRGBA8PixelData() argument 2446 getSRGB8Alpha8PixelData(GLenum type, unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha) getSRGB8Alpha8PixelData() argument 2753 getRGBA16FPixelData(GLenum type, float red, float green, float blue, float alpha) getRGBA16FPixelData() argument 2789 getRGBA32FPixelData(GLenum type, float red, float green, float blue, float alpha) getRGBA32FPixelData() argument [all...] |
/third_party/skia/docs/examples/ |
H A D | Canvas_saveLayer_4.cpp | 17 SkPaint alpha; in REG_FIDDLE() local 18 alpha.setAlphaf(0.3); in REG_FIDDLE() 35 canvas->saveLayer(nullptr, &alpha); in REG_FIDDLE() 38 // the final output, we have two different shades of purple. The layer's alpha made the in REG_FIDDLE() 47 // the first row because the alpha of the layer is not applied until the layer is restored. in REG_FIDDLE() 48 canvas->saveLayer(nullptr, &alpha); in REG_FIDDLE()
|
/third_party/skia/third_party/externals/libpng/contrib/pngminus/ |
H A D | png2pnm.c | 35 BOOL raw, BOOL alpha); 47 BOOL alpha = FALSE; in main() local 63 alpha = TRUE; in main() 68 fprintf (stderr, "Error: cannot create alpha-channel file %s\n", in main() 122 if (png2pnm (fp_rd, fp_wr, fp_al, raw, alpha) == FALSE) in main() 133 /* close alpha file */ in main() 134 if (alpha) in main() 155 " -a[lpha] <file>.pgm write PNG alpha channel as pgm-file\n"); in usage() 164 BOOL raw, BOOL alpha) in png2pnm() 233 /* transform transparency maps into full alpha in png2pnm() 163 png2pnm(FILE *png_file, FILE *pnm_file, FILE *alpha_file, BOOL raw, BOOL alpha) png2pnm() argument [all...] |
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
H A D | pngshim.c | 41 multiply_alpha( unsigned int alpha, in multiply_alpha() argument 44 unsigned int temp = alpha * color + 0x80; in multiply_alpha() 138 unsigned int alpha = base[3]; in premultiply_data() local 141 if ( alpha == 0 ) in premultiply_data() 151 if ( alpha != 0xFF ) in premultiply_data() 153 red = multiply_alpha( alpha, red ); in premultiply_data() 154 green = multiply_alpha( alpha, green ); in premultiply_data() 155 blue = multiply_alpha( alpha, blue ); in premultiply_data() 161 base[3] = (unsigned char)alpha; in premultiply_data() 369 /* transform transparency to alpha */ in FT_LOCAL_DEF() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | library-reference-6.js | 6 declare var alpha: { a: string }; 9 /// <reference types="alpha" /> 10 var x: string = alpha.a; 14 /// <reference types="alpha" />
15 var x = alpha.a;
|
H A D | library-reference-8.js | 7 declare var alpha: { a: string }; 10 /// <reference types="alpha" /> 14 /// <reference types="alpha" /> 16 var x: string = alpha.a + beta.b; 21 /// <reference types="alpha" />
23 var x = alpha.a + beta.b;
|
/third_party/ffmpeg/libavcodec/arm/ |
H A D | h264dsp_init_arm.c | 28 void ff_h264_v_loop_filter_luma_neon(uint8_t *pix, ptrdiff_t stride, int alpha, 30 void ff_h264_h_loop_filter_luma_neon(uint8_t *pix, ptrdiff_t stride, int alpha, 32 void ff_h264_v_loop_filter_chroma_neon(uint8_t *pix, ptrdiff_t stride, int alpha, 34 void ff_h264_h_loop_filter_chroma_neon(uint8_t *pix, ptrdiff_t stride, int alpha, 36 void ff_h264_h_loop_filter_chroma422_neon(uint8_t *pix, ptrdiff_t stride, int alpha,
|
/third_party/skia/samplecode/ |
H A D | SampleAARectModes.cpp | 84 for (int alpha = 0; alpha < 4; ++alpha) { 96 SkScalar dy = drawCell(canvas, gModes[i], gAlphaValue[alpha & 1], 97 gAlphaValue[alpha & 2]);
|
H A D | SampleHairModes.cpp | 84 for (int alpha = 0; alpha < 4; ++alpha) { 96 gAlphaValue[alpha & 1], 97 gAlphaValue[alpha & 2]);
|
/third_party/skia/src/codec/ |
H A D | SkMasks.cpp | 136 masks.alpha &= (1 << bitsPerPixel) - 1; in CreateMasks() 142 (masks.red & masks.alpha) | in CreateMasks() 144 (masks.green & masks.alpha) | in CreateMasks() 145 (masks.blue & masks.alpha) ) != 0) { in CreateMasks() 152 process_mask(masks.alpha)); in CreateMasks()
|
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
H A D | cvtcolor.c | 125 double alpha = c[channels-1]; in main() local 127 if (alpha > 0) in main() 128 for (i=0; i<channels-1; ++i) c[i] /= alpha; in main() 156 c[3] = c[1]; /* alpha, if present */ in main() 165 double alpha = c[channels-1]; in main() local 166 for (i=0; i<channels-1; ++i) c[i] *= alpha; in main()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | distribution_test_util_test.cc | 39 // Log using the Wolfram-alpha function name & parameters. in TEST() 50 const double alpha; member 100 // domain of the input, x, then BetaIncompleteInv(alpha, p, q) may return an 101 // essentially arbitrary value where BetaIncomplete(x, p, q) =~ alpha. 123 // Log using the Wolfram-alpha function name & parameters. in TEST() 124 EXPECT_NEAR(value, data.alpha, 1e-12) in TEST() 126 << "] (expected=" << data.alpha << ") -> " << value; in TEST() 133 absl::random_internal::BetaIncompleteInv(data.p, data.q, data.alpha); in TEST() 135 // Log using the Wolfram-alpha function name & parameters. in TEST() 137 << " InverseBetaRegularized[" << data.alpha << ", " << dat in TEST() [all...] |
/third_party/skia/gm/ |
H A D | hairmodes.cpp | 103 for (int alpha = 0; alpha < 4; ++alpha) { 116 gAlphaValue[alpha & 1], 117 gAlphaValue[alpha & 2]);
|