/external/skqp/include/gpu/ |
GrBlend.h | 19 // Basic blend equations. 24 // Advanced blend equations. These are described in the SVG and PDF specs. 110 * Advanced blend equations can always tweak alpha for coverage. (See GrCustomXfermode.cpp) 112 * For "add" and "reverse subtract" the blend equation with f=coverage is: 133 * Moreover, if the blend doesn't modify the dst at all then it is ok to arbitrarily modify the src
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Blend.h | 18 // Blend.h 19 // $Id: Blend.h,v 1.23 2011/06/24 04:22:14 mbansal Exp $ 53 class Blend { 71 Blend(); 72 ~Blend();
|
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_nir_lower_blend.c | 50 return (c->fs_key->blend.blend_enable || 51 c->fs_key->blend.colormask != 0xf || 162 fprintf(stderr, "Unknown blend factor %d\n", factor); 231 fprintf(stderr, "Unknown blend factor %d\n", factor); 254 fprintf(stderr, "Unknown blend func %d\n", func); 278 fprintf(stderr, "Unknown blend func %d\n", func); 288 struct pipe_rt_blend_state *blend = &c->fs_key->blend; local 290 if (!blend->blend_enable) { 302 int src_factor = ((i != 3) ? blend->rgb_src_factor 335 struct pipe_rt_blend_state *blend = &c->fs_key->blend; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_cc.c | 90 * Modify blend function to force destination alpha to 1.0 92 * If \c function specifies a blend function that uses destination alpha, 112 * Creates a CC unit packet from the current blend state. 167 GLenum eqRGB = ctx->Color.Blend[0].EquationRGB; 168 GLenum eqA = ctx->Color.Blend[0].EquationA; 169 GLenum srcRGB = ctx->Color.Blend[0].SrcRGB; 170 GLenum dstRGB = ctx->Color.Blend[0].DstRGB; 171 GLenum srcA = ctx->Color.Blend[0].SrcA; 172 GLenum dstA = ctx->Color.Blend[0].DstA; 174 /* If the renderbuffer is XRGB, we have to frob the blend function t [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/ |
BlendComposite.java | 176 result = blender.blend(srcPixel, dstPixel, result); 200 public abstract int[] blend(int[] src, int[] dst, int[] result); method in class:BlendComposite.Blender 207 public int[] blend(int[] src, int[] dst, int[] result) { 217 public int[] blend(int[] src, int[] dst, int[] result) { 228 public int[] blend(int[] src, int[] dst, int[] result) { 239 public int[] blend(int[] src, int[] dst, int[] result) { 250 public int[] blend(int[] src, int[] dst, int[] result) { 262 public int[] blend(int[] src, int[] dst, int[] result) { 273 // Ignore the blend 276 public int[] blend(int[] src, int[] dst, int[] result) [all...] |
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
Convolve5x5.java | 36 private float blend(float v1, float v2, float p) { method in class:Convolve5x5 43 float cf1 = blend(f125, -1.f, str); 44 float cf2 = blend(f125, -3.f, str); 45 float cf3 = blend(f125, -4.f, str); 46 float cf4 = blend(f125, 6.f, str); 47 float cf5 = blend(f125, 20.f, str); 48 float cf6 = blend(f125, 0.f, str);
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
Convolve5x5.java | 43 private float blend(float v1, float v2, float p) { method in class:Convolve5x5 50 float cf1 = blend(f125, -1.f, str); 51 float cf2 = blend(f125, -3.f, str); 52 float cf3 = blend(f125, -4.f, str); 53 float cf4 = blend(f125, 6.f, str); 54 float cf5 = blend(f125, 20.f, str); 55 float cf6 = blend(f125, 0.f, str);
|
/external/opencv/cvaux/src/ |
cvmorphing.cpp | 119 /* Blend R */ 124 /* Blend G */ 129 /* Blend B */ 148 /* Blend R */ 152 /* Blend G */ 156 /* Blend B */ 208 /* Blend R */ 215 /* Blend G */ 223 /* Blend B */ 245 /* Blend R * [all...] |
/frameworks/base/libs/hwui/ |
GlLayer.cpp | 35 sk_sp<SkColorFilter> colorFilter, int alpha, SkBlendMode mode, bool blend) 41 texture.blend = blend;
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_bicubic_filter.c | 244 struct pipe_blend_state blend; local 264 memset(&blend, 0, sizeof blend); 265 blend.rt[0].rgb_func = PIPE_BLEND_ADD; 266 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE; 267 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ONE; 268 blend.rt[0].alpha_func = PIPE_BLEND_ADD; 269 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE; 270 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ONE; 271 blend.logicop_func = PIPE_LOGICOP_CLEAR [all...] |
/cts/tests/tests/rscpp/librscpptest/ |
rs_jni.cpp | 325 sp<ScriptIntrinsicBlend> blend = ScriptIntrinsicBlend::create(rs, e); local 328 blend->forEachAdd(inputAlloc, outputAlloc); 331 blend->forEachClear(inputAlloc, outputAlloc); 334 blend->forEachDst(inputAlloc, outputAlloc); 337 blend->forEachDstAtop(inputAlloc, outputAlloc); 340 blend->forEachDstIn(inputAlloc, outputAlloc); 343 blend->forEachDstOut(inputAlloc, outputAlloc); 346 blend->forEachDstOver(inputAlloc, outputAlloc); 349 blend->forEachMultiply(inputAlloc, outputAlloc); 352 blend->forEachSrc(inputAlloc, outputAlloc) [all...] |
/external/freetype/src/psaux/ |
t1decode.h | 60 PS_Blend blend,
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state.c | 102 const struct pipe_blend_state *blend) 107 unsigned eqRGB = blend->rt[0].rgb_func; 108 unsigned srcRGB = blend->rt[0].rgb_src_factor; 109 unsigned dstRGB = blend->rt[0].rgb_dst_factor; 111 unsigned eqA = blend->rt[0].alpha_func; 112 unsigned srcA = blend->rt[0].alpha_src_factor; 113 unsigned dstA = blend->rt[0].alpha_dst_factor; 142 LOGIC_OP_FUNC(i915_translate_logic_op(blend->logicop_func))); 144 if (blend->logicop_enable) 147 if (blend->dither [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
SConscript | 30 'blend',
|
lp_rast_debug.c | 96 return variant->key.blend.rt[0].blend_enable; 129 boolean blend) 151 boolean blend; local 157 blend = tile->state->variant->key.blend.rt[0].blend_enable; 164 plot(tile, i, j, val, blend); 199 boolean blend = tile->state->variant->key.blend.rt[0].blend_enable; local 222 plot(tile, x, y, val, blend); 261 boolean blend = is_blend(tile->state, block, k) local [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
output.c | 585 struct pipe_blend_state blend; local 587 memset(&blend, 0, sizeof blend); 588 blend.independent_blend_enable = 0; 591 blend.rt[0].blend_enable = 1; 592 blend.rt[0].rgb_src_factor = BlendFactorToPipe(blend_state->blend_factor_source_color); 593 blend.rt[0].rgb_dst_factor = BlendFactorToPipe(blend_state->blend_factor_destination_color); 594 blend.rt[0].alpha_src_factor = BlendFactorToPipe(blend_state->blend_factor_source_alpha); 595 blend.rt[0].alpha_dst_factor = BlendFactorToPipe(blend_state->blend_factor_destination_alpha); 596 blend.rt[0].rgb_func = BlendEquationToPipe(blend_state->blend_equation_color) 655 void *blend; local 725 void *blend; local [all...] |
/frameworks/base/libs/hwui/renderstate/ |
RenderState.h | 21 #include "renderstate/Blend.h" 108 Blend& blend() { return *mBlend; } function in class:android::uirenderer::RenderState 130 Blend* mBlend = nullptr;
|
/developers/build/prebuilts/gradle/DrawableTinting/Application/src/main/java/com/example/android/drawabletinting/ |
DrawableTintingFragment.java | 43 * a reference to a color and a PorterDuff blend mode. The color and blend mode can be 96 * Selector for blend type for color tinting. 111 * Identifier for state of blend mod spinner in state bundle. 188 // Set up the spinner for blend mode selection from a string array resource 193 // Set a listener to update the tinted image when a blend mode is selected 208 // Apply the default blend mode and color 249 * Update the tint of the image with the color set in the seekbars and selected blend mode. 252 * {@link Color#argb(int, int, int, int)}, it is set togethe with the blend mode on the background 279 * Listener that updates the tint when a blend mode is selected [all...] |
/developers/samples/android/ui/DrawableTinting/Application/src/main/java/com/example/android/drawabletinting/ |
DrawableTintingFragment.java | 43 * a reference to a color and a PorterDuff blend mode. The color and blend mode can be 96 * Selector for blend type for color tinting. 111 * Identifier for state of blend mod spinner in state bundle. 188 // Set up the spinner for blend mode selection from a string array resource 193 // Set a listener to update the tinted image when a blend mode is selected 208 // Apply the default blend mode and color 249 * Update the tint of the image with the color set in the seekbars and selected blend mode. 252 * {@link Color#argb(int, int, int, int)}, it is set togethe with the blend mode on the background 279 * Listener that updates the tint when a blend mode is selected [all...] |
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/ |
DrawableTintingFragment.java | 43 * a reference to a color and a PorterDuff blend mode. The color and blend mode can be 96 * Selector for blend type for color tinting. 111 * Identifier for state of blend mod spinner in state bundle. 188 // Set up the spinner for blend mode selection from a string array resource 193 // Set a listener to update the tinted image when a blend mode is selected 208 // Apply the default blend mode and color 249 * Update the tint of the image with the color set in the seekbars and selected blend mode. 252 * {@link Color#argb(int, int, int, int)}, it is set togethe with the blend mode on the background 279 * Listener that updates the tint when a blend mode is selected [all...] |
/developers/samples/android/ui/DrawableTinting/ |
template-params.xml | 31 with a reference to a color and a PorterDuff blend mode. The color and blend mode can be
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
fd2_blend.h | 43 fd2_blend_stateobj(struct pipe_blend_state *blend) 45 return (struct fd2_blend_stateobj *)blend;
|
/external/skia/src/gpu/effects/ |
GrPorterDuffXferProcessor.h | 35 /** Returns a simple non-LCD porter duff blend XP with no optimizations or coverage. */ 38 /** This XP implements non-LCD src-over using hw blend with no optimizations. It is returned
|
/external/skqp/src/gpu/effects/ |
GrPorterDuffXferProcessor.h | 35 /** Returns a simple non-LCD porter duff blend XP with no optimizations or coverage. */ 38 /** This XP implements non-LCD src-over using hw blend with no optimizations. It is returned
|
/external/llvm/test/CodeGen/ARM/ |
vselect_imax.ll | 17 %T1_10* %blend, %T0_10* %storeaddr) { 33 %T1_14* %blend, %T0_14* %storeaddr) { 49 %T1_15* %blend, %T0_15* %storeaddr) { 68 %T1_18* %blend, %T0_18* %storeaddr) { 84 %T1_19* %blend, %T0_19* %storeaddr) { 102 %T1_20* %blend, %T0_20* %storeaddr) {
|