Home
last modified time | relevance | path

Searched refs:pts (Results 226 - 250 of 1281) sorted by relevance

12345678910>>...52

/third_party/ffmpeg/libavformat/
H A Daqtitledec.c77 if (frame >= sub->pts && (uint64_t)frame - sub->pts < INT64_MAX) in aqt_read_header()
78 sub->duration = frame - sub->pts; in aqt_read_header()
91 sub->pts = frame; in aqt_read_header()
H A Dmovenc_ttml.c74 end_ts = FFMAX(end_ts, pkt->pts + pkt->duration); in mov_write_ttml_document_from_queue()
79 pkt->dts = pkt->pts = (pkt->pts - start_ts); in mov_write_ttml_document_from_queue()
156 pkt->pts = pkt->dts = start_ts; in ff_mov_generate_squashed_ttml_packet()
H A Dvc1test.c101 uint32_t pts; in vc1t_read_packet() local
109 pts = avio_rl32(pb); in vc1t_read_packet()
113 pkt->pts = pts; in vc1t_read_packet()
H A Dluodatdec.c61 int64_t pts, pos = avio_tell(pb); in dat_read_packet() local
77 pts = avio_rl64(pb); in dat_read_packet()
110 pkt->pts = pts; in dat_read_packet()
H A Dmlvdec.c51 uint64_t pts; member
191 uint64_t pts = avio_rl32(pb); in scan_file() local
194 avio_tell(pb) - 20, pts, file, 0, AVINDEX_KEYFRAME); in scan_file()
197 uint64_t pts = avio_rl32(pb); in scan_file() local
200 avio_tell(pb) - 20, pts, file, 0, AVINDEX_KEYFRAME); in scan_file()
414 if (mlv->pts >= st->duration) in read_packet()
417 index = av_index_search_timestamp(st, mlv->pts, AVSEEK_FLAG_ANY); in read_packet()
419 av_log(avctx, AV_LOG_ERROR, "could not find index entry for frame %"PRId64"\n", mlv->pts); in read_packet()
454 pkt->pts = mlv->pts; in read_packet()
[all...]
H A Divfdec.c74 int64_t pts = avio_rl64(s->pb); in read_packet() local
78 pkt->pts = pts; in read_packet()
/third_party/skia/src/core/
H A DSkEdge.h73 bool setQuadraticWithoutUpdate(const SkPoint pts[3], int shiftUp);
74 int setQuadratic(const SkPoint pts[3], int shiftUp);
85 bool setCubicWithoutUpdate(const SkPoint pts[4], int shiftUp, bool sortY = true);
86 int setCubic(const SkPoint pts[4], int shiftUp);
H A DSkGeometry.cpp565 float SkMeasureNonInflectCubicRotation(const SkPoint pts[4]) {
566 SkVector a = pts[1] - pts[0];
567 SkVector b = pts[2] - pts[1];
568 SkVector c = pts[3] - pts[2];
1150 dst[i] = pair.pts[i].asSkPoint();
1438 static SkPoint* subdivide(const SkConic& src, SkPoint pts[], int level) {
1442 memcpy(pts,
[all...]
/third_party/skia/gm/
H A Dpatharcto.cpp60 static SkPath old_school_polygon(const SkPoint pts[], size_t count, bool isClosed) { in old_school_polygon() argument
62 path.addPoly(pts, count, isClosed); in old_school_polygon()
66 static SkPath new_school_polygon(const SkPoint pts[], size_t count, bool isClosed) { in new_school_polygon() argument
67 return SkPath::Polygon(pts, count, isClosed); in new_school_polygon()
H A Ddrawimageset.cpp156 SkPoint pts[] = {{x * kTileW, 0}, {x * kTileW, kN * kTileH}}; variable
157 matrices[m].mapPoints(pts, 2);
158 SkVector v = pts[1] - pts[0];
160 canvas->drawLine(pts[1] - v, pts[0] + v, paint);
163 SkPoint pts[] = {{0, y * kTileH}, {kTileW * kM, y * kTileH}}; variable
164 matrices[m].mapPoints(pts, 2);
165 SkVector v = pts[1] - pts[
[all...]
H A Dcrbug_1162942.cpp31 SkPoint pts[4] = {{SkBits2Float(0x3F39778B), SkBits2Float(0x43FF7FFC)}, in DEF_SIMPLE_GM() local
36 bounds.setBounds(pts, 4); in DEF_SIMPLE_GM()
53 canvas->experimental_DrawEdgeAAQuad(bounds, pts, aaFlags, color, SkBlendMode::kSrcOver); in DEF_SIMPLE_GM()
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/
H A Davcodec_audio_decoder_inner_demo.cpp162 int32_t ADecInnerDemo::HandleNormalInput(const uint32_t &index, const int64_t &pts, const size_t &size) in HandleNormalInput() argument
166 attr.presentationTimeUs = pts; in HandleNormalInput()
180 int64_t pts; in InputFunc() local
203 inputFile_.read((char *)&pts, sizeof(pts)); in InputFunc()
204 DEMO_CHECK_AND_BREAK_LOG(inputFile_.gcount() == sizeof(pts), "Fatal: read pts fail"); in InputFunc()
208 auto result = HandleNormalInput(index, pts, size); in InputFunc()
H A Davcodec_audio_decoder_demo.cpp348 info.pts = 0; in HandleInputEOS()
355 int32_t ADecDemo::HandleNormalInput(const uint32_t &index, const int64_t pts, const size_t size) in HandleNormalInput() argument
360 info.pts = pts; in HandleNormalInput()
380 int64_t pts; in InputFunc() local
400 inputFile_.read(reinterpret_cast<char *>(&pts), sizeof(pts)); in InputFunc()
401 DEMO_CHECK_AND_BREAK_LOG(inputFile_.gcount() == sizeof(pts), "Fatal: read pts fail"); in InputFunc()
405 int32_t ret = HandleNormalInput(index, pts, siz in InputFunc()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dsetts_bsf.c132 av_log(ctx, AV_LOG_ERROR, "Error while parsing pts expression '%s'\n", s->pts_str); in setts_init()
175 s->var_values[VAR_STARTPTS] = s->cur_pkt->pts; in setts_filter()
183 s->var_values[VAR_PTS] = s->cur_pkt->pts; in setts_filter()
186 s->var_values[VAR_PREV_INPTS] = s->prev_inpkt->pts; in setts_filter()
189 s->var_values[VAR_PREV_OUTPTS] = s->prev_outpkt->pts; in setts_filter()
192 s->var_values[VAR_NEXT_PTS] = pkt->pts; in setts_filter()
200 s->var_values[VAR_TS] = s->cur_pkt->pts; in setts_filter()
222 pkt->pts = new_pts; in setts_filter()
256 { "pts", "set expression for packet PTS", OFFSET(pts_str), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS },
/third_party/ffmpeg/libavfilter/
H A Dvf_dnn_processing.c243 static int flush_frame(AVFilterLink *outlink, int64_t pts, int64_t *out_pts) in flush_frame() argument
266 *out_pts = out_frame->pts + pts; in flush_frame()
280 int64_t pts; in activate() local
325 if (ff_inlink_acknowledge_status(inlink, &status, &pts)) { in activate()
327 int64_t out_pts = pts; in activate()
328 ret = flush_frame(outlink, pts, &out_pts); in activate()
H A Dvf_dnn_classify.c209 static int dnn_classify_flush_frame(AVFilterLink *outlink, int64_t pts, int64_t *out_pts) in dnn_classify_flush_frame() argument
229 *out_pts = in_frame->pts + pts; in dnn_classify_flush_frame()
243 int64_t pts; in dnn_classify_activate() local
279 if (ff_inlink_acknowledge_status(inlink, &status, &pts)) { in dnn_classify_activate()
281 int64_t out_pts = pts; in dnn_classify_activate()
282 ret = dnn_classify_flush_frame(outlink, pts, &out_pts); in dnn_classify_activate()
H A Daf_compand.c66 int64_t pts; member
90 s->pts = AV_NOPTS_VALUE; in init()
201 if (s->pts == AV_NOPTS_VALUE) { in compand_delay()
202 s->pts = (frame->pts == AV_NOPTS_VALUE) ? 0 : frame->pts; in compand_delay()
233 out_frame->pts = s->pts; in compand_delay()
234 s->pts += av_rescale_q(nb_samples - i, in compand_delay()
275 frame->pts in compand_drain()
[all...]
H A Dvf_detelecine.c45 AVRational pts; member
93 s->pts.num += *p - '0'; in init()
94 s->pts.den += 2; in init()
119 av_log(ctx, AV_LOG_INFO, "Detelecine pattern %s removes up to %d frames per frame, pts advance factor: %d/%d\n", in init()
120 s->pattern, (max + 1) / 2, s->pts.num, s->pts.den); in init()
175 fps = av_mul_q(fps, av_inv_q(s->pts)); in config_output()
180 outlink->time_base = av_mul_q(inlink->time_base, s->pts); in config_output()
197 s->start_time = inpicref->pts; in filter_frame()
331 frame->pts in filter_frame()
[all...]
H A Daf_alimiter.c38 int64_t pts; member
293 in_pts = in->pts; in filter_frame()
294 meta = (MetaItem){ in->pts, in->nb_samples }; in filter_frame()
321 in_pts = meta.pts; in filter_frame()
323 if (s->next_out_pts != AV_NOPTS_VALUE && out->pts != s->next_out_pts && in filter_frame()
325 out->pts = s->next_out_pts; in filter_frame()
327 out->pts = in_pts; in filter_frame()
330 s->next_out_pts = out->pts + out_duration; in filter_frame()
349 frame->pts = s->next_in_pts; in request_frame()
H A Dvf_zoompan.c160 int64_t pts = s->frame_count; in output_single_frame() local
170 var_values[VAR_IN_TIME] = var_values[VAR_IT] = in->pts == AV_NOPTS_VALUE ? in output_single_frame()
171 NAN : in->pts * av_q2d(inlink->time_base); in output_single_frame()
172 var_values[VAR_OUT_TIME] = pts * av_q2d(outlink->time_base); in output_single_frame()
230 out->pts = pts; in output_single_frame()
265 int64_t pts; in activate() local
318 } else if (s->finished && ff_inlink_acknowledge_status(inlink, &status, &pts)) { in activate()
319 ff_outlink_set_status(outlink, status, pts); in activate()
H A Dvf_framerate.c200 s->work->pts = work_pts; in process_work_frame()
305 int64_t pts; in activate() local
324 if (inpicref->pts == AV_NOPTS_VALUE) { in activate()
331 pts = av_rescale_q(inpicref->pts, s->srce_time_base, s->dest_time_base); in activate()
333 if (s->f1 && pts == s->pts1) { in activate()
344 s->pts1 = pts; in activate()
361 if (ff_inlink_acknowledge_status(inlink, &status, &pts)) { in activate()
366 ff_outlink_set_status(outlink, status, pts); in activate()
/third_party/ffmpeg/libavformat/tests/
H A Dmovenc.c256 pkt->dts = pkt->pts = audio_dts; in mux_frames()
269 pkt->pts = pkt->dts + duration; in mux_frames()
270 video_dts = pkt->pts; in mux_frames()
274 pkt->pts = pkt->dts; in mux_frames()
279 pkt->pts = pkt->dts + duration; in mux_frames()
280 video_dts = pkt->pts; in mux_frames()
282 next_p_pts = pkt->pts = pkt->dts + 2 * duration; in mux_frames()
288 pkt->pts = pkt->dts; in mux_frames()
296 AV_WB32(pktdata + 4, pkt->pts); in mux_frames()
305 pkt->pts in mux_frames()
[all...]
/third_party/skia/tests/
H A DGradientTest.cpp26 const SkPoint pts[] = {{ 15, 14.7112684f }, { 0.709064007f, 12.6108112f }}; in test_big_grad() local
28 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2, SkTileMode::kClamp)); in test_big_grad()
141 const SkPoint pts[] = { in TestConstantGradient() local
148 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in TestConstantGradient()
279 const SkPoint pts[] = {{ 100, 50 }, { 100.0001f, 50000 }}; in test_nearly_vertical() local
283 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in test_nearly_vertical()
291 const SkPoint pts[] = {{ 100, 50 }, { 100, 50 }}; in test_vertical() local
295 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, 2, SkTileMode::kClamp)); in test_vertical()
307 const SkPoint pts[] = {{ 179.5f, -179.5f }, { 1074.5f, 715.5f }}; in test_linear_fuzz() local
312 paint.setShader(SkGradientShader::MakeLinear(pts, color in test_linear_fuzz()
362 const SkPoint pts[] = { test_degenerate_linear() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkcanvas_fuzzer/
H A Dcanvas_fuzzer.cpp343 OH_Drawing_Point2D* pts = new OH_Drawing_Point2D[vertexCount]; in CanvasFuzzTest003() local
345 pts[i] = {GetObject<float>(), GetObject<float>()}; in CanvasFuzzTest003()
361 vertexCount, pts, texs, colors, indexCount, indices, in CanvasFuzzTest003()
364 vertexCount, pts, texs, nullptr, indexCount, indices, in CanvasFuzzTest003()
367 vertexCount, pts, texs, colors, indexCount, indices, in CanvasFuzzTest003()
369 if (pts != nullptr || texs != nullptr || colors != nullptr || indices != nullptr) { in CanvasFuzzTest003()
370 delete[] pts, delete[] texs, delete[] colors, delete[] indices; in CanvasFuzzTest003()
371 pts = nullptr, texs = nullptr, colors = nullptr, indices = nullptr; in CanvasFuzzTest003()
470 OH_Drawing_Point2D* pts = new OH_Drawing_Point2D[count]; in CanvasFuzzTest001() local
472 pts[ in CanvasFuzzTest001()
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/encoder/
H A Dvideo_encoder_sample.cpp80 AVCODEC_LOGV("In buffer count: %{public}u, size: %{public}d, flag: %{public}u, pts: %{public}" PRId64, in BufferInputThread()
82 bufferInfo.attr.size, bufferInfo.attr.flags, bufferInfo.attr.pts); in BufferInputThread()
101 uint64_t pts = static_cast<uint64_t>(frameCount) * in SurfaceInputThread() local
103 (void)OH_NativeWindow_NativeWindowHandleOpt(info.window.get(), SET_UI_TIMESTAMP, pts); in SurfaceInputThread()
122 AVCodecTrace::TraceBegin("OH::Frame", pts); in SurfaceInputThread()
140 AVCODEC_LOGV("Out buffer count: %{public}u, size: %{public}d, flag: %{public}u, pts: %{public}" PRId64, in OutputThread()
142 bufferInfo.attr.size, bufferInfo.attr.flags, bufferInfo.attr.pts); in OutputThread()

Completed in 15 milliseconds

12345678910>>...52