MaxstARSDK  4.1.x
All Classes Files Functions Variables Enumerations Enumerator Macros
MasTrackedImage.h
Go to the documentation of this file.
1 //
2 // MasImage.h
3 // MaxstAR
4 //
5 // Created by Kimseunglee on 2017. 11. 23..
6 // Copyright © 2017년 이상훈. All rights reserved.
7 //
8 #import <Foundation/Foundation.h>
9 
13 @interface MasTrackedImage : NSObject
14 
24 typedef NS_ENUM(int, MasColorFormat) {
25  RGB888 = 1,
26  YUV420sp = 2,
27  YUV420 = 3,
29  GRAY8 = 5,
30  NONE = 6
31 };
32 
33 - (instancetype)init:(void*)image;
34 
38 - (int) getWidth;
39 
43 - (int) getHeight;
44 
48 - (int) getLength;
49 
53 - (MasColorFormat) getForamt;
54 
58 - (const unsigned long long int) getTimestamp;
59 
63 - (const unsigned char *) getData;
64 @end
Definition: MasTrackedImage.h:28
Definition: MasTrackedImage.h:25
image data which is used for tracker and rendering
Definition: MasTrackedImage.h:13
Definition: MasTrackedImage.h:26
Definition: MasTrackedImage.h:30
Definition: MasTrackedImage.h:29
Definition: MasTrackedImage.h:27