SIP Endpoint SDK for OS X
 All Classes Functions Properties
GSCaptureCapability.h
1 //
2 // GSCaptureCapability.h
3 // SipEndpoint
4 //
5 // Copyright (c) 2011-2018 Genesys Telecommunications Laboratories, Inc. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 
13 typedef enum GSVideoRenderFormat {
14  i420 = 0,
15  YV12 = 1,
16  YUY2 = 2,
17  UYVY = 3,
18  IYUV = 4,
19  ARGB = 5,
20  RGB24 = 6,
21  RGB565 = 7,
22  ARGB4444 = 8,
23  ARGB1555 = 9,
24  MJPEG = 10,
25  NV12 = 11,
26  NV21 = 12,
27  BGRA = 13,
28  UnknownFormat = 99
29 } GSVideoRenderFormat;
30 
34 @interface GSCaptureCapability : NSObject {
35 @private
36  int width;
37  int height;
38  int fps;
39  GSVideoRenderFormat raw;
40 }
41 
45 @property (nonatomic) int width;
46 
50 @property (nonatomic) int height;
51 
55 @property (nonatomic) int fps;
56 
60 @property (nonatomic) GSVideoRenderFormat raw;
61 
62 - (id) initWithWidth:(int) width
63  height:(int) height
64  fps:(int) fps
65  raw:(GSVideoRenderFormat) raw;
66 @end