Home
last modified time | relevance | path

Searched refs:frame_rate (Results 1 – 25 of 41) sorted by relevance

12

/external/webrtc/webrtc/modules/video_processing/
Dframe_preprocessor.cc58 uint32_t frame_rate) { in SetTargetResolution() argument
59 if ((width == 0) || (height == 0) || (frame_rate == 0)) { in SetTargetResolution()
68 vd_->SetTargetFramerate(frame_rate); in SetTargetResolution()
72 void VPMFramePreprocessor::SetTargetFramerate(int frame_rate) { in SetTargetFramerate() argument
73 if (frame_rate == -1) { in SetTargetFramerate()
77 vd_->SetTargetFramerate(frame_rate); in SetTargetFramerate()
Ddeflickering.cc257 uint32_t frame_rate = 0; in PreDetection() local
275 frame_rate = ((90000 << 4) * (kMeanBufferLength - 1)); in PreDetection()
276 frame_rate /= in PreDetection()
279 frame_rate = (90000 << 4) / (timestamp_buffer_[0] - timestamp_buffer_[1]); in PreDetection()
283 if (frame_rate == 0) { in PreDetection()
287 (kNumFlickerBeforeDetect * frame_rate) / kMinFrequencyToDetect; in PreDetection()
301 frame_rate = ((90000 << 4) * (mean_buffer_length_ - 1)); in PreDetection()
302 frame_rate /= in PreDetection()
305 frame_rate = (90000 << 4) / (timestamp_buffer_[0] - timestamp_buffer_[1]); in PreDetection()
307 frame_rate_ = frame_rate; in PreDetection()
Dvideo_processing_impl.cc133 uint32_t frame_rate) { in SetTargetResolution() argument
135 return frame_pre_processor_.SetTargetResolution(width, height, frame_rate); in SetTargetResolution()
138 void VideoProcessingImpl::SetTargetFramerate(int frame_rate) { in SetTargetFramerate() argument
140 frame_pre_processor_.SetTargetFramerate(frame_rate); in SetTargetFramerate()
Dvideo_decimator.cc40 void VPMVideoDecimator::SetTargetFramerate(int frame_rate) { in SetTargetFramerate() argument
41 RTC_DCHECK(frame_rate); in SetTargetFramerate()
42 target_frame_rate_ = frame_rate; in SetTargetFramerate()
Dframe_preprocessor.h46 uint32_t frame_rate);
49 void SetTargetFramerate(int frame_rate);
Dvideo_processing_impl.h37 uint32_t frame_rate) override;
38 void SetTargetFramerate(int frame_rate) override;
Dvideo_decimator.h28 void SetTargetFramerate(int frame_rate);
/external/webrtc/webrtc/modules/video_coding/
Dmedia_optimization.cc146 uint32_t frame_rate, in SetEncodingData() argument
150 SetEncodingDataInternal(send_codec_type, max_bit_rate, frame_rate, in SetEncodingData()
156 uint32_t frame_rate, in SetEncodingDataInternal() argument
168 content_->UpdateFrameRate(frame_rate); in SetEncodingDataInternal()
175 loss_prot_logic_->UpdateFrameRate(static_cast<float>(frame_rate)); in SetEncodingDataInternal()
179 frame_dropper_->SetRates(target_bitrate_kbps, static_cast<float>(frame_rate)); in SetEncodingDataInternal()
180 user_frame_rate_ = static_cast<float>(frame_rate); in SetEncodingDataInternal()
540 incoming_frame_rate_ = qm->frame_rate; in QMUpdate()
554 << qm->frame_rate; in QMUpdate()
562 video_qmsettings_callback->SetVideoQMSettings(qm->frame_rate, codec_width_, in QMUpdate()
[all …]
Dqm_select.h28 frame_rate(30.0f), in VCMResolutionScale()
36 float frame_rate; member
147 FrameRateLevelClass FrameRateLevel(float frame_rate);
198 void UpdateCodecParameters(float frame_rate, uint16_t width, uint16_t height);
Dmedia_optimization.h47 uint32_t frame_rate,
124 uint32_t frame_rate,
Dqm_select.cc229 void VCMQmResolution::UpdateCodecParameters(float frame_rate, in UpdateCodecParameters() argument
235 user_frame_rate_ = frame_rate; in UpdateCodecParameters()
359 qm_->frame_rate = user_frame_rate_; in SetDefaultAction()
648 qm_->frame_rate = avg_incoming_framerate_ / qm_->temporal_fact + 0.5f; in UpdateCodecResolution()
654 qm_->frame_rate = native_frame_rate_; in UpdateCodecResolution()
/external/autotest/client/site_tests/graphics_SanAngeles/
Dgraphics_SanAngeles.py74 frame_rate = float(report[0])
75 logging.info('frame_rate = %.1f', frame_rate)
77 {'frames_per_sec_rate_san_angeles': frame_rate})
78 self.output_perf_value(description='fps', value=frame_rate,
/external/webrtc/webrtc/video/
Dvie_encoder.cc80 int32_t SetVideoQMSettings(const uint32_t frame_rate,
85 void SetTargetFramerate(int frame_rate);
482 const uint32_t frame_rate) { in SendStatistics() argument
484 stats_proxy_->OnOutgoingRate(frame_rate, bit_rate); in SendStatistics()
624 const uint32_t frame_rate, in SetVideoQMSettings() argument
627 return vp_->SetTargetResolution(width, height, frame_rate); in SetVideoQMSettings()
630 void QMVideoSettingsCallback::SetTargetFramerate(int frame_rate) { in SetTargetFramerate() argument
631 vp_->SetTargetFramerate(frame_rate); in SetTargetFramerate()
/external/opencv3/modules/videoio/src/
Dcap_dc1394.cpp146 int frame_rate; member
264 pcap->frame_rate = 0; in icvCaptureFromCAM_DC1394()
294 pcap->frame_rate = icvGetBestFrameRate(pcap, pcap->format, pcap->mode); in icvCaptureFromCAM_DC1394()
299 pcap->frame_rate, NUM_BUFFERS, 1 /*drop_frames*/, in icvCaptureFromCAM_DC1394()
466 (unsigned int *) &capture->camera->frame_rate)); in icvGetPropertyCAM_DC1394()
467 switch(capture->camera->frame_rate) { in icvGetPropertyCAM_DC1394()
651 int frame_rate = icvGetBestFrameRate(capture, format, mode); in icvSetModeCAM_DC1394() local
656 frame_rate, NUM_BUFFERS, 1 /*drop_frames*/, in icvSetModeCAM_DC1394()
663 capture->frame_rate = frame_rate; in icvSetModeCAM_DC1394()
721 (unsigned int *) &capture->camera->frame_rate); in icvSetFrameRateCAM_DC1394()
[all …]
Dcap_xine.cpp86 double frame_rate; member
287 capture->frame_rate = 1000 / capture->frame_duration; in icvOpenAVI_XINE()
290 …r, "(DEBUG) frame_duration = %f, framerate = %f\n", capture->frame_duration, capture->frame_rate ); in icvOpenAVI_XINE()
548 capture->frame_number = ( int ) ( ( float ) t * capture->frame_rate / 1000 ); in icvSeekTimeAVI_XINE()
564 int new_frame = ( int ) ( ( float ) t * capture->frame_rate / 1000 ); in icvSeekTimeAVI_XINE()
699 return capture->frame_rate; in icvGetPropertyAVI_XINE()
Dcap_ffmpeg_impl.hpp808 return (double)video_st->codec.frame_rate in getProperty()
1137 int frame_rate, frame_rate_base; in icv_add_video_stream_FFMPEG() local
1198 frame_rate=(int)(fps+0.5); in icv_add_video_stream_FFMPEG()
1200 while (fabs((double)frame_rate/frame_rate_base) - fps > 0.001){ in icv_add_video_stream_FFMPEG()
1202 frame_rate=(int)(fps*frame_rate_base + 0.5); in icv_add_video_stream_FFMPEG()
1205 c->time_base.den = frame_rate; in icv_add_video_stream_FFMPEG()
1210 AVRational req = {frame_rate, frame_rate_base}; in icv_add_video_stream_FFMPEG()
1225 c->frame_rate = frame_rate; in icv_add_video_stream_FFMPEG()
2009 int frame_rate = static_cast<int>(fps+0.5); in addVideoStream() local
2011 while (fabs(static_cast<double>(frame_rate)/frame_rate_base) - fps > 0.001) in addVideoStream()
[all …]
/external/webrtc/webrtc/modules/video_processing/include/
Dvideo_processing.h80 uint32_t frame_rate) = 0;
82 virtual void SetTargetFramerate(int frame_rate) = 0;
/external/webrtc/webrtc/modules/video_processing/test/
Ddeflickering_test.cc29 const uint32_t frame_rate = 15; in TEST_F() local
77 timeStamp += (90000 / frame_rate); in TEST_F()
/external/webrtc/talk/app/webrtc/test/
Dfakeconstraints.h93 void SetMandatoryMaxFrameRate(int frame_rate) { in SetMandatoryMaxFrameRate() argument
94 SetMandatory(MediaConstraintsInterface::kMaxFrameRate, frame_rate); in SetMandatoryMaxFrameRate()
/external/webrtc/talk/app/webrtc/java/jni/
Dandroidmediaencoder_jni.cc102 int32_t SetRates(uint32_t new_bit_rate, uint32_t frame_rate) override;
147 int32_t SetRatesOnCodecThread(uint32_t new_bit_rate, uint32_t frame_rate);
411 uint32_t frame_rate) { in SetRates() argument
413 quality_scaler_.ReportFramerate(frame_rate); in SetRates()
419 frame_rate)); in SetRates()
784 uint32_t frame_rate) { in SetRatesOnCodecThread() argument
787 last_set_fps_ == frame_rate) { in SetRatesOnCodecThread()
795 if (frame_rate > 0) { in SetRatesOnCodecThread()
796 last_set_fps_ = frame_rate; in SetRatesOnCodecThread()
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dvideoprocessor.h144 virtual void SetRates(int bit_rate, int frame_rate) = 0;
183 void SetRates(int bit_rate, int frame_rate) override;
/external/libopus/src/
Dopus_encoder.c856 int frame_rate; in compute_stereo_width() local
860 frame_rate = Fs/frame_size; in compute_stereo_width()
861 short_alpha = Q15ONE - 25*Q15ONE/IMAX(50,frame_rate); in compute_stereo_width()
913 mem->smoothed_width += (width-mem->smoothed_width)/frame_rate; in compute_stereo_width()
915 … mem->max_follower = MAX16(mem->max_follower-QCONST16(.02f,15)/frame_rate, mem->smoothed_width); in compute_stereo_width()
949 int frame_rate; in opus_encode_native() local
1033 frame_rate = st->Fs/frame_size; in opus_encode_native()
1034 if (max_data_bytes<3 || st->bitrate_bps < 3*frame_rate*8 in opus_encode_native()
1035 || (frame_rate<50 && (max_data_bytes*frame_rate<300 || st->bitrate_bps < 2400))) in opus_encode_native()
1042 if (frame_rate>100) in opus_encode_native()
[all …]
/external/webrtc/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc215 int frame_rate() { in frame_rate() function in TestVideoCaptureFeedBack
514 EXPECT_TRUE(capture_feedback_.frame_rate() >= 8 && in TEST_F()
515 capture_feedback_.frame_rate() <= 10); in TEST_F()
533 EXPECT_TRUE(capture_feedback_.frame_rate() >= 25 && in TEST_F()
534 capture_feedback_.frame_rate() <= 33); in TEST_F()
/external/webrtc/webrtc/modules/video_coding/codecs/h264/
Dh264_video_toolbox_encoder.h47 int SetRates(uint32_t new_bitrate_kbit, uint32_t frame_rate) override;
/external/webrtc/webrtc/test/
Dconfigurable_frame_size_encoder.h42 int32_t SetRates(uint32_t new_bit_rate, uint32_t frame_rate) override;

12