Home
last modified time | relevance | path

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

123

/external/chromium_org/media/video/capture/
Dvideo_capture_types.cc12 : frame_rate(0), pixel_format(PIXEL_FORMAT_UNKNOWN) {} in VideoCaptureFormat()
15 int frame_rate, in VideoCaptureFormat() argument
18 frame_rate(frame_rate), in VideoCaptureFormat()
26 (frame_rate > 0) && in IsValid()
27 (frame_rate < media::limits::kMaxFramesPerSecond) && in IsValid()
Dvideo_capture_device_unittest.cc91 int frame_rate) OVERRIDE { in OnIncomingCapturedBuffer() argument
175 capture_params.requested_format.frame_rate = 30; in TEST_F()
202 capture_params.requested_format.frame_rate = 30; in TEST_F()
226 capture_params.requested_format.frame_rate = 35; in TEST_F()
256 capture_params.requested_format.frame_rate = 30; in TEST_F()
266 capture_params.requested_format.frame_rate = 30; in TEST_F()
297 capture_params.requested_format.frame_rate = 30; in TEST_F()
305 EXPECT_EQ(last_format().frame_rate, 30); in TEST_F()
325 capture_params.requested_format.frame_rate = 30; in TEST_F()
332 EXPECT_EQ(last_format().frame_rate, 30); in TEST_F()
[all …]
Dvideo_capture_types.h41 int frame_rate,
49 int frame_rate; variable
Dvideo_capture_proxy.h31 VideoCaptureState() : started(false), frame_rate(0) {} in VideoCaptureState()
33 int frame_rate; member
Dfake_video_capture_device.cc55 capture_format_640x480.frame_rate = 1000 / kFakeCaptureTimeoutMs; in GetDeviceSupportedFormats()
60 capture_format_320x240.frame_rate = 1000 / kFakeCaptureTimeoutMs; in GetDeviceSupportedFormats()
132 capture_format_.frame_rate = 30; in OnAllocateAndStart()
Dfile_video_capture_device.cc83 video_format->frame_rate = fps_numerator / fps_denominator; in ParseY4MTags()
241 << ", fps: " << capture_format_.frame_rate; in OnAllocateAndStart()
297 base::TimeDelta::FromSeconds(1) / capture_format_.frame_rate); in OnCaptureTask()
/external/chromium_org/ui/gfx/animation/
Dlinear_animation.cc17 static TimeDelta CalculateInterval(int frame_rate) { in CalculateInterval() argument
18 int timer_interval = 1000000 / frame_rate; in CalculateInterval()
24 LinearAnimation::LinearAnimation(int frame_rate, in LinearAnimation() argument
26 : Animation(CalculateInterval(frame_rate)), in LinearAnimation()
33 int frame_rate, in LinearAnimation() argument
35 : Animation(CalculateInterval(frame_rate)), in LinearAnimation()
Danimation_unittest.cc28 RunAnimation(int frame_rate, AnimationDelegate* delegate) in RunAnimation() argument
29 : LinearAnimation(frame_rate, delegate) { in RunAnimation()
43 CancelAnimation(int duration, int frame_rate, AnimationDelegate* delegate) in CancelAnimation() argument
44 : LinearAnimation(duration, frame_rate, delegate) { in CancelAnimation()
58 EndAnimation(int duration, int frame_rate, AnimationDelegate* delegate) in EndAnimation() argument
59 : LinearAnimation(duration, frame_rate, delegate) { in EndAnimation()
Dlinear_animation.h25 LinearAnimation(int frame_rate, AnimationDelegate* delegate);
28 LinearAnimation(int duration, int frame_rate, AnimationDelegate* delegate);
/external/chromium_org/media/video/capture/win/
Dsink_input_pin_win.cc39 if (requested_format_.frame_rate > 0) { in GetValidMediaType()
41 kSecondsToReferenceTime / requested_format_.frame_rate; in GetValidMediaType()
106 resulting_format_.frame_rate = in IsMediaTypeValid()
109 resulting_format_.frame_rate = requested_format_.frame_rate; in IsMediaTypeValid()
142 resulting_format_.frame_rate = 0; in SetRequestedMediaFormat()
Dvideo_capture_device_win.cc357 params.requested_format.frame_rate); in AllocateAndStart()
362 if (format.frame_rate > params.requested_format.frame_rate) in AllocateAndStart()
363 format.frame_rate = params.requested_format.frame_rate; in AllocateAndStart()
381 if (format.frame_rate > 0) in AllocateAndStart()
382 h->AvgTimePerFrame = kSecondsToReferenceTime / format.frame_rate; in AllocateAndStart()
552 capability.supported_format.frame_rate = in CreateCapabilityMap()
559 capability.frame_rate_numerator = capability.supported_format.frame_rate; in CreateCapabilityMap()
/external/chromium_org/media/video/capture/android/
Dvideo_capture_device_android.cc128 params.requested_format.frame_rate); in AllocateAndStart()
138 capture_format_.frame_rate = in AllocateAndStart()
146 if (capture_format_.frame_rate > 0) { in AllocateAndStart()
148 (base::Time::kMicrosecondsPerSecond + capture_format_.frame_rate - 1) / in AllocateAndStart()
149 capture_format_.frame_rate); in AllocateAndStart()
154 << ", frame_rate=" << capture_format_.frame_rate; in AllocateAndStart()
/external/chromium_org/content/browser/renderer_host/media/
Ddesktop_capture_device_unittest.cc58 int frame_rate));
168 capture_params.requested_format.frame_rate = kFrameRate; in TEST_F()
178 EXPECT_EQ(kFrameRate, format.frame_rate); in TEST_F()
209 capture_params.requested_format.frame_rate = kFrameRate; in TEST_F()
226 EXPECT_EQ(kFrameRate, format.frame_rate); in TEST_F()
255 capture_params.requested_format.frame_rate = kFrameRate; in TEST_F()
274 EXPECT_EQ(kFrameRate, format.frame_rate); in TEST_F()
Dvideo_capture_controller.cc123 int frame_rate) OVERRIDE;
170 << ", " << params.requested_format.frame_rate in AddClient()
428 frame_format.frame_rate, in OnIncomingCapturedFrame()
437 int frame_rate) { in OnIncomingCapturedBuffer() argument
450 frame_rate, in OnIncomingCapturedBuffer()
501 int frame_rate, in DoIncomingCapturedI420BufferOnIOThread() argument
507 dimensions, frame_rate, media::PIXEL_FORMAT_I420); in DoIncomingCapturedI420BufferOnIOThread()
Dvideo_capture_device_impl.cc58 frame_rate_ = params.requested_format.frame_rate; in ThreadSafeCaptureOracle()
200 if (params.requested_format.frame_rate <= 0) { in AllocateAndStart()
201 DVLOG(1) << "invalid frame_rate: " << params.requested_format.frame_rate; in AllocateAndStart()
215 1000000.0 / params.requested_format.frame_rate + 0.5); in AllocateAndStart()
Dweb_contents_video_capture_device_unittest.cc351 int frame_rate) OVERRIDE { in OnIncomingCapturedBuffer() argument
600 capture_params.requested_format.frame_rate = kTestFramesPerSecond; in TEST_F()
613 capture_params.requested_format.frame_rate = kTestFramesPerSecond; in TEST_F()
637 capture_params.requested_format.frame_rate = kTestFramesPerSecond; in TEST_F()
659 capture_params.requested_format.frame_rate = kTestFramesPerSecond; in TEST_F()
679 capture_params.requested_format.frame_rate = kTestFramesPerSecond; in TEST_F()
718 capture_params.requested_format.frame_rate = kTestFramesPerSecond; in TEST_F()
769 capture_params.requested_format.frame_rate = -2; in TEST_F()
791 capture_params.requested_format.frame_rate = kTestFramesPerSecond; in TEST_F()
Dvideo_capture_manager_unittest.cc259 EXPECT_GT(supported_formats[0].frame_rate, 1); in TEST_F()
262 EXPECT_GT(supported_formats[1].frame_rate, 1); in TEST_F()
271 EXPECT_GT(supported_formats[0].frame_rate, 1); in TEST_F()
281 EXPECT_GT(supported_formats[0].frame_rate, 1); in TEST_F()
284 EXPECT_GT(supported_formats[1].frame_rate, 1); in TEST_F()
Dvideo_capture_controller_unittest.cc283 device_format.frame_rate); in TEST_F()
301 device_format.frame_rate); in TEST_F()
330 device_format.frame_rate); in TEST_F()
368 device_format.frame_rate); in TEST_F()
384 device_format.frame_rate); in TEST_F()
467 device_format.frame_rate); in TEST_F()
Ddesktop_capture_device_aura_unittest.cc47 int frame_rate));
105 capture_params.requested_format.frame_rate = kFrameRate; in TEST_F()
/external/chromium_org/media/video/capture/mac/
Dvideo_capture_device_mac.mm141 int frame_rate = params.requested_format.frame_rate;
158 if (frame_rate < kMinFrameRate)
159 frame_rate = kMinFrameRate;
160 else if (frame_rate > kMaxFrameRate)
161 frame_rate = kMaxFrameRate;
164 capture_format_.frame_rate = frame_rate;
256 DCHECK(frame_format.frame_rate == 0);
330 frameRate:capture_format_.frame_rate]) {
/external/chromium_org/media/video/capture/linux/
Dvideo_capture_device_linux.cc190 supported_format.frame_rate = in GetDeviceSupportedFormats()
194 supported_format.frame_rate = 0; in GetDeviceSupportedFormats()
304 params.requested_format.frame_rate, in AllocateAndStart()
325 int frame_rate, in OnAllocateAndStart() argument
395 (frame_rate) ? frame_rate : kTypicalFramerate; in OnAllocateAndStart()
412 capture_format_.frame_rate = frame_rate; in OnAllocateAndStart()
Dvideo_capture_device_linux.h50 int frame_rate,
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
Dfakeconstraints.h93 void SetMandatoryMaxFrameRate(int frame_rate) { in SetMandatoryMaxFrameRate() argument
94 SetMandatory(MediaConstraintsInterface::kMaxFrameRate, frame_rate); in SetMandatoryMaxFrameRate()
/external/chromium_org/content/common/media/
Dmedia_param_traits.cc65 m->WriteInt(p.frame_rate); in Write()
75 !m->ReadInt(iter, &r->frame_rate) || in Read()
/external/chromium_org/third_party/opus/src/src/
Dopus_encoder.c888 int frame_rate; in compute_stereo_width() local
892 frame_rate = Fs/frame_size; in compute_stereo_width()
893 short_alpha = Q15ONE - 25*Q15ONE/IMAX(50,frame_rate); in compute_stereo_width()
945 mem->smoothed_width += (width-mem->smoothed_width)/frame_rate; in compute_stereo_width()
947 … mem->max_follower = MAX16(mem->max_follower-QCONST16(.02f,15)/frame_rate, mem->smoothed_width); in compute_stereo_width()
981 int frame_rate; in opus_encode_native() local
1065 frame_rate = st->Fs/frame_size; in opus_encode_native()
1066 if (max_data_bytes<3 || st->bitrate_bps < 3*frame_rate*8 in opus_encode_native()
1067 || (frame_rate<50 && (max_data_bytes*frame_rate<300 || st->bitrate_bps < 2400))) in opus_encode_native()
1074 if (frame_rate>100) in opus_encode_native()
[all …]

123