/third_party/ffmpeg/tools/ |
H A D | seek_print.c | 85 printf("read: %d size=%d stream=%d dts=%s (%s) pts=%s (%s)\n", in main() 88 av_ts2str(packet.pts), av_ts2timestr(packet.pts, tb)); in main()
|
/third_party/skia/src/gpu/tessellate/ |
H A D | AffineMatrix.h | 39 SK_ALWAYS_INLINE float4 map2Points(const SkPoint pts[2]) const { in map2Points() 40 return this->map2Points(float4::Load(pts)); in map2Points()
|
/third_party/skia/docs/examples/ |
H A D | blur4444.cpp | 49 static constexpr SkPoint pts[]{{0.5, 0}, {256.5, 0}}; in REG_FIDDLE() 50 auto grd = SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkTileMode::kClamp); in REG_FIDDLE()
|
/third_party/skia/gm/ |
H A D | alphagradients.cpp | 37 SkPoint pts[] = { { r.fLeft, r.fTop }, { r.fRight, r.fBottom } }; in draw_grad() local 40 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, in draw_grad()
|
H A D | cgm.c | 29 sk_point_t pts[] = { { 0, 0 }, { W, H } }; in make_shader() local 31 return sk_shader_new_linear_gradient(pts, colors, NULL, 2, CLAMP_SK_SHADER_TILEMODE, NULL); in make_shader()
|
H A D | arithmode.cpp | 38 SkPoint pts[] = { {0, 0}, {SkIntToScalar(w), SkIntToScalar(h)} }; in make_src() local 43 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in make_src() 54 SkPoint pts[] = { {0, SkIntToScalar(h)}, {SkIntToScalar(w), 0} }; in make_dst() local 59 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in make_dst()
|
H A D | tilemodes_scaled.cpp | 41 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(w), SkIntToScalar(h)} }; in makebm() local 47 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, in makebm() 175 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; in make_grad() local 183 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), tx); in make_grad()
|
H A D | colorfilterimagefilter.cpp | 68 const SkPoint pts[] = { { 0, 0 }, { 100, 100 } }; in sh_make_lineargradient0() local 70 return SkGradientShader::MakeLinear(pts, colors, nullptr, 3, SkTileMode::kRepeat); in sh_make_lineargradient0() 74 const SkPoint pts[] = { { 0, 0 }, { 100, 100 } }; in sh_make_lineargradient1() local 76 return SkGradientShader::MakeLinear(pts, colors, nullptr, 3, SkTileMode::kRepeat); in sh_make_lineargradient1()
|
/third_party/skia/modules/sksg/src/ |
H A D | SkSGGradient.cpp | 41 const SkPoint pts[] = { fStartPoint, fEndPoint }; in onMakeShader() local 42 return SkGradientShader::MakeLinear(pts, colors.data(), nullptr, positions.data(), in onMakeShader()
|
/third_party/ffmpeg/libavcodec/ |
H A D | mmaldec.c | 52 int64_t pts, dts; member 536 buffer->pts = avpkt->pts == AV_NOPTS_VALUE ? MMAL_TIME_UNKNOWN : avpkt->pts; in ffmmal_add_packet() 589 mbuffer->pts = buffer->pts; in ffmmal_fill_input_port() 659 frame->pts = buffer->pts == MMAL_TIME_UNKNOWN ? AV_NOPTS_VALUE : buffer->pts; in ffmal_copy_frame()
|
H A D | libkvazaar.c | 228 input_pic->pts = frame->pts; in libkvazaar_encode() 259 avpkt->pts = recon_pic->pts; in libkvazaar_encode()
|
H A D | noise_bsf.c | 33 "pts", /// packet presentation timestamp 137 s->var_values[VAR_PTS] = pkt->pts; in noise() 146 s->var_values[VAR_STARTPTS] = pkt->pts; in noise() 175 av_log(ctx, AV_LOG_VERBOSE, "Stream #%d packet %d pts %"PRId64" - amount %d drop %d\n", in noise() 176 pkt->stream_index, (unsigned int)s->var_values[VAR_N], pkt->pts, amount, drop); in noise()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_afir.c | 145 out->pts = in->pts; in fir_frame() 356 int64_t pts; in activate() local 394 int64_t old_pts = s->video->pts; in activate() 395 int64_t new_pts = av_rescale_q(s->pts, ctx->inputs[0]->time_base, ctx->outputs[1]->time_base); in activate() 399 s->video->pts = new_pts; in activate() 412 if (ff_inlink_acknowledge_status(ctx->inputs[0], &status, &pts)) { in activate() 414 ff_outlink_set_status(ctx->outputs[0], status, pts); in activate() 416 ff_outlink_set_status(ctx->outputs[1], status, pts); in activate()
|
H A D | asrc_flite.c | 47 int64_t pts; member 274 samplesref->pts = flite->pts; in request_frame() 277 flite->pts += nb_samples; in request_frame()
|
H A D | f_streamselect.c | 70 if (s->is_audio && s->last_pts[j] == in[j]->pts && in process_frame() 77 out->pts = av_rescale_q(s->fs.pts, s->fs.time_base, ctx->outputs[i]->time_base); in process_frame() 78 s->last_pts[j] = in[j]->pts; in process_frame()
|
H A D | af_channelsplit.c | 189 int64_t pts; in activate() local 213 if (ff_inlink_acknowledge_status(inlink, &status, &pts)) { in activate() 217 ff_outlink_set_status(ctx->outputs[i], status, pts); in activate()
|
/third_party/skia/modules/canvaskit/htmlcanvas/ |
H A D | canvas2dcontext.js | 712 this._mapToLocalCoordinates = function(pts) { 714 CanvasKit.Matrix.mapPoints(inverted, pts); 715 return pts; 738 var pts = this._mapToLocalCoordinates([x, y]); 739 x = pts[0]; 740 y = pts[1]; 761 var pts = this._mapToLocalCoordinates([x, y]); 762 x = pts[0]; 763 y = pts[1];
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrAAConvexTessellator.h | 220 void quadTo(const SkPoint pts[3]); 222 void quadTo(const SkMatrix& m, const SkPoint pts[3]); 224 void cubicTo(const SkMatrix& m, const SkPoint pts[4]); 226 void conicTo(const SkMatrix& m, const SkPoint pts[3], SkScalar w);
|
/third_party/skia/tests/ |
H A D | RectTest.cpp | 131 for (const SkPoint* pts : { p0, p1, p2, p3 }) { in DEF_TEST() 133 bool isfinite = r.setBoundsCheck(pts, n); in DEF_TEST() 137 r.setBoundsNoCheck(pts, n); in DEF_TEST() 139 r.setBoundsNoCheck(pts, n); in DEF_TEST()
|
H A D | TriangulatingPathRendererTests.cpp | 703 SkPoint pts[2] = { {0, 0}, {1, 1} }; in create_linear_gradient_processor() local 706 pts, colors, nullptr, SK_ARRAY_COUNT(colors), SkTileMode::kClamp); in create_linear_gradient_processor() 831 static void add_tri_edges(skiatest::Reporter* r, EdgeMap& edgeMap, const SkPoint pts[3]) { in add_tri_edges() argument 833 SkPoint p0=pts[i], p1=pts[(i+1)%3]; in add_tri_edges() 890 for (auto [verb, pts, w] : SkPathPriv::Iterate(path)) { in verify_simple_inner_polygons() 896 lastPoint = startPoint = pts[0]; in verify_simple_inner_polygons() 902 lastPoint = pts[1]; in verify_simple_inner_polygons() 906 lastPoint = pts[2]; in verify_simple_inner_polygons() 909 lastPoint = pts[ in verify_simple_inner_polygons() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | wtvenc.c | 450 avio_wl64(pb, pkt->pts == AV_NOPTS_VALUE ? -1 : pkt->pts); in write_timestamp() 451 avio_wl64(pb, pkt->pts == AV_NOPTS_VALUE ? -1 : pkt->pts); in write_timestamp() 452 avio_wl64(pb, pkt->pts == AV_NOPTS_VALUE ? -1 : pkt->pts); in write_timestamp() 480 if (pkt->pts != AV_NOPTS_VALUE && pkt->pts - (wctx->nb_st_pairs ? wctx->st_pairs[wctx->nb_st_pairs - 1].value : 0) >= 5000000) in write_packet() 481 add_serial_pair(&wctx->st_pairs, &wctx->nb_st_pairs, wctx->serial, pkt->pts); in write_packet() 483 if (pkt->pts ! in write_packet() [all...] |
H A D | nutenc.c | 228 int pts; in build_frame_code() local 237 for (pts = 0; pts < 2; pts++) { in build_frame_code() 244 ft->pts_delta = pts * frame_size; in build_frame_code() 815 if (pkt->pts - nus->last_pts != fc->pts_delta) in get_needed_flags() 821 if (FFABS(pkt->pts - nus->last_pts) > nus->max_pts_distance) in get_needed_flags() 993 if (pkt->pts < 0) { in nut_write_packet() 995 "Negative pts not supported stream %d, pts in nut_write_packet() [all...] |
H A D | dsicin.c | 198 pkt->pts = cin->video_stream_pts++; in cin_read_packet() 223 pkt->pts = cin->audio_stream_pts; in cin_read_packet() 224 pkt->duration = cin->audio_buffer_size - (pkt->pts == 0); in cin_read_packet()
|
H A D | gif.c | 86 if (new && new->pts != AV_NOPTS_VALUE) in gif_get_delay() 87 gif->duration = av_clip_uint16(new->pts - prev->pts); in gif_get_delay()
|
H A D | idroqdec.c | 171 pkt->pts = roq->video_pts++; in roq_read_packet() 214 pkt->pts = roq->video_pts++; in roq_read_packet() 217 pkt->pts = roq->audio_frame_count; in roq_read_packet()
|