| /third_party/skia/src/core/ |
| D | SkAntiRun.h | 14 /** Sparse array of run-length-encoded alpha (supersampling coverage) values. 25 static inline SkAlpha CatchOverflow(int alpha) { in CatchOverflow() argument 26 SkASSERT(alpha >= 0 && alpha <= 256); in CatchOverflow() 27 return alpha - (alpha >> 8); in CatchOverflow() 31 /// of alpha value 0. 61 uint8_t* alpha = fAlpha + offsetX; in add() local 62 uint8_t* lastAlpha = alpha; in add() 66 SkAlphaRuns::Break(runs, alpha, x, 1); in add() 67 /* I should be able to just add alpha[x] + startAlpha. in add() 72 unsigned tmp = alpha[x] + startAlpha; in add() [all …]
|
| /third_party/skia/m133/src/core/ |
| D | SkAlphaRuns.h | 19 /** Sparse array of run-length-encoded alpha (supersampling coverage) values. 30 static inline SkAlpha CatchOverflow(int alpha) { in CatchOverflow() argument 31 SkASSERT(alpha >= 0 && alpha <= 256); in CatchOverflow() 32 return alpha - (alpha >> 8); in CatchOverflow() 36 /// of alpha value 0. 66 uint8_t* alpha = fAlpha + offsetX; in add() local 67 uint8_t* lastAlpha = alpha; in add() 71 SkAlphaRuns::Break(runs, alpha, x, 1); in add() 72 /* I should be able to just add alpha[x] + startAlpha. in add() 77 unsigned tmp = alpha[x] + startAlpha; in add() [all …]
|
| /third_party/typescript/tests/baselines/reference/ |
| D | extendedInterfaceGenericType.symbols | 2 interface Alpha<T> { 3 >Alpha : Symbol(Alpha, Decl(extendedInterfaceGenericType.ts, 0, 0)) 6 takesArgOfT(arg: T): Alpha<T>; 7 >takesArgOfT : Symbol(Alpha.takesArgOfT, Decl(extendedInterfaceGenericType.ts, 0, 20)) 10 >Alpha : Symbol(Alpha, Decl(extendedInterfaceGenericType.ts, 0, 0)) 14 >makeBetaOfNumber : Symbol(Alpha.makeBetaOfNumber, Decl(extendedInterfaceGenericType.ts, 1, 34)) 17 interface Beta<T> extends Alpha<T> { 20 >Alpha : Symbol(Alpha, Decl(extendedInterfaceGenericType.ts, 0, 0)) 24 var alpha: Alpha<number>; 25 >alpha : Symbol(alpha, Decl(extendedInterfaceGenericType.ts, 7, 3)) [all …]
|
| D | extendedInterfaceGenericType.types | 2 interface Alpha<T> { 3 takesArgOfT(arg: T): Alpha<T>; 4 >takesArgOfT : (arg: T) => Alpha<T> 10 interface Beta<T> extends Alpha<T> { 13 var alpha: Alpha<number>; 14 >alpha : Alpha<number> 16 var betaOfNumber = alpha.makeBetaOfNumber(); 18 >alpha.makeBetaOfNumber() : Beta<number> 19 >alpha.makeBetaOfNumber : () => Beta<number> 20 >alpha : Alpha<number> [all …]
|
| D | library-reference-5.errors.txt | 1 …cting definitions for 'alpha' found at '/node_modules/bar/node_modules/alpha/index.d.ts' and '/nod… 3 Type library referenced via 'alpha' from file '/node_modules/foo/index.d.ts' 4 Type library referenced via 'alpha' from file '/node_modules/bar/index.d.ts' 14 /// <reference types="alpha" /> 17 ==== /node_modules/foo/node_modules/alpha/index.d.ts (0 errors) ==== 18 declare var alpha: any; 21 /// <reference types="alpha" /> 23 …cting definitions for 'alpha' found at '/node_modules/bar/node_modules/alpha/index.d.ts' and '/nod… 25 !!! error TS4090: Type library referenced via 'alpha' from file '/node_modules/foo/index.d.ts' 26 !!! error TS4090: Type library referenced via 'alpha' from file '/node_modules/bar/index.d.ts' [all …]
|
| D | library-reference-6.trace.json | 2 …"======== Resolving type reference directive 'alpha', containing file '/src/foo.ts', root director… 4 "File '/node_modules/@types/alpha/package.json' does not exist.", 5 "File '/node_modules/@types/alpha/index.d.ts' exist - use it as a name resolution result.", 6 …"Resolving real path for '/node_modules/@types/alpha/index.d.ts', result '/node_modules/@types/alp… 7 …"======== Type reference directive 'alpha' was successfully resolved to '/node_modules/@types/alph… 8 …"======== Resolving type reference directive 'alpha', containing file '/__inferred type names__.ts… 10 …"File '/node_modules/@types/alpha/package.json' does not exist according to earlier cached lookups… 11 "File '/node_modules/@types/alpha/index.d.ts' exist - use it as a name resolution result.", 12 …"Resolving real path for '/node_modules/@types/alpha/index.d.ts', result '/node_modules/@types/alp… 13 …"======== Type reference directive 'alpha' was successfully resolved to '/node_modules/@types/alph…
|
| D | library-reference-8.trace.json | 2 …"======== Resolving type reference directive 'alpha', containing file '/test/foo.ts', root directo… 4 "File '/test/types/alpha/package.json' does not exist.", 5 "File '/test/types/alpha/index.d.ts' exist - use it as a name resolution result.", 6 … "Resolving real path for '/test/types/alpha/index.d.ts', result '/test/types/alpha/index.d.ts'.", 7 …"======== Type reference directive 'alpha' was successfully resolved to '/test/types/alpha/index.d… 14 …"======== Resolving type reference directive 'beta', containing file '/test/types/alpha/index.d.ts… 20 …"======== Resolving type reference directive 'alpha', containing file '/test/types/beta/index.d.ts… 22 "File '/test/types/alpha/package.json' does not exist according to earlier cached lookups.", 23 "File '/test/types/alpha/index.d.ts' exist - use it as a name resolution result.", 24 … "Resolving real path for '/test/types/alpha/index.d.ts', result '/test/types/alpha/index.d.ts'.", [all …]
|
| D | qualifiedName_ImportDeclarations-entity-names-referencing-a-var.types | 2 module Alpha { 3 >Alpha : typeof Alpha 11 import p = Alpha.x; 13 >Alpha : typeof Alpha 18 var x = Alpha.x 20 >Alpha.x : number 21 >Alpha : typeof Alpha
|
| D | umdGlobalConflict.symbols | 2 export as namespace Alpha; 3 >Alpha : Symbol(Alpha, Decl(index.d.ts, 0, 0)) 9 export as namespace Alpha; 10 >Alpha : Symbol(Alpha, Decl(index.d.ts, 0, 0)) 24 const p: string = Alpha.x; 26 >Alpha.x : Symbol(Alpha.x, Decl(index.d.ts, 1, 10)) 27 >Alpha : Symbol(Alpha, Decl(index.d.ts, 0, 0)) 28 >x : Symbol(Alpha.x, Decl(index.d.ts, 1, 10))
|
| /third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/_op_impl/cpu/ |
| D | sspaddmm.py | 27 .input(7, "alpha", "required") \ 34 def _reg_format(op_info, dtype, alpha, beta): argument 36 … DataType.I32_Default, dtype, alpha, beta, DataType.I64_Default, dtype, 40 def _reg_format_beta(op_info, alpha, beta): argument 41 op_info = _reg_format(op_info, DataType.U8_Default, alpha, beta) 42 op_info = _reg_format(op_info, DataType.I8_Default, alpha, beta) 43 op_info = _reg_format(op_info, DataType.I16_Default, alpha, beta) 44 op_info = _reg_format(op_info, DataType.I32_Default, alpha, beta) 45 op_info = _reg_format(op_info, DataType.I64_Default, alpha, beta) 46 op_info = _reg_format(op_info, DataType.F32_Default, alpha, beta) [all …]
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/SUN/ |
| D | SUN_global_alpha.txt | 34 Transparency is done in OpenGL using alpha blending. An alpha value 35 of 0.0 is used for fully transparent objects, while an alpha value 39 OpenGL defines alpha as a component of the vertex color state. 40 Whenever a color is set, the alpha component is set along with the 43 modifying the color of each vertex, replacing the old alpha 44 component with the new alpha component. This can be very expensive 48 This extension defines a new global alpha attribute that can be 49 used to specify an alpha factor that is independent from the alpha 50 component of the color value. The global alpha factor is 51 multiplied by the fragment's alpha value after primitive [all …]
|
| /third_party/openGLES/extensions/SUN/ |
| D | SUN_global_alpha.txt | 34 Transparency is done in OpenGL using alpha blending. An alpha value 35 of 0.0 is used for fully transparent objects, while an alpha value 39 OpenGL defines alpha as a component of the vertex color state. 40 Whenever a color is set, the alpha component is set along with the 43 modifying the color of each vertex, replacing the old alpha 44 component with the new alpha component. This can be very expensive 48 This extension defines a new global alpha attribute that can be 49 used to specify an alpha factor that is independent from the alpha 50 component of the color value. The global alpha factor is 51 multiplied by the fragment's alpha value after primitive [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/_op_impl/aicpu/ |
| D | sspaddmm.py | 30 .input(7, "alpha", "required") \ 37 def _reg_format(op_info, dtype1, dtype2, dtype3, alpha, beta): argument 38 return op_info.dtype_format(dtype1, dtype3, dtype1, dtype2, dtype3, dtype2, dtype3, alpha, beta, 42 def _reg_format_beta(op_info, dtype1, dtype2, alpha, beta): argument 43 op_info = _reg_format(op_info, dtype1, dtype2, DataType.U8_Default, alpha, beta) 44 op_info = _reg_format(op_info, dtype1, dtype2, DataType.I8_Default, alpha, beta) 45 op_info = _reg_format(op_info, dtype1, dtype2, DataType.I16_Default, alpha, beta) 46 op_info = _reg_format(op_info, dtype1, dtype2, DataType.I32_Default, alpha, beta) 47 op_info = _reg_format(op_info, dtype1, dtype2, DataType.I64_Default, alpha, beta) 48 op_info = _reg_format(op_info, dtype1, dtype2, DataType.F32_Default, alpha, beta) [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/kernel/cuda_impl/cuda_ops/ |
| D | hamming_window_impl.cu | 20 …obal__ void HammingWindowOne(const size_t size, const double N, const double PI, const float alpha, in HammingWindowOne() argument 29 __global__ void HammingWindow(const size_t size, const double N, const double PI, const float alpha… in HammingWindow() argument 32 double out = alpha - beta * cos((2 * pos * PI) / (N - 1)); in HammingWindow() 39 cudaError_t HammingWindow(const size_t size, T N, const float alpha, const float beta, const bool p… in HammingWindow() argument 43 …wOne<<<CUDA_BLOCKS(device_id, size), CUDA_THREADS(device_id), 0, cuda_stream>>>(size, N, PI, alpha, in HammingWindow() 47 …<CUDA_BLOCKS(device_id, size), CUDA_THREADS(device_id), 0, cuda_stream>>>(size, N, PI, alpha, beta, in HammingWindow() 53 …_LIB_EXPORT cudaError_t HammingWindow<int8_t, half>(const size_t size, int8_t N, const float alpha, 56 …IB_EXPORT cudaError_t HammingWindow<int16_t, half>(const size_t size, int16_t N, const float alpha, 59 …IB_EXPORT cudaError_t HammingWindow<int32_t, half>(const size_t size, int32_t N, const float alpha, 62 …IB_EXPORT cudaError_t HammingWindow<int64_t, half>(const size_t size, int64_t N, const float alpha, [all …]
|
| /third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
| D | radeon_pair_schedule.c | 49 /** If the scheduler has paired an RGB and an Alpha instruction together, 50 * PairedInst references the alpha instruction's dependency information. 243 else if (sinst->Instruction->U.P.Alpha.Opcode == RC_OPCODE_NOP) in instruction_ready() 297 !sinst->Instruction->U.P.Alpha.OutputWriteMask) { in score_no_output() 300 !sinst->PairedInst->Instruction->U.P.Alpha.OutputWriteMask) { in score_no_output() 331 sinst->Instruction->U.P.Alpha.Src[src_idx].Used; in calc_score_r300() 488 * but no scalar instruction (alpha). 500 assert(dst_full->Alpha.Opcode == RC_OPCODE_NOP); in merge_presub_sources() 511 dst_sub = &dst_full->Alpha; in merge_presub_sources() 561 /* If the arg does read both from rgb and alpha, then we need to rewrite in merge_presub_sources() [all …]
|
| D | radeon_program_pair.c | 17 rc_pair_alloc_source(struct rc_pair_instruction *pair, unsigned int rgb, unsigned int alpha, in rc_pair_alloc_source() argument 26 if ((!rgb && !alpha) || file == RC_FILE_NONE) in rc_pair_alloc_source() 36 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used && in rc_pair_alloc_source() 37 index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { in rc_pair_alloc_source() 53 if (alpha) { in rc_pair_alloc_source() 54 if (pair->Alpha.Src[i].Used) { in rc_pair_alloc_source() 55 if (pair->Alpha.Src[i].File != file || pair->Alpha.Src[i].Index != index) { in rc_pair_alloc_source() 70 } else if (candidate < 0 || (rgb && rgb_used > 2) || (alpha && alpha_used > 2)) { in rc_pair_alloc_source() 89 if (alpha) { in rc_pair_alloc_source() 90 pair->Alpha.Src[candidate].Used = 1; in rc_pair_alloc_source() [all …]
|
| /third_party/skia/third_party/externals/libpng/tests/ |
| D | pngstest | 5 # tests/pngstest gamma alpha 11 # alpha: one of; opaque, tRNS, alpha, none. 'none' is equivalent to !alpha 13 # NOTE: the temporary files pngstest generates have the base name gamma-alpha to 18 alpha="$1" 43 *-alpha[-.]*) 44 test "$alpha" = "alpha" && args="$args $g";; 47 test "$alpha" = "tRNS" -o "$alpha" = "none" && args="$args $g";; 50 test "$alpha" = "opaque" -o "$alpha" = "none" && args="$args $g";; 54 exec ./pngstest --tmpfile "${gamma}-${alpha}-" --log ${1+"$@"} $args
|
| /third_party/ffmpeg/libavcodec/ |
| D | h264dsp_template.c | 104 …int8_t *p_pix, ptrdiff_t xstride, ptrdiff_t ystride, int inner_iters, int alpha, int beta, int8_t … in FUNCC() 110 alpha <<= BIT_DEPTH - 8; in FUNCC() 126 if( FFABS( p0 - q0 ) < alpha && in FUNCC() 152 static void FUNCC(h264_v_loop_filter_luma)(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int… in FUNCC() 154 FUNCC(h264_loop_filter_luma)(pix, stride, sizeof(pixel), 4, alpha, beta, tc0); in FUNCC() 156 static void FUNCC(h264_h_loop_filter_luma)(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int… in FUNCC() 158 FUNCC(h264_loop_filter_luma)(pix, sizeof(pixel), stride, 4, alpha, beta, tc0); in FUNCC() 160 static void FUNCC(h264_h_loop_filter_luma_mbaff)(uint8_t *pix, ptrdiff_t stride, int alpha, int bet… in FUNCC() 162 FUNCC(h264_loop_filter_luma)(pix, sizeof(pixel), stride, 2, alpha, beta, tc0); in FUNCC() 165 …_intra)(uint8_t *p_pix, ptrdiff_t xstride, ptrdiff_t ystride, int inner_iters, int alpha, int beta) in FUNCC() [all …]
|
| /third_party/skia/m133/include/core/ |
| D | SkAlphaType.h | 14 Describes how to interpret the alpha component of a pixel. A pixel may 15 be opaque, or alpha, describing multiple levels of transparency. 17 In simple blending, alpha weights the draw color and the destination 18 color to create a new color. If alpha describes a weight from zero to one: 20 new color = draw color * alpha + destination color * (1 - alpha) 22 In practice alpha is encoded in two or more bits, where 1.0 equals all bits set. 24 RGB may have alpha included in each component value; the stored 25 value is the original RGB multiplied by alpha. Premultiplied color 31 kPremul_SkAlphaType, //!< pixel components are premultiplied by alpha 32 kUnpremul_SkAlphaType, //!< pixel components are independent of alpha [all …]
|
| /third_party/skia/m133/include/private/ |
| D | SkEncodedInfo.h | 41 enum Alpha { enum 55 * This sometimes results in redundant Alpha and Color information. 107 static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, in Make() 109 return Make(width, height, color, alpha, bitsPerComponent, nullptr); in Make() 113 Alpha alpha, int bitsPerComponent, std::unique_ptr<ICCProfile> profile) { in Make() 114 return Make(width, height, color, alpha, /*bitsPerComponent*/ bitsPerComponent, in Make() 119 Alpha alpha, int bitsPerComponent, std::unique_ptr<ICCProfile> profile, in Make() 129 SkASSERT(kOpaque_Alpha == alpha); in Make() 132 SkASSERT(kOpaque_Alpha != alpha); in Make() 140 SkASSERT(kOpaque_Alpha == alpha); in Make() [all …]
|
| /third_party/skia/include/private/ |
| D | SkEncodedInfo.h | 32 enum Alpha { enum 46 * This sometimes results in redundant Alpha and Color information. 98 static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, in Make() 100 return Make(width, height, color, alpha, bitsPerComponent, nullptr); in Make() 103 static SkEncodedInfo Make(int width, int height, Color color, Alpha alpha, in Make() 113 SkASSERT(kOpaque_Alpha == alpha); in Make() 116 SkASSERT(kOpaque_Alpha != alpha); in Make() 124 SkASSERT(kOpaque_Alpha == alpha); in Make() 130 SkASSERT(kOpaque_Alpha == alpha); in Make() 141 SkASSERT(kUnpremul_Alpha == alpha); in Make() [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/st/mint/ |
| D | test_elu.py | 26 def generate_expect_forward_output(x, alpha, dtype): argument 27 return np.where(x > 0, x * 1, alpha * 1 * (np.exp(x * 1) - 1)).astype(dtype) 29 def generate_expect_backward_output(x, alpha, dtype): argument 30 return np.where(x > 0, 1, alpha * 1 * 1 * np.exp(x * 1)).astype(dtype) 34 def elu_forward_func(x, alpha): argument 35 return mint.nn.functional.elu(x, alpha) 38 def elu_backward_func(x, alpha): argument 39 return ms.ops.grad(elu_forward_func, (0))(x, alpha) 42 def elu_vmap_func(x, alpha): argument 43 return ms.ops.vmap(elu_forward_func, in_axes=(0, None), out_axes=0)(x, alpha) [all …]
|
| /third_party/ffmpeg/libavcodec/alpha/ |
| D | Makefile | 1 OBJS-$(CONFIG_BLOCKDSP) += alpha/blockdsp_alpha.o 2 OBJS-$(CONFIG_ME_CMP) += alpha/me_cmp_alpha.o \ 3 alpha/me_cmp_mvi_asm.o 4 OBJS-$(CONFIG_HPELDSP) += alpha/hpeldsp_alpha.o \ 5 alpha/hpeldsp_alpha_asm.o 6 OBJS-$(CONFIG_IDCTDSP) += alpha/idctdsp_alpha.o \ 7 alpha/idctdsp_alpha_asm.o \ 8 alpha/simple_idct_alpha.o 9 OBJS-$(CONFIG_MPEGVIDEO) += alpha/mpegvideo_alpha.o 10 OBJS-$(CONFIG_PIXBLOCKDSP) += alpha/pixblockdsp_alpha.o
|
| /third_party/openGLES/extensions/SGIS/ |
| D | GLX_SGIS_blended_overlay.txt | 27 overlay windows supporting an alpha color component. Instead of 31 based on the overlay window's per-pixel alpha component. 38 Cd = Co /* Non-zero overlay alpha simply uses overlay color */ 45 /* blend overlay color with normal color based on overlay alpha */ 52 pixel. Ao is the alpha component for the overlay alpha component 67 Alpha blended antiliasing could be used on the overlay boundaries 76 alpha to blend the sweeped region with some constant color in the 100 non-premultiplied alpha. See Porter & Duff SIGGRAPH paper.) 102 * X does not all rendering in the alpha bitplanes. X rendering 103 should be assumed to always draw an alpha of 1.0. This means that [all …]
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/SGIS/ |
| D | GLX_SGIS_blended_overlay.txt | 27 overlay windows supporting an alpha color component. Instead of 31 based on the overlay window's per-pixel alpha component. 38 Cd = Co /* Non-zero overlay alpha simply uses overlay color */ 45 /* blend overlay color with normal color based on overlay alpha */ 52 pixel. Ao is the alpha component for the overlay alpha component 67 Alpha blended antiliasing could be used on the overlay boundaries 76 alpha to blend the sweeped region with some constant color in the 100 non-premultiplied alpha. See Porter & Duff SIGGRAPH paper.) 102 * X does not all rendering in the alpha bitplanes. X rendering 103 should be assumed to always draw an alpha of 1.0. This means that [all …]
|