/third_party/skia/docs/examples/ |
H A D | SKIA_LOGO_ANIMATE.cpp | 102 const SkPoint pts[2] = {{160, 290}, {341, 290}}; in REG_FIDDLE_ANIMATED() local 104 pts, lineColors, NULL, 2, SkTileMode::kClamp)); in REG_FIDDLE_ANIMATED()
|
H A D | SKIA_LOGO.cpp | 88 const SkPoint pts[2] = {{160, 290}, {341, 290}}; in REG_FIDDLE() local 89 p.setShader(SkGradientShader::MakeLinear(pts, lineColors, NULL, 2, SkTileMode::kClamp)); in REG_FIDDLE()
|
/third_party/skia/gm/ |
H A D | shallowgradient.cpp | 25 SkPoint pts[] = { { 0, 0 }, { size.width(), size.height() } }; in shader_linear() local 26 return SkGradientShader::MakeLinear(pts, colors, nullptr, count, SkTileMode::kClamp); in shader_linear()
|
H A D | colormatrix.cpp | 82 SkPoint pts[] = {{0, 0}, {SkIntToScalar(width), SkIntToScalar(height)}}; in CreateTransparentBitmap() local 85 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, in CreateTransparentBitmap()
|
/third_party/skia/modules/skottie/src/effects/ |
H A D | VenetianBlindsEffect.cpp | 112 // (such that fp0 aligns with 0/pts[0]). 138 const SkPoint pts[] = { variable 144 SkGradientShader::MakeLinear(pts, colors, pos, SK_ARRAY_COUNT(colors),
|
/third_party/skia/bench/ |
H A D | ImageFilterCollapse.cpp | 58 SkPoint pts[] = { {0, 0}, {SkIntToScalar(W), SkIntToScalar(H)} }; in makeBitmap() local 63 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), in makeBitmap()
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
H A D | ttinterp.c | 429 exec->pts.n_points = 0; in FT_LOCAL_DEF() 430 exec->pts.n_contours = 0; in FT_LOCAL_DEF() 432 exec->zp1 = exec->pts; in FT_LOCAL_DEF() 433 exec->zp2 = exec->pts; in FT_LOCAL_DEF() 434 exec->zp0 = exec->pts; in FT_LOCAL_DEF() 502 exec->zp0 = exec->pts; in FT_LOCAL_DEF() 503 exec->zp1 = exec->pts; in FT_LOCAL_DEF() 504 exec->zp2 = exec->pts; in FT_LOCAL_DEF() 5116 exc->zp0 = exc->pts; in Ins_SZP0() 5146 exc->zp1 = exc->pts; in Ins_SZP1() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | cuviddec.c | 422 if (avpkt->pts != AV_NOPTS_VALUE) { in cuvid_decode_packet() 425 cupkt.timestamp = av_rescale_q(avpkt->pts, avctx->pkt_timebase, (AVRational){1, 10000000}); in cuvid_decode_packet() 427 cupkt.timestamp = avpkt->pts; in cuvid_decode_packet() 608 frame->pts = av_rescale_q(parsed_frame.dispinfo.timestamp, (AVRational){1, 10000000}, avctx->pkt_timebase); in cuvid_output_frame() 610 frame->pts = parsed_frame.dispinfo.timestamp; in cuvid_output_frame() 614 ctx->prev_pts = frame->pts; in cuvid_output_frame() 615 frame->pts += (avctx->pkt_timebase.den * avctx->framerate.den) / (avctx->pkt_timebase.num * avctx->framerate.num); in cuvid_output_frame() 617 int pts_diff = (frame->pts - ctx->prev_pts) / 2; in cuvid_output_frame() 618 ctx->prev_pts = frame->pts; in cuvid_output_frame() 619 frame->pts in cuvid_output_frame() [all...] |
H A D | av1_frame_merge_bsf.c | 111 in->pts != AV_NOPTS_VALUE && buffer_pkt->pts == AV_NOPTS_VALUE) { in av1_frame_merge_filter()
|
H A D | mpeg4video_parser.c | 118 av_assert1(s1->pts == AV_NOPTS_VALUE); in mpeg4_decode_header() 121 s1->pts = av_rescale_q(s->time, (AVRational){1, s->avctx->time_base.den}, (AVRational){1, 1200000}); in mpeg4_decode_header()
|
H A D | libopenh264dec.c | 111 info.uiInBsTimeStamp = avpkt->pts; in svc_decode_frame() 146 avframe->pts = info.uiOutYuvTimeStamp; in svc_decode_frame()
|
H A D | pcm-dvdenc.c | 170 avpkt->pts = frame->pts; in pcm_dvd_encode_frame()
|
H A D | xsubdec.c | 74 if (avpkt->pts != AV_NOPTS_VALUE) in decode_frame() 75 packet_time = av_rescale_q(avpkt->pts, AV_TIME_BASE_Q, (AVRational){1, 1000}); in decode_frame()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_loudnorm.c | 88 int64_t pts; member 434 if (s->pts == AV_NOPTS_VALUE) in filter_frame() 435 s->pts = in->pts; in filter_frame() 437 out->pts = s->pts; in filter_frame() 504 s->pts += in filter_frame() 571 s->pts += in->nb_samples; in filter_frame() 629 s->pts += in->nb_samples; in filter_frame() 757 s->pts in config_input() [all...] |
H A D | vf_minterpolate.c | 1076 int64_t pts; in interpolate() local 1078 pts = av_rescale(avf_out->pts, (int64_t) ALPHA_MAX * outlink->time_base.num * inlink->time_base.den, in interpolate() 1081 alpha = (pts - mi_ctx->frames[1].avf->pts * ALPHA_MAX) / (mi_ctx->frames[2].avf->pts - mi_ctx->frames[1].avf->pts); in interpolate() 1090 av_log(ctx, AV_LOG_DEBUG, "scene changed, input pts %"PRId64"\n", mi_ctx->frames[1].avf->pts); in interpolate() 1159 if (avf_in->pts in filter_frame() [all...] |
H A D | af_apad.c | 86 s->next_pts = frame->pts + av_rescale_q(frame->nb_samples, (AVRational){1, inlink->sample_rate}, inlink->time_base); in filter_frame() 127 outsamplesref->pts = s->next_pts; in request_frame()
|
H A D | af_virtualbass.c | 152 out->pts = in->pts; in filter_frame()
|
H A D | framequeue.c | 141 if (b->frame->pts != AV_NOPTS_VALUE) in ff_framequeue_skip_samples() 142 b->frame->pts += av_rescale_q(samples, av_make_q(1, b->frame->sample_rate), time_base); in ff_framequeue_skip_samples()
|
/third_party/ffmpeg/libavformat/ |
H A D | wtvdec.c | 327 int64_t pts; /**< pts for next data chunk */ member 328 int64_t last_valid_pts; /**< latest valid pts, used for interactive seeking */ 766 wtv->pts = wtv->index_entries[i].timestamp; in recover() 900 wtv->pts = avio_rl64(pb); in parse_chunks() 902 if (wtv->pts == -1) in parse_chunks() 903 wtv->pts = AV_NOPTS_VALUE; in parse_chunks() 905 wtv->last_valid_pts = wtv->pts; in parse_chunks() 906 if (wtv->epoch == AV_NOPTS_VALUE || wtv->pts < wtv->epoch) in parse_chunks() 907 wtv->epoch = wtv->pts; in parse_chunks() [all...] |
H A D | smjpegdec.c | 159 pkt->pts = timestamp; in smjpeg_read_packet() 169 pkt->pts = timestamp; in smjpeg_read_packet()
|
H A D | smjpegenc.c | 110 avio_wb32(pb, pkt->pts); in smjpeg_write_packet() 114 smc->duration = FFMAX(smc->duration, pkt->pts + pkt->duration); in smjpeg_write_packet()
|
/third_party/ffmpeg/tests/fate/ |
H A D | matroska.mak | 95 # whereas an audio packet to be muxed later has the overall lowest pts 98 # yet there is an audio packet with the overall lowest pts. output_ts_offset 99 # makes the pts of the audio packet, but not the leading video packet negative 170 # except the last from the next packet's pts. 172 fate-matroska-pgs-remux-durations: CMD = transcode sup $(TARGET_SAMPLES)/sub/pgs_sub.sup matroska "-copyts -c:s copy -bsf pgs_frame_merge,setts=duration=if(gt(DURATION\,0)\,DURATION\,if(eq(PTS\,NOPTS)\,0\,if(eq(NEXT_PTS\,NOPTS)\,0\,NEXT_PTS-PTS))):pts=PTS" "-copyts -c:s copy" 182 fate-matroska-dvbsub-remux: CMD = transcode mpegts $(TARGET_SAMPLES)/sub/dvbsubtest_filter.ts matroska "-map 0:s -map 0:s -t 20 -c copy -bsf:0 setts=duration=if(gt(DURATION\,0)\,DURATION\,if(eq(PTS\,NOPTS)\,0\,if(eq(NEXT_PTS\,NOPTS)\,0\,NEXT_PTS-PTS))):pts=PTS" "-map 0 -c copy" 193 fate-webm-webvtt-remux: CMD = transcode webvtt $(TARGET_SAMPLES)/sub/WebVTT_capability_tester.vtt webm "-map 0 -map 0 -map 0 -map 0 -c:s copy -disposition:0 original+descriptions+hearing_impaired -disposition:1 lyrics+default+metadata -disposition:2 comment+forced -disposition:3 karaoke+captions+dub" "-map 0:0 -map 0:1 -c copy" "-show_entries stream_disposition:stream=index,codec_name:packet=stream_index,pts:packet_side_data_list -show_data_hash CRC32"
|
/third_party/skia/tests/ |
H A D | CanvasTest.cpp | 391 SkPoint pts[4]; 392 pts[0].set(0, 0); 393 pts[1].set(SkIntToScalar(kWidth), 0); 394 pts[2].set(SkIntToScalar(kWidth), SkIntToScalar(kHeight)); 395 pts[3].set(0, SkIntToScalar(kHeight)); 400 SkVertices::MakeCopy(SkVertices::kTriangleFan_VertexMode, 4, pts, pts, nullptr),
|
/third_party/skia/src/pathops/ |
H A D | SkPathOpsDebug.cpp | 576 memcpy(&fDebugWorstPts[index * 2 * 4], wt.pts(), in debugAddLoopCount() 578 memcpy(&fDebugWorstPts[(index * 2 + 1) * 4], wn.pts(), in debugAddLoopCount() 602 static void dump_curve(SkPath::Verb verb, const SkPoint& pts, float weight) { in dump_curve() argument 610 SkDPoint::Dump((&pts)[index]); in dump_curve() 700 void SkDQuad::debugSet(const SkDPoint* pts) { in debugSet() argument 701 memcpy(fPts, pts, sizeof(fPts)); in debugSet() 705 void SkDCubic::debugSet(const SkDPoint* pts) { in debugSet() argument 706 memcpy(fPts, pts, sizeof(fPts)); in debugSet() 710 void SkDConic::debugSet(const SkDPoint* pts, SkScalar weight) { in debugSet() argument 711 fPts.debugSet(pts); in debugSet() 1139 const SkDPoint* pts = curvePart.fCubic.fPts; debugShowActiveSpans() local 2830 output_points(const SkPoint* pts, int count) output_points() argument [all...] |
/third_party/ffmpeg/doc/examples/ |
H A D | remuxing.c | 38 printf("%s: pts:%s pts_time:%s dts:%s dts_time:%s duration:%s duration_time:%s stream_index:%d\n", in log_packet() 40 av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, time_base), in log_packet()
|