Home
last modified time | relevance | path

Searched refs:pts (Results 76 - 100 of 297) sorted by relevance

12345678910>>...12

/foundation/multimedia/media_foundation/tests/unittest/avbuffer/inner/
H A Davbuffer_inner_mock.cpp43 attr.pts = buffer_->pts_; in GetBufferAttr()
54 buffer_->pts_ = attr.pts; in SetBufferAttr()
/foundation/multimedia/av_codec/test/unittest/common/common_mock/avbuffer/inner/
H A Davbuffer_inner_mock.cpp46 attr.pts = buffer_->pts_; in GetBufferAttr()
62 buffer_->pts_ = attr.pts; in SetBufferAttr()
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/data_producer/data_producer_base/
H A Ddata_producer_base.cpp53 if (bufferInfo.attr.pts == 0) { in ReadSample()
54 bufferInfo.attr.pts = frameCount_ * in ReadSample()
/foundation/multimedia/av_codec/test/unittest/reference_parser_test/reference_parser_demo/
H A Dreference_parser_demo.cpp166 int64_t pts = -1L; in DoAccurateSeek() local
167 while (pts < seekTimeMs * MILL_TO_MICRO) { in DoAccurateSeek()
173 pts = buffer_->pts_; in DoAccurateSeek()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_demuxer_plugin.h157 void IndexToRelativePTSProcess(int64_t pts, uint32_t index);
158 void RelativePTSToIndexProcess(int64_t pts, int64_t absolutePTS);
160 int64_t pts, int64_t absolutePTS, uint32_t index);
223 int64_t pts; member
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_output/daudio_output/
H A Ddaudio_output_plugin.cpp244 int64_t pts = Plugin::AnyCast<int64_t>(bufferMeta->GetMeta(Tag::USER_FRAME_PTS)); in PushData() local
246 AVTRANS_LOGI("Push audio buffer, bufferLen: %{public}zu, frameNum: %{public}u, pts: %{public}ld", in PushData()
247 buffer->GetMemory()->GetSize(), frameNum, pts); in PushData()
313 int64_t pts = Plugin::AnyCast<int64_t>(buffer->GetBufferMeta()->GetMeta(Tag::USER_FRAME_PTS)); in WriteMasterClockToMemory() local
314 AVSyncClockUnit clockUnit = AVSyncClockUnit{ smIndex_, frameNum, pts }; in WriteMasterClockToMemory()
/foundation/CastEngine/castengine_wifi_display/services/mediachannel/
H A Dmedia_channel_def.h62 uint64_t pts; member
/foundation/multimedia/player_framework/frameworks/native/video_editor/codec/
H A Dvideo_encoder_engine.h34 virtual void OnEncodeFrame(uint64_t pts) = 0;
H A Dvideo_decoder_engine.h34 virtual void OnDecodeFrame(uint64_t pts) = 0;
/foundation/multimedia/player_framework/frameworks/native/video_editor/codec/video/decoder/
H A Dvideo_decoder_engine_impl.h38 void OnDecodeFrame(uint64_t pts) override;
/foundation/distributedhardware/distributed_camera/services/cameraservice/base/include/
H A Ddcamera_frame_info.h40 int64_t pts = 0; member
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhcodec_dfx.cpp271 inTimeMap_[info.omxBuffer->pts] = now; in UpdateInputRecord()
280 HLOGI("pts = %" PRId64 ", len = %u, flags = 0x%x", in UpdateInputRecord()
281 info.omxBuffer->pts, info.omxBuffer->filledLen, info.omxBuffer->flag); in UpdateInputRecord()
284 HLOGI("pts = %" PRId64 ", len = %u, flags = 0x%x, in fps %.2f", in UpdateInputRecord()
285 info.omxBuffer->pts, info.omxBuffer->filledLen, info.omxBuffer->flag, inFps); in UpdateInputRecord()
294 auto it = inTimeMap_.find(info.omxBuffer->pts); in UpdateOutputRecord()
313 HLOGI("pts = %" PRId64 ", len = %u, flags = 0x%x, " in UpdateOutputRecord()
315 info.omxBuffer->pts, info.omxBuffer->filledLen, info.omxBuffer->flag, in UpdateOutputRecord()
319 HLOGI("pts = %" PRId64 ", len = %u, flags = 0x%x, " in UpdateOutputRecord()
321 info.omxBuffer->pts, inf in UpdateOutputRecord()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/protocol/frame/
H A Dframe_merger.h32 std::function<void(uint32_t dts, uint32_t pts, const DataBuffer::Ptr &buffer, bool have_key_frame)>;
/foundation/multimedia/av_codec/test/moduletest/muxer/InnerAPI/
H A DInnerAVMuxerFunctionTest.cpp321 int WriteTrackSampleByFdRead(int *inputFile, int64_t *pts, int *dataSize, int *dataTrackId) in WriteTrackSampleByFdRead() argument
328 ret = read(*inputFile, static_cast<void*>(pts), sizeof(*pts)); in WriteTrackSampleByFdRead()
376 int64_t pts = 0; in WriteTrackSampleByFd() local
382 ret = WriteTrackSampleByFdRead(&inputFile, &pts, &dataSize, &dataTrackId); in WriteTrackSampleByFd()
401 avMuxerDemoBuffer->pts_ = pts; in WriteTrackSampleByFd()
469 int WriteSingleTrackSampleRead(int *fp, int64_t *pts, int *dataSize, int *flags) in WriteSingleTrackSampleRead() argument
471 int ret = read(*fp, static_cast<void*>(pts), sizeof(*pts)); in WriteSingleTrackSampleRead()
509 int64_t pts in WriteSingleTrackSample() local
[all...]
/foundation/CastEngine/castengine_wifi_display/services/impl/screen_capture/
H A Dscreen_capture_consumer.cpp37 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 Dtest_recorder.cpp394 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()
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/decoder/
H A Dvideo_decoder_sample.cpp77 AVCODEC_LOGV("In buffer count: %{public}u, size: %{public}d, flag: %{public}u, pts: %{public}" PRId64, in InputThread()
79 bufferInfo.attr.size, bufferInfo.attr.flags, bufferInfo.attr.pts); in InputThread()
97 AVCODEC_LOGV("Out buffer count: %{public}u, size: %{public}d, flag: %{public}u, pts: %{public}" PRId64, in OutputThread()
99 bufferInfo.attr.size, bufferInfo.attr.flags, bufferInfo.attr.pts); in OutputThread()
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_graphic.cpp278 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 Dcanvas_test.cpp380 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()
/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/
H A DNativeAVMuxerFunctionTest.cpp146 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...]
H A DNativeAVMuxerParamCheckTest.cpp554 info.pts = 0; in HWTEST_F()
575 * @tc.name : OH_AVMuxer_WriteSampleBuffer - info.pts check
608 info.pts = 0; in HWTEST_F()
616 info.pts = -1; in HWTEST_F()
662 info.pts = 0; in HWTEST_F()
716 info.pts = 0; in HWTEST_F()
770 info.pts = 0; in HWTEST_F()
824 info.pts = 0; in HWTEST_F()
931 info.pts = 0; in HWTEST_F()
952 * @tc.name : OH_AVMuxer_WriteSampleBuffer - info.pts chec
[all...]
/foundation/multimedia/av_codec/services/engine/common/include/
H A Dffmpeg_converter.h55 static int64_t ConvertAudioPtsToUs(int64_t pts, AVRational base);
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/
H A Dffmpeg_converter.h56 static int64_t ConvertAudioPtsToUs(int64_t pts, AVRational base);
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/include/
H A Dav_sync_utils.h37 int64_t pts; member
70 * @brief write frame number and pts into the shared memory space.
73 * @param timestamp the pts
79 * @brief read frame number and pts from the shared memory space.
82 * @param timestamp the pts
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_sink/
H A Dwfd_rtp_consumer.cpp238 mediaData->pts = frame->Pts(); in OnRtpUnpackCallback()
256 mediaData->pts = frame->Pts(); in OnRtpUnpackCallback()
323 mediaData->pts = frame->Pts(); in OnRtpUnpackCallback()

Completed in 16 milliseconds

12345678910>>...12