-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpid.go
61 lines (58 loc) · 2.32 KB
/
pid.go
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
59
60
61
package mpeg2ts
type PID uint16
const (
// based on ISO/IEC 13818-1
PID_PAT = PID(0x0000)
PID_CAT = PID(0x0001)
PID_TSDT = PID(0x0002)
PID_Reserved1 = PID(0x0003)
PID_Reserved2 = PID(0x0004)
PID_Reserved3 = PID(0x0005)
PID_Reserved4 = PID(0x0006)
PID_Reserved5 = PID(0x0007)
PID_Reserved6 = PID(0x0008)
PID_Reserved7 = PID(0x0009)
PID_Reserved8 = PID(0x000a)
PID_Reserved9 = PID(0x000b)
PID_Reserved10 = PID(0x000c)
PID_Reserved11 = PID(0x000d)
PID_Reserved12 = PID(0x000e)
PID_Reserved13 = PID(0x000f)
PID_NullPacket = PID(0x1fff)
// based on ARIB STD-B10
PID_PMT = PID_PAT
PID_ECM = PID_PMT
PID_ECM_S = PID_PMT
PID_EMM = PID_CAT
PID_EMM_S = PID_CAT
PID_NIT = PID(0x0010)
PID_SDT = PID(0x0011)
PID_BAT = PID(0x0011)
PID_EIT = PID(0x0012)
PID_EIT_Terrestrial1 = PID(0x0012)
PID_EIT_Terrestrial2 = PID(0x0026)
PID_EIT_Terrestrial3 = PID(0x0027)
PID_RST = PID(0x0013)
PID_TDT_TOT = PID(0x0014)
PID_DCT = PID(0x0017)
PID_DLT = PID_DCT
PID_DIT = PID(0x001e)
PID_SIT = PID(0x001f)
PID_LIT1 = PID_PMT
PID_LIT2 = PID(0x0020)
PID_ERT1 = PID_PMT
PID_ERT2 = PID(0x0021)
PID_ITT = PID_PMT
PID_PCAT = PID(0x0022)
PID_SDTT = PID(0x0023)
PID_SDTT_Terrestrial1 = PID(0x0023)
PID_SDTT_Terrestrial2 = PID(0x0028)
PID_BIT = PID(0x0024)
PID_NBIT = PID(0x0025)
PID_LDT = PID(0x0025)
PID_CDT = PID(0x0029)
PID_MultipleFrameHeaderInformation = PID(0x002f)
PID_DSM_CC = PID_PMT
PID_AIT = PID_PMT
// PID_STExclude = PID(0x0000)
)