Home
last modified time | relevance | path

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

/external/openscreen/cast/standalone_sender/
Dstreaming_av1_encoder.cc121 WorkUnit work_unit; in EncodeAndSend() local
129 work_unit.rtp_timestamp = RtpTimeTicks(); in EncodeAndSend()
131 work_unit.rtp_timestamp = RtpTimeTicks::FromTimeSinceOrigin( in EncodeAndSend()
133 if (work_unit.rtp_timestamp <= last_enqueued_rtp_timestamp_) { in EncodeAndSend()
140 if (sender_->GetInFlightMediaDuration(work_unit.rtp_timestamp) > in EncodeAndSend()
158 (work_unit.rtp_timestamp - last_enqueued_rtp_timestamp_) in EncodeAndSend()
162 work_unit.duration = in EncodeAndSend()
165 last_enqueued_rtp_timestamp_ = work_unit.rtp_timestamp; in EncodeAndSend()
167 work_unit.image = CloneAsAv1Image(frame); in EncodeAndSend()
168 work_unit.reference_time = reference_time; in EncodeAndSend()
[all …]
Dstreaming_vpx_encoder.cc131 WorkUnit work_unit; in EncodeAndSend() local
139 work_unit.rtp_timestamp = RtpTimeTicks(); in EncodeAndSend()
141 work_unit.rtp_timestamp = RtpTimeTicks::FromTimeSinceOrigin( in EncodeAndSend()
143 if (work_unit.rtp_timestamp <= last_enqueued_rtp_timestamp_) { in EncodeAndSend()
150 if (sender_->GetInFlightMediaDuration(work_unit.rtp_timestamp) > in EncodeAndSend()
168 (work_unit.rtp_timestamp - last_enqueued_rtp_timestamp_) in EncodeAndSend()
172 work_unit.duration = in EncodeAndSend()
175 last_enqueued_rtp_timestamp_ = work_unit.rtp_timestamp; in EncodeAndSend()
177 work_unit.image = CloneAsVpxImage(frame); in EncodeAndSend()
178 work_unit.reference_time = reference_time; in EncodeAndSend()
[all …]
Dstreaming_vpx_encoder.h114 void EncodeFrame(bool force_key_frame, WorkUnitWithResults& work_unit);
120 WorkUnitWithResults& work_unit);
Dstreaming_av1_encoder.h114 void EncodeFrame(bool force_key_frame, WorkUnitWithResults& work_unit);
120 WorkUnitWithResults& work_unit);