Searched refs:work_unit (Results 1 – 4 of 4) sorted by relevance
121 WorkUnit work_unit; in EncodeAndSend() local129 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 …]
131 WorkUnit work_unit; in EncodeAndSend() local139 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 …]
114 void EncodeFrame(bool force_key_frame, WorkUnitWithResults& work_unit);120 WorkUnitWithResults& work_unit);