| /third_party/skia/src/core/ |
| H A D | SkEdgeBuilder.cpp | 243 SkRect clip = this->recoverClip(*iclip); in buildPoly() local 249 int lineCount = SkLineClipper::ClipLine(e.fPts, clip, lines, canCullToTheRight); in buildPoly() 296 SkRect clip = this->recoverClip(*iclip); in build() local 302 SkEdgeClipper::ClipPath(path, clip, canCullToTheRight, in build() 365 // If we're convex, then we need both edges, even if the right edge is past the clip. in buildEdges()
|
| H A D | SkCubicClipper.h | 15 /** This class is initialized with a clip rectangle, and then can be fed cubics, 18 In the future, it might return a series of segments, allowing it to clip 25 void setClip(const SkIRect& clip);
|
| H A D | SkSDFFilter.cpp | 79 bool drawMaskSDFBlur(GrRecordingContext* rContext, skgpu::v1::SurfaceDrawContext* sdc, const GrClip* clip, in drawMaskSDFBlur() argument 117 sdc->drawRect(clip, std::move(paint), GrAA::kYes, matrix, in drawMaskSDFBlur()
|
| H A D | SkBlitter_Sprite.cpp | 51 void SkSpriteBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask() argument 55 INHERITED::blitMask(mask, clip); in blitMask()
|
| H A D | SkSpriteBlitter.h | 30 void blitMask(const SkMask&, const SkIRect& clip) override;
|
| H A D | SkSDFFilter.h | 45 bool drawMaskSDFBlur(GrRecordingContext* rContext, skgpu::v1::SurfaceDrawContext* sdc, const GrClip* clip,
|
| /third_party/skia/third_party/externals/libwebp/src/enc/ |
| H A D | analysis_enc.c | 72 static WEBP_INLINE int clip(int v, int m, int M) { in clip() function 94 enc->dqm_[n].alpha_ = clip(alpha, -127, 127); in SetSegmentAlphas() 95 enc->dqm_[n].beta_ = clip(beta, 0, 255); in SetSegmentAlphas() 110 return clip(alpha, 0, MAX_ALPHA); in FinalAlphaValue()
|
| H A D | quant_enc.c | 126 static WEBP_INLINE int clip(int v, int m, int M) { in clip() function 250 m->y1_.q_[0] = kDcTable[clip(q + enc->dq_y1_dc_, 0, 127)]; in SetupMatrices() 251 m->y1_.q_[1] = kAcTable[clip(q, 0, 127)]; in SetupMatrices() 253 m->y2_.q_[0] = kDcTable[ clip(q + enc->dq_y2_dc_, 0, 127)] * 2; in SetupMatrices() 254 m->y2_.q_[1] = kAcTable2[clip(q + enc->dq_y2_ac_, 0, 127)]; in SetupMatrices() 256 m->uv_.q_[0] = kDcTable[clip(q + enc->dq_uv_dc_, 0, 117)]; in SetupMatrices() 257 m->uv_.q_[1] = kAcTable[clip(q + enc->dq_uv_ac_, 0, 127)]; in SetupMatrices() 303 const int qstep = kAcTable[clip(m->quant_, 0, 127)] >> 2; in SetupFilterStrength() 418 enc->dqm_[i].quant_ = clip(q, 0, 127); in VP8SetSegmentParams() 437 dq_uv_ac = clip(dq_uv_a in VP8SetSegmentParams() [all...] |
| /third_party/skia/tests/ |
| H A D | RecordOptsTest.cpp | 218 SkRect clip = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(60)); in DEF_TEST() local 269 recorder.clipRect(clip); in DEF_TEST() 311 recorder.clipRect(clip); in DEF_TEST() 323 recorder.clipRect(clip); in DEF_TEST() 336 // Test that currently we do not fold alphas for patterns without the clip. This is just not in DEF_TEST()
|
| H A D | BlendTest.cpp | 111 for (auto clip : {SkRect::MakeXYWH(0, 0, 10, 10), SkRect::MakeXYWH(1, 1, 8, 8)}) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 112 testCases.push_back({rectAndPoints, clip, sampleCnt, origin}); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
| /third_party/skia/modules/canvaskit/htmlcanvas/ |
| H A D | canvas2dcontext.js | 498 this.clip = function(path, fillRule) { 510 var clip = path.copy(); 512 clip.setFillType(CanvasKit.FillType.EvenOdd); 514 clip.setFillType(CanvasKit.FillType.Winding); 516 this._canvas.clipPath(clip, CanvasKit.ClipOp.Intersect, true); 517 clip.delete(); 889 // restores the clip and ctm 938 // Saves the clip
|
| /third_party/ffmpeg/libavfilter/ |
| H A D | af_adeclick.c | 383 uint8_t *clip, int *index, in detect_clips() 402 clip[i] = 0; in detect_clips() 416 clip[i] = fabs(src[i]) >= max_amplitude; in detect_clips() 420 memset(clip, 0, s->ar_order * sizeof(*clip)); in detect_clips() 421 memset(clip + (s->window_size - s->ar_order), 0, s->ar_order * sizeof(*clip)); in detect_clips() 424 if (clip[i]) in detect_clips() 380 detect_clips(AudioDeclickContext *s, DeclickChannel *c, double unused0, double *unused1, double *unused2, uint8_t *clip, int *index, const double *src, double *dst) detect_clips() argument
|
| H A D | vf_huesaturation.c | 94 #define HUESATURATION(name, type, clip, xall) \ 160 dst_r[x] = clip(ir); \ 161 dst_g[x] = clip(ig); \ 162 dst_b[x] = clip(ib); \
|
| /third_party/skia/modules/sksg/src/ |
| H A D | SkSGGeometryNode.cpp | 17 void GeometryNode::clip(SkCanvas* canvas, bool aa) const { in clip() function in sksg::GeometryNode
|
| /third_party/skia/modules/sksg/include/ |
| H A D | SkSGGeometryNode.h | 27 void clip(SkCanvas*, bool antiAlias) const;
|
| /third_party/skia/src/gpu/ops/ |
| H A D | GrSimpleMeshDrawOpHelper.h | 70 GrProcessorSet::Analysis finalizeProcessors(const GrCaps& caps, const GrAppliedClip* clip, in finalizeProcessors() argument 74 return this->finalizeProcessors(caps, clip, &GrUserStencilSettings::kUnused, clampType, in finalizeProcessors() 148 // it has no dynamic state besides the scissor clip
|
| H A D | TriangulatingPathRenderer.cpp | 207 // Because the clip bounds are used to add a contour for inverse fills, they must also in TriangulatingPathOp() 216 GrProcessorSet::Analysis finalize(const GrCaps& caps, const GrAppliedClip* clip, 222 return fHelper.finalizeProcessors(caps, clip, clampType, coverage, &fColor, nullptr); 245 // For inverse fills, the tessellation is dependent on clip bounds. in CreateKey() 425 GrAppliedClip* clip, 431 INHERITED::onPrePrepareDraws(rContext, writeView, clip, dstProxyView,
|
| /third_party/skia/src/xps/ |
| H A D | SkXPSDevice.h | 243 HRESULT clip(IXpsOMVisual* xpsVisual); 264 const SkIRect& clip, SkIRect* clipIRect);
|
| /third_party/skia/include/core/ |
| H A D | SkRegion.h | 17 SkRegion describes the set of pixels used to clip SkCanvas. SkRegion is compact, 19 of rectangles. SkRegion may reduce the current SkCanvas clip, or may be drawn as 232 /** Constructs SkRegion to match outline of path within clip. 235 Constructed SkRegion draws the same pixels as path through clip when 239 @param clip SkRegion containing path 244 bool setPath(const SkPath& path, const SkRegion& clip); 511 up SkRegion intersected with the specified clip rectangle. 516 /** Sets SkRegion::Cliperator to return elements of SkIRect array in SkRegion within clip. 519 @param clip bounds of iteration 524 Cliperator(const SkRegion& region, const SkIRect& clip); [all...] |
| /third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
| H A D | Clipper.hpp | 60 bool clip(Polygon &polygon, int clipFlagsOr, const DrawCall &draw); 73 float n; // Near clip plane distance
|
| /third_party/ffmpeg/libswscale/ppc/ |
| H A D | swscale_vsx.c | 166 const int clip = (1 << output_bits) - 1; in yuv2plane1_nbps_vsx() local 170 const vec_u16 vlargest = (vec_u16) {clip, clip, clip, clip, clip, clip, clip, clip}; in yuv2plane1_nbps_vsx() 213 const int clip in yuv2planeX_nbps_vsx() local [all...] |
| /third_party/glfw/deps/ |
| H A D | nuklear.h | 4282 struct nk_clipboard clip; member 4565 struct nk_rect clip; member 5337 struct nk_rect clip; member 5575 struct nk_clipboard clip; member 5804 NK_LIB void nk_unify(struct nk_rect *clip, const struct nk_rect *a, float x0, float y0, float x1, float y1); 5842 NK_LIB void nk_command_buffer_init(struct nk_command_buffer *cb, struct nk_buffer *b, enum nk_command_clipping clip); 6268 nk_unify(struct nk_rect *clip, const struct nk_rect *a, float x0, float y0, in nk_unify() argument 6272 NK_ASSERT(clip); in nk_unify() 6273 clip->x = NK_MAX(a->x, x0); in nk_unify() 6274 clip in nk_unify() 8738 nk_command_buffer_init(struct nk_command_buffer *cb, struct nk_buffer *b, enum nk_command_clipping clip) nk_command_buffer_init() argument 8864 const struct nk_rect *clip = &b->clip; nk_stroke_rect() local 8887 const struct nk_rect *clip = &b->clip; nk_fill_rect() local 8911 const struct nk_rect *clip = &b->clip; nk_fill_rect_multi_color() local 8935 const struct nk_rect *clip = &b->clip; nk_stroke_circle() local 8957 const struct nk_rect *clip = &b->clip; nk_fill_circle() local 9013 const struct nk_rect *clip = &b->clip; nk_stroke_triangle() local 9041 const struct nk_rect *clip = &b->clip; nk_fill_triangle() local 9341 nk_draw_list_push_command(struct nk_draw_list *list, struct nk_rect clip, nk_handle texture) nk_draw_list_push_command() argument 15821 {struct nk_rect clip; nk_panel_begin() local 18747 struct nk_rect clip; nk_group_scrolled_end() local 22884 struct nk_rect clip; nk_do_edit() local [all...] |
| H A D | nuklear_glfw_gl2.h | 264 glfw.ctx.clip.copy = nk_glfw3_clipboard_copy; in nk_glfw3_init() 265 glfw.ctx.clip.paste = nk_glfw3_clipboard_paste; in nk_glfw3_init() 266 glfw.ctx.clip.userdata = nk_handle_ptr(0); in nk_glfw3_init()
|
| /third_party/libinput/tools/ |
| H A D | libinput-debug-gui.c | 71 #define clip(val_, min_, max_) min((max_), max((min_), (val_))) macro 1188 speed = clip(speed + amount, -1, 1); in change_ptraccel() 1403 w->pointer.x = clip(w->pointer.x + dx, 0.0, w->width); in handle_event_motion() 1404 w->pointer.y = clip(w->pointer.y + dy, 0.0, w->height); in handle_event_motion() 1405 w->unaccelerated.x = clip(w->unaccelerated.x + dx_unaccel, 0.0, w->width); in handle_event_motion() 1406 w->unaccelerated.y = clip(w->unaccelerated.y + dy_unaccel, 0.0, w->height); in handle_event_motion() 1474 w->scroll.vy = clip(w->scroll.vy, 0, w->height); in handle_event_axis() 1478 w->scroll.vy_discrete = clip(w->scroll.vy_discrete, 0, w->height); in handle_event_axis() 1486 w->scroll.hx = clip(w->scroll.hx, 0, w->width); in handle_event_axis() 1490 w->scroll.hx_discrete = clip( in handle_event_axis() [all...] |
| /third_party/mesa3d/src/gallium/drivers/lima/ |
| H A D | lima_state.c | 270 const struct pipe_clip_state *clip) in lima_set_clip_state() 273 ctx->clip = *clip; in lima_set_clip_state() 269 lima_set_clip_state(struct pipe_context *pctx, const struct pipe_clip_state *clip) lima_set_clip_state() argument
|