Home
last modified time | relevance | path

Searched refs:framerate (Results 1 – 25 of 91) 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.c57 input_ctx->framerate.numerator = mem_get_le32(raw_hdr + 16); in file_is_ivf()
58 input_ctx->framerate.denominator = mem_get_le32(raw_hdr + 20); in file_is_ivf()
59 fix_framerate(&input_ctx->framerate.numerator, in file_is_ivf()
60 &input_ctx->framerate.denominator); in file_is_ivf()
Dy4menc.c15 const struct VpxRational *framerate, in y4m_write_file_header() argument
59 framerate->numerator, framerate->denominator, 'p', color); in y4m_write_file_header()
Dwebmdec.cc111 vpx_ctx->framerate.denominator = 0; in file_is_webm()
112 vpx_ctx->framerate.numerator = 0; in file_is_webm()
209 vpx_ctx->framerate.numerator = (i - 1) * 1000000; in webm_guess_framerate()
210 vpx_ctx->framerate.denominator = in webm_guess_framerate()
Dvpxenc.c178 static const arg_def_t framerate = variable
268 &framerate,
942 else if (arg_match(&arg, &framerate, argi)) { in parse_global_config()
943 global->framerate = arg_parse_rational(&arg); in parse_global_config()
944 validate_positive_rational(arg.name, &global->framerate); in parse_global_config()
1024 input->framerate.numerator = input->y4m.fps_n; in open_input_file()
1025 input->framerate.denominator = input->y4m.fps_d; in open_input_file()
1566 (cfg->g_timebase.den * (int64_t)(frames_in - 1) * global->framerate.den) / in encode_frame()
1567 cfg->g_timebase.num / global->framerate.num; in encode_frame()
1569 (cfg->g_timebase.den * (int64_t)(frames_in)*global->framerate.den) / in encode_frame()
[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.c186 lc->framerate = cpi->framerate / oxcf->ts_rate_decimator[tl]; in vp9_update_layer_context_change_config()
187 lrc->avg_frame_bandwidth = (int)(lc->target_bandwidth / lc->framerate); in vp9_update_layer_context_change_config()
221 lc->framerate = cpi->framerate / oxcf->ts_rate_decimator[layer]; in vp9_update_layer_context_change_config()
223 lc->framerate = cpi->framerate; in vp9_update_layer_context_change_config()
225 lrc->avg_frame_bandwidth = (int)(lc->target_bandwidth / lc->framerate); in vp9_update_layer_context_change_config()
255 lc->framerate = cpi->framerate / oxcf->ts_rate_decimator[tl]; in vp9_update_temporal_layer_framerate()
256 lrc->avg_frame_bandwidth = (int)(lc->target_bandwidth / lc->framerate); in vp9_update_temporal_layer_framerate()
263 cpi->framerate / oxcf->ts_rate_decimator[tl - 1]; in vp9_update_temporal_layer_framerate()
268 (lc->framerate - prev_layer_framerate)); in vp9_update_temporal_layer_framerate()
272 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
115 double framerate);
/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/libopus/celt/dump_modes/
Ddump_modes.c77 int standard, framerate; in dump_modes() local
81 framerate = mode->Fs/mode->shortMdctSize; in dump_modes()
120 fprintf(file, "#ifndef DEF_LOGN%d\n", framerate); in dump_modes()
121 fprintf(file, "#define DEF_LOGN%d\n", framerate); in dump_modes()
122 fprintf (file, "static const opus_int16 logN%d[%d] = {\n", framerate, mode->nbEBands); in dump_modes()
249 fprintf(file, "logN%d, /* logN */\n", framerate); in dump_modes()
/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/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()
/external/libvpx/libvpx/examples/
Dvpx_temporal_svc_encoder.c85 const double framerate = cfg->g_timebase.den / cfg->g_timebase.num; in set_rate_control_metrics() local
86 rc->layer_framerate[0] = framerate / cfg->ts_rate_decimator[0]; in set_rate_control_metrics()
91 rc->layer_framerate[i] = framerate / cfg->ts_rate_decimator[i]; in set_rate_control_metrics()
528 double framerate = 30.0; in main() local
678 framerate = cfg.g_timebase.den / cfg.g_timebase.num; in main()
811 sum_bitrate += 0.001 * 8.0 * pkt->data.frame.sz * framerate; in main()
823 sum_bitrate2 += 0.001 * 8.0 * pkt->data.frame.sz * framerate; in main()
Dvp9_spatial_svc_encoder.c421 const double framerate = cfg->g_timebase.den / cfg->g_timebase.num; in set_rate_control_stats() local
427 rc->layer_framerate[layer] = framerate; in set_rate_control_stats()
429 rc->layer_framerate[layer] = framerate / cfg->ts_rate_decimator[tl]; in set_rate_control_stats()
632 double framerate = 30.0; in main() local
665 framerate = enc_cfg.g_timebase.den / enc_cfg.g_timebase.num; in main()
823 sum_bitrate += 0.001 * 8.0 * sizes[sl] * framerate; in main()
840 sum_bitrate2 += 0.001 * 8.0 * sizes[sl] * framerate; in main()

1234