Searched refs:timeUs (Results 1 – 10 of 10) sorted by relevance
85 int64_t timeUs = accessUnit->time_us(); in onFrame() local86 CHECK(timeUs); in onFrame()91 mStartTimeMedia = timeUs; in onFrame()101 << timeUs; in onFrame()103 packetize(accessUnit, timeUs); in onFrame()
34 void OpusPacketizer::packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs) { in packetize() argument49 uint32_t rtpTime = ((timeUs - mediaStartTime()) * 48) / 1000; in packetize()
36 void G711Packetizer::packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs) { in packetize() argument51 uint32_t rtpTime = ((timeUs - mediaStartTime()) * 8) / 1000; in packetize()
34 void VP8Packetizer::packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs) { in packetize() argument47 uint32_t rtpTime = ((timeUs - mediaStartTime()) * 9) / 100; in packetize()
51 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() argument201 frameDuration = timeUs - mLastTimeUs; in encodeStoredFrame()207 mLastTimeUs = timeUs; in encodeStoredFrame()212 timeUs, in encodeStoredFrame()248 accessUnit->time_us(timeUs); in encodeStoredFrame()
257 static int64_t timeUs = 0; in encode() local266 << (((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() local499 << ((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()
39 void packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs);
44 void packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs);
50 void packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs);
50 int64_t timeUs) = 0;