blob: 829a6bea2d011afdc9a3aaacb4fc05d34fb9f19f [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
11#ifndef WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_CONFIG_H_
12#define WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_CONFIG_H_
13
14namespace webrtc
15{
16namespace videocapturemodule
17{
18enum {kDefaultWidth = 640}; // Start width
19enum {kDefaultHeight = 480}; // Start heigt
20enum {kDefaultFrameRate = 30}; // Start frame rate
21
22enum {kMaxFrameRate =60}; // Max allowed frame rate of the start image
23
24enum {kDefaultCaptureDelay = 120};
25enum {kMaxCaptureDelay = 270}; // Max capture delay allowed in the precompiled capture delay values.
26
niklase@google.com470e71d2011-07-07 08:21:25 +000027enum {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
33#endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_CONFIG_H_