/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Mosaic.h | 28 #include "Blend.h" 42 int blendingType = Blend::BLEND_TYPE_CYLPAN; 43 int stripType = Blend::STRIP_TYPE_THIN; 207 Blend *blender;
|
Blend.cpp | 18 // Blend.cpp 19 // $Id: Blend.cpp,v 1.22 2011/06/24 04:22:14 mbansal Exp $ 24 #include "Blend.h" 30 #define LOG_TAG "BLEND" 32 Blend::Blend() 37 Blend::~Blend() 44 int Blend::initialize(int blendingType, int stripType, int frame_width, int frame_height) 80 void Blend::AlignToMiddleFrame(MosaicFrame **frames, int frames_size [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testdraw2.c | 196 if (SDL_strcasecmp(argv[i], "--blend") == 0) { 201 } else if (SDL_strcasecmp(argv[i + 1], "blend") == 0) { 224 SDL_Log("Usage: %s %s [--blend none|blend|add|mod] [--cyclecolor] [--cyclealpha]\n",
|
/system/media/audio_utils/include/audio_utils/ |
conversion.h | 30 * In-place mono blend using the arithmetic average of the channels in each audio frame.
|
/external/webp/src/enc/ |
picture_tools.c | 144 // Blend color and remove transparency info 146 #define BLEND(V0, V1, ALPHA) \ 172 y_ptr[x] = BLEND(Y0, y_ptr[x], a_ptr[x]); 209 r = BLEND(red, r, alpha); 210 g = BLEND(green, g, alpha); 211 b = BLEND(blue, b, alpha); 223 #undef BLEND
|
/external/deqp/modules/gles31/functional/ |
es31fNegativeAdvancedBlendEquationTests.cpp | 21 * \brief Negative Advanced Blend Equation Tests 178 ctx.beginSection("GL_INVALID_OPERATION is generated if blending is enabled, and the blend qualifier is different from blend_support_all_equations and does not match the blend equation."); 244 ctx.beginSection("GL_NO_ERROR is generated if no advanced blend equations are used."); 270 {blend_qualifier_mismatch, "blend_qualifier_mismatch", "Test blend qualifier mismatch." },
|
/external/mesa3d/src/gallium/tests/graw/ |
graw_util.h | 153 struct pipe_blend_state blend; local 155 memset(&blend, 0, sizeof blend); 156 blend.rt[0].colormask = PIPE_MASK_RGBA; 157 handle = info->ctx->create_blend_state(info->ctx, &blend);
|
tri-gs.c | 237 struct pipe_blend_state blend; local 239 memset(&blend, 0, sizeof blend); 240 blend.rt[0].colormask = PIPE_MASK_RGBA; 241 handle = ctx->create_blend_state(ctx, &blend);
|
tri-instanced.c | 288 struct pipe_blend_state blend; local 290 memset(&blend, 0, sizeof blend); 291 blend.rt[0].colormask = PIPE_MASK_RGBA; 292 handle = ctx->create_blend_state(ctx, &blend);
|
/external/mesa3d/src/gallium/tests/trivial/ |
tri.c | 68 struct pipe_blend_state blend; member in struct:program 146 memset(&p->blend, 0, sizeof(p->blend)); 147 p->blend.rt[0].colormask = PIPE_MASK_RGBA; 252 cso_set_blend(p->cso, &p->blend);
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i830_state.c | 223 * Blend, and Blending. It needs to be called from numerous places where we 224 * could change the LogicOp or Independant Alpha Blend without subsequent 277 * Sets both the blend equation (called "function" in i830 docs) and the 278 * blend function (called "factor" in i830 docs). This is done in a single 279 * function because some blend equations (i.e., \c GL_MIN and \c GL_MAX) 280 * change the interpretation of the blend function. 295 SRC_BLND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].SrcRGB)) 296 | DST_BLND_FACT(intel_translate_blend_factor(ctx->Color.Blend[0].DstRGB)); 298 switch (ctx->Color.Blend[0].EquationRGB) { 317 fprintf(stderr, "[%s:%u] Invalid RGB blend equation (0x%04x).\n" [all...] |
i915_state.c | 198 * set for LogicOp, Independant Alpha Blend, and Blending. 200 * could change the LogicOp or Independant Alpha Blend without subsequent 250 if (dw != i915->state.Blend[I915_BLENDREG_BLENDCOLOR1]) { 251 i915->state.Blend[I915_BLENDREG_BLENDCOLOR1] = dw; 287 GLuint iab = (i915->state.Blend[I915_BLENDREG_IAB] & 296 GLuint eqRGB = ctx->Color.Blend[0].EquationRGB; 297 GLuint eqA = ctx->Color.Blend[0].EquationA; 298 GLuint srcRGB = ctx->Color.Blend[0].SrcRGB; 299 GLuint dstRGB = ctx->Color.Blend[0].DstRGB; 300 GLuint srcA = ctx->Color.Blend[0].SrcA [all...] |
/external/skia/include/gpu/ |
GrCaps.h | 161 * Indicates the capabilities of the fixed function blend unit. 167 // SVG/PDF blend modes. Requires blend barriers. 168 kAdvancedCoherent_BlendEquationSupport, //<! Advanced blend equation support that does not 169 // require blend barriers, and permits overlap.
|
/external/skia/tests/ |
BlitRowTest.cpp | 139 bool blend = (k & 2) != 0; local 140 if (gSrcRec[j].fSrc != 0 && blend) { 146 paint.setAlpha(blend ? 0x80 : 0xFF); 150 SkDebugf("--- src index %d dither %d blend %d\n", j, dither, blend);
|
/frameworks/rs/cpp/ |
ScriptIntrinsics.cpp | 85 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); 93 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); 101 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); 109 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); 117 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); 125 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); 133 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); 141 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); 149 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); 157 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Invalid element in blend"); [all...] |
/development/perftests/panorama/feature_mos/src/mosaic/ |
Blend.cpp | 18 // Blend.cpp 19 // $Id: Blend.cpp,v 1.22 2011/06/24 04:22:14 mbansal Exp $ 24 #include "Blend.h" 29 Blend::Blend() 34 Blend::~Blend() 41 int Blend::initialize(int blendingType, int stripType, int frame_width, int frame_height) 76 void Blend::AlignToMiddleFrame(MosaicFrame **frames, int frames_size) 95 int Blend::runBlend(MosaicFrame **oframes, MosaicFrame **rframes [all...] |
/external/deqp/modules/gles2/functional/ |
es2fBlendTests.cpp | 21 * \brief Blend tests. 219 // Log the blend parameters. 227 log << TestLog::Message << "Blend color = (" << paramSet.blendColor.x() << ", " << paramSet.blendColor.y() << ", " << paramSet.blendColor.z() << ", " << paramSet.blendColor.w() << ")" << TestLog::EndMessage; 299 : TestCaseGroup(context, "blend", "Blend tests") 343 // Test all blend equation, src blend function, dst blend function combinations. RGB and alpha modes are the same. 346 TestCaseGroup* group = new TestCaseGroup(m_context, "equation_src_func_dst_func", "Combinations of Blend Equations and Functions");
|
/external/deqp/modules/gles3/functional/ |
es3fBlendTests.cpp | 21 * \brief Blend tests. 267 // Log the blend parameters. 275 log << TestLog::Message << "Blend color = (" << paramSet.blendColor.x() << ", " << paramSet.blendColor.y() << ", " << paramSet.blendColor.z() << ", " << paramSet.blendColor.w() << ")" << TestLog::EndMessage; 356 : TestCaseGroup(context, "blend", "Blend tests") 408 // Test all blend equation, src blend function, dst blend function combinations. RGB and alpha modes are the same. 411 TestCaseGroup* group = new TestCaseGroup(m_context, "equation_src_func_dst_func", "Combinations of Blend Equations and Functions");
|
/external/mesa3d/src/gallium/drivers/r600/ |
r600_state.c | 46 R600_ERR("Unknown blend function %d\n", blend_func); 95 R600_ERR("Bad blend factor %d not supported!\n", blend_fact); 699 struct r600_pipe_blend *blend = CALLOC_STRUCT(r600_pipe_blend); local 703 if (blend == NULL) { 706 rstate = &blend->rstate; 741 blend->cb_target_mask = target_mask; 742 blend->cb_color_control = color_control; 743 /* only MRT0 has dual src blend */ 744 blend->dual_src_blend = util_blend_state_is_dual(state, 0); 786 blend->alpha_to_one = state->alpha_to_one 2646 struct pipe_blend_state blend; local 2668 struct pipe_blend_state blend; local 2680 struct pipe_blend_state blend; local [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_renderer.c | 410 struct pipe_blend_state blend; local 412 memset(&blend, 0, sizeof(blend)); 413 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE; 414 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE; 415 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ZERO; 416 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ZERO; 417 blend.rt[0].colormask = PIPE_MASK_RGBA; 418 cso_set_blend(r->cso, &blend);
|
/external/webp/src/demux/ |
anim_decode.c | 37 BlendRowFunc blend_func_; // Pointer to the chose blend row function. 191 // Blend a single channel of 'src' over 'dst', given their alpha channel values. 203 // Blend 'src' over 'dst' assuming they are NOT pre-multiplied by alpha. 232 // Blend 'num_pixels' in 'src' over 'dst' assuming they are NOT pre-multiplied 253 // Blend 'src' over 'dst' assuming they are pre-multiplied by alpha. 259 // Blend 'num_pixels' in 'src' over 'dst' assuming they are pre-multiplied by 361 // Blend transparent pixels with pixels in previous canvas. 371 // We need to blend a transparent pixel with its value just after 372 // initialization. That is, blend it with:
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_blitter.h | 88 void *saved_blend_state; /**< blend state */ 158 * - blend state 195 * - blend state 274 * - blend state 291 * - blend state 305 * quad with a special blend or DSA state.
|
/external/mesa3d/src/mesa/drivers/common/ |
driverfuncs.c | 228 ctx->Color.Blend[0].EquationRGB, 229 ctx->Color.Blend[0].EquationA); 232 ctx->Color.Blend[0].SrcRGB, 233 ctx->Color.Blend[0].DstRGB, 234 ctx->Color.Blend[0].SrcA, 235 ctx->Color.Blend[0].DstA);
|
/external/mesa3d/src/mesa/main/ |
attrib.c | 31 #include "blend.h" 73 GLboolean Blend; 266 attr->Blend = ctx->Color.BlendEnabled; 500 if (ctx->Color.BlendEnabled != enable->Blend) { 504 _mesa_set_enablei(ctx, GL_BLEND, i, (enable->Blend >> i) & 1); 508 _mesa_set_enable(ctx, GL_BLEND, (enable->Blend & 1)); [all...] |
/development/perftests/panorama/ |
benchmark.cpp | 28 const int blendingType = Blend::BLEND_TYPE_HORZ; 29 const int stripType = Blend::STRIP_TYPE_WIDE;
|