Searched refs:accessUnit (Results 1 – 12 of 12) sorted by relevance
/device/google/cuttlefish/host/frontend/gcastv2/webrtc/ |
D | Packetizer.cpp | 68 [weak_this](const std::shared_ptr<android::SBuffer> &accessUnit) { in run() argument 73 me.get(), &Packetizer::onFrame, accessUnit)); in run() 80 void Packetizer::onFrame(const std::shared_ptr<android::SBuffer>& accessUnit) { in onFrame() argument 81 if (!accessUnit) { in onFrame() 85 int64_t timeUs = accessUnit->time_us(); in onFrame() 99 << accessUnit->size() in onFrame() 103 packetize(accessUnit, timeUs); in onFrame()
|
D | OpusPacketizer.cpp | 34 void OpusPacketizer::packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs) { in packetize() argument 35 LOG(VERBOSE) << "Received Opus frame of size " << accessUnit->size(); in packetize() 46 const uint8_t *audioData = accessUnit->data(); in packetize() 47 size_t size = accessUnit->size(); in packetize()
|
D | G711Packetizer.cpp | 36 void G711Packetizer::packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs) { in packetize() argument 37 LOG(VERBOSE) << "Received G711 frame of size " << accessUnit->size(); in packetize() 48 const uint8_t *audioData = accessUnit->data(); in packetize() 49 size_t size = accessUnit->size(); in packetize()
|
D | VP8Packetizer.cpp | 34 void VP8Packetizer::packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs) { in packetize() argument 44 const uint8_t *src = accessUnit->data(); in packetize() 45 size_t srcSize = accessUnit->size(); in packetize()
|
/device/google/cuttlefish/host/frontend/gcastv2/libsource/ |
D | FrameBufferSource.cpp | 225 std::shared_ptr<SBuffer> accessUnit; in encodeStoredFrame() local 234 if (accessUnit != nullptr) { in encodeStoredFrame() 242 accessUnit.reset(new SBuffer(packet->data.frame.sz)); in encodeStoredFrame() 244 memcpy(accessUnit->data(), in encodeStoredFrame() 248 accessUnit->time_us(timeUs); in encodeStoredFrame() 256 return accessUnit; in encodeStoredFrame() 388 auto accessUnit = mEncoder->encodeStoredFrame(GetNowUs()); in injectFrame() local 389 StreamingSource::onAccessUnit(accessUnit); in injectFrame() 401 auto accessUnit = mEncoder->encodeStoredFrame(GetNowUs()); in notifyNewStreamConsumer() local 402 if (!accessUnit) { in notifyNewStreamConsumer() [all …]
|
D | StreamingSource.cpp | 30 void StreamingSource::onAccessUnit(const std::shared_ptr<SBuffer> &accessUnit) { in onAccessUnit() argument 32 mCallbackFn(accessUnit); in onAccessUnit()
|
D | AudioSource.cpp | 677 mEncoder->setFrameCallback([this](const std::shared_ptr<SBuffer> &accessUnit) { in AudioSource() argument 678 StreamingSource::onAccessUnit(accessUnit); in AudioSource()
|
/device/google/cuttlefish/host/frontend/gcastv2/webrtc/include/webrtc/ |
D | Packetizer.h | 46 virtual void onFrame(const std::shared_ptr<android::SBuffer>& accessUnit); 49 virtual void packetize(const std::shared_ptr<android::SBuffer>& accessUnit,
|
D | VP8Packetizer.h | 39 void packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs);
|
D | OpusPacketizer.h | 44 void packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs);
|
D | G711Packetizer.h | 50 void packetize(const std::shared_ptr<SBuffer> &accessUnit, int64_t timeUs);
|
/device/google/cuttlefish/host/frontend/gcastv2/libsource/include/source/ |
D | StreamingSource.h | 97 void onAccessUnit(const std::shared_ptr<SBuffer> &accessUnit);
|