Searched refs:work_unit (Results 1 – 2 of 2) sorted by relevance
139 WorkUnit work_unit; in EncodeAndSend() local147 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 …]
229 void EncodeFrame(bool force_key_frame, WorkUnitWithResults* work_unit);235 WorkUnitWithResults* work_unit);