| /third_party/mesa3d/src/gallium/drivers/softpipe/ |
| H A D | sp_context.h | 57 struct pipe_blend_state *blend; member 152 struct quad_stage *blend; member
|
| /third_party/mesa3d/src/gallium/auxiliary/vl/ |
| H A D | vl_compositor.h | 79 void *blend; member 225 unsigned layer, void *blend, bool is_clearing);
|
| H A D | vl_median_filter.h | 50 void *blend; member
|
| H A D | vl_matrix_filter.h | 42 void *blend; member
|
| H A D | vl_bicubic_filter.h | 41 void *blend; member
|
| /third_party/skia/docs/examples/ |
| H A D | pathops.cpp | 11 SkColor blend(SkColor one, SkColor two) { in REG_FIDDLE() function 29 SkColor blendColor = blend(oneColor, twoColor); in REG_FIDDLE()
|
| /third_party/ffmpeg/libavfilter/ |
| H A D | vf_chromakey_cuda.c | 66 float blend; member 299 float blend) in call_cuda_kernel() 314 &u_key, &v_key, &similarity, &blend in call_cuda_kernel() 374 s->similarity, s->blend); in cudachromakey_process_internal() 454 {"blend", "set the chromakey key blend value", OFFSET(blend), AV_OPT_TYPE_FLOAT, {.dbl = 0.0}, 0.0, 1.0, FLAGS}, 294 call_cuda_kernel(AVFilterContext *ctx, CUfunction func, CUtexObject src_tex[3], AVFrame *out_frame, int width, int height, int pitch, int width_uv, int height_uv, int pitch_uv, float u_key, float v_key, float similarity, float blend) call_cuda_kernel() argument
|
| /third_party/mesa3d/src/gallium/tests/graw/ |
| H A D | fs-test.c | 443 struct pipe_blend_state blend; in init() local 445 memset(&blend, 0, sizeof blend); in init() 446 blend.rt[0].colormask = PIPE_MASK_RGBA; in init() 447 handle = ctx->create_blend_state(ctx, &blend); in init()
|
| H A D | gs-test.c | 533 struct pipe_blend_state blend; in init() local 535 memset(&blend, 0, sizeof blend); in init() 536 blend.rt[0].colormask = PIPE_MASK_RGBA; in init() 537 handle = ctx->create_blend_state(ctx, &blend); in init()
|
| H A D | vs-test.c | 431 struct pipe_blend_state blend; in init() local 433 memset(&blend, 0, sizeof blend); in init() 434 blend.rt[0].colormask = PIPE_MASK_RGBA; in init() 435 handle = ctx->create_blend_state(ctx, &blend); in init()
|
| /third_party/mesa3d/src/gallium/tests/trivial/ |
| H A D | quad-tex.c | 71 struct pipe_blend_state blend; member 193 memset(&p->blend, 0, sizeof(p->blend)); in init_prog() 194 p->blend.rt[0].colormask = PIPE_MASK_RGBA; in init_prog() 321 cso_set_blend(p->cso, &p->blend); in draw()
|
| /third_party/libdrm/exynos/ |
| H A D | exynos_fimg2d.c | 773 * g2d_blend - blend image data in source and destination buffers. 786 * @op: blend operation type. 796 union g2d_blend_func_val blend; in g2d_blend() local 838 blend.val = 0; in g2d_blend() 866 blend.val = g2d_get_blend_op(op); in g2d_blend() 868 g2d_add_cmd(ctx, BLEND_FUNCTION_REG, blend.val); in g2d_blend() 888 * g2d_scale_and_blend - apply scaling to source buffer and then blend to destination buffer 903 * @op: blend operation type. 914 union g2d_blend_func_val blend; in g2d_scale_and_blend() local 957 blend in g2d_scale_and_blend() [all...] |
| /third_party/mesa3d/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_emit.c | 466 uint32_t val = etna_blend_state(ctx->blend)->PE_ALPHA_CONFIG; in etna_emit_state() 472 * as a mask to enable the bits from blend PE_COLOR_FORMAT */ in etna_emit_state() 475 val |= etna_blend_state(ctx->blend)->PE_COLOR_FORMAT; in etna_emit_state() 498 struct etna_blend_state *blend = etna_blend_state(ctx->blend); in etna_emit_state() local 499 /*014A4*/ EMIT_STATE(PE_LOGIC_OP, blend->PE_LOGIC_OP | ctx->framebuffer.PE_LOGIC_OP); in etna_emit_state() 502 struct etna_blend_state *blend = etna_blend_state(ctx->blend); in etna_emit_state() local 504 /*014A8*/ EMIT_STATE(PE_DITHER(x), blend->PE_DITHER[x]); in etna_emit_state()
|
| /third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
| H A D | fd5_emit.c | 568 struct fd5_blend_stateobj *blend = fd5_blend_stateobj(ctx->blend); in fd5_emit_state() local 577 else if (emit->binning_pass && blend->lrz_write && zsa->lrz_write) in fd5_emit_state() 788 struct fd5_blend_stateobj *blend = fd5_blend_stateobj(ctx->blend); in fd5_emit_state() local 795 uint32_t control = blend->rb_mrt[i].control; in fd5_emit_state() 810 OUT_RING(ring, blend->rb_mrt[i].blend_control); in fd5_emit_state() 814 OUT_RING(ring, blend->sp_blend_cntl); in fd5_emit_state() 818 struct fd5_blend_stateobj *blend = fd5_blend_stateobj(ctx->blend); in fd5_emit_state() local [all...] |
| /third_party/skia/tools/gpu/vk/ |
| H A D | VkTestUtils.cpp | 382 VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* blend = nullptr; in setup_features() local 384 blend = (VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT*) sk_malloc_throw( in setup_features() 386 blend->sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT; in setup_features() 387 blend->pNext = nullptr; in setup_features() 388 *tailPNext = blend; in setup_features() 389 tailPNext = &blend->pNext; in setup_features()
|
| /third_party/mesa3d/src/gallium/frontends/va/ |
| H A D | surface.c | 227 struct pipe_blend_state blend; in vlVaPutSubpictures() local 275 memset(&blend, 0, sizeof(blend)); in vlVaPutSubpictures() 276 blend.independent_blend_enable = 0; in vlVaPutSubpictures() 277 blend.rt[0].blend_enable = 1; in vlVaPutSubpictures() 278 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_SRC_ALPHA; in vlVaPutSubpictures() 279 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_INV_SRC_ALPHA; in vlVaPutSubpictures() 280 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ZERO; in vlVaPutSubpictures() 281 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ZERO; in vlVaPutSubpictures() 282 blend in vlVaPutSubpictures() [all...] |
| /kernel/linux/linux-5.10/drivers/media/pci/ttpci/ |
| H A D | av7110_hw.c | 945 static int OSDSetColor(struct av7110 *av7110, u8 color, u8 r, u8 g, u8 b, u8 blend) in OSDSetColor() argument 952 yuv = blend ? RGB2YUV(r,g,b) : 0; in OSDSetColor() 959 color, ((blend >> 4) & 0x0f)); in OSDSetColor() 972 u32 color, blend, yuv; in OSDSetPalette() local 976 blend = (color & 0xF0000000) >> 4; in OSDSetPalette() 977 yuv = blend ? RGB2YUV(color & 0xFF, (color >> 8) & 0xFF, in OSDSetPalette() 978 (color >> 16) & 0xFF) | blend : 0; in OSDSetPalette() 1088 u8 r, g = 0, b = 0, blend = 0; in av7110_osd_cmd() local 1094 get_user(blend, colors + i * 4 + 3)) { in av7110_osd_cmd() 1098 ret = OSDSetColor(av7110, dc->color + i, r, g, b, blend); in av7110_osd_cmd() [all...] |
| /kernel/linux/linux-6.6/drivers/staging/media/av7110/ |
| H A D | av7110_hw.c | 945 static int OSDSetColor(struct av7110 *av7110, u8 color, u8 r, u8 g, u8 b, u8 blend) in OSDSetColor() argument 952 yuv = blend ? RGB2YUV(r,g,b) : 0; in OSDSetColor() 959 color, ((blend >> 4) & 0x0f)); in OSDSetColor() 972 u32 color, blend, yuv; in OSDSetPalette() local 976 blend = (color & 0xF0000000) >> 4; in OSDSetPalette() 977 yuv = blend ? RGB2YUV(color & 0xFF, (color >> 8) & 0xFF, in OSDSetPalette() 978 (color >> 16) & 0xFF) | blend : 0; in OSDSetPalette() 1089 u8 r, g = 0, b = 0, blend = 0; in av7110_osd_cmd() local 1095 get_user(blend, colors + i * 4 + 3)) { in av7110_osd_cmd() 1099 ret = OSDSetColor(av7110, dc->color + i, r, g, b, blend); in av7110_osd_cmd() [all...] |
| /third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
| H A D | fd3_emit.c | 525 fd3_blend_stateobj(ctx->blend)->rb_render_control; in fd3_emit_state() 741 if (fd3_blend_stateobj(ctx->blend)->rb_render_control & in fd3_emit_state() 759 struct fd3_blend_stateobj *blend = fd3_blend_stateobj(ctx->blend); in fd3_emit_state() local 762 for (i = 0; i < ARRAY_SIZE(blend->rb_mrt); i++) { in fd3_emit_state() 770 uint32_t control = blend->rb_mrt[i].control; in fd3_emit_state() 788 if (ctx->blend->independent_blend_enable) in fd3_emit_state() 789 rt = &ctx->blend->rt[i]; in fd3_emit_state() 791 rt = &ctx->blend->rt[0]; in fd3_emit_state() 802 blend in fd3_emit_state() [all...] |
| /third_party/skia/third_party/externals/freetype/src/cff/ |
| H A D | cffparse.c | 533 /* 16.16 fixed point is used internally for CFF2 blend results. */ in FT_LOCAL_DEF() 537 /* The blend value is converted to integer, with rounding; */ in FT_LOCAL_DEF() 957 CFF_Blend blend; in cff_parse_vsindex() local 967 blend = &priv->subfont->blend; in cff_parse_vsindex() 969 if ( blend->usedBV ) in cff_parse_vsindex() 971 FT_ERROR(( " cff_parse_vsindex: vsindex not allowed after blend\n" )); in cff_parse_vsindex() 990 /* blend operator can only be used in a Private DICT */ in cff_parse_blend() 993 CFF_Blend blend; in cff_parse_blend() local 1005 blend in cff_parse_blend() [all...] |
| /third_party/skia/src/gpu/ |
| H A D | GrPipeline.h | 68 * Creates a simple pipeline with default settings and no processors. The provided blend mode 73 SkBlendMode blend, in GrPipeline() 77 GrPorterDuffXPFactory::MakeNoCoverageXP(blend), in GrPipeline() 72 GrPipeline(GrScissorTest scissor, SkBlendMode blend, const GrSwizzle& writeSwizzle, InputFlags flags = InputFlags::kNone) GrPipeline() argument
|
| /third_party/skia/gm/ |
| H A D | pathopsinverse.cpp | 32 SkColor blendColor = blend(oneColor, twoColor); 44 SkColor blend(SkColor one, SkColor two) { in blend() function in skiagm::PathOpsInverseGM
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
| H A D | StateManager9.cpp | 127 if (state.getBlendState().blend != mCurBlendState.blend) in syncState() 130 // BlendColor and funcs and equations has to be set if blend is enabled in syncState() 134 // The color mask may have to be updated if the blend state changes in syncState() 150 // BlendColor depends on the values of blend funcs in syncState() 153 // The color mask may have to be updated if the blend funcs change in syncState() 169 // The color mask may have to be updated if the blend funcs change in syncState() 193 // The color mask can cause the blend state to get out of sync when using the in syncState() 348 setBlendEnabled(blendState.blend); in setBlendDepthRasterStates() 702 if (!blendState.blend) in setBlendColor() [all...] |
| /third_party/mesa3d/src/panfrost/lib/ |
| H A D | pan_shader.c | 183 unreachable("Unsupported blend shader type for NIR alu type"); in bifrost_blend_type_from_nir() 267 /* With suitable ZSA/blend, is early-z possible? */ in pan_shader_compile() 324 for (unsigned i = 0; i < ARRAY_SIZE(info->bifrost.blend); ++i) { in pan_shader_compile() 325 info->bifrost.blend[i].format = in pan_shader_compile() 326 bifrost_blend_type_from_nir(info->bifrost.blend[i].type); in pan_shader_compile()
|
| /third_party/mesa3d/src/gallium/auxiliary/postprocess/ |
| H A D | pp_mlaa.c | 146 /* Second pass: blend weights */ in pp_jimenezmlaa_run() 206 p->blend.rt[0].blend_enable = 1; in pp_jimenezmlaa_run() 207 cso_set_blend(p->cso, &p->blend); in pp_jimenezmlaa_run() 213 p->blend.rt[0].blend_enable = 0; in pp_jimenezmlaa_run()
|