Home
last modified time | relevance | path

Searched refs:next_frame (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/modules/video_coding/
Dframe_buffer2.cc413 FrameMap::iterator next_frame = frames_.find(id); in IsCompleteSuperFrame() local
414 if (next_frame == frames_.end() || !next_frame->second.frame) in IsCompleteSuperFrame()
416 while (!next_frame->second.frame->is_last_spatial_layer) { in IsCompleteSuperFrame()
417 ++next_frame; in IsCompleteSuperFrame()
419 if (next_frame == frames_.end() || !next_frame->second.frame || in IsCompleteSuperFrame()
420 next_frame->first.picture_id != id.picture_id || in IsCompleteSuperFrame()
421 next_frame->first.spatial_layer != id.spatial_layer) { in IsCompleteSuperFrame()
746 EncodedFrame* next_frame = frames[i]; in CombineAndDeleteFrames() local
747 first_frame->SetSpatialLayerFrameSize(next_frame->id.spatial_layer, in CombineAndDeleteFrames()
748 next_frame->size()); in CombineAndDeleteFrames()
[all …]
Djitter_buffer.cc617 VCMFrameBuffer* next_frame = NextFrame(); in GetNackList() local
619 next_frame && in GetNackList()
620 next_frame->FrameType() == VideoFrameType::kVideoFrameKey && in GetNackList()
621 next_frame->HaveFirstPacket(); in GetNackList()
/external/adhd/audio_streams/src/
Dcapture.rs130 next_frame: Duration, field
148 next_frame: interval, in new()
161 if elapsed < self.next_frame { in next_capture_buffer()
162 std::thread::sleep(self.next_frame - elapsed); in next_capture_buffer()
164 self.next_frame += self.interval; in next_capture_buffer()
167 self.next_frame = self.interval; in next_capture_buffer()
Dshm_streams.rs225 next_frame: Duration, field
245 next_frame: interval, in new()
279 if elapsed < self.next_frame { in wait_for_next_action_with_timeout()
280 if timeout < self.next_frame - elapsed { in wait_for_next_action_with_timeout()
284 std::thread::sleep(self.next_frame - elapsed); in wait_for_next_action_with_timeout()
287 self.next_frame += self.interval; in wait_for_next_action_with_timeout()
Daudio_streams.rs302 next_frame: Duration, field
332 next_frame: interval, in new()
345 if elapsed < self.next_frame { in next_playback_buffer()
346 std::thread::sleep(self.next_frame - elapsed); in next_playback_buffer()
348 self.next_frame += self.interval; in next_playback_buffer()
351 self.next_frame = self.interval; in next_playback_buffer()
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c84 static int lookup_next_frame_stats(VP8_COMP *cpi, FIRSTPASS_STATS *next_frame) { in lookup_next_frame_stats() argument
87 *next_frame = *cpi->twopass.stats_in; in lookup_next_frame_stats()
1335 static double get_prediction_decay_rate(FIRSTPASS_STATS *next_frame) { in get_prediction_decay_rate() argument
1338 double motion_pct = next_frame->pcnt_motion; in get_prediction_decay_rate()
1341 prediction_decay_rate = next_frame->pcnt_inter; in get_prediction_decay_rate()
1355 this_mv_rabs = fabs(next_frame->mvr_abs * motion_pct); in get_prediction_decay_rate()
1356 this_mv_cabs = fabs(next_frame->mvc_abs * motion_pct); in get_prediction_decay_rate()
1413 FIRSTPASS_STATS next_frame; in detect_flash() local
1419 if (read_frame_stats(cpi, &next_frame, offset) != EOF) { in detect_flash()
1426 if ((next_frame.pcnt_second_ref > next_frame.pcnt_inter) && in detect_flash()
[all …]
/external/crosvm/devices/src/virtio/snd/vios_backend/
Dshm_streams.rs146 next_frame: Duration, field
189 next_frame: interval, in new()
220 if elapsed < self.next_frame { in wait_for_next_action_with_timeout()
221 if timeout < self.next_frame - elapsed { in wait_for_next_action_with_timeout()
225 std::thread::sleep(self.next_frame - elapsed); in wait_for_next_action_with_timeout()
228 self.next_frame += self.interval; in wait_for_next_action_with_timeout()
/external/openscreen/cast/standalone_receiver/
Dsdl_audio_player.cc74 const SDLPlayerBase::PresentableFrame& next_frame) { in RenderNextFrame() argument
76 OSP_DCHECK(next_frame.decoded_frame); in RenderNextFrame()
77 const AVFrame& frame = *next_frame.decoded_frame; in RenderNextFrame()
162 return next_frame.presentation_time - approximate_lead_time_; in RenderNextFrame()
/external/libaom/libaom/av1/encoder/
Dpass2_strategy.c297 const FIRSTPASS_STATS *next_frame) { in get_prediction_decay_rate() argument
298 const double sr_decay_rate = get_sr_decay_rate(frame_info, next_frame); in get_prediction_decay_rate()
300 (0.95 * pow((next_frame->pcnt_inter - next_frame->pcnt_motion), in get_prediction_decay_rate()
339 const FIRSTPASS_STATS *const next_frame = read_frame_stats(twopass, offset); in detect_flash() local
346 return next_frame != NULL && in detect_flash()
347 next_frame->pcnt_second_ref > next_frame->pcnt_inter && in detect_flash()
348 next_frame->pcnt_second_ref >= 0.5; in detect_flash()
1264 FIRSTPASS_STATS next_frame; in calculate_gf_length() local
1272 av1_zero(next_frame); in calculate_gf_length()
1313 if (EOF == input_stats(twopass, &next_frame)) { in calculate_gf_length()
[all …]
/external/webrtc/rtc_tools/frame_analyzer/
Dreference_less_video_analysis_lib.cc114 const rtc::scoped_refptr<webrtc::I420BufferInterface> next_frame = in compute_metrics() local
116 double result_psnr = webrtc::test::Psnr(current_frame, next_frame); in compute_metrics()
117 double result_ssim = webrtc::test::Ssim(current_frame, next_frame); in compute_metrics()
/external/webrtc/modules/video_coding/codecs/multiplex/test/
Dmultiplex_adapter_unittest.cc129 VideoFrame next_frame = NextInputFrame(); in CreateInputFrame() local
132 .set_video_frame_buffer(next_frame.video_frame_buffer()) in CreateInputFrame()
133 .set_timestamp_rtp(next_frame.timestamp()) in CreateInputFrame()
134 .set_timestamp_ms(next_frame.render_time_ms()) in CreateInputFrame()
135 .set_rotation(next_frame.rotation()) in CreateInputFrame()
136 .set_id(next_frame.id()) in CreateInputFrame()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_firstpass.c1847 const FIRSTPASS_STATS *const next_frame = read_frame_stats(twopass, offset); in detect_flash() local
1848 return detect_flash_from_frame_stats(next_frame); in detect_flash()
1972 const FIRSTPASS_STATS *next_frame = in compute_arf_boost() local
1984 detect_flash_from_frame_stats(next_frame); in compute_arf_boost()
2012 const FIRSTPASS_STATS *next_frame = in compute_arf_boost() local
2024 detect_flash_from_frame_stats(next_frame); in compute_arf_boost()
2483 const FIRSTPASS_STATS *next_frame; in get_gop_coding_frame_num() local
2487 next_frame = fps_get_frame_stats(first_pass_info, in get_gop_coding_frame_num()
2489 if (next_frame == NULL) { in get_gop_coding_frame_num()
2501 next_frame, &this_frame_mv_in_out, &mv_in_out_accumulator, in get_gop_coding_frame_num()
[all …]
/external/oss-fuzz/projects/image-png/
Dbuf_independent.rs69 let _rref = reference.next_frame(&mut ref_data); in png_compare()
70 let _rsmal = smal.next_frame(&mut smal_data); in png_compare()
/external/v4l2_codec2/tests/c2_e2e_test/jni/
Dmediacodec_decoder.cpp415 std::pair<int32_t, int64_t> next_frame; in FakeRenderLoop() local
425 next_frame = fake_render_frames_.front(); in FakeRenderLoop()
430 if (now < next_frame.second) { in FakeRenderLoop()
431 usleep((next_frame.second - now) / 1000); in FakeRenderLoop()
435 event_queue_.push({.type = FAKE_FRAME_RENDERED, .idx = next_frame.first}); in FakeRenderLoop()
/external/llvm-project/lldb/source/Target/
DStackFrameList.cpp362 void StackFrameList::SynthesizeTailCallFrames(StackFrame &next_frame) { in SynthesizeTailCallFrames() argument
368 TargetSP target_sp = next_frame.CalculateTarget(); in SynthesizeTailCallFrames()
372 lldb::RegisterContextSP next_reg_ctx_sp = next_frame.GetRegisterContext(); in SynthesizeTailCallFrames()
389 next_frame.GetSymbolContext(eSymbolContextFunction).function; in SynthesizeTailCallFrames()
400 ModuleList &images = next_frame.CalculateTarget()->GetImages(); in SynthesizeTailCallFrames()
402 exe_ctx.SetFramePtr(&next_frame); in SynthesizeTailCallFrames()
410 uint32_t concrete_frame_idx = next_frame.GetConcreteFrameIndex(); in SynthesizeTailCallFrames()
430 next_frame.SetFrameIndex(m_frames.size()); in SynthesizeTailCallFrames()
DRegisterContextUnwind.cpp52 const SharedPtr &next_frame, in RegisterContextUnwind() argument
75 if (IsFrameZero() || next_frame->m_frame_type == eTrapHandlerFrame || in RegisterContextUnwind()
76 next_frame->m_frame_type == eDebuggerFrame) { in RegisterContextUnwind()
611 RegisterContextUnwind::SharedPtr next_frame = GetNextFrame(); in CheckIfLoopingStack() local
612 if (next_frame) { in CheckIfLoopingStack()
614 next_frame->GetNextFrame(); in CheckIfLoopingStack()
/external/llvm-project/lldb/include/lldb/Target/
DStackFrameList.h99 void SynthesizeTailCallFrames(StackFrame &next_frame);
DRegisterContextUnwind.h30 const SharedPtr &next_frame,
/external/webrtc/modules/desktop_capture/
Ddesktop_and_cursor_composer_unittest.cc114 void SetNextFrame(std::unique_ptr<DesktopFrame> next_frame) { in SetNextFrame() argument
115 next_frame_ = std::move(next_frame); in SetNextFrame()
/external/openscreen/cast/streaming/
Dreceiver.cc377 const FrameId next_frame = last_frame_consumed_ + 1; in RecordNewTargetPlayoutDelay() local
380 [&](const auto& entry) { return entry.first > next_frame; }); in RecordNewTargetPlayoutDelay()
/external/aac/libAACdec/src/
Dusacdec_lpd.cpp954 int next_frame = frame + (1 << (mod - 1)); in CLpd_TcxDecode() local
1034 pAacDecoderChannelInfo->data.usac.lsp_coeff[next_frame], in CLpd_TcxDecode()
1035 pAacDecoderChannelInfo->data.usac.lp_coeff[next_frame], in CLpd_TcxDecode()
1036 &pAacDecoderChannelInfo->data.usac.lp_coeff_exp[next_frame]); in CLpd_TcxDecode()
1046 pAacDecoderChannelInfo->data.usac.lp_coeff[next_frame], in CLpd_TcxDecode()
1047 pAacDecoderChannelInfo->data.usac.lp_coeff_exp[next_frame], pAlfd_gains, in CLpd_TcxDecode()