blob: f285b9eeb14298509525e561e16a9283273890ce [file] [log] [blame]
niklase@google.com470e71d2011-07-07 08:21:25 +00001/*
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 06:47:31 +020011#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:25 +000013
Yves Gerey665174f2018-06-19 15:03:05 +020014namespace 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:25 +000019
Yves Gerey665174f2018-06-19 15:03:05 +020020enum { kMaxFrameRate = 60 }; // Max allowed frame rate of the start image
niklase@google.com470e71d2011-07-07 08:21:25 +000021
Yves Gerey665174f2018-06-19 15:03:05 +020022enum { kDefaultCaptureDelay = 120 };
23enum {
24 kMaxCaptureDelay = 270
25}; // Max capture delay allowed in the precompiled capture delay values.
niklase@google.com470e71d2011-07-07 08:21:25 +000026
Yves Gerey665174f2018-06-19 15:03:05 +020027enum { kFrameRateCallbackInterval = 1000 };
28enum { kFrameRateCountHistorySize = 90 };
29enum { kFrameRateHistoryWindowMs = 2000 };
perkj@webrtc.org0cc68dc2011-09-12 08:53:36 +000030} // namespace videocapturemodule
31} // namespace webrtc
niklase@google.com470e71d2011-07-07 08:21:25 +000032
Yves Gerey665174f2018-06-19 15:03:05 +020033#endif // MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_CONFIG_H_