blob: f285b9eeb14298509525e561e16a9283273890ce [file] [log] [blame]
niklase@google.com470e71d2011-07-07 08:21:251/*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Mirko Bonadei92ea95e2017-09-15 04:47:3111#ifndef MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_CONFIG_H_
12#define MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_CONFIG_H_
niklase@google.com470e71d2011-07-07 08:21:2513
Yves Gerey665174f2018-06-19 13:03:0514namespace webrtc {
15namespace videocapturemodule {
16enum { kDefaultWidth = 640 }; // Start width
17enum { kDefaultHeight = 480 }; // Start heigt
18enum { kDefaultFrameRate = 30 }; // Start frame rate
niklase@google.com470e71d2011-07-07 08:21:2519
Yves Gerey665174f2018-06-19 13:03:0520enum { kMaxFrameRate = 60 }; // Max allowed frame rate of the start image
niklase@google.com470e71d2011-07-07 08:21:2521
Yves Gerey665174f2018-06-19 13:03:0522enum { kDefaultCaptureDelay = 120 };
23enum {
24 kMaxCaptureDelay = 270
25}; // Max capture delay allowed in the precompiled capture delay values.
niklase@google.com470e71d2011-07-07 08:21:2526
Yves Gerey665174f2018-06-19 13:03:0527enum { kFrameRateCallbackInterval = 1000 };
28enum { kFrameRateCountHistorySize = 90 };
29enum { kFrameRateHistoryWindowMs = 2000 };
perkj@webrtc.org0cc68dc2011-09-12 08:53:3630} // namespace videocapturemodule
31} // namespace webrtc
niklase@google.com470e71d2011-07-07 08:21:2532
Yves Gerey665174f2018-06-19 13:03:0533#endif // MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_CONFIG_H_