Home
last modified time | relevance | path

Searched refs:stamp (Results 1 - 25 of 47) sorted by relevance

12

/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/src/
H A Drtp_codec_aac.cpp47 auto stamp = rtp->GetStampMS(); in InputRtp() local
63 lastDts_ = stamp; in InputRtp()
66 auto dtsInc_ = (stamp - lastDts_) / auHeaderCount; in InputRtp()
68 "RtpDecoderAAC::InputRtp seq: %{public}d payloadLen: %{public}zu auHeaderCount: %{public}d stamp: %{public}d " in InputRtp()
70 rtp->GetSeq(), rtp->GetPayloadSize(), auHeaderCount, stamp, dtsInc_); in InputRtp()
93 lastDts_ = stamp; in InputRtp()
172 auto stamp = frame->Dts(); in InputFrame() local
189 MakeAACRtp(sectionBuf_, remain_size + 4, true, stamp); // 4:byte offset in InputFrame()
201 MakeAACRtp(sectionBuf_, max_size + 4, false, stamp); // 4:byte offset in InputFrame()
212 void RtpEncoderAAC::MakeAACRtp(const void *data, size_t len, bool mark, uint32_t stamp) in MakeAACRtp() argument
[all...]
H A Drtp_codec_h264.cpp52 auto stamp = rtp->GetStampMS(); in InputRtp() local
55 MEDIA_LOGD("rtpDecoderH264::InputRtp length: %{public}d, stamp: %{public}d, seq: %{public}d, nal: %{public}d.", in InputRtp()
56 length, stamp, seq, nal); in InputRtp()
60 UnpackStapA(rtp, frame + 1, length - 1, stamp); in InputRtp()
63 UnpackFuA(rtp, frame, length, stamp, seq); in InputRtp()
68 UnpackSingle(rtp, frame, length, stamp); in InputRtp()
87 bool RtpDecoderH264::UnpackSingle(const RtpPacket::Ptr &rtp, const uint8_t *ptr, ssize_t size, uint32_t stamp) in UnpackSingle() argument
94 frame_->pts_ = stamp; in UnpackSingle()
100 bool RtpDecoderH264::UnpackStapA(const RtpPacket::Ptr &rtp, const uint8_t *ptr, ssize_t size, uint32_t stamp) in UnpackStapA() argument
114 if (UnpackSingle(rtp, ptr, len, stamp)) { in UnpackStapA()
123 UnpackFuA(const RtpPacket::Ptr &rtp, const uint8_t *ptr, ssize_t size, uint32_t stamp, uint16_t seq) UnpackFuA() argument
[all...]
H A Drtp_codec_g711.cpp36 auto stamp = rtp->GetStampMS(); in InputRtp() local
39 if (frame_->dts_ != stamp || frame_->Size() > maxFrameSize_) { in InputRtp()
45 frame_->dts_ = stamp; in InputRtp()
100 auto stamp = cacheFrame_->Pts(); in InputFrame() local
103 auto rtpPack = MakeRtp(ptr, len, false, stamp); in InputFrame()
H A Drtp_maker.cpp43 RtpPacket::Ptr RtpMaker::MakeRtp(const void *data, size_t len, bool mark, uint32_t stamp) in MakeRtp() argument
63 header->stamp_ = htonl(uint64_t(stamp) * (sampleRate_ / 1000)); // 1000:unit in MakeRtp()
/foundation/resourceschedule/ffrt/benchmarks/
H A Dbenchmarks.sh55 stamp=$(git log --date=format:'%Y_%m_%d_%H_%M_%S' -1 | grep Date | sed -E 's/[^0-9]*([0-9_]*)/\1/g')
56 output_dir=${benchmarks_path}/output/tag_$stamp
74 MPLBACKEND=svg "$benchmarks_path/plot.py" "$output_dir" "benchmark_${stamp}.svg"
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_extra_input_data.h36 auto stamp = std::chrono::duration_cast<std::chrono::milliseconds>(time.time_since_epoch()).count(); in AceExtraInputData() local
37 msSinceEpoch = static_cast<uint64_t>(stamp); in AceExtraInputData()
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/src/
H A Drtcp_context.cpp24 void RtcpContext::OnRtp(uint16_t /*seq*/, uint32_t stamp, uint64_t ntpStampMs, uint32_t /*sampleRate*/, size_t bytes) in OnRtp() argument
28 lastRtpStamp_ = stamp; in OnRtp()
114 void RtcpReceiverContext::OnRtp(uint16_t seq, uint32_t stamp, uint64_t ntpStampMs, uint32_t sampleRate, size_t bytes) in OnRtp() argument
121 (int64_t(stamp) - int64_t(lastRtpStamp_))); in OnRtp()
154 RtcpContext::OnRtp(seq, stamp, ntpStampMs, sampleRate, bytes); in OnRtp()
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/include/
H A Drtp_codec_h264.h39 bool UnpackStapA(const RtpPacket::Ptr &rtp, const uint8_t *ptr, ssize_t size, uint32_t stamp);
40 bool UnpackSingle(const RtpPacket::Ptr &rtp, const uint8_t *ptr, ssize_t size, uint32_t stamp);
41 bool UnpackFuA(const RtpPacket::Ptr &rtp, const uint8_t *ptr, ssize_t size, uint32_t stamp, uint16_t seq);
H A Drtp_maker.h34 RtpPacket::Ptr MakeRtp(const void *data, size_t len, bool mark, uint32_t stamp);
H A Drtp_codec_aac.h61 void MakeAACRtp(const void *data, size_t len, bool mark, uint32_t stamp);
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/common/
H A Djs_api_perf.cpp24 TimeStamp stamp = { in InsertJsBeginLog() local
28 startTimeData_.push(stamp); in InsertJsBeginLog()
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/include/
H A Drtcp_context.h33 // seq: rtp seq, stamp: rtp stamp(samples), sampleRate: 90000 for video, bytes: rtp packet size
34 virtual void OnRtp(uint16_t seq, uint32_t stamp, uint64_t ntpStampMs, uint32_t sampleRate, size_t bytes);
91 std::map<uint32_t, uint64_t> senderReportNtp_; // last sr, lsr ntp stamp
92 std::map<uint32_t, uint64_t> xrRrtrRecvSysStamp_; // ssrc, xr rrtr sys stamp
100 void OnRtp(uint16_t seq, uint32_t stamp, uint64_t ntpStampMs, uint32_t sampleRate, size_t bytes) override;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
H A Disync_interface.h52 virtual void GetMaxTimestamp(Timestamp &stamp) const = 0;
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/
H A DOHAudioCapturer.cpp183 Timestamp stamp; in OH_AudioCapturer_GetTimestamp() local
185 bool ret = audioCapturer->GetAudioTime(stamp, base); in OH_AudioCapturer_GetTimestamp()
190 *framePosition = stamp.framePosition; in OH_AudioCapturer_GetTimestamp()
191 *timestamp = stamp.time.tv_sec * SECOND_TO_NANOSECOND + stamp.time.tv_nsec; in OH_AudioCapturer_GetTimestamp()
H A DOHAudioRenderer.cpp205 Timestamp stamp; in OH_AudioRenderer_GetTimestamp() local
207 bool ret = audioRenderer->GetAudioTime(stamp, base); in OH_AudioRenderer_GetTimestamp()
212 *framePosition = stamp.framePosition; in OH_AudioRenderer_GetTimestamp()
213 *timestamp = stamp.time.tv_sec * SECOND_TO_NANOSECOND + stamp.time.tv_nsec; in OH_AudioRenderer_GetTimestamp()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Dvirtual_relational_ver_sync_db_interface.cpp203 void VirtualRelationalVerSyncDBInterface::GetMaxTimestamp(Timestamp &stamp) const in GetMaxTimestamp()
207 if (stamp < entry.second.logInfo.timestamp) { in GetMaxTimestamp()
208 stamp = entry.second.logInfo.timestamp; in GetMaxTimestamp()
212 LOGD("VirtualSingleVerSyncDBInterface::GetMaxTimestamp time = %" PRIu64, stamp); in GetMaxTimestamp()
H A Dvirtual_multi_ver_sync_db_interface.cpp52 void VirtualMultiVerSyncDBInterface::GetMaxTimestamp(Timestamp &stamp) const in GetMaxTimestamp()
54 return kvStore_->GetMaxTimestamp(stamp); in GetMaxTimestamp()
H A Dvirtual_single_ver_sync_db_Interface.cpp231 void VirtualSingleVerSyncDBInterface::GetMaxTimestamp(Timestamp& stamp) const in GetMaxTimestamp()
234 if (stamp < iter->writeTimestamp) { in GetMaxTimestamp()
235 stamp = iter->writeTimestamp; in GetMaxTimestamp()
238 LOGD("VirtualSingleVerSyncDBInterface::GetMaxTimestamp time = %" PRIu64, stamp); in GetMaxTimestamp()
H A Dvirtual_multi_ver_sync_db_interface.h37 void GetMaxTimestamp(Timestamp &stamp) const override;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_natural_store.h69 void GetMaxTimestamp(Timestamp &stamp) const override;
126 void SetMaxTimestamp(Timestamp stamp);
H A Dikvdb_multi_ver_transaction.h42 virtual int UpdateTimestampByVersion(const Version &version, Timestamp stamp) const = 0;
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/fast/
H A Dfast_audio_renderer_sink.cpp536 int64_t stamp = ClockTime::GetCurNano(); in RenderFrame() local
575 stamp = (ClockTime::GetCurNano() - stamp) / AUDIO_US_PER_SECOND; in RenderFrame()
577 "<%{public}" PRIu64 "> dataAfter<%{public}" PRIu64 ">", len, stamp, curWritePos_, dataBefore, dataAfter); in RenderFrame()
635 int64_t stamp = ClockTime::GetCurNano(); in Start() local
653 AUDIO_DEBUG_LOG("Start cost[%{public}" PRId64 "]ms", (ClockTime::GetCurNano() - stamp) / AUDIO_US_PER_SECOND); in Start()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/multichannel/
H A Dmultichannel_audio_renderer_sink.cpp509 int64_t stamp = ClockTime::GetCurNano(); in RenderFrame() local
552 stamp = (ClockTime::GetCurNano() - stamp) / AUDIO_US_PER_SECOND; in RenderFrame()
554 AUDIO_DEBUG_LOG("RenderFrame len[%{public}" PRIu64 "] cost[%{public}" PRId64 "]ms", len, stamp); in RenderFrame()
814 int64_t stamp = ClockTime::GetCurNano(); in SetOutputRoute() local
819 stamp = (ClockTime::GetCurNano() - stamp) / AUDIO_US_PER_SECOND; in SetOutputRoute()
820 AUDIO_INFO_LOG("UpdateAudioRoute cost[%{public}" PRId64 "]ms", stamp); in SetOutputRoute()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_data_sync_utils.cpp393 Timestamp stamp = 0; in GetMaxSendDataTime() local
399 if (stamp < tempStamp) { in GetMaxSendDataTime()
400 stamp = tempStamp; in GetMaxSendDataTime()
403 return stamp; in GetMaxSendDataTime()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_natural_store.h73 void GetMaxTimestamp(Timestamp &stamp) const override;

Completed in 15 milliseconds

12