/third_party/ffmpeg/libavfilter/ |
H A D | vf_lenscorrection.c | 79 LenscorrectionCtx *rect = ctx->priv; \ 84 const int32_t *correction = rect->correction[plane]; \ 85 const int fill_color = rect->fill_color[plane]; \ 86 const int w = rect->planewidth[plane], h = rect->planeheight[plane]; \ 87 const int xcenter = rect->cx * w; \ 88 const int ycenter = rect->cy * h; \ 118 LenscorrectionCtx *rect = ctx->priv; \ 123 const int32_t *correction = rect->correction[plane]; \ 124 const int fill_color = rect 207 LenscorrectionCtx *rect = ctx->priv; uninit() local 217 LenscorrectionCtx *rect = ctx->priv; calc_correction() local 242 LenscorrectionCtx *rect = ctx->priv; config_output() local 290 LenscorrectionCtx *rect = ctx->priv; filter_slice() local 302 LenscorrectionCtx *rect = ctx->priv; filter_frame() local [all...] |
/third_party/skia/tests/ |
H A D | PathOpsAsWindingTest.cpp | 12 static SkPath build_squircle(SkPath::Verb verb, const SkRect& rect, SkPathDirection dir) { in build_squircle() argument 17 path.addRect(rect, dir); in build_squircle() 21 path.moveTo(rect.centerX(), rect.fTop); in build_squircle() 22 path.quadTo(rect.fRight, rect.fTop, rect.fRight, rect.centerY()); in build_squircle() 23 path.quadTo(rect.fRight, rect in build_squircle() [all...] |
H A D | PathOpsDRectTest.cpp | 31 static void setRawBounds(const SkDQuad& quad, SkDRect* rect) { in setRawBounds() argument 32 rect->set(quad[0]); in setRawBounds() 33 rect->add(quad[1]); in setRawBounds() 34 rect->add(quad[2]); in setRawBounds() 37 static void setRawBounds(const SkDCubic& cubic, SkDRect* rect) { in setRawBounds() argument 38 rect->set(cubic[0]); in setRawBounds() 39 rect->add(cubic[1]); in setRawBounds() 40 rect->add(cubic[2]); in setRawBounds() 41 rect->add(cubic[3]); in setRawBounds() 46 SkDRect rect, rect in DEF_TEST() local [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_rect.h | 92 bool operator== (const dng_rect &rect) const; 94 bool operator!= (const dng_rect &rect) const in operator !=() 96 return !(*this == rect); in operator !=() 251 dng_rect_real64 (const dng_rect &rect) in dng_rect_real64() argument 252 : t ((real64) rect.t) in dng_rect_real64() 253 , l ((real64) rect.l) in dng_rect_real64() 254 , b ((real64) rect.b) in dng_rect_real64() 255 , r ((real64) rect.r) in dng_rect_real64() 264 bool operator== (const dng_rect_real64 &rect) const; 266 bool operator!= (const dng_rect_real64 &rect) cons 426 HalfRect(dng_rect &rect) HalfRect() argument 436 DoubleRect(dng_rect &rect) DoubleRect() argument 446 InnerPadRect(dng_rect &rect, int32 pad) InnerPadRect() argument 459 OuterPadRect(dng_rect &rect, int32 pad) OuterPadRect() argument 469 InnerPadRectH(dng_rect &rect, int32 pad) InnerPadRectH() argument 480 InnerPadRectV(dng_rect &rect, int32 pad) InnerPadRectV() argument 491 MakeHalfRect(const dng_rect &rect) MakeHalfRect() argument 504 MakeDoubleRect(const dng_rect &rect) MakeDoubleRect() argument 517 MakeInnerPadRect(const dng_rect &rect, int32 pad) MakeInnerPadRect() argument 531 MakeOuterPadRect(const dng_rect &rect, int32 pad) MakeOuterPadRect() argument [all...] |
/third_party/lzma/CPP/Windows/Control/ |
H A D | Dialog.cpp | 125 static bool GetWorkAreaRect(RECT *rect, HWND hwnd)
in GetWorkAreaRect() argument 146 *rect = mi.rcWork;
in GetWorkAreaRect() 158 return BOOLToBool(::SystemParametersInfo(SPI_GETWORKAREA, 0, rect, 0));
in GetWorkAreaRect() 169 RECT rect;
in IsDialogSizeOK() local 170 GetWorkAreaRect(&rect, hwnd);
in IsDialogSizeOK() 171 const int wx = RECT_SIZE_X(rect);
in IsDialogSizeOK() 172 const int wy = RECT_SIZE_Y(rect);
in IsDialogSizeOK() 182 RECT rect;
in GetMargins() local 183 rect.left = 0;
in GetMargins() 184 rect in GetMargins() 196 RECT rect; Units_To_Pixels_X() local 208 RECT rect; GetItemSizes() local 216 GetClientRectOfItem(unsigned id, RECT &rect) GetClientRectOfItem() argument 218 ::GetWindowRect(GetItem(id), &rect); GetClientRectOfItem() local 352 RECT rect; NormalizePosition() local [all...] |
/third_party/skia/samplecode/ |
H A D | SampleClock.cpp | 42 SkRect rect; variable 44 rect = SkRect::MakeLTRB(200-4, -4, 240+4, 4); 47 rrect.setRectRadii(rect, radii); 68 rect = SkRect::MakeLTRB(231.5f, -2.5f, 242.5, 2.5f); 73 rrect.setRectRadii(rect, radii); 108 rect = SkRect::MakeLTRB(-20-7, -7, 80+7, 7); 113 rrect.setRectRadii(rect, radii); 129 rect = SkRect::MakeLTRB(-56-5, -5, 224+5, 5); 134 rrect.setRectRadii(rect, radii); 151 rect [all...] |
/third_party/skia/experimental/graphite/src/geom/ |
H A D | IntersectionTree.cpp | 16 // BSP node. Space is partitioned by an either vertical or horizontal line. Note that if a rect 25 bool intersects(Rect rect) override { 26 if (GetLoVal(rect) < fSplitCoord && fLo->intersects(rect)) { 29 if (GetHiVal(rect) > fSplitCoord && fHi->intersects(rect)) { 35 Node* addNonIntersecting(Rect rect, SkArenaAlloc* arena) override { 36 if (GetLoVal(rect) < fSplitCoord) { 37 fLo = fLo->addNonIntersecting(rect, arena); 39 if (GetHiVal(rect) > fSplitCoor 46 GetLoVal(const Rect& rect) GetLoVal() argument 49 GetHiVal(const Rect& rect) GetHiVal() argument 118 appendToList(Rect rect) appendToList() argument 176 Rect rect = this->loadRect(i); global() local [all...] |
/third_party/skia/src/utils/mac/ |
H A D | SkCGGeometry.h | 27 static inline bool SkCGRectIsEmpty(const CGRect& rect) { in SkCGRectIsEmpty() argument 28 return rect.size.width <= 0 || rect.size.height <= 0; in SkCGRectIsEmpty() 31 static inline CGFloat SkCGRectGetMinX(const CGRect& rect) { in SkCGRectGetMinX() argument 32 return rect.origin.x; in SkCGRectGetMinX() 35 static inline CGFloat SkCGRectGetMaxX(const CGRect& rect) { in SkCGRectGetMaxX() argument 36 return rect.origin.x + rect.size.width; in SkCGRectGetMaxX() 39 static inline CGFloat SkCGRectGetMinY(const CGRect& rect) { in SkCGRectGetMinY() argument 40 return rect in SkCGRectGetMinY() 43 SkCGRectGetMaxY(const CGRect& rect) SkCGRectGetMaxY() argument 47 SkCGRectGetWidth(const CGRect& rect) SkCGRectGetWidth() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_rect.c | 72 struct lp_rast_rectangle *rect; in lp_setup_alloc_rectangle() local 73 unsigned bytes = sizeof(*rect) + (3 * input_array_sz); in lp_setup_alloc_rectangle() 74 rect = lp_scene_alloc_aligned(scene, bytes, 16); in lp_setup_alloc_rectangle() 75 if (rect == NULL) in lp_setup_alloc_rectangle() 78 rect->inputs.stride = input_array_sz; in lp_setup_alloc_rectangle() 80 return rect; in lp_setup_alloc_rectangle() 204 const struct lp_rast_rectangle *rect, in partial() 210 assert(rect->box.x0 <= ix * TILE_SIZE); in partial() 211 assert(rect->box.y0 <= iy * TILE_SIZE); in partial() 212 assert(rect in partial() 203 partial(struct lp_setup_context *setup, const struct lp_rast_rectangle *rect, boolean opaque, unsigned ix, unsigned iy, unsigned mask) partial() argument 320 struct lp_rast_rectangle *rect = try_rect_cw() local 360 lp_setup_bin_rectangle(struct lp_setup_context *setup, struct lp_rast_rectangle *rect, boolean opaque) lp_setup_bin_rectangle() argument [all...] |
H A D | lp_rast_rect.c | 89 const struct lp_rast_rectangle *rect, in full() 94 &rect->inputs, in full() 101 const struct lp_rast_rectangle *rect, in partial() 109 full(task, rect, ix, iy); in partial() 114 &rect->inputs, in partial() 124 const struct lp_rast_rectangle *rect, in intersect_rect_and_tile() 132 assert(u_rect_test_intersection(&rect->box, box)); in intersect_rect_and_tile() 134 u_rect_find_intersection(&rect->box, box); in intersect_rect_and_tile() 151 const struct lp_rast_rectangle *rect = arg.rectangle; in lp_rast_rectangle() local 164 if (rect in lp_rast_rectangle() 88 full(struct lp_rasterizer_task *task, const struct lp_rast_rectangle *rect, unsigned ix, unsigned iy) full() argument 100 partial(struct lp_rasterizer_task *task, const struct lp_rast_rectangle *rect, unsigned ix, unsigned iy, unsigned mask) partial() argument 123 intersect_rect_and_tile(struct lp_rasterizer_task *task, const struct lp_rast_rectangle *rect, struct u_rect *box) intersect_rect_and_tile() argument [all...] |
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | gifdec.c | 119 const GIFFrameRect rect = { in GIFReadFrame() local 122 const uint64_t memory_needed = 4 * rect.width * (uint64_t)rect.height; in GIFReadFrame() 124 *gif_rect = rect; in GIFReadFrame() 127 fprintf(stderr, "Image is too large (%d x %d).", rect.width, rect.height); in GIFReadFrame() 132 if (!WebPPictureView(picture, rect.x_offset, rect.y_offset, in GIFReadFrame() 133 rect.width, rect in GIFReadFrame() 247 GIFClearPic(WebPPicture* const pic, const GIFFrameRect* const rect) GIFClearPic() argument 260 GIFDisposeFrame(GIFDisposeMethod dispose, const GIFFrameRect* const rect, const WebPPicture* const prev_canvas, WebPPicture* const curr_canvas) GIFDisposeFrame() argument 280 GIFBlendFrames(const WebPPicture* const src, const GIFFrameRect* const rect, WebPPicture* const dst) GIFBlendFrames() argument 375 GIFDisposeFrame(GIFDisposeMethod dispose, const GIFFrameRect* const rect, const struct WebPPicture* const prev_canvas, struct WebPPicture* const curr_canvas) GIFDisposeFrame() argument 385 GIFBlendFrames(const struct WebPPicture* const src, const GIFFrameRect* const rect, struct WebPPicture* const dst) GIFBlendFrames() argument 400 GIFClearPic(struct WebPPicture* const pic, const GIFFrameRect* const rect) GIFClearPic() argument [all...] |
/third_party/skia/docs/examples/ |
H A D | Rect_setXYWH.cpp | 7 SkRect rect; in REG_FIDDLE() local 8 rect.setXYWH(5, 35, -15, 25); in REG_FIDDLE() 9 SkDebugf("rect: %g, %g, %g, %g isEmpty: %s\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 10 rect.bottom(), rect.isEmpty() ? "true" : "false"); in REG_FIDDLE() 11 rect.sort(); in REG_FIDDLE() 12 SkDebugf("rect in REG_FIDDLE() [all...] |
H A D | Rect_setWH.cpp | 7 SkRect rect; in REG_FIDDLE() local 8 rect.setWH(-15, 25); in REG_FIDDLE() 9 SkDebugf("rect: %g, %g, %g, %g isEmpty: %s\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 10 rect.bottom(), rect.isEmpty() ? "true" : "false"); in REG_FIDDLE() 11 rect.sort(); in REG_FIDDLE() 12 SkDebugf("rect in REG_FIDDLE() [all...] |
H A D | Rect_makeOffset.cpp | 7 SkRect rect = { 10, 50, 20, 60 }; in REG_FIDDLE() local 8 SkDebugf("rect: %g, %g, %g, %g isEmpty: %s\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 9 rect.bottom(), rect.isEmpty() ? "true" : "false"); in REG_FIDDLE() 10 rect = rect.makeOffset(15, 32); in REG_FIDDLE() 11 SkDebugf("rect in REG_FIDDLE() [all...] |
H A D | Rect_makeOutset.cpp | 7 SkRect rect = { 10, 50, 20, 60 }; in REG_FIDDLE() local 8 SkDebugf("rect: %g, %g, %g, %g isEmpty: %s\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 9 rect.bottom(), rect.isEmpty() ? "true" : "false"); in REG_FIDDLE() 10 rect = rect.makeOutset(15, 32); in REG_FIDDLE() 11 SkDebugf("rect in REG_FIDDLE() [all...] |
H A D | Rect_makeInset.cpp | 7 SkRect rect = { 10, 50, 20, 60 }; in REG_FIDDLE() local 8 SkDebugf("rect: %g, %g, %g, %g isEmpty: %s\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 9 rect.bottom(), rect.isEmpty() ? "true" : "false"); in REG_FIDDLE() 10 rect = rect.makeInset(15, 32); in REG_FIDDLE() 11 SkDebugf("rect in REG_FIDDLE() [all...] |
H A D | IRect_setXYWH.cpp | 7 SkIRect rect; in REG_FIDDLE() local 8 rect.setXYWH(5, 35, -15, 25); in REG_FIDDLE() 9 SkDebugf("rect: %d, %d, %d, %d isEmpty: %s\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 10 rect.bottom(), rect.isEmpty() ? "true" : "false"); in REG_FIDDLE() 11 rect.sort(); in REG_FIDDLE() 12 SkDebugf("rect in REG_FIDDLE() [all...] |
H A D | IRect_makeOffset.cpp | 7 SkIRect rect = { 10, 50, 20, 60 }; in REG_FIDDLE() local 8 SkDebugf("rect: %d, %d, %d, %d isEmpty: %s\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 9 rect.bottom(), rect.isEmpty() ? "true" : "false"); in REG_FIDDLE() 10 rect = rect.makeOffset(15, 32); in REG_FIDDLE() 11 SkDebugf("rect in REG_FIDDLE() [all...] |
H A D | IRect_makeOutset.cpp | 7 SkIRect rect = { 10, 50, 20, 60 }; in REG_FIDDLE() local 8 SkDebugf("rect: %d, %d, %d, %d isEmpty: %s\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 9 rect.bottom(), rect.isEmpty() ? "true" : "false"); in REG_FIDDLE() 10 rect = rect.makeOutset(15, 32); in REG_FIDDLE() 11 SkDebugf("rect in REG_FIDDLE() [all...] |
H A D | IRect_makeInset.cpp | 7 SkIRect rect = { 10, 50, 20, 60 }; in REG_FIDDLE() local 8 SkDebugf("rect: %d, %d, %d, %d isEmpty: %s\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 9 rect.bottom(), rect.isEmpty() ? "true" : "false"); in REG_FIDDLE() 10 rect = rect.makeInset(15, 32); in REG_FIDDLE() 11 SkDebugf("rect in REG_FIDDLE() [all...] |
H A D | Rect_isEmpty.cpp | 8 for (auto rect : tests) { in REG_FIDDLE() 9 SkDebugf("rect: {%g, %g, %g, %g} is" "%s empty\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 10 rect.bottom(), rect.isEmpty() ? "" : " not"); in REG_FIDDLE() 11 rect.sort(); in REG_FIDDLE() 12 SkDebugf("sorted: {%g, %g, %g, %g} is" "%s empty\n", rect.left(), rect in REG_FIDDLE() [all...] |
H A D | Rect_MakeXYWH.cpp | 7 SkRect rect = SkRect::MakeXYWH(5, 35, -15, 25); in REG_FIDDLE() local 8 SkDebugf("rect: %g, %g, %g, %g isEmpty: %s\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 9 rect.bottom(), rect.isEmpty() ? "true" : "false"); in REG_FIDDLE() 10 rect.sort(); in REG_FIDDLE() 11 SkDebugf("rect: %g, %g, %g, %g isEmpty: %s\n", rect in REG_FIDDLE() [all...] |
H A D | Rect_MakeLTRB.cpp | 7 SkRect rect = SkRect::MakeLTRB(5, 35, 15, 25); in REG_FIDDLE() local 8 SkDebugf("rect: %g, %g, %g, %g isEmpty: %s\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 9 rect.bottom(), rect.isEmpty() ? "true" : "false"); in REG_FIDDLE() 10 rect.sort(); in REG_FIDDLE() 11 SkDebugf("rect: %g, %g, %g, %g isEmpty: %s\n", rect in REG_FIDDLE() [all...] |
H A D | Rect_isSorted.cpp | 8 for (auto rect : tests) { in REG_FIDDLE() 9 SkDebugf("rect: {%g, %g, %g, %g} is" "%s sorted\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 10 rect.bottom(), rect.isSorted() ? "" : " not"); in REG_FIDDLE() 11 rect.sort(); in REG_FIDDLE() 12 SkDebugf("sorted: {%g, %g, %g, %g} is" "%s sorted\n", rect.left(), rect in REG_FIDDLE() [all...] |
H A D | IRect_MakeLTRB.cpp | 7 SkIRect rect = SkIRect::MakeLTRB(5, 35, 15, 25); in REG_FIDDLE() local 8 SkDebugf("rect: %d, %d, %d, %d isEmpty: %s\n", rect.left(), rect.top(), rect.right(), in REG_FIDDLE() 9 rect.bottom(), rect.isEmpty() ? "true" : "false"); in REG_FIDDLE() 10 rect.sort(); in REG_FIDDLE() 11 SkDebugf("rect: %d, %d, %d, %d isEmpty: %s\n", rect in REG_FIDDLE() [all...] |