-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathCCIMovieTag.h
58 lines (48 loc) · 1.26 KB
/
CCIMovieTag.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//
// CCIMovieTag.h
// CocosInterpreterTest
//
// Created by Wu Tong on 13-4-8.
//
//
#ifndef __CocosInterpreter__CCIMovieTag__
#define __CocosInterpreter__CCIMovieTag__
#include "ExtensionMacros.h"
#include "CCIBufferReader.h"
NS_CC_EXT_BEGIN
enum TagType {
TagTypeDefineBitsJPEG4 = 90,
TagTypeDefineShape4 = 83,
TagTypePlaceObject3 = 70,
TagTypeFileAtrributes = 69,
TagTypeFrameLabel = 43,
TagTypeDefineSprite = 39,
TagTypeDefineBitsLossless2 = 36,
TagTypeDefineBitsJPEG3 = 35,
TagTypeDefineShape3 = 32,
TagTypeRemoveObject2 = 28,
TagTypePlaceObject2 = 26,
TagTypeDefineShape2 = 22,
TagTypeDefineBitsJPEG2 = 21,
TagTypeDefineBitsLossless = 20,
TagTypeSetBackgroundColor = 9,
TagTypeJPEGTables = 8,
TagTypeDefineBits = 6,
TagTypeRemoveObject = 5,
TagTypePlaceObject = 4,
TagTypeDefineShape = 2,
TagTypeShowFrame = 1,
TagTypeEnd = 0,
};
class CCIMovieTag{
protected:
int tagType = 0;
int tagLength;
public:
int getTagType();
static CCIMovieTag * next(CCIBufferReader *reader);
virtual bool initWithReader(CCIBufferReader *reader,int tagType,int tagLength);
virtual ~CCIMovieTag();
};
NS_CC_EXT_END
#endif /* defined(__CocosInterpreterTest__CCIMovieTag__) */