Home | History | Annotate | Download | only in qtkit
      1 /*
      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 /*
     12  *  video_capture_qtkit_utility.h
     13  *
     14  */
     15 
     16 
     17 #ifndef WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_MAC_QTKIT_VIDEO_CAPTURE_QTKIT_UTILITY_H_
     18 #define WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_MAC_QTKIT_VIDEO_CAPTURE_QTKIT_UTILITY_H_
     19 
     20 #define MAX_NAME_LENGTH                1024
     21 
     22 #define QTKIT_MIN_WIDTH                0
     23 #define QTKIT_MAX_WIDTH                2560
     24 #define QTKIT_DEFAULT_WIDTH            352
     25 
     26 #define QTKIT_MIN_HEIGHT            0
     27 #define QTKIT_MAX_HEIGHT            1440
     28 #define QTKIT_DEFAULT_HEIGHT        288
     29 
     30 #define QTKIT_MIN_FRAME_RATE        1
     31 #define QTKIT_MAX_FRAME_RATE        60
     32 #define QTKIT_DEFAULT_FRAME_RATE    30
     33 
     34 #define RELEASE_AND_CLEAR(p)        if (p) { (p) -> Release () ; (p) = NULL ; }
     35 
     36 #endif  // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_MAC_QTKIT_VIDEO_CAPTURE_QTKIT_UTILITY_H_
     37