Home
last modified time | relevance | path

Searched refs:pts (Results 376 - 400 of 1281) sorted by relevance

1...<<11121314151617181920>>...52

/foundation/multimedia/av_codec/test/nativedemo/avmuxer/
H A Davmuxer_demo_base.cpp321 int64_t pts = 0; in ReadSampleDataInfo() local
327 file->read(reinterpret_cast<char*>(&pts), sizeof(pts)); in ReadSampleDataInfo()
347 buffer->pts_ = pts; in ReadSampleDataInfo()
356 int64_t pts = 0; in ReadSampleDataInfoByBufferQueue() local
362 file->read(reinterpret_cast<char*>(&pts), sizeof(pts)); in ReadSampleDataInfoByBufferQueue()
385 buffer->pts_ = pts; in ReadSampleDataInfoByBufferQueue()
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderpreapi_fuzzer/
H A Daudiodecoderdemo.cpp155 info.pts = 0; in PushInputData()
166 info.pts = 0; in PushInputDataEOS()
470 info.pts = 0; in HandleInputEOS()
477 int32_t ADecDemoAuto::HandleNormalInput(const uint32_t& index, const int64_t pts, const size_t size) in HandleNormalInput() argument
482 info.pts = pts; in HandleNormalInput()
513 int64_t pts = 0; in InputFunc()
534 int32_t ret = HandleNormalInput(index, pts, currentSize); in InputFunc()
/third_party/ffmpeg/libavcodec/
H A Dv4l2_buffers.c60 static inline void v4l2_set_pts(V4L2Buffer *out, int64_t pts) in v4l2_set_pts() argument
64 if (pts == AV_NOPTS_VALUE) in v4l2_set_pts()
65 pts = 0; in v4l2_set_pts()
67 /* convert pts to v4l2 timebase */ in v4l2_set_pts()
68 v4l2_pts = av_rescale_q(pts, v4l2_get_timebase(out), v4l2_timebase); in v4l2_set_pts()
77 /* convert pts back to encoder timebase */ in v4l2_get_pts()
413 v4l2_set_pts(out, frame->pts); in ff_v4l2_buffer_avframe_to_buf()
435 frame->pts = v4l2_get_pts(avbuf); in ff_v4l2_buffer_buf_to_avframe()
472 pkt->dts = pkt->pts = v4l2_get_pts(avbuf); in ff_v4l2_buffer_buf_to_avpkt()
485 v4l2_set_pts(out, pkt->pts); in ff_v4l2_buffer_avpkt_to_buf()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dasrc_sinc.c42 int64_t pts; member
59 nb_samples = FFMIN(s->nb_samples, s->n - s->pts); in activate()
61 ff_outlink_set_status(outlink, AVERROR_EOF, s->pts); in activate()
68 memcpy(frame->data[0], coeffs + s->pts, nb_samples * sizeof(float)); in activate()
70 frame->pts = s->pts; in activate()
71 s->pts += nb_samples; in activate()
346 s->pts = 0; in config_output()
H A Dvsrc_mandelbrot.c64 uint64_t pts; member
99 {"end_pts", "set the terminal pts value", OFFSET(end_pts), AV_OPT_TYPE_DOUBLE, {.dbl=400}, 0, INT64_MAX, FLAGS },
240 static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize, int64_t pts) in draw_mandelbrot() argument
244 double scale= s->start_scale*pow(s->end_scale/s->start_scale, pts/s->end_pts); in draw_mandelbrot()
279 zr += cos(pts * s->morphxf) * s->morphamp; in draw_mandelbrot()
280 zi += sin(pts * s->morphyf) * s->morphamp; in draw_mandelbrot()
397 picref->pts = s->pts++; in request_frame()
399 draw_mandelbrot(link->src, (uint32_t*)picref->data[0], picref->linesize[0]/4, picref->pts); in request_frame()
H A Dvf_curves.c393 char **pts = &curves->comp_points_str[comp_ids[i]]; in parse_psfile() local
394 if (!*pts) { in parse_psfile()
395 *pts = av_strdup(ptstr.str); in parse_psfile()
397 i, comp_ids[i], nb_points, *pts); in parse_psfile()
398 if (!*pts) { in parse_psfile()
476 char **pts = curves->comp_points_str; in curves_init() local
484 if (!pts[i]) in curves_init()
485 pts[i] = av_strdup(allp); in curves_init()
486 if (!pts[i]) in curves_init()
500 if (!pts[ in curves_init()
636 char **pts = curves->comp_points_str; config_input() local
[all...]
/kernel/linux/linux-5.10/drivers/iommu/
H A Dtegra-smmu.c57 struct page **pts; member
312 as->pts = kcalloc(SMMU_NUM_PDE, sizeof(*as->pts), GFP_KERNEL); in tegra_smmu_domain_alloc()
313 if (!as->pts) { in tegra_smmu_domain_alloc()
338 kfree(as->pts); in tegra_smmu_domain_free()
572 pt_page = as->pts[pd_index]; in tegra_smmu_pte_lookup()
588 if (!as->pts[pde]) { in as_get_pte()
605 as->pts[pde] = page; in as_get_pte()
617 return tegra_smmu_pte_offset(as->pts[pde], iova); in as_get_pte()
630 struct page *page = as->pts[pd in tegra_smmu_pte_put_use()
[all...]
/kernel/linux/linux-6.6/drivers/iommu/
H A Dtegra-smmu.c58 struct page **pts; member
301 as->pts = kcalloc(SMMU_NUM_PDE, sizeof(*as->pts), GFP_KERNEL); in tegra_smmu_domain_alloc()
302 if (!as->pts) { in tegra_smmu_domain_alloc()
327 kfree(as->pts); in tegra_smmu_domain_free()
567 pt_page = as->pts[pd_index]; in tegra_smmu_pte_lookup()
583 if (!as->pts[pde]) { in as_get_pte()
600 as->pts[pde] = page; in as_get_pte()
612 return tegra_smmu_pte_offset(as->pts[pde], iova); in as_get_pte()
625 struct page *page = as->pts[pd in tegra_smmu_pte_put_use()
[all...]
/third_party/skia/src/pathops/
H A DSkOpAngle.cpp488 const SkPoint* pts = segment.pts(); in distEndRatio() local
495 v.set(pts[idx2] - pts[idx1]); in distEndRatio()
523 (*CurveIntersectRay[cVerb])(segment.pts(), segment.weight(), rays[index], &i); in endsIntersect()
643 SkDVector slopeAtEnd = (*CurveDSlopeAtT[verb])(segment->pts(), segment->weight(), in endToSide()
650 (*CurveIntersectRay[oppVerb])(oppSegment->pts(), oppSegment->weight(), rayEnd, &iEnd); in endToSide()
871 (*CurveIntersectRay[verb])(segment->pts(), segment->weight(), rayMid, &iMid); in midToSide()
879 (*CurveIntersectRay[oppVerb])(oppSegment->pts(), oppSegment->weight(), rayMid, &oppMid); in midToSide()
977 const SkPoint* pts in setSpans() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_linear_track.cpp34 sk_sp<SkShader> RosenRenderLinearTrack::BlendSkShader(const SkPoint pts, const SkColor color, bool useAnimator) in BlendSkShader() argument
45 const SkPoint gradientPoints[2] = { { pts.fX - scanLeftOffset, pts.fY }, { pts.fX + scanRightOffset, pts.fY } }; in BlendSkShader()
58 const RSPoint pts, const RSColorQuad color, bool useAnimator)
69 const RSPoint gradientPoints[2] = { { pts.GetX() - scanLeftOffset, pts.GetY() },
70 { pts.GetX() + scanRightOffset, pts
[all...]
/foundation/multimedia/av_codec/test/unittest/audio_test/
H A Daudio_decoder_ability_unit_test.cpp203 int32_t HandleNormalInput(const uint32_t &index, const int64_t pts, const size_t size);
280 info.pts = 0; in HandleInputEOS()
287 int32_t AudioCodeCapiDecoderUnitTest::HandleNormalInput(const uint32_t &index, const int64_t pts, const size_t size) in HandleNormalInput() argument
292 info.pts = pts; in HandleNormalInput()
313 int64_t pts; in InputFunc() local
339 inputFile_.read(reinterpret_cast<char *>(&pts), sizeof(pts)); in InputFunc()
340 if (inputFile_.gcount() != sizeof(pts)) { in InputFunc()
350 int32_t ret = HandleNormalInput(index, pts, siz in InputFunc()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_output/output_control/src/
H A Doutput_controller.cpp248 int64_t timeStamp = data->pts; in ControlOutput()
361 clockUnit.pts = INVALID_TIMESTAMP; in AcquireSyncClockTime()
366 TRUE_RETURN_V_MSG_D((clockUnit.pts == INVALID_TIMESTAMP), ERR_DH_AVT_SHARED_MEMORY_FAILED, in AcquireSyncClockTime()
368 clockUnit_.pts = clockUnit.pts; in AcquireSyncClockTime()
370 SetClockTime(clockUnit_.pts); in AcquireSyncClockTime()
371 AVTRANS_LOGD("Acquire sync clock success, pts: %{public}lld.", clockUnit_.pts); in AcquireSyncClockTime()
458 AVTRANS_LOGD("Control frame pts: %{public}lld, interval: %{public}lld, elapse: %{public}lld, render: %{public}lld," in CalSleepTime()
507 int64_t vTimeStamp = data->pts; in HandleSmoothTime()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/protocol/frame/
H A Dh264_frame.h55 H264Frame(uint8_t *ptr, size_t size, uint32_t dts, uint32_t pts = 0, size_t prefix_size = 0) in H264Frame()
59 pts_ = pts; in H264Frame()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/
H A Dffmpeg_utils.h42 int64_t ConvertTimeFromFFmpeg(int64_t pts, AVRational base);
43 int64_t ConvertPts(int64_t pts, int64_t startTime);
/foundation/multimedia/av_codec/test/unittest/avmuxer_test/capi/
H A Davmuxer_capi_mock.cpp56 bufferAttr.pts = info.pts; in WriteSample()
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/sink/
H A Dplayer_sync.h77 int32_t ProcVidFrame(int64_t pts, SyncRet &result);
78 int32_t ProcAudFrame(int64_t pts, SyncRet &result);
102 int64_t lastVideoTsUs_; // pts in us
108 int64_t lastAudioTsUs_; // pts in us
/foundation/multimedia/player_framework/frameworks/native/video_editor/test/unittest/codec/video/encoder/
H A Dvideo_encoder_engine_impl_test.cpp40 void OnEncodeFrame(uint64_t pts) override
42 pts_ = pts;
/third_party/ffmpeg/libavformat/
H A Dwebvttenc.c83 webvtt_write_time(pb, pkt->pts); in webvtt_write_packet()
85 webvtt_write_time(pb, pkt->pts + pkt->duration); in webvtt_write_packet()
H A Dsubviewer1dec.c77 sub->duration = pts_start - sub->pts; in subviewer1_read_header()
83 sub->pts = pts_start; in subviewer1_read_header()
/third_party/ffmpeg/tools/
H A Dseek_print.c85 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 DAffineMatrix.h39 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 Dblur4444.cpp49 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 Dalphagradients.cpp37 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 Dcgm.c29 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()
/third_party/skia/modules/sksg/src/
H A DSkSGGradient.cpp41 const SkPoint pts[] = { fStartPoint, fEndPoint }; in onMakeShader() local
42 return SkGradientShader::MakeLinear(pts, colors.data(), nullptr, positions.data(), in onMakeShader()

Completed in 17 milliseconds

1...<<11121314151617181920>>...52