/external/freetype/src/truetype/ |
ttgxvar.c | 293 GX_Blend blend = face->blend; local 306 blend->avar_checked = TRUE; 328 if ( axisCount != (FT_Long)blend->mmvar->num_axis ) 335 if ( FT_NEW_ARRAY( blend->avar_segment, axisCount ) ) 338 segment = &blend->avar_segment[0]; 350 FT_FREE( blend->avar_segment[j].correspondence ); 352 FT_FREE( blend->avar_segment ); 353 blend->avar_segment = NULL; 409 GX_Blend blend = face->blend local 992 GX_Blend blend; local 1153 GX_Blend blend; local 1299 GX_Blend blend = face->blend; local 1768 GX_Blend blend = face->blend; local [all...] |
/external/pdfium/third_party/freetype/src/truetype/ |
ttgxvar.c | 293 GX_Blend blend = face->blend; local 306 blend->avar_checked = TRUE; 328 if ( axisCount != (FT_Long)blend->mmvar->num_axis ) 335 if ( FT_NEW_ARRAY( blend->avar_segment, axisCount ) ) 338 segment = &blend->avar_segment[0]; 350 FT_FREE( blend->avar_segment[j].correspondence ); 352 FT_FREE( blend->avar_segment ); 353 blend->avar_segment = NULL; 409 GX_Blend blend = face->blend local 993 GX_Blend blend; local 1154 GX_Blend blend; local 1300 GX_Blend blend = face->blend; local 1769 GX_Blend blend = face->blend; local [all...] |
/external/llvm/test/CodeGen/X86/ |
combine-avx-intrinsics.ll | 5 %1 = call <4 x double> @llvm.x86.avx.blend.pd.256(<4 x double> %a0, <4 x double> %a0, i32 7) 14 %1 = call <8 x float> @llvm.x86.avx.blend.ps.256(<8 x float> %a0, <8 x float> %a0, i32 7) 23 %1 = call <4 x double> @llvm.x86.avx.blend.pd.256(<4 x double> %a0, <4 x double> %a1, i32 0) 32 %1 = call <8 x float> @llvm.x86.avx.blend.ps.256(<8 x float> %a0, <8 x float> %a1, i32 0) 41 %1 = call <4 x double> @llvm.x86.avx.blend.pd.256(<4 x double> %a0, <4 x double> %a1, i32 -1) 50 %1 = call <8 x float> @llvm.x86.avx.blend.ps.256(<8 x float> %a0, <8 x float> %a1, i32 -1) 58 declare <4 x double> @llvm.x86.avx.blend.pd.256(<4 x double>, <4 x double>, i32) 59 declare <8 x float> @llvm.x86.avx.blend.ps.256(<8 x float>, <8 x float>, i32)
|
commuted-blend-mask.ll | 3 ; When commuting the operands of a SSE blend, make sure that the resulting blend
|
/frameworks/base/rs/java/android/renderscript/ |
ScriptIntrinsicBlend.java | 43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { method in class:ScriptIntrinsicBlend 71 blend(0, ain, aout, opt); 102 blend(1, ain, aout, null); 166 blend(3, ain, aout, opt); 196 blend(4, ain, aout, opt); 226 blend(5, ain, aout, opt); 256 blend(6, ain, aout, opt); 286 blend(7, ain, aout, opt); 316 blend(8, ain, aout, opt); 348 blend(9, ain, aout, opt) [all...] |
/external/mesa3d/src/gallium/docs/source/cso/ |
blend.rst | 3 Blend 9 Blend Factors 12 The blend factors largely follow the same pattern as their counterparts 15 Dual source blend factors are supported for up to 1 MRT, although 26 blend state is ignored, including per-render-target state, so logicops are 85 If enabled, blend state is different for each render target, and 87 If disabled, blend state is the same for all render targets, and only 90 Contains the per-rendertarget blend state. 96 If blending is enabled, perform a blend calculation according to blend [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_test_blend.c | 31 * Unit tests for blend LLVM IR generation 35 * Blend computation code derived from code written by 82 const struct pipe_blend_state *blend, 108 blend->rt[0].rgb_func != blend->rt[0].alpha_func ? "true" : "false", 109 blend->rt[0].rgb_src_factor != blend->rt[0].alpha_src_factor ? "true" : "false", 110 blend->rt[0].rgb_dst_factor != blend->rt[0].alpha_dst_factor ? "true" : "false"); 114 util_dump_blend_func(blend->rt[0].rgb_func, TRUE) 750 struct pipe_blend_state blend; local 804 struct pipe_blend_state blend; local [all...] |
lp_state_blend.c | 46 const struct pipe_blend_state *blend) 48 struct pipe_blend_state *state = mem_dup(blend, sizeof *blend); 62 llvmpipe_bind_blend_state(struct pipe_context *pipe, void *blend) 66 if (llvmpipe->blend == blend) 71 llvmpipe->blend = blend; 78 llvmpipe_delete_blend_state(struct pipe_context *pipe, void *blend) 80 FREE( blend ); [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
BlendFilter.java | 25 * the multiplication of parameter "blend" and the alpha value in "right" frame. 34 "uniform float blend;\n" + 39 " float weight = colorR.a * blend;\n" + 44 super(name, new String[] { "left", "right" }, "blended", "blend"); 49 throw new RuntimeException("TODO: Write native implementation for Blend!");
|
AlphaBlendFilter.java | 39 " float blend = texture2D(tex_sampler_2, v_texcoord).r * weight;\n" + 40 " gl_FragColor = colorL * (1.0 - blend) + colorR * blend;\n" +
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
Mosaic.cpp | 62 if (blendingType == Blend::BLEND_TYPE_FULL || 63 blendingType == Blend::BLEND_TYPE_PAN) 65 stripType = Blend::STRIP_TYPE_THIN; 100 if (blendingType == Blend::BLEND_TYPE_FULL || 101 blendingType == Blend::BLEND_TYPE_PAN || 102 blendingType == Blend::BLEND_TYPE_CYLPAN || 103 blendingType == Blend::BLEND_TYPE_HORZ) { 104 blender = new Blend(); 192 if (blendingType == Blend::BLEND_TYPE_PAN) 199 int ret = Blend::BLEND_RET_ERROR [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Mosaic.cpp | 61 if (blendingType == Blend::BLEND_TYPE_FULL || 62 blendingType == Blend::BLEND_TYPE_PAN) 64 stripType = Blend::STRIP_TYPE_THIN; 102 if (blendingType == Blend::BLEND_TYPE_FULL || 103 blendingType == Blend::BLEND_TYPE_PAN || 104 blendingType == Blend::BLEND_TYPE_CYLPAN || 105 blendingType == Blend::BLEND_TYPE_HORZ) { 106 blender = new Blend(); 189 if (blendingType == Blend::BLEND_TYPE_PAN) 196 int ret = Blend::BLEND_RET_ERROR [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/type1/ |
t1load.c | 107 PS_Blend blend; local 112 blend = face->blend; 113 if ( !blend ) 115 if ( FT_NEW( blend ) ) 118 blend->num_default_design_vector = 0; 120 face->blend = blend; 126 if ( blend->num_designs == 0 ) 131 /* allocate the blend `private' and `font_info' dictionaries * 194 PS_Blend blend = face->blend; local 310 PS_Blend blend = face->blend; local 373 PS_Blend blend = face->blend; local 419 PS_Blend blend = face->blend; local 517 PS_Blend blend = face->blend; local 574 PS_Blend blend; local 653 PS_Blend blend; local 748 PS_Blend blend; local 847 PS_Blend blend = face->blend; local 942 PS_Blend blend = face->blend; local [all...] |
/external/pdfium/third_party/freetype/src/type1/ |
t1load.c | 107 PS_Blend blend; local 112 blend = face->blend; 113 if ( !blend ) 115 if ( FT_NEW( blend ) ) 118 blend->num_default_design_vector = 0; 120 face->blend = blend; 126 if ( blend->num_designs == 0 ) 131 /* allocate the blend `private' and `font_info' dictionaries * 194 PS_Blend blend = face->blend; local 310 PS_Blend blend = face->blend; local 370 PS_Blend blend = face->blend; local 416 PS_Blend blend = face->blend; local 514 PS_Blend blend = face->blend; local 571 PS_Blend blend; local 650 PS_Blend blend; local 745 PS_Blend blend; local 844 PS_Blend blend = face->blend; local 939 PS_Blend blend = face->blend; local [all...] |
/external/deqp/android/cts/master/src/ |
vulkan-test-issues.txt | 34 # Khronos Issue 242: Excluded blend tests where propagated errors may be large 35 dEQP-VK.pipeline.blend.format.a2r10g10b10_unorm_pack32.states.color_dc_dc_add_alpha_o_1msc_add-color_sas_1mdc_max_alpha_sa_1msc_min-color_dc_sas_min_alpha_1mcc_cc_sub-color_z_1mda_add_alpha_o_1mdc_add 36 dEQP-VK.pipeline.blend.format.a2r10g10b10_unorm_pack32.states.color_sa_z_sub_alpha_ca_cc_sub-color_sas_1msa_rsub_alpha_ca_da_sub-color_1mca_ca_min_alpha_1msc_1mcc_rsub-color_dc_da_sub_alpha_1mcc_1mda_add 37 dEQP-VK.pipeline.blend.format.b5g5r5a1_unorm_pack16.states.color_1mcc_cc_min_alpha_sc_cc_min-color_o_o_min_alpha_1msc_1msc_add-color_sas_da_add_alpha_1mdc_ca_add-color_cc_1mda_sub_alpha_dc_1mda_add 38 dEQP-VK.pipeline.blend.format.b5g5r5a1_unorm_pack16.states.color_dc_dc_add_alpha_o_1msc_add-color_sas_1mdc_max_alpha_sa_1msc_min-color_dc_sas_min_alpha_1mcc_cc_sub-color_z_1mda_add_alpha_o_1mdc_add 39 dEQP-VK.pipeline.blend.format.b5g5r5a1_unorm_pack16.states.color_sa_z_sub_alpha_ca_cc_sub-color_sas_1msa_rsub_alpha_ca_da_sub-color_1mca_ca_min_alpha_1msc_1mcc_rsub-color_dc_da_sub_alpha_1mcc_1mda_add 40 dEQP-VK.pipeline.blend.format.r5g5b5a1_unorm_pack16.states.color_1mcc_cc_min_alpha_sc_cc_min-color_o_o_min_alpha_1msc_1msc_add-color_sas_da_add_alpha_1mdc_ca_add-color_cc_1mda_sub_alpha_dc_1mda_add 41 dEQP-VK.pipeline.blend.format.r5g5b5a1_unorm_pack16.states.color_dc_dc_add_alpha_o_1msc_add-color_sas_1mdc_max_alpha_sa_1msc_min-color_dc_sas_min_alpha_1mcc_cc_sub-color_z_1mda_add_alpha_o_1mdc_add 42 dEQP-VK.pipeline.blend.format.r5g5b5a1_unorm_pack16.states.color_sa_z_sub_alpha_ca_cc_sub-color_sas_1msa_rsub_alpha_ca_da_sub-color_1mca_ca_min_alpha_1msc_1mcc_rsub-color_dc_da_sub_alpha_1mcc_1mda_add
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_composite.c | 102 blend_for_op(struct xa_composite_blend *blend, 122 *blend = xa_blends[XA_BLEND_OP_OVER]; 126 *blend = xa_blends[i]; 135 blend->rgb_src = xa_convert_blend_for_luminance(blend->rgb_src); 136 blend->rgb_dst = xa_convert_blend_for_luminance(blend->rgb_dst); 140 * If there's no dst alpha channel, adjust the blend op so that we'll treat 144 if (xa_format_a(dst_pic->pict_format) == 0 && blend->alpha_dst) { 145 if (blend->rgb_src == PIPE_BLENDFACTOR_DST_ALPHA 218 struct xa_composite_blend blend; local 259 struct pipe_blend_state blend; local 362 struct xa_composite_blend blend; local [all...] |
/external/skia/src/gpu/effects/ |
GrCustomXfermode.cpp | 66 return false; // LCD coverage must be applied after the blend equation. 210 The general SVG blend equation is defined in the spec as follows: 219 For every blend mode supported by this class, i.e. the "advanced" blend 220 modes, X=Y=Z=1 and this equation reduces to the PDF blend equation. 228 We substitute Y=Z=1 and define a blend() function that calculates Dca' in 231 blend(Sca, Dca, Sa, Da) = {Dca : if Sa == 0, 235 And for coverage modulation, we use a post blend src-over model: 237 Dca'' = f * blend(Sca, Dca, Sa, Da) + (1-f) * Dca 244 blend(f*Sca, Dca, f*Sa, Da) == f * blend(Sca, Dca, Sa, Da) + (1-f) * Dc [all...] |
/external/mesa3d/src/mesa/main/ |
blend.c | 2 * \file blend.c 33 #include "blend.h" 42 * Check if given blend source factor is legal. 80 * Check if given blend destination factor is legal. 121 * Check if src/dest RGB/A blend factors are legal. If not generate 188 ctx->Color.Blend[buf]._UsesDualSrc = 189 (blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcRGB) || 190 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstRGB) || 191 blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcA) || 192 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstA)) [all...] |
/development/samples/browseable/DrawableTinting/ |
_index.jd | 14 with a reference to a color and a PorterDuff blend mode. The color and blend mode can be
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_state_blend.c | 40 const struct pipe_blend_state *blend) 42 return mem_dup(blend, sizeof(*blend)); 48 void *blend) 54 softpipe->blend = (struct pipe_blend_state *)blend; 62 void *blend) 64 FREE( blend );
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_composite.c | 70 blend_for_op(struct xorg_composite_blend *blend, 80 *blend = xorg_blends[BLEND_OP_OVER]; 84 *blend = xorg_blends[i]; 89 /* If there's no dst alpha channel, adjust the blend op so that we'll treat 92 PICT_FORMAT_A(pDstPicture->format) == 0 && blend->alpha_dst) { 93 if (blend->rgb_src == PIPE_BLENDFACTOR_DST_ALPHA) 94 blend->rgb_src = PIPE_BLENDFACTOR_ONE; 95 else if (blend->rgb_src == PIPE_BLENDFACTOR_INV_DST_ALPHA) 96 blend->rgb_src = PIPE_BLENDFACTOR_ZERO; 100 * the source blend factor is 0, and the source blend value is the mas 180 struct xorg_composite_blend blend; local 216 struct pipe_blend_state blend; local 333 struct xorg_composite_blend blend; local [all...] |
/external/opencv3/samples/cpp/tutorial_code/HighGUI/ |
AddingImagesTrackbar.cpp | 36 imshow( "Linear Blend", dst ); 57 namedWindow("Linear Blend", 1); 62 createTrackbar( TrackbarName, "Linear Blend", &alpha_slider, alpha_slider_max, on_trackbar );
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicBlend.cpp | 313 ALOGE("Called unimplemented blend intrinsic BLEND_NORMAL"); 317 ALOGE("Called unimplemented blend intrinsic BLEND_AVERAGE"); 338 ALOGE("Called unimplemented blend intrinsic BLEND_SCREEN"); 342 ALOGE("Called unimplemented blend intrinsic BLEND_DARKEN"); 346 ALOGE("Called unimplemented blend intrinsic BLEND_LIGHTEN"); 350 ALOGE("Called unimplemented blend intrinsic BLEND_OVERLAY"); 354 ALOGE("Called unimplemented blend intrinsic BLEND_HARDLIGHT"); 358 ALOGE("Called unimplemented blend intrinsic BLEND_SOFTLIGHT"); 362 ALOGE("Called unimplemented blend intrinsic BLEND_DIFFERENCE"); 366 ALOGE("Called unimplemented blend intrinsic BLEND_NEGATION") [all...] |
/external/skia/src/animator/ |
SkAnimateField.cpp | 49 if (blend.count() != 1 || blend[0] != SK_Scalar1) { 50 SkDebugf("blend=\"["); 52 for (int i = 0; i < blend.count(); i++) { 56 SkDebugf("%g", SkScalarToFloat(blend[i]));
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_state_raster.c | 192 context_dirty(ctx, BLEND); 200 nv04->blend &= NV04_TEXTURED_TRIANGLE_BLEND_TEXTURE_MAP__MASK; 201 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_MASK_BIT_MSB | 205 nv04->blend |= get_blend_func(ctx->Color.Blend[0].DstRGB) << 28 | 206 get_blend_func(ctx->Color.Blend[0].SrcRGB) << 24; 209 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_BLEND_ENABLE; 213 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_SHADE_MODE_GOURAUD; 215 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_SHADE_MODE_FLAT; 219 nv04->blend |= NV04_TEXTURED_TRIANGLE_BLEND_SPECULAR_ENABLE [all...] |