/third_party/skia/modules/svg/src/ |
H A D | SkSVGLinearGradient.cpp | 37 const SkPoint pts[2] = { {x1, y1}, {x2, y2}}; in onMakeShader() local 39 return SkGradientShader::MakeLinear(pts, colors, nullptr, pos, count, tm, 0, &localMatrix); in onMakeShader()
|
/third_party/skia/docs/examples/ |
H A D | SKIA_LOGO_svg.cpp | 54 const SkPoint pts[2] = {{160, 290}, {341, 290}}; in REG_FIDDLE() local 56 pts, lineColors, NULL, 2, SkTileMode::kClamp)); in REG_FIDDLE()
|
H A D | GradientShader_MakeLinear.cpp | 24 SkPoint pts[] = { {blockX, blockY}, {blockX + 50, blockY + 100} }; in REG_FIDDLE() local 39 pts, colors, positions, 3, SkTileMode::kMirror, in REG_FIDDLE()
|
/third_party/skia/gm/ |
H A D | crbug_1174186.cpp | 23 SkPoint pts[] = {{SkBits2Float(0x3f7ffff2), SkBits2Float(0x43483d60)}, in DEF_SIMPLE_GM() local 34 canvas->experimental_DrawEdgeAAQuad(SkRect::MakeWH(1000, 1000), pts, aaFlags, color, in DEF_SIMPLE_GM()
|
H A D | pixelsnap.cpp | 178 const SkPoint pts[] = { 182 canvas->drawPoints(SkCanvas::kPoints_PointMode, SK_ARRAY_COUNT(pts), pts, paint);
|
/third_party/skia/tests/ |
H A D | GrStyledShapeTest.cpp | 209 SkPoint pts[4] {{0, 0,}, {0, 0}, {0, 0}, {0, 0}} ; in check_equivalence() 211 REPORTER_ASSERT(r, a.asLine(pts, &invertedLine[0]) == b.asLine(pts + 2, &invertedLine[1])); in check_equivalence() 222 REPORTER_ASSERT(r, pts[2] == pts[0] && pts[3] == pts[1]); in check_equivalence() 480 SkPoint pts[2]; in isAxisAlignedLine() local 481 if (!fPath.isLine(pts)) { in isAxisAlignedLine() 484 return pts[ in isAxisAlignedLine() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_estdif.c | 51 int64_t pts; member 448 out->pts = s->pts; in filter() 506 s->prev->pts *= 2; in filter_frame() 512 s->pts = s->prev->pts * 2; in filter_frame() 520 s->pts = s->prev->pts + in->pts; in filter_frame() 544 next->pts in request_frame() [all...] |
H A D | avf_showfreqs.c | 73 int64_t pts; member 377 static int plot_freqs(AVFilterLink *inlink, int64_t pts) in plot_freqs() argument 409 s->pts = av_rescale_q(pts, inlink->time_base, outlink->time_base); in plot_freqs() 410 if (s->old_pts >= s->pts) in plot_freqs() 412 s->old_pts = s->pts; in plot_freqs() 471 out->pts = s->pts; in plot_freqs() 481 int64_t pts = in->pts; in filter_frame() local [all...] |
H A D | internal.h | 242 void ff_update_link_current_pts(AVFilterLink *link, int64_t pts); 246 * The pts should reflect the timestamp of the status change, 251 void ff_avfilter_link_set_in_status(AVFilterLink *link, int status, int64_t pts); 255 * The pts should probably be left unset (AV_NOPTS_VALUE). 257 void ff_avfilter_link_set_out_status(AVFilterLink *link, int status, int64_t pts);
|
H A D | vf_dejudder.c | 126 int64_t next_pts = frame->pts; in filter_frame() 151 frame->pts = s->new_pts; in filter_frame() 155 av_log(ctx, AV_LOG_DEBUG, "next=%"PRId64", new=%"PRId64"\n", next_pts, frame->pts); in filter_frame()
|
/foundation/barrierfree/accessibility/services/test/mock/ |
H A D | mock_aams_accessibility_touch_guider.cpp | 281 bool MockAamsTouchGuideTest::OneFingerTapAndTwoFingerTapEventProduce(std::vector<MMI::PointerEvent::PointerItem> &pts, in OneFingerTapAndTwoFingerTapEventProduce() argument 292 pts.clear(); in OneFingerTapAndTwoFingerTapEventProduce() 293 pts.emplace_back(point1); in OneFingerTapAndTwoFingerTapEventProduce() 294 event = CreateTouchEvent(MMI::PointerEvent::POINTER_ACTION_DOWN, pts, 0, 0, POINT_ID_0); in OneFingerTapAndTwoFingerTapEventProduce() 297 event = CreateTouchEvent(MMI::PointerEvent::POINTER_ACTION_UP, pts, 0, 0, POINT_ID_0); in OneFingerTapAndTwoFingerTapEventProduce() 304 event = CreateTouchEvent(MMI::PointerEvent::POINTER_ACTION_DOWN, pts, TAP_TIME_INTERVAL, 0, POINT_ID_0); in OneFingerTapAndTwoFingerTapEventProduce() 307 pts.emplace_back(point2); in OneFingerTapAndTwoFingerTapEventProduce() 308 event = CreateTouchEvent(MMI::PointerEvent::POINTER_ACTION_DOWN, pts, TAP_TIME_INTERVAL, 0, POINT_ID_1); in OneFingerTapAndTwoFingerTapEventProduce() 311 event = CreateTouchEvent(MMI::PointerEvent::POINTER_ACTION_MOVE, pts, 0, 0, POINT_ID_0); in OneFingerTapAndTwoFingerTapEventProduce() 314 event = CreateTouchEvent(MMI::PointerEvent::POINTER_ACTION_UP, pts, in OneFingerTapAndTwoFingerTapEventProduce() 325 TwoFingerTapAndOneFingerTapEventProduce(std::vector<MMI::PointerEvent::PointerItem> &pts, MMI::PointerEvent::PointerItem point1, MMI::PointerEvent::PointerItem point2) TwoFingerTapAndOneFingerTapEventProduce() argument [all...] |
/third_party/ffmpeg/fftools/ |
H A D | ffplay.c | 144 double pts; /* clock base */ member 158 double pts; /* presentation timestamp for the frame */ member 591 frame->pts = frame->best_effort_timestamp; in decoder_decode_frame() 593 frame->pts = frame->pkt_dts; in decoder_decode_frame() 601 if (frame->pts != AV_NOPTS_VALUE) in decoder_decode_frame() 602 frame->pts = av_rescale_q(frame->pts, d->avctx->pkt_timebase, tb); in decoder_decode_frame() 604 frame->pts = av_rescale_q(d->next_pts, d->next_pts_tb, tb); in decoder_decode_frame() 605 if (frame->pts != AV_NOPTS_VALUE) { in decoder_decode_frame() 606 d->next_pts = frame->pts in decoder_decode_frame() 1375 set_clock_at(Clock *c, double pts, int serial, double time) set_clock_at() argument 1383 set_clock(Clock *c, double pts, int serial) set_clock() argument 1556 update_video_pts(VideoState *is, double pts, int64_t pos, int serial) update_video_pts() argument 1732 queue_picture(VideoState *is, AVFrame *src_frame, double pts, double duration, int64_t pos, int serial) queue_picture() argument 2120 double pts; video_thread() local 2228 double pts; subtitle_thread() local [all...] |
/third_party/ffmpeg/doc/examples/ |
H A D | encode_video.c | 46 printf("Send frame %3"PRId64"\n", frame->pts); in encode() 63 printf("Write packet %3"PRId64" (size=%5d)\n", pkt->pts, pkt->size); in encode() 192 frame->pts = i; in main()
|
/third_party/ffmpeg/libavcodec/ |
H A D | roqaudioenc.c | 141 context->first_pts = frame->pts; in roq_dpcm_encode_frame() 179 avpkt->pts = context->input_frames <= 7 ? context->first_pts : frame->pts; in roq_dpcm_encode_frame()
|
/third_party/ffmpeg/libavformat/ |
H A D | oggparsevp8.c | 86 // If page granule is that of an invisible vp8 frame, its pts will be in vp8_gptopts() 88 // to prevent messing up pts calculations. in vp8_gptopts() 89 uint64_t pts = (granule >> 32) - invcnt; in vp8_gptopts() local 96 *dts = pts; in vp8_gptopts() 98 return pts; in vp8_gptopts()
|
/third_party/ffmpeg/tests/api/ |
H A D | api-h264-test.c | 125 if (pkt->pts == AV_NOPTS_VALUE) in video_decode_example() 126 pkt->pts = pkt->dts = i; in video_decode_example() 157 av_ts2str(fr->pts), av_ts2str(fr->pkt_dts), fr->pkt_duration, in video_decode_example()
|
/third_party/skia/src/gpu/tessellate/ |
H A D | MiddleOutPolygonTriangulator.h | 217 switch (auto [verb, pts, w] = *fPathIter++; verb) { in nextStack() 220 return fMiddleOut.closeAndMove(pts[0]); in nextStack() 225 pt = pts[SkPathPriv::PtsInIter((unsigned)verb) - 1]; in nextStack()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_decoder/ |
H A D | audio_ffmpeg_decoder_plugin.cpp | 527 avPacket_->pts = inputBuffer->pts; in SendBufferLocked() 569 ioInfo->pts = static_cast<uint64_t>(cachedFrame_->pts); in ReceiveFrameSucc() 575 Each BufferGroup has a pts, it's the pts of the first buffer in group. 576 We should calculate the other buffer's pts. 597 if (cachedFrame_->pts != AV_NOPTS_VALUE) { in ReceiveBufferLocked() 599 curBufferGroupPts_ = cachedFrame_->pts; in ReceiveBufferLocked() 610 cachedFrame_->pts in ReceiveBufferLocked() [all...] |
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_encoder/ |
H A D | video_ffmpeg_encoder_plugin.cpp | 429 cachedFrame_->pts = ConvertTimeToFFmpeg( in FillAvFrame() 430 static_cast<uint64_t>(HstTime2Us(inputBuffer->pts)) / avCodecContext_->ticks_per_frame, in FillAvFrame() 432 MEDIA_LOG_D("hst pts: " PUBLIC_LOG_U64 " ns, ffmpeg pts: " PUBLIC_LOG_D64 in FillAvFrame() 434 inputBuffer->pts, cachedFrame_->pts, avCodecContext_->time_base.den, avCodecContext_->time_base.num); in FillAvFrame() 479 packetBuffer->pts = in FillFrameBuffer() 480 static_cast<int64_t>(ConvertTimeFromFFmpeg(cachedPacket_->pts, avCodecContext_->time_base)); in FillFrameBuffer() 488 MEDIA_LOG_D("receive one pkt, hst pts: " PUBLIC_LOG_U64 " ns, ffmpeg pts in FillFrameBuffer() [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderpreapidescription_fuzzer/ |
H A D | audiodecoderdemo.cpp | 155 info.pts = 0; in PushInputData() 166 info.pts = 0; in PushInputDataEOS() 473 info.pts = 0; in HandleInputEOS() 480 int32_t ADecDemoAuto::HandleNormalInput(const uint32_t& index, const int64_t pts, const size_t size) in HandleNormalInput() argument 485 info.pts = pts; in HandleNormalInput() 516 int64_t pts = 0; in InputFunc() 537 int32_t ret = HandleNormalInput(index, pts, currentSize); in InputFunc()
|
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderpreapiflush_fuzzer/ |
H A D | audiodecoderdemo.cpp | 155 info.pts = 0; in PushInputData() 166 info.pts = 0; in PushInputDataEOS() 473 info.pts = 0; in HandleInputEOS() 480 int32_t ADecDemoAuto::HandleNormalInput(const uint32_t& index, const int64_t pts, const size_t size) in HandleNormalInput() argument 485 info.pts = pts; in HandleNormalInput() 516 int64_t pts = 0; in InputFunc() 537 int32_t ret = HandleNormalInput(index, pts, currentSize); in InputFunc()
|
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderpreapireset_fuzzer/ |
H A D | audiodecoderdemo.cpp | 155 info.pts = 0; in PushInputData() 166 info.pts = 0; in PushInputDataEOS() 473 info.pts = 0; in HandleInputEOS() 480 int32_t ADecDemoAuto::HandleNormalInput(const uint32_t& index, const int64_t pts, const size_t size) in HandleNormalInput() argument 485 info.pts = pts; in HandleNormalInput() 516 int64_t pts = 0; in InputFunc() 537 int32_t ret = HandleNormalInput(index, pts, currentSize); in InputFunc()
|
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderpreapisetparameter_fuzzer/ |
H A D | audiodecoderdemo.cpp | 155 info.pts = 0; in PushInputData() 166 info.pts = 0; in PushInputDataEOS() 470 info.pts = 0; in HandleInputEOS() 477 int32_t ADecDemoAuto::HandleNormalInput(const uint32_t& index, const int64_t pts, const size_t size) in HandleNormalInput() argument 482 info.pts = pts; in HandleNormalInput() 513 int64_t pts = 0; in InputFunc() 534 int32_t ret = HandleNormalInput(index, pts, currentSize); in InputFunc()
|
/foundation/multimedia/av_codec/test/nativedemo/avmuxer/ |
H A D | avmuxer_demo_base.cpp | 321 int64_t pts = 0; in ReadSampleDataInfo() local 327 file->read(reinterpret_cast<char*>(&pts), sizeof(pts)); in ReadSampleDataInfo() 347 buffer->pts_ = pts; in ReadSampleDataInfo() 356 int64_t pts = 0; in ReadSampleDataInfoByBufferQueue() local 362 file->read(reinterpret_cast<char*>(&pts), sizeof(pts)); in ReadSampleDataInfoByBufferQueue() 385 buffer->pts_ = pts; in ReadSampleDataInfoByBufferQueue()
|
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderpreapi_fuzzer/ |
H A D | audiodecoderdemo.cpp | 155 info.pts = 0; in PushInputData() 166 info.pts = 0; in PushInputDataEOS() 470 info.pts = 0; in HandleInputEOS() 477 int32_t ADecDemoAuto::HandleNormalInput(const uint32_t& index, const int64_t pts, const size_t size) in HandleNormalInput() argument 482 info.pts = pts; in HandleNormalInput() 513 int64_t pts = 0; in InputFunc() 534 int32_t ret = HandleNormalInput(index, pts, currentSize); in InputFunc()
|