Home
last modified time | relevance | path

Searched refs:work_unit (Results 1 – 2 of 2) sorted by relevance

/external/openscreen/cast/standalone_sender/
Dstreaming_vp8_encoder.cc139 WorkUnit work_unit; in EncodeAndSend() local
147 work_unit.rtp_timestamp = RtpTimeTicks(); in EncodeAndSend()
149 work_unit.rtp_timestamp = RtpTimeTicks::FromTimeSinceOrigin( in EncodeAndSend()
151 if (work_unit.rtp_timestamp <= last_enqueued_rtp_timestamp_) { in EncodeAndSend()
158 if (sender_->GetInFlightMediaDuration(work_unit.rtp_timestamp) > in EncodeAndSend()
176 (work_unit.rtp_timestamp - last_enqueued_rtp_timestamp_) in EncodeAndSend()
180 work_unit.duration = in EncodeAndSend()
183 last_enqueued_rtp_timestamp_ = work_unit.rtp_timestamp; in EncodeAndSend()
185 work_unit.image = CloneAsVpxImage(frame); in EncodeAndSend()
186 work_unit.reference_time = reference_time; in EncodeAndSend()
[all …]
Dstreaming_vp8_encoder.h229 void EncodeFrame(bool force_key_frame, WorkUnitWithResults* work_unit);
235 WorkUnitWithResults* work_unit);