MaxstARSDK
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  RGBA8888 = 6,
31  NONE = 7
32 };
33 
34 - (instancetype)init:(void*)image;
35 
39 - (int)getWidth;
40 
44 - (int)getHeight;
45 
49 - (int)getLength;
50 
54 - (MasColorFormat)getForamt;
55 
59 - (const unsigned long long int)getTimestamp;
60 
64 - (const unsigned char *)getData;
65 @end
image data which is used for tracker and rendering
Definition: MasTrackedImage.h:14
@ RGB888
Definition: MasTrackedImage.h:25
@ GRAY8
Definition: MasTrackedImage.h:29
@ NONE
Definition: MasTrackedImage.h:31
@ YUV420_888
Definition: MasTrackedImage.h:28
@ YUV420sp
Definition: MasTrackedImage.h:26
@ YUV420
Definition: MasTrackedImage.h:27
@ RGBA8888
Definition: MasTrackedImage.h:30