HomeSort by relevance Sort by last modified time
    Searched full:blend (Results 26 - 50 of 1212) sorted by null

12 3 4 5 6 7 8 91011>>

  /cts/tests/tests/rscpp/src/android/cts/rscpp/
RSBlendTest.java 59 ScriptIntrinsicBlend blend = ScriptIntrinsicBlend.create(mRS, Element.RGBA_8888(mRS)); local
63 blend.forEachAdd(rsInput, rsOutput);
66 blend.forEachClear(rsInput, rsOutput);
69 blend.forEachDst(rsInput, rsOutput);
72 blend.forEachDstAtop(rsInput, rsOutput);
75 blend.forEachDstIn(rsInput, rsOutput);
78 blend.forEachDstOut(rsInput, rsOutput);
81 blend.forEachDstOver(rsInput, rsOutput);
84 blend.forEachMultiply(rsInput, rsOutput);
87 blend.forEachSrc(rsInput, rsOutput)
    [all...]
  /frameworks/rs/support/java/src/android/support/v8/renderscript/
ScriptIntrinsicBlend.java 54 private void blend(int id, Allocation ain, Allocation aout) {
71 blend(0, ain, aout);
91 blend(1, ain, aout);
131 blend(3, ain, aout);
150 blend(4, ain, aout);
169 blend(5, ain, aout);
188 blend(6, ain, aout);
207 blend(7, ain, aout);
226 blend(8, ain, aout);
246 blend(9, ain, aout)
    [all...]
  /external/skia/src/gpu/effects/
GrCustomXfermode.h 18 * Custom Xfer modes are used for blending when the blend mode cannot be represented using blend
GrCustomXfermode.cpp 60 return false; // LCD coverage must be applied after the blend equation.
259 The general SVG blend equation is defined in the spec as follows:
268 For every blend mode supported by this class, i.e. the "advanced" blend
269 modes, X=Y=Z=1 and this equation reduces to the PDF blend equation.
277 We substitute Y=Z=1 and define a blend() function that calculates Dca' in
280 blend(Sca, Dca, Sa, Da) = {Dca : if Sa == 0,
285 And for coverage modulation, we use a post blend src-over model:
287 Dca'' = f * blend(Sca, Dca, Sa, Da) + (1-f) * Dca
294 blend(f*Sca, Dca, f*Sa, Da) == f * blend(Sca, Dca, Sa, Da) + (1-f) * Dc
    [all...]
  /external/skqp/src/gpu/effects/
GrCustomXfermode.h 18 * Custom Xfer modes are used for blending when the blend mode cannot be represented using blend
GrCustomXfermode.cpp 60 return false; // LCD coverage must be applied after the blend equation.
259 The general SVG blend equation is defined in the spec as follows:
268 For every blend mode supported by this class, i.e. the "advanced" blend
269 modes, X=Y=Z=1 and this equation reduces to the PDF blend equation.
277 We substitute Y=Z=1 and define a blend() function that calculates Dca' in
280 blend(Sca, Dca, Sa, Da) = {Dca : if Sa == 0,
285 And for coverage modulation, we use a post blend src-over model:
287 Dca'' = f * blend(Sca, Dca, Sa, Da) + (1-f) * Dca
294 blend(f*Sca, Dca, f*Sa, Da) == f * blend(Sca, Dca, Sa, Da) + (1-f) * Dc
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
gen6_cc.c 43 struct gen6_blend_state *blend; local
57 size = sizeof(*blend) * nr_draw_buffers;
58 blend = brw_state_batch(brw, AUB_TRACE_BLEND_STATE,
61 memset(blend, 0, size);
103 blend[b].blend1.logic_op_enable = 1;
104 blend[b].blend1.logic_op_func =
109 GLenum eqRGB = ctx->Color.Blend[b].EquationRGB;
110 GLenum eqA = ctx->Color.Blend[b].EquationA;
111 GLenum srcRGB = ctx->Color.Blend[b].SrcRGB;
112 GLenum dstRGB = ctx->Color.Blend[b].DstRGB
    [all...]
gen8_blend_state.c 53 uint32_t *blend = brw_state_batch(brw, AUB_TRACE_BLEND_STATE, local
55 memset(blend, 0, size);
66 blend[0] |= GEN8_BLEND_ALPHA_TO_COVERAGE_ENABLE;
67 blend[0] |= GEN8_BLEND_ALPHA_TO_COVERAGE_DITHER_ENABLE;
70 blend[0] |= GEN8_BLEND_ALPHA_TO_ONE_ENABLE;
75 blend[0] |=
82 blend[0] |= GEN8_BLEND_COLOR_DITHER_ENABLE;
100 blend[1 + 2*i+1] |=
106 GLenum eqRGB = ctx->Color.Blend[i].EquationRGB;
107 GLenum eqA = ctx->Color.Blend[i].EquationA
    [all...]
  /external/mesa3d/src/gallium/state_trackers/nine/
nine_pipe.c 138 nine_convert_blend_state_fixup(struct pipe_blend_state *blend, const DWORD *rs)
142 blend->rt[0].rgb_dst_factor = (rs[D3DRS_SRCBLEND] == D3DBLEND_BOTHSRCALPHA) ?
145 blend->rt[0].alpha_dst_factor = blend->rt[0].rgb_dst_factor;
150 blend->rt[0].alpha_dst_factor = (rs[D3DRS_SRCBLENDALPHA] == D3DBLEND_BOTHSRCALPHA) ?
158 struct pipe_blend_state blend; local
160 memset(&blend, 0, sizeof(blend)); /* memcmp safety */
162 blend.dither = !!rs[D3DRS_DITHERENABLE];
164 /* blend.alpha_to_one = 0; *
    [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)
  /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/freetype/src/truetype/
ttgxvar.c 313 GX_Blend blend = face->blend; local
326 blend->avar_loaded = TRUE;
348 if ( axisCount != (FT_Long)blend->mmvar->num_axis )
355 if ( FT_NEW_ARRAY( blend->avar_segment, axisCount ) )
358 segment = &blend->avar_segment[0];
371 FT_FREE( blend->avar_segment[j].correspondence );
373 FT_FREE( blend->avar_segment );
374 blend->avar_segment = NULL;
422 GX_Blend blend = face->blend local
735 GX_Blend blend = face->blend; local
1174 GX_Blend blend = face->blend; local
1314 GX_Blend blend = face->blend; local
1423 GX_Blend blend = face->blend; local
1714 GX_Blend blend; local
1810 GX_Blend blend; local
2407 GX_Blend blend; local
2665 GX_Blend blend; local
2743 GX_Blend blend; local
2882 GX_Blend blend; local
2952 GX_Blend blend; local
3058 GX_Blend blend = face->blend; local
3558 GX_Blend blend = face->blend; local
4005 GX_Blend blend = face->blend; local
    [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.
79 * Check if given blend destination factor is legal.
119 * Check if src/dest RGB/A blend factors are legal. If not generate
186 ctx->Color.Blend[buf]._UsesDualSrc =
187 (blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcRGB) ||
188 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstRGB) ||
189 blend_factor_is_dual_src(ctx->Color.Blend[buf].SrcA) ||
190 blend_factor_is_dual_src(ctx->Color.Blend[buf].DstA))
    [all...]
  /external/freetype/src/type1/
t1load.c 108 PS_Blend blend; local
113 blend = face->blend;
114 if ( !blend )
116 if ( FT_NEW( blend ) )
119 blend->num_default_design_vector = 0;
121 face->blend = blend;
127 if ( blend->num_designs == 0 )
132 /* allocate the blend `private' and `font_info' dictionaries *
195 PS_Blend blend = face->blend; local
311 PS_Blend blend = face->blend; local
374 PS_Blend blend = face->blend; local
449 PS_Blend blend = face->blend; local
485 PS_Blend blend = face->blend; local
605 PS_Blend blend = face->blend; local
640 PS_Blend blend = face->blend; local
697 PS_Blend blend; local
776 PS_Blend blend; local
871 PS_Blend blend; local
970 PS_Blend blend = face->blend; local
1065 PS_Blend blend = face->blend; local
    [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.
108 If blending is enabled, perform a blend calculation according to blend
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a3xx/
fd3_blend.h 41 /* Blend control bits for color if there is an alpha channel */
43 /* Blend control bits for color if there is no alpha channel */
45 /* Blend control bits for alpha channel */
52 fd3_blend_stateobj(struct pipe_blend_state *blend)
54 return (struct fd3_blend_stateobj *)blend;
  /external/mesa3d/src/gallium/drivers/freedreno/a4xx/
fd4_blend.h 42 /* Blend control bits for color if there is an alpha channel */
44 /* Blend control bits for color if there is no alpha channel */
46 /* Blend control bits for alpha channel */
53 fd4_blend_stateobj(struct pipe_blend_state *blend)
55 return (struct fd4_blend_stateobj *)blend;
  /external/mesa3d/src/gallium/drivers/freedreno/a5xx/
fd5_blend.h 41 /* Blend control bits for color if there is an alpha channel */
43 /* Blend control bits for color if there is no alpha channel */
45 /* Blend control bits for alpha channel */
52 fd5_blend_stateobj(struct pipe_blend_state *blend)
54 return (struct fd5_blend_stateobj *)blend;
  /frameworks/base/libs/hwui/
GlLayer.h 35 sk_sp<SkColorFilter> colorFilter, int alpha, SkBlendMode mode, bool blend);
47 void setBlend(bool blend) override { texture.blend = blend; }
49 bool isBlend() const override { return texture.blend; }
  /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!");
  /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
75 const struct pipe_blend_state *blend,
92 blend->rt[0].rgb_func != blend->rt[0].alpha_func ? "true" : "false",
93 blend->rt[0].rgb_src_factor != blend->rt[0].alpha_src_factor ? "true" : "false",
94 blend->rt[0].rgb_dst_factor != blend->rt[0].alpha_dst_factor ? "true" : "false");
98 util_dump_blend_func(blend->rt[0].rgb_func, TRUE)
645 struct pipe_blend_state blend; local
696 struct pipe_blend_state blend; local
    [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/mesa3d/src/gallium/state_trackers/xa/
xa_composite.c 85 * so the correct approach is to blend using DST_COLOR instead of
103 blend_for_op(struct xa_composite_blend *blend,
123 *blend = xa_blends[XA_BLEND_OP_OVER];
127 *blend = xa_blends[i];
137 blend->rgb_src = xa_convert_blend_for_luminance(blend->rgb_src);
138 blend->rgb_dst = xa_convert_blend_for_luminance(blend->rgb_dst);
142 * If there's no dst alpha channel, adjust the blend op so that we'll treat
146 if (xa_format_a(dst_pic->pict_format) == 0 && blend->alpha_dst)
220 struct xa_composite_blend blend; local
261 struct pipe_blend_state blend; local
365 struct xa_composite_blend blend; local
    [all...]
  /external/mesa3d/src/gallium/drivers/ilo/core/
ilo_state_cc.c 256 const struct ilo_state_cc_blend_info *blend = &info->blend; local
262 dual_source_blending = (blend->rt_count &&
263 (is_dual_source_blend_factor(blend->rt[0].rgb_src) ||
264 is_dual_source_blend_factor(blend->rt[0].rgb_dst) ||
265 is_dual_source_blend_factor(blend->rt[0].a_src) ||
266 is_dual_source_blend_factor(blend->rt[0].a_dst)));
273 * message can be selected as a src/dst blend factor. See Color
274 * Buffer Blending. In single-source mode, those blend factor
275 * selections are invalid. If SRC1 is included in a src/dst blend
395 const struct ilo_state_cc_blend_info *blend = &info->blend; local
488 const struct ilo_state_cc_blend_info *blend = &info->blend; local
592 const struct ilo_state_cc_blend_info *blend = &info->blend; local
677 const struct ilo_state_cc_blend_info *blend = &info->blend; local
    [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

Completed in 321 milliseconds

12 3 4 5 6 7 8 91011>>