/third_party/ffmpeg/libavcodec/ |
H A D | audio_frame_queue.h | 28 int64_t pts; member 69 * Retrieves the pts of the next available frame, or a generated pts based on 77 * @param[out] pts output packet pts 80 void ff_af_queue_remove(AudioFrameQueue *afq, int nb_samples, int64_t *pts,
|
H A D | libvo-amrwbenc.c | 135 if (frame->pts != AV_NOPTS_VALUE) in amr_wb_encode_frame() 136 avpkt->pts = frame->pts - ff_samples_to_time_base(avctx, avctx->initial_padding); in amr_wb_encode_frame()
|
H A D | libwebpenc_animencoder.c | 37 int64_t first_frame_pts; // pts of the first encoded frame. 80 pkt->pts = pkt->dts = s->first_frame_pts; in libwebp_anim_encode_frame() 100 avctx->time_base.num * frame->pts * 1000 / avctx->time_base.den; in libwebp_anim_encode_frame() 111 s->first_frame_pts = frame->pts; in libwebp_anim_encode_frame()
|
/third_party/skia/src/gpu/ops/ |
H A D | DashOp.h | 30 const SkPoint pts[2], 34 bool CanDrawDashLine(const SkPoint pts[2], const GrStyle& style, const SkMatrix& viewMatrix);
|
/third_party/skia/gm/ |
H A D | crbug_1073670.cpp | 16 SkPoint pts[] = {{0, 0}, {0, 250}}; in DEF_SIMPLE_GM() local 18 auto sh = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkTileMode::kClamp); in DEF_SIMPLE_GM()
|
H A D | shadermaskfilter.cpp | 44 const SkPoint pts[] = { in make_shader() local 48 return SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkTileMode::kRepeat); in make_shader()
|
/third_party/skia/docs/examples/ |
H A D | IRect_contains.cpp | 8 SkIPoint pts[] = { { 30, 50}, { 40, 50}, { 30, 60} }; in REG_FIDDLE() local 9 for (auto pt : pts) { in REG_FIDDLE()
|
H A D | draw_patch.cpp | 12 const SkPoint pts[] = {{100.f / 4.f, 0.f}, {3.f * 100.f / 4.f, 100.f}}; in REG_FIDDLE() local 13 p.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in REG_FIDDLE()
|
/kernel/linux/linux-5.10/drivers/char/pcmcia/ |
H A D | cm4000_cs.c | 139 unsigned char pts[4]; member 468 dev->pts[0] = 0xff; in set_protocol() 469 dev->pts[1] = 0x00; in set_protocol() 472 dev->pts[1]++; in set_protocol() 473 dev->proto = dev->pts[1]; /* Set new protocol */ in set_protocol() 474 dev->pts[1] = (0x01 << 4) | (dev->pts[1]); in set_protocol() 479 dev->pts[2] = fi_di_table[dev->ta1 & 0x0F][(dev->ta1 >> 4) & 0x0F]; in set_protocol() 482 dev->pts[3] = dev->pts[ in set_protocol() [all...] |
/third_party/skia/tools/fonts/ |
H A D | TestSVGTypeface.cpp | 1095 SkPoint* pts = quads->push_back_n(3); in convert_noninflect_cubic_to_quads() local 1096 pts[0] = p[0]; in convert_noninflect_cubic_to_quads() 1097 pts[1] = cAvg; in convert_noninflect_cubic_to_quads() 1098 pts[2] = p[3]; in convert_noninflect_cubic_to_quads() 1127 for (auto [verb, pts, w] : SkPathPriv::Iterate(path)) { in path_to_quads() 1129 case SkPathVerb::kMove: quadPath->moveTo(pts[0].fX, pts[0].fY); break; in path_to_quads() 1130 case SkPathVerb::kLine: quadPath->lineTo(pts[1].fX, pts[1].fY); break; in path_to_quads() 1132 quadPath->quadTo(pts[ in path_to_quads() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | segment.c | 889 ff_dlog(s, "packet stream:%d pts:%s pts_time:%s duration_time:%s is_key:%d frame:%d\n", in seg_write_packet() 890 pkt->stream_index, av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, &st->time_base), in seg_write_packet() 899 (pkt->pts != AV_NOPTS_VALUE && in seg_write_packet() 900 av_compare_ts(pkt->pts, st->time_base, in seg_write_packet() 904 seg->cur_entry.end_time = (double)pkt->pts * av_q2d(st->time_base); in seg_write_packet() 914 seg->cur_entry.start_time = (double)pkt->pts * av_q2d(st->time_base); in seg_write_packet() 915 seg->cur_entry.start_pts = av_rescale_q(pkt->pts, st->time_base, AV_TIME_BASE_Q); in seg_write_packet() 923 if (pkt->pts != AV_NOPTS_VALUE) in seg_write_packet() 925 FFMAX(seg->cur_entry.end_time, (double)(pkt->pts in seg_write_packet() [all...] |
H A D | oggenc.c | 422 // OggVP8 requires pts to increase by 1 per visible frame, so use the least common in ogg_build_vp8_headers() 642 int64_t pts = oggstream->vrev < 1 ? pkt->pts : pkt->pts + pkt->duration; in ogg_write_packet_internal() local 645 oggstream->last_kf_pts = pts; in ogg_write_packet_internal() 646 pframe_count = pts - oggstream->last_kf_pts; in ogg_write_packet_internal() 654 granule = pkt->pts + pkt->duration + in ogg_write_packet_internal() 659 int64_t pts, invcnt, dist; in ogg_write_packet_internal() local 663 pts = pkt->pts in ogg_write_packet_internal() [all...] |
H A D | ape.c | 48 int64_t pts; member 151 int64_t pts, file_size; in ape_read_header() local 352 pts = 0; in ape_read_header() 354 ape->frames[i].pts = pts; in ape_read_header() 355 av_add_index_entry(st, ape->frames[i].pos, ape->frames[i].pts, 0, 0, AVINDEX_KEYFRAME); in ape_read_header() 356 pts += ape->blocksperframe; in ape_read_header() 410 pkt->pts = ape->frames[ape->currentframe].pts; in ape_read_packet()
|
H A D | mpeg.c | 230 * (if not NULL), and its start code, pts and dts. 239 int64_t pts, dts; in mpegps_read_pes_header() local 359 pts = in mpegps_read_pes_header() 381 pts = get_pts(s->pb, c); in mpegps_read_pes_header() 396 dts = pts = get_pts(s->pb, -1); in mpegps_read_pes_header() 474 *ppts = pts; in mpegps_read_pes_header() 490 int64_t pts, dts, dummy_pos; // dummy_pos is needed for the index building to work in mpegps_read_packet() local 493 len = mpegps_read_pes_header(s, &dummy_pos, &startcode, &pts, &dts); in mpegps_read_packet() 646 pkt->pts = pts; in mpegps_read_packet() 663 int64_t pos, pts, dts; mpegps_read_dts() local 965 int64_t pts, dts; vobsub_read_packet() local [all...] |
H A D | ivfenc.c | 86 avio_wl64(pb, pkt->pts); in ivf_write_packet() 89 ctx->sum_delta_pts += pkt->pts - ctx->last_pts; in ivf_write_packet() 92 ctx->last_pts = pkt->pts; in ivf_write_packet()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_signature.c | 191 fs->pts = picref->pts; in filter_frame() 416 fprintf(f, " <EndMediaTimeOfSpatialRegion>%" PRIu64 "</EndMediaTimeOfSpatialRegion>\n", sc->coarseend->last->pts); in xml_export() 425 fprintf(f, " <StartMediaTimeOfSegment>%" PRIu64 "</StartMediaTimeOfSegment>\n", cs->first->pts); in xml_export() 426 fprintf(f, " <EndMediaTimeOfSegment>%" PRIu64 "</EndMediaTimeOfSegment>\n", cs->last->pts); in xml_export() 456 fprintf(f, " <MediaTimeOfFrame>%" PRIu64 "</MediaTimeOfFrame>\n", fs->pts); in xml_export() 529 put_bits32(&buf, 0xFFFFFFFF & sc->coarseend->last->pts); /* EndMediaTimeOfSpatialRegion */ in binary_export() 536 put_bits32(&buf, 0xFFFFFFFF & cs->first->pts); /* StartMediaTimeOfSegment */ in binary_export() 537 put_bits32(&buf, 0xFFFFFFFF & cs->last->pts); /* EndMediaTimeOfSegment */ in binary_export() 550 put_bits32(&buf, 0xFFFFFFFF & fs->pts); /* MediaTimeOfFram in binary_export() [all...] |
H A D | split.c | 71 int64_t pts; in activate() local 102 if (ff_inlink_acknowledge_status(inlink, &status, &pts)) { in activate() 106 ff_outlink_set_status(ctx->outputs[i], status, pts); in activate()
|
H A D | vf_blackframe.c | 82 av_log(ctx, AV_LOG_INFO, "frame:%u pblack:%u pts:%"PRId64" t:%f " in filter_frame() 84 s->frame, pblack, frame->pts, in filter_frame() 85 frame->pts == AV_NOPTS_VALUE ? -1 : frame->pts * av_q2d(inlink->time_base), in filter_frame()
|
/third_party/skia/src/pathops/ |
H A D | SkReduceOrder.h | 27 static SkPath::Verb Cubic(const SkPoint pts[4], SkPoint* reducePts); 28 static SkPath::Verb Quad(const SkPoint pts[3], SkPoint* reducePts);
|
/third_party/skia/tests/ |
H A D | PathOpsDLineTest.cpp | 27 SkPoint pts[2] = {line[0].asSkPoint(), line[1].asSkPoint()}; in DEF_TEST() local 28 line2.set(pts); in DEF_TEST()
|
/third_party/skia/bench/ |
H A D | GrPathUtilsBench.cpp | 13 FindCubicConvex180Chops(const std::array<SkPoint,4>& pts, const char* suffix) : fPts(pts) { in FindCubicConvex180Chops() argument
|
/third_party/skia/modules/canvaskit/ |
H A D | canvaskit_bindings.cpp | 378 for (auto [verb, pts, w] : SkPathPriv::Iterate(path)) { in ToCmds() 381 cmds.insert(cmds.end(), {MOVE, pts[0].x(), pts[0].y()}); in ToCmds() 384 cmds.insert(cmds.end(), {LINE, pts[1].x(), pts[1].y()}); in ToCmds() 387 cmds.insert(cmds.end(), {QUAD, pts[1].x(), pts[1].y(), pts[2].x(), pts[2].y()}); in ToCmds() 391 pts[ in ToCmds() 470 const float* pts = reinterpret_cast<const float*>(ptsPtr); PathAddVerbsPointsWeights() local [all...] |
/third_party/skia/samplecode/ |
H A D | SamplePatch.cpp | 41 SkPoint pts[] = { { 0, 0, }, in make_shader1() local 44 return SkGradientShader::MakeLinear(pts, colors, nullptr, in make_shader1() 53 void setPatch(const SkPoint pts[12]) { in setPatch() argument 54 memcpy(fPts, pts, 12 * sizeof(SkPoint)); in setPatch() 55 fPts[12] = pts[0]; // the last shall be first in setPatch() 333 SkTDArray<SkPoint> pts; in make_verts() local 341 SkPoint* dst = pts.append(2); in make_verts() 345 int vertCount = pts.count(); in make_verts() 350 memcpy(builder.positions(), pts.begin(), vertCount * sizeof(SkPoint)); in make_verts()
|
/third_party/skia/src/core/ |
H A D | SkDraw.cpp | 342 const SkPoint pts[], const SkPaint& paint, in drawPoints() 353 SkASSERT(pts != nullptr); in drawPoints() 377 ctm.mapPoints(devPts, pts, n); in drawPoints() 382 pts += n - backup; in drawPoints() 402 SkRect r = SkRect::MakeLTRB(pts[i].fX - radius, pts[i].fY - radius, in drawPoints() 403 pts[i].fX + radius, pts[i].fY + radius); in drawPoints() 412 preMatrix.setTranslate(pts[i].fX, pts[ in drawPoints() 341 drawPoints(SkCanvas::PointMode mode, size_t count, const SkPoint pts[], const SkPaint& paint, SkBaseDevice* device) const drawPoints() argument [all...] |
H A D | SkScan_Antihair.cpp | 331 values are huge. A better fix might be to clip the original pts 563 SkPoint pts[2]; 567 if (!SkLineClipper::IntersectLine(&array[i], fixedBounds, pts)) { 571 if (clip && !SkLineClipper::IntersectLine(pts, clipBounds, pts)) { 575 SkFDot6 x0 = SkScalarToFDot6(pts[0].fX); 576 SkFDot6 y0 = SkScalarToFDot6(pts[0].fY); 577 SkFDot6 x1 = SkScalarToFDot6(pts[1].fX); 578 SkFDot6 y1 = SkScalarToFDot6(pts[1].fY); 613 SkPoint pts[ [all...] |