-
Notifications
You must be signed in to change notification settings - Fork 17
/
netheader.h
58 lines (54 loc) · 1.12 KB
/
netheader.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
#ifndef NETHEADER_H
#define NETHEADER_H
enum MSG_TYPE
{
IMG_SEND = 0,
IMG_RECV,
AUDIO_SEND,
AUDIO_RECV,
TEXT_SEND,
TEXT_RECV,
CREATE_MEETING,
EXIT_MEETING,
JOIN_MEETING,
CLOSE_CAMERA,
CREATE_MEETING_RESPONSE = 20,
PARTNER_EXIT = 21,
PARTNER_JOIN = 22,
JOIN_MEETING_RESPONSE = 23,
PARTNER_JOIN2 = 24
};
enum Image_Format {
Format_Invalid,
Format_Mono,
Format_MonoLSB,
Format_Indexed8,
Format_RGB32,
Format_ARGB32,
Format_ARGB32_Premultiplied,
Format_RGB16,
Format_ARGB8565_Premultiplied,
Format_RGB666,
Format_ARGB6666_Premultiplied,
Format_RGB555,
Format_ARGB8555_Premultiplied,
Format_RGB888,
Format_RGB444,
Format_ARGB4444_Premultiplied,
Format_RGBX8888,
Format_RGBA8888,
Format_RGBA8888_Premultiplied,
Format_BGR30,
Format_A2BGR30_Premultiplied,
Format_RGB30,
Format_A2RGB30_Premultiplied,
Format_Alpha8,
Format_Grayscale8,
Format_RGBX64,
Format_RGBA64,
Format_RGBA64_Premultiplied,
Format_Grayscale16,
Format_BGR888,
NImageFormats
};
#endif // NETHEADER_H