Home
last modified time | relevance | path

Searched refs:framerate (Results 1 – 25 of 94) sorted by relevance

1234

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DVideoCapturerAndroid.java282 public void onOutputFormatRequest(final int width, final int height, final int framerate) { in onOutputFormatRequest() argument
285 onOutputFormatRequestOnCameraThread(width, height, framerate); in onOutputFormatRequest()
292 public void changeCaptureFormat(final int width, final int height, final int framerate) { in changeCaptureFormat() argument
295 startPreviewOnCameraThread(width, height, framerate); in changeCaptureFormat()
396 final int width, final int height, final int framerate, in startCapture() argument
399 + "@" + framerate); in startCapture()
409 startCaptureOnCameraThread(width, height, framerate, frameObserver, in startCapture()
416 final int width, final int height, final int framerate, final CapturerObserver frameObserver, in startCaptureOnCameraThread() argument
444 startCaptureOnCameraThread(width, height, framerate, frameObserver, in startCaptureOnCameraThread()
465 startPreviewOnCameraThread(width, height, framerate); in startCaptureOnCameraThread()
[all …]
/external/webrtc/talk/media/base/
Dcodec.cc220 << ":" << framerate << ":" << preference << "]"; in ToString()
228 int framerate, in VideoCodec() argument
233 framerate(framerate) { in VideoCodec()
240 framerate(0) { in VideoCodec()
243 VideoCodec::VideoCodec() : Codec(), width(0), height(0), framerate(0) { in VideoCodec()
253 framerate = c.framerate; in operator =()
258 return width == c.width && height == c.height && framerate == c.framerate && in operator ==()
Dvideocommon.h252 int framerate() const { return IntervalToFps(interval); } in framerate() function
260 return width * height * framerate() < in IsPixelRateLess()
261 format.width * format.height * format.framerate(); in IsPixelRateLess()
Dstreamparams.h253 int width, int height, int framerate) in StaticVideoView()
257 framerate(framerate), in StaticVideoView()
264 int framerate; member
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCaptureQualityController.java38 private int framerate = 0; field in CaptureQualityController
69 framerate = 0; in onProgressChanged()
93 framerate = calculateFramerate(targetBandwidth, bestFormat); in onProgressChanged()
94 captureFormatText.setText(width + "x" + height + " @ " + framerate + "fps"); in onProgressChanged()
103 callEvents.onCaptureFormatChange(width, height, framerate); in onStopTrackingTouch()
/external/libvpx/libvpx/
Divfdec.c56 input_ctx->framerate.numerator = mem_get_le32(raw_hdr + 16); in file_is_ivf()
57 input_ctx->framerate.denominator = mem_get_le32(raw_hdr + 20); in file_is_ivf()
58 fix_framerate(&input_ctx->framerate.numerator, in file_is_ivf()
59 &input_ctx->framerate.denominator); in file_is_ivf()
Dy4menc.c15 const struct VpxRational *framerate, in y4m_write_file_header() argument
55 framerate->numerator, framerate->denominator, 'p', color); in y4m_write_file_header()
Dwebmdec.cc113 vpx_ctx->framerate.denominator = 0; in file_is_webm()
114 vpx_ctx->framerate.numerator = 0; in file_is_webm()
214 vpx_ctx->framerate.numerator = (i - 1) * 1000000; in webm_guess_framerate()
215 vpx_ctx->framerate.denominator = in webm_guess_framerate()
Dvpxenc.c184 static const arg_def_t framerate = ARG_DEF( variable
252 &timebase, &framerate,
916 else if (arg_match(&arg, &framerate, argi)) { in parse_global_config()
917 global->framerate = arg_parse_rational(&arg); in parse_global_config()
918 validate_positive_rational(arg.name, &global->framerate); in parse_global_config()
1000 input->framerate.numerator = input->y4m.fps_n; in open_input_file()
1001 input->framerate.denominator = input->y4m.fps_d; in open_input_file()
1356 double framerate = (double)global->framerate.num / global->framerate.den; in set_default_kf_interval() local
1357 if (framerate > 0.0) in set_default_kf_interval()
1358 stream->config.cfg.kf_max_dist = (unsigned int)(5.0 * framerate); in set_default_kf_interval()
[all …]
/external/webrtc/webrtc/modules/video_coding/utility/
Dquality_scaler.cc47 void QualityScaler::ReportFramerate(int framerate) { in ReportFramerate() argument
49 kMeasureSeconds * (framerate < kMinFps ? kMinFps : framerate)); in ReportFramerate()
50 framerate_ = framerate; in ReportFramerate()
Dquality_scaler_unittest.cc32 int framerate; member
268 res.framerate = initial_framerate; in TriggerResolutionChange()
285 res.framerate = qs_.GetTargetFramerate(); in TriggerResolutionChange()
286 if (res.framerate != -1) in TriggerResolutionChange()
287 qs_.ReportFramerate(res.framerate); in TriggerResolutionChange()
311 EXPECT_LT(res.framerate, initial_framerate); in VerifyQualityAdaptation()
314 EXPECT_EQ(-1, res.framerate); in VerifyQualityAdaptation()
334 EXPECT_EQ(-1, res.framerate); in VerifyQualityAdaptation()
Dquality_scaler.h32 void ReportFramerate(int framerate);
35 void Reset(int framerate, int bitrate, int width, int height);
/external/libvpx/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c169 lc->framerate = cpi->framerate / oxcf->ts_rate_decimator[tl]; in vp9_update_layer_context_change_config()
170 lrc->avg_frame_bandwidth = (int)(lc->target_bandwidth / lc->framerate); in vp9_update_layer_context_change_config()
204 lc->framerate = cpi->framerate / oxcf->ts_rate_decimator[layer]; in vp9_update_layer_context_change_config()
206 lc->framerate = cpi->framerate; in vp9_update_layer_context_change_config()
208 lrc->avg_frame_bandwidth = (int)(lc->target_bandwidth / lc->framerate); in vp9_update_layer_context_change_config()
238 lc->framerate = cpi->framerate / oxcf->ts_rate_decimator[tl]; in vp9_update_temporal_layer_framerate()
239 lrc->avg_frame_bandwidth = (int)(lc->target_bandwidth / lc->framerate); in vp9_update_temporal_layer_framerate()
246 cpi->framerate / oxcf->ts_rate_decimator[tl - 1]; in vp9_update_temporal_layer_framerate()
251 (lc->framerate - prev_layer_framerate)); in vp9_update_temporal_layer_framerate()
255 void vp9_update_spatial_layer_framerate(VP9_COMP *const cpi, double framerate) { in vp9_update_spatial_layer_framerate() argument
[all …]
Dvp9_svc_layercontext.h26 double framerate; member
102 double framerate);
Dvp9_ratectrl.c249 int bits_off_for_this_layer = (int)(lc->target_bandwidth / lc->framerate - in update_layer_buffer_level()
289 int width, int height, double framerate) { in vp9_rc_get_default_min_gf_interval() argument
292 const double factor = width * height * framerate; in vp9_rc_get_default_min_gf_interval()
294 clamp((int)(framerate * 0.125), MIN_GF_INTERVAL, MAX_GF_INTERVAL); in vp9_rc_get_default_min_gf_interval()
307 int vp9_rc_get_default_max_gf_interval(double framerate, int min_gf_interval) { in vp9_rc_get_default_max_gf_interval() argument
308 int interval = VPXMIN(MAX_GF_INTERVAL, (int)(framerate * 0.75)); in vp9_rc_get_default_max_gf_interval()
1523 double framerate = cpi->framerate; in calc_iframe_target_size_one_pass_cbr() local
1530 framerate = lc->framerate; in calc_iframe_target_size_one_pass_cbr()
1532 kf_boost = VPXMAX(kf_boost, (int)(2 * framerate - 16)); in calc_iframe_target_size_one_pass_cbr()
1533 if (rc->frames_since_key < framerate / 2) { in calc_iframe_target_size_one_pass_cbr()
[all …]
Dvp9_ratectrl.h179 int vp9_rc_get_default_min_gf_interval(int width, int height, double framerate);
183 int vp9_rc_get_default_max_gf_interval(double framerate, int min_frame_rate);
/external/webrtc/webrtc/video/
Dvideo_encoder.cc166 uint32_t framerate) { in SetRates() argument
169 framerate_ = framerate; in SetRates()
170 int32_t ret = encoder_->SetRates(bitrate, framerate); in SetRates()
172 return fallback_encoder_->SetRates(bitrate, framerate); in SetRates()
Dsend_statistics_proxy.h59 void OnSetRates(uint32_t bitrate_bps, int framerate) override;
62 void OnOutgoingRate(uint32_t framerate, uint32_t bitrate);
/external/webrtc/talk/app/webrtc/
Dvideosource_unittest.cc263 EXPECT_EQ(30, format->framerate()); in TEST_F()
283 EXPECT_EQ(30, format->framerate()); in TEST_F()
304 EXPECT_EQ(30, format->framerate()); in TEST_F()
344 EXPECT_EQ(30, format->framerate()); in TEST_F()
490 EXPECT_EQ(30, format->framerate()); in TEST_F()
509 EXPECT_EQ(30, format->framerate()); in TEST_F()
529 EXPECT_EQ(30, format->framerate()); in TEST_F()
551 EXPECT_EQ(30, format->framerate()); in TEST_F()
/external/webrtc/webrtc/modules/video_coding/
Dvideo_sender_unittest.cc389 void InsertFrames(float framerate, float seconds) { in InsertFrames() argument
390 for (int i = 0; i < seconds * framerate; ++i) { in InsertFrames()
391 clock_.AdvanceTimeMilliseconds(1000.0f / framerate); in InsertFrames()
406 Vp8StreamInfo SimulateWithFramerate(float framerate) { in SimulateWithFramerate() argument
411 InsertFrames(framerate, short_simulation_interval); in SimulateWithFramerate()
414 InsertFrames(framerate, long_simulation_interval); in SimulateWithFramerate()
Dreceiver.cc192 void VCMReceiver::ReceiveStatistics(uint32_t* bitrate, uint32_t* framerate) { in ReceiveStatistics() argument
194 assert(framerate); in ReceiveStatistics()
195 jitter_buffer_.IncomingRateStatistics(framerate, bitrate); in ReceiveStatistics()
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js586 var framerate = tot / this.framerates.length;
587 framerate = Math.round(framerate);
588 document.getElementById(this.id).innerHTML = "Framerate:"+framerate+"fps";
600 var framerate = 1000/t;
601 this.framerates.push(framerate);
/external/webrtc/webrtc/
Dvideo_encoder.h122 virtual int32_t SetRates(uint32_t bitrate, uint32_t framerate) = 0;
152 int32_t SetRates(uint32_t bitrate, uint32_t framerate) override;
/external/libvpx/libvpx/examples/
Dvpx_temporal_svc_encoder.c87 const double framerate = cfg->g_timebase.den / cfg->g_timebase.num; in set_rate_control_metrics() local
88 rc->layer_framerate[0] = framerate / cfg->ts_rate_decimator[0]; in set_rate_control_metrics()
93 rc->layer_framerate[i] = framerate / cfg->ts_rate_decimator[i]; in set_rate_control_metrics()
504 double framerate = 30.0; in main() local
653 framerate = cfg.g_timebase.den / cfg.g_timebase.num; in main()
779 sum_bitrate += 0.001 * 8.0 * pkt->data.frame.sz * framerate; in main()
791 sum_bitrate2 += 0.001 * 8.0 * pkt->data.frame.sz * framerate; in main()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_sequence_coder.cc91 int framerate = strtol((parser->GetFlag("f")).c_str(), NULL, 10); in SequenceCoder() local
93 if (width <= 0 || height <= 0 || framerate <= 0) { in SequenceCoder()
137 inst.maxFramerate = framerate; in SequenceCoder()

1234