Home
last modified time | relevance | path

Searched refs:timeUs (Results 1 – 10 of 10) sorted by relevance

/device/google/cuttlefish/host/frontend/gcastv2/webrtc/
DPacketizer.cpp85 int64_t timeUs = accessUnit->time_us(); in onFrame() local
86 CHECK(timeUs); in onFrame()
91 mStartTimeMedia = timeUs; in onFrame()
101 << timeUs; in onFrame()
103 packetize(accessUnit, timeUs); in onFrame()
DOpusPacketizer.cpp34 void OpusPacketizer::packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs) { in packetize() argument
49 uint32_t rtpTime = ((timeUs - mediaStartTime()) * 48) / 1000; in packetize()
DG711Packetizer.cpp36 void G711Packetizer::packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs) { in packetize() argument
51 uint32_t rtpTime = ((timeUs - mediaStartTime()) * 8) / 1000; in packetize()
DVP8Packetizer.cpp34 void VP8Packetizer::packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs) { in packetize() argument
47 uint32_t rtpTime = ((timeUs - mediaStartTime()) * 9) / 100; in packetize()
/device/google/cuttlefish/host/frontend/gcastv2/libsource/
DFrameBufferSource.cpp51 virtual std::shared_ptr<SBuffer> encodeStoredFrame(int64_t timeUs) = 0;
64 std::shared_ptr<SBuffer> encodeStoredFrame(int64_t timeUs) override;
183 int64_t timeUs) { in encodeStoredFrame() argument
201 frameDuration = timeUs - mLastTimeUs; in encodeStoredFrame()
207 mLastTimeUs = timeUs; in encodeStoredFrame()
212 timeUs, in encodeStoredFrame()
248 accessUnit->time_us(timeUs); in encodeStoredFrame()
DAudioSource.cpp257 static int64_t timeUs = 0; in encode() local
266 << (((timeUs - prevTimeUs) * hdr.frame_rate) / 1000000ll) in encode()
269 prevTimeUs = timeUs; in encode()
369 outBuffer->time_us(timeUs); in encode()
373 timeUs += (copyFrames * 1000ll) / 48; in encode()
490 static int64_t timeUs = 0; in encode() local
499 << ((timeUs - prevTimeUs) * 441) / 10000 in encode()
502 prevTimeUs = timeUs; in encode()
546 mOutputFrame->time_us(timeUs); in encode()
550 timeUs += (kNumFramesPerBuffer * 1000ll) / 8; in encode()
/device/google/cuttlefish/host/frontend/gcastv2/webrtc/include/webrtc/
DVP8Packetizer.h39 void packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs);
DOpusPacketizer.h44 void packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs);
DG711Packetizer.h50 void packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs);
DPacketizer.h50 int64_t timeUs) = 0;