/foundation/CastEngine/castengine_wifi_display/services/impl/screen_capture/ |
H A D | screen_capture_consumer.cpp | 37 mediaData->pts = frame->Pts(); in OnFrame() 108 uint64_t pts = std::chrono::duration_cast<std::chrono::milliseconds>(now - start).count(); in OnFrame() local 117 mediaData->pts = pts; in OnFrame() 119 mediaData->pts, dispatcher->GetDispatcherId(), len); in OnFrame()
|
/foundation/multimedia/player_framework/test/fuzztest/common/ |
H A D | test_recorder.cpp | 394 pts = GetPts(); in HDICreateESBuffer() 399 (void)buffer->GetExtraData()->ExtraSet("timeStamp", pts); in HDICreateESBuffer() 402 pts += FRAME_DURATION; in HDICreateESBuffer() 446 pts = GetPts(); in HDICreateYUVBuffer() 448 (void)buffer->GetExtraData()->ExtraSet("timeStamp", pts); in HDICreateYUVBuffer()
|
/third_party/ffmpeg/libavcodec/ |
H A D | libxavs.c | 142 x4->pic.i_pts = frame->pts; in XAVS_frame() 144 x4->pts_buffer[avctx->frame_number % (avctx->max_b_frames+1)] = frame->pts; in XAVS_frame() 173 pkt->pts = pic_out.i_pts; in XAVS_frame() 176 pkt->dts = pkt->pts - (x4->pts_buffer[1] - x4->pts_buffer[0]); in XAVS_frame() 180 pkt->dts = pkt->pts; in XAVS_frame()
|
H A D | ccaption_dec.c | 604 static void update_time(CCaptionSubContext *ctx, int64_t pts) in update_time() argument 607 ctx->buffer_time[1] = pts; in update_time() 845 int64_t in_time = sub->pts; in decode() 883 sub->pts = start_time; in decode() 893 ctx->last_real_time = sub->pts; in decode() 903 sub->pts = ctx->buffer_time[1]; in decode() 911 sub->pts >= ctx->last_real_time + av_rescale_q(ctx->real_time_latency_msec, ms_tb, AV_TIME_BASE_Q)) { in decode() 912 ctx->last_real_time = sub->pts; in decode()
|
H A D | amfenc.c | 469 pkt->pts = var.int64Value; // original pts in amf_copy_buffer() 674 surface->pVtbl->SetPts(surface, frame->pts); in ff_amf_receive_packet() 675 AMF_ASSIGN_PROPERTY_INT64(res, surface, PTS_PROP, frame->pts); in ff_amf_receive_packet() 694 int64_t pts = frame->pts; in ff_amf_receive_packet() local 699 ret = av_fifo_write(ctx->timestamp_list, &pts, 1); in ff_amf_receive_packet() 734 int64_t pts = ctx->delayed_surface->pVtbl->GetPts(ctx->delayed_surface); in ff_amf_receive_packet() local 740 ret = av_fifo_write(ctx->timestamp_list, &pts, 1); in ff_amf_receive_packet()
|
H A D | encode.c | 217 avpkt->pts = avpkt->dts = frame->pts; in encode_simple_internal() 233 if (avpkt->pts == AV_NOPTS_VALUE) in encode_simple_internal() 234 avpkt->pts = frame->pts; in encode_simple_internal() 241 avpkt->dts = avpkt->pts; in encode_simple_internal()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_adelay.c | 347 out_frame->pts = s->next_pts; in filter_frame() 360 int64_t pts; in activate() local 377 frame->pts = s->next_pts; in activate() 391 if (ff_inlink_acknowledge_status(inlink, &status, &pts)) { in activate() 409 frame->pts = s->next_pts; in activate()
|
H A D | af_dialoguenhance.c | 324 out->pts = in->pts; in filter_frame() 340 int64_t pts; in activate() local 350 } else if (ff_inlink_acknowledge_status(inlink, &status, &pts)) { in activate() 351 ff_outlink_set_status(outlink, status, pts); in activate()
|
H A D | af_amerge.c | 243 outbuf->pts = inbuf[0]->pts; in try_push_frame() 284 int64_t pts; in activate() local 303 if (ff_inlink_acknowledge_status(ctx->inputs[i], &status, &pts)) { in activate() 304 ff_outlink_set_status(ctx->outputs[0], status, pts); in activate()
|
H A D | af_anlmdn.c | 285 out->pts = in->pts; in filter_frame() 303 int64_t pts; in activate() local 313 } else if (ff_inlink_acknowledge_status(inlink, &status, &pts)) { in activate() 314 ff_outlink_set_status(outlink, status, pts); in activate()
|
H A D | vf_frei0r.c | 78 uint64_t pts; member 377 s->update(s->instance, in->pts * av_q2d(inlink->time_base) * 1000, in filter_frame() 490 frame->pts = s->pts++; in source_request_frame() 492 s->update(s->instance, av_rescale_q(frame->pts, s->time_base, (AVRational){1,1000}), in source_request_frame()
|
H A D | vsrc_mptestsrc.c | 56 int64_t pts, max_pts, duration; member 267 test->pts = 0; in init() 305 if (test->max_pts >= 0 && test->pts > test->max_pts) in request_frame() 310 picref->pts = test->pts++; in request_frame()
|
H A D | af_adeclick.c | 74 int64_t pts; member 122 s->pts = AV_NOPTS_VALUE; in config_input() 579 out->pts = s->pts; in filter_frame() 580 s->pts += av_rescale_q(s->hop_size, (AVRational){1, outlink->sample_rate}, outlink->time_base); in filter_frame() 608 int64_t pts; in activate() local 618 if (s->pts == AV_NOPTS_VALUE) in activate() 619 s->pts = in->pts; in activate() 641 if (!s->eof && ff_inlink_acknowledge_status(inlink, &status, &pts)) { in activate() [all...] |
H A D | vf_nnedi.c | 71 int64_t pts; member 669 dst->pts = s->pts; in get_frame() 692 s->prev->pts *= 2; in filter_frame() 698 s->pts = s->prev->pts * 2; in filter_frame() 706 s->pts = s->prev->pts + in->pts; in filter_frame() 730 next->pts in request_frame() [all...] |
H A D | af_speechnorm.c | 81 int64_t pts; member 428 s->pts = in->pts + av_rescale_q(in->nb_samples, av_make_q(1, outlink->sample_rate), in filter_frame() 463 int64_t pts; in activate() local 478 if (!s->eof && ff_inlink_acknowledge_status(inlink, &status, &pts)) { in activate() 485 ff_outlink_set_status(outlink, AVERROR_EOF, s->pts); in activate()
|
H A D | vf_deinterlace_qsv.c | 435 qf->surface.Data.TimeStamp = av_rescale_q(qf->frame->pts, in submit_frame() 510 out->pts = av_rescale_q(out->pts, inlink->time_base, outlink->time_base); in process_frame() 511 if (out->pts == s->last_pts) in process_frame() 512 out->pts++; in process_frame() 513 s->last_pts = out->pts; in process_frame()
|
H A D | af_afftfilt.c | 56 static const char *const var_names[] = { "sr", "b", "nb", "ch", "chs", "pts", "re", "im", NULL }; 331 values[VAR_PTS] = in->pts; in filter_frame() 348 out->pts = in->pts; in filter_frame() 374 int64_t pts; in activate() local 387 if (ff_inlink_acknowledge_status(inlink, &status, &pts)) { in activate() 388 ff_outlink_set_status(outlink, status, pts); in activate()
|
/third_party/ffmpeg/libavdevice/ |
H A D | lavfi.c | 376 lavfi->subcc_packet.pts = frame->pts; in create_subcc_packet() 415 d = av_rescale_q_rnd(frame->pts, tb, AV_TIME_BASE_Q, AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX); in lavfi_read_packet() 469 pkt->pts = frame->pts; in lavfi_read_packet()
|
/third_party/ffmpeg/libavformat/ |
H A D | xmv.c | 69 int64_t pts; ///< PTS of the most current video frame. member 470 pkt->pts = audio->block_count; in xmv_fetch_audio_packet() 523 video->last_pts = frame_timestamp + video->pts; in xmv_fetch_video_packet() 526 pkt->pts = video->last_pts; in xmv_fetch_video_packet() 529 video->pts += frame_timestamp; in xmv_fetch_video_packet()
|
H A D | aaxdec.c | 102 int64_t pts = 0; in get_pts() local 105 pts += (a->segments[seg].end - a->segments[seg].start) / size; in get_pts() 107 pts += ((pos - a->segments[a->current_segment].start) / size); in get_pts() 109 return pts; in get_pts() 362 pkt->pts = get_pts(s, pkt->pos, size); in aax_read_packet()
|
H A D | asfenc.c | 396 avpriv_set_pts_info(s->streams[n], 32, 1, 1000); /* 32 bit pts in ms */ in asf_write_header1() 1021 int64_t pts; in asf_write_packet() local 1033 pts = (pkt->pts != AV_NOPTS_VALUE) ? pkt->pts : pkt->dts; in asf_write_packet() 1034 av_assert0(pts != AV_NOPTS_VALUE); in asf_write_packet() 1035 if ( pts < - PREROLL_TIME in asf_write_packet() 1036 || pts > (INT_MAX-3)/10000LL * ASF_INDEXED_INTERVAL - PREROLL_TIME) { in asf_write_packet() 1037 av_log(s, AV_LOG_ERROR, "input pts %"PRId64" is invalid\n", pts); in asf_write_packet() [all...] |
/third_party/skia/gm/ |
H A D | strokes.cpp | 259 SkPoint pts[] = {{105.738571f,13.126318f}, in DEF_SIMPLE_GM() local 262 SkVector tangent = pts[1] - pts[2]; in DEF_SIMPLE_GM() 265 memcpy(pts2, pts, sizeof(pts)); in DEF_SIMPLE_GM() 278 path.moveTo(pts[0]); in DEF_SIMPLE_GM() 279 path.quadTo(pts[1], pts[2]); in DEF_SIMPLE_GM()
|
/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/ |
H A D | NativeAVMuxerFunctionTest.cpp | 146 bool ReadFile(int& dataTrackId, int64_t& pts, int& dataSize) in ReadFile() argument 154 ret = read(g_inputFile, static_cast<void*>(&pts), sizeof(pts)); in ReadFile() 156 cout << "read info.pts error, ret is: " << ret << endl; in ReadFile() 178 readRet = ReadFile(dataTrackId, info.pts, dataSize); in WriteTrackSample() 225 readRet = ReadFile(dataTrackId, info.pts, dataSize); in WriteTrackSampleShort() 342 bool ReadFileByFd(int& dataTrackId, int64_t& pts, int& dataSize, int32_t inputFile) in ReadFileByFd() argument 350 ret = read(inputFile, static_cast<void*>(&pts), sizeof(pts)); in ReadFileByFd() 352 cout << "read info.pts erro in ReadFileByFd() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_graphic.cpp | 278 std::array<RSPoint, 2> pts = { RSPoint(static_cast<RSScalar>(info.x1), static_cast<RSScalar>(info.y1)), in SetGradientStyle() local 281 pts[0], pts[1], colors, pos, static_cast<RSTileMode>(gradient->GetSpreadMethod()))); in SetGradientStyle() 309 std::array<RSPoint, 2> pts = { RSPoint(static_cast<RSScalar>(info.x1), static_cast<RSScalar>(info.y1)), in SetStrokeGradientStyle() local 312 pts[0], pts[1], colors, pos, static_cast<RSTileMode>(gradient->GetSpreadMethod()))); in SetStrokeGradientStyle()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/ |
H A D | canvas_test.cpp | 380 OH_Drawing_Point2D pts[2]; // 2 点个数 in OnTestPerformance() local 381 pts[0].x = 50; // 50 点位置 in OnTestPerformance() 382 pts[0].y = 50; // 50 点位置 in OnTestPerformance() 383 pts[1].x = 100; // 100 点位置 in OnTestPerformance() 384 pts[1].y = 100; // 100 点位置 in OnTestPerformance() 386 OH_Drawing_CanvasDrawPoints(canvas, OH_Drawing_PointMode::POINT_MODE_POINTS, 2, pts); // 2 点个数 in OnTestPerformance()
|