Home
last modified time | relevance | path

Searched refs:pts2 (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/gm/
H A Dstrokes.cpp264 SkPoint pts2[3]; in DEF_SIMPLE_GM() local
265 memcpy(pts2, pts, sizeof(pts)); in DEF_SIMPLE_GM()
267 pts2[0].fX += tangent.fX * capOutset; in DEF_SIMPLE_GM()
268 pts2[0].fY += tangent.fY * capOutset; in DEF_SIMPLE_GM()
269 pts2[1].fX += tangent.fX * capOutset; in DEF_SIMPLE_GM()
270 pts2[1].fY += tangent.fY * capOutset; in DEF_SIMPLE_GM()
271 pts2[2].fX += -tangent.fX * capOutset; in DEF_SIMPLE_GM()
272 pts2[2].fY += -tangent.fY * capOutset; in DEF_SIMPLE_GM()
273 path.moveTo(pts2[0]); in DEF_SIMPLE_GM()
274 path.quadTo(pts2[ in DEF_SIMPLE_GM()
[all...]
H A Dperspshaders.cpp65 SkPoint pts2[] = { variable
76 fLinearGrad2 = SkGradientShader::MakeLinear(pts2, colors, pos, SK_ARRAY_COUNT(colors),
H A Dpictureimagegenerator.cpp97 const SkPoint pts2[] = { SkPoint::Make(iBox.x() - iBox.width() * kGradientPad, 0), in draw_vector_logo() local
111 paint.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos2, SK_ARRAY_COUNT(pos2), in draw_vector_logo()
H A Ddrawimageset.cpp60 SkPoint pts2[] = {{0.f, (SkScalar)h}, {(SkScalar)w, 0.f}}; in make_image_tiles() local
61 grad = SkGradientShader::MakeLinear(pts2, colors + 2, nullptr, 2, SkTileMode::kClamp); in make_image_tiles()
H A Dgradients.cpp917 SkPoint pts2[] = { { 0, kTileSize }, { kTileSize, 0 }}; in DEF_SIMPLE_GM()
918 p.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos, SK_ARRAY_COUNT(colors2), in DEF_SIMPLE_GM()
/third_party/skia/tests/
H A DGradientTest.cpp351 const SkPoint pts2[] = { SkPoint::Make(10000.99f, 1000000), SkPoint::Make(10001, 1000001) }; in test_clamping_overflow() local
352 p.setShader(SkGradientShader::MakeLinear(pts2, colors, nullptr, 2, SkTileMode::kClamp)); in test_clamping_overflow()
H A DReadWritePixelsGpuTest.cpp205 SkPoint pts2[] = {{float(info.width()), 0}, {0, float(info.height())}}; in make_ref_data() local
207 paint.setShader(SkGradientShader::MakeLinear(pts2, kColors2, nullptr, 2, SkTileMode::kClamp)); in make_ref_data()
H A DPathOpsOpTest.cpp3879 SkPoint pts2[] = { {0,3}, {1,2}, {6,5}, {6,4} }; in cubicOp130a() local
3880 complex_to_quads(pts2, &path); in cubicOp130a()
/third_party/ffmpeg/fftools/
H A Dffmpeg.c284 int64_t pts2; in sub2video_heartbeat() local
296 pts2 = av_rescale_q(pts, ist->st->time_base, ist2->st->time_base) - 1; in sub2video_heartbeat()
298 if (pts2 <= ist2->sub2video.last_pts) in sub2video_heartbeat()
300 if (pts2 >= ist2->sub2video.end_pts || ist2->sub2video.initialize) in sub2video_heartbeat()
304 sub2video_update(ist2, pts2 + 1, NULL); in sub2video_heartbeat()
308 sub2video_push_ref(ist2, pts2); in sub2video_heartbeat()

Completed in 35 milliseconds