Searched refs:clockUnit (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
H A D | av_sync_utils.cpp | 85 clockUnit.index, clockUnit.frameNum, (long long)clockUnit.pts); in WriteClockUnitToMemory() 106 U64ToU8(base + tOffset, clockUnit.pts); in WriteClockUnitToMemory() 109 clockUnit.index ++; in WriteClockUnitToMemory() 111 clockUnit.index = 0; in WriteClockUnitToMemory() 115 clockUnit.frameNum, (long long)(clockUnit.pts)); in WriteClockUnitToMemory() 126 clockUnit.index, clockUnit.frameNum); in ReadClockUnitFromMemory() 156 clockUnit.pts = pts; in ReadClockUnitFromMemory() 157 clockUnit.frameNum = frameNum; in ReadClockUnitFromMemory() 162 clockUnit.frameNum, (long long)clockUnit.pts); in ReadClockUnitFromMemory() 264 …return (clockUnit.index < 0) || (clockUnit.index >= MAX_CLOCK_UNIT_COUNT) || (clockUnit.frameNum <… in IsInValidClockUnit() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/include/ |
H A D | av_sync_utils.h | 59 int32_t WriteClockUnitToMemory(const AVTransSharedMemory &memory, AVSyncClockUnit &clockUnit); 67 int32_t ReadClockUnitFromMemory(const AVTransSharedMemory &memory, AVSyncClockUnit &clockUnit); 95 bool IsInValidClockUnit(const AVSyncClockUnit &clockUnit);
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_output/output_control/src/ |
H A D | output_controller.cpp | 360 AVSyncClockUnit clockUnit; in AcquireSyncClockTime() local 361 clockUnit.pts = INVALID_TIMESTAMP; in AcquireSyncClockTime() 363 … clockUnit.frameNum = Plugin::AnyCast<uint32_t>(bufferMeta->GetMeta(Tag::AUDIO_SAMPLE_PER_FRAME)); in AcquireSyncClockTime() 364 int32_t ret = ReadClockUnitFromMemory(sharedMem, clockUnit); 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() 369 clockUnit_.frameNum = clockUnit.frameNum; in AcquireSyncClockTime()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_output/daudio_output/ |
H A D | daudio_output_plugin.cpp | 314 AVSyncClockUnit clockUnit = AVSyncClockUnit{ smIndex_, frameNum, pts }; in WriteMasterClockToMemory() 315 int32_t ret = WriteClockUnitToMemory(sharedMemory_, clockUnit); in WriteMasterClockToMemory() 317 smIndex_ = clockUnit.index; in WriteMasterClockToMemory()
|