4static bool FlashTimerDecode_ST_TMSS(TYPE_Timer_TMSS *Data,
tFlashTimer *TimerInfo)
10 TimerInfo->
TunerIndex = Data->TimerInfo.TunerIndex;
11 TimerInfo->
RecMode = Data->TimerInfo.RecMode;
12 TimerInfo->
DemuxPath = Data->TimerInfo.DemuxPath;
13 TimerInfo->
ManualRec = Data->TimerInfo.ManualRec;
14 TimerInfo->
unused1 = Data->TimerInfo.unused1;
15 TimerInfo->
SatIndex = Data->TimerInfo.SatIndex;
16 TimerInfo->
ServiceType = Data->TimerInfo.ServiceType;
18 TimerInfo->
unused2 = Data->TimerInfo.unused2;
19 TimerInfo->
ServiceID = Data->TimerInfo.ServiceID;
20 TimerInfo->
Duration = Data->TimerInfo.Duration;
21 TimerInfo->
unused3 = Data->TimerInfo.unused3;
22 strncpy(TimerInfo->
FileName, Data->TimerInfo.FileName, 130);
23 TimerInfo->
StartTime = Data->TimerInfo.StartTime;
24 TimerInfo->
EndTime = Data->TimerInfo.EndTime;
25 TimerInfo->
PMTPID = Data->TimerInfo.PMTPID;
26 TimerInfo->
isRec = Data->TimerInfo.isRec;
27 TimerInfo->
NameSet = Data->TimerInfo.NameSet;
28 TimerInfo->
unused4 = Data->TimerInfo.unused4;
29 TimerInfo->
EPGMarker = Data->TimerInfo.EPGMarker;
30 TimerInfo->
unused5 = Data->TimerInfo.unused5;
31 TimerInfo->
unknown1 = Data->TimerInfo.unknown1;
32 TimerInfo->
EventID1 = Data->TimerInfo.EventID1;
33 TimerInfo->
EventID2 = Data->TimerInfo.EventID2;
35 memcpy(TimerInfo->
unused8, Data->TimerInfo.unused8,
sizeof(Data->TimerInfo.unused8));
36 TimerInfo->
IceTV = Data->TimerInfo.IceTV;
37 memcpy(TimerInfo->
unused9, Data->TimerInfo.unused9,
sizeof(Data->TimerInfo.unused9));
43 TimerInfo->
TpInfo.
FEC = Data->TpInfo.FECMode;
59static bool FlashTimerDecode_ST_TMST(TYPE_Timer_TMST *Data,
tFlashTimer *TimerInfo)
65 TimerInfo->
TunerIndex = Data->TimerInfo.TunerIndex;
66 TimerInfo->
RecMode = Data->TimerInfo.RecMode;
67 TimerInfo->
DemuxPath = Data->TimerInfo.DemuxPath;
68 TimerInfo->
ManualRec = Data->TimerInfo.ManualRec;
69 TimerInfo->
unused1 = Data->TimerInfo.unused1;
70 TimerInfo->
SatIndex = Data->TimerInfo.SatIndex;
71 TimerInfo->
ServiceType = Data->TimerInfo.ServiceType;
73 TimerInfo->
unused2 = Data->TimerInfo.unused2;
74 TimerInfo->
ServiceID = Data->TimerInfo.ServiceID;
75 TimerInfo->
Duration = Data->TimerInfo.Duration;
76 TimerInfo->
unused3 = Data->TimerInfo.unused3;
77 strncpy(TimerInfo->
FileName, Data->TimerInfo.FileName, 130);
78 TimerInfo->
StartTime = Data->TimerInfo.StartTime;
79 TimerInfo->
EndTime = Data->TimerInfo.EndTime;
80 TimerInfo->
PMTPID = Data->TimerInfo.PMTPID;
81 TimerInfo->
isRec = Data->TimerInfo.isRec;
82 TimerInfo->
NameSet = Data->TimerInfo.NameSet;
83 TimerInfo->
unused4 = Data->TimerInfo.unused4;
84 TimerInfo->
EPGMarker = Data->TimerInfo.EPGMarker;
85 TimerInfo->
unused5 = Data->TimerInfo.unused5;
86 TimerInfo->
unknown1 = Data->TimerInfo.unknown1;
87 TimerInfo->
EventID1 = Data->TimerInfo.EventID1;
88 TimerInfo->
EventID2 = Data->TimerInfo.EventID2;
90 memcpy(TimerInfo->
unused8, Data->TimerInfo.unused8,
sizeof(Data->TimerInfo.unused8));
91 TimerInfo->
IceTV = Data->TimerInfo.IceTV;
92 memcpy(TimerInfo->
unused9, Data->TimerInfo.unused9,
sizeof(Data->TimerInfo.unused9));
93 memcpy(TimerInfo->
unused10, Data->unused10,
sizeof(Data->unused10));
110static bool FlashTimerDecode_ST_TMST200(TYPE_Timer_TMST200 *Data,
tFlashTimer *TimerInfo)
116 TimerInfo->
TunerIndex = Data->TimerInfo.TunerIndex;
117 TimerInfo->
RecMode = Data->TimerInfo.RecMode;
118 TimerInfo->
DemuxPath = Data->TimerInfo.DemuxPath;
119 TimerInfo->
ManualRec = Data->TimerInfo.ManualRec;
120 TimerInfo->
unused1 = Data->TimerInfo.unused1;
121 TimerInfo->
SatIndex = Data->TimerInfo.SatIndex;
122 TimerInfo->
ServiceType = Data->TimerInfo.ServiceType;
124 TimerInfo->
unused2 = Data->TimerInfo.unused2;
125 TimerInfo->
ServiceID = Data->TimerInfo.ServiceID;
126 TimerInfo->
Duration = Data->TimerInfo.Duration;
127 TimerInfo->
unused3 = Data->TimerInfo.unused3;
128 strncpy(TimerInfo->
FileName, Data->TimerInfo.FileName, 130);
129 TimerInfo->
StartTime = Data->TimerInfo.StartTime;
130 TimerInfo->
EndTime = Data->TimerInfo.EndTime;
131 TimerInfo->
PMTPID = Data->TimerInfo.PMTPID;
132 TimerInfo->
isRec = Data->TimerInfo.isRec;
133 TimerInfo->
NameSet = Data->TimerInfo.NameSet;
134 TimerInfo->
unused4 = Data->TimerInfo.unused4;
135 TimerInfo->
EPGMarker = Data->TimerInfo.EPGMarker;
136 TimerInfo->
unused5 = Data->TimerInfo.unused5;
137 TimerInfo->
unknown1 = Data->TimerInfo.unknown1;
138 TimerInfo->
EventID1 = Data->TimerInfo.EventID1;
139 TimerInfo->
EventID2 = Data->TimerInfo.EventID2;
141 memcpy(TimerInfo->
unused8, Data->TimerInfo.unused8,
sizeof(Data->TimerInfo.unused8));
142 TimerInfo->
IceTV = Data->TimerInfo.IceTV;
143 memcpy(TimerInfo->
unused9, Data->TimerInfo.unused9,
sizeof(Data->TimerInfo.unused9));
160static bool FlashTimerDecode_ST_TMST360(TYPE_Timer_TMST360 *Data,
tFlashTimer *TimerInfo)
166 TimerInfo->
TunerIndex = Data->TimerInfo.TunerIndex;
167 TimerInfo->
RecMode = Data->TimerInfo.RecMode;
168 TimerInfo->
DemuxPath = Data->TimerInfo.DemuxPath;
169 TimerInfo->
ManualRec = Data->TimerInfo.ManualRec;
170 TimerInfo->
unused1 = Data->TimerInfo.unused1;
171 TimerInfo->
SatIndex = Data->TimerInfo.SatIndex;
172 TimerInfo->
ServiceType = Data->TimerInfo.ServiceType;
174 TimerInfo->
unused2 = Data->TimerInfo.unused2;
175 TimerInfo->
ServiceID = Data->TimerInfo.ServiceID;
176 TimerInfo->
Duration = Data->TimerInfo.Duration;
177 TimerInfo->
unused3 = Data->TimerInfo.unused3;
178 strncpy(TimerInfo->
FileName, Data->TimerInfo.FileName, 130);
179 TimerInfo->
StartTime = Data->TimerInfo.StartTime;
180 TimerInfo->
EndTime = Data->TimerInfo.EndTime;
181 TimerInfo->
PMTPID = Data->TimerInfo.PMTPID;
182 TimerInfo->
isRec = Data->TimerInfo.isRec;
183 TimerInfo->
NameSet = Data->TimerInfo.NameSet;
184 TimerInfo->
unused4 = Data->TimerInfo.unused4;
185 TimerInfo->
EPGMarker = Data->TimerInfo.EPGMarker;
186 TimerInfo->
unused5 = Data->TimerInfo.unused5;
187 TimerInfo->
unknown1 = Data->TimerInfo.unknown1;
188 TimerInfo->
EventID1 = Data->TimerInfo.EventID1;
189 TimerInfo->
EventID2 = Data->TimerInfo.EventID2;
191 memcpy(TimerInfo->
unused8, Data->TimerInfo.unused8,
sizeof(Data->TimerInfo.unused8));
192 TimerInfo->
IceTV = Data->TimerInfo.IceTV;
193 memcpy(TimerInfo->
unused9, Data->TimerInfo.unused9,
sizeof(Data->TimerInfo.unused9));
194 memcpy(TimerInfo->
unused10, Data->unused10,
sizeof(Data->unused10));
197 memcpy(TimerInfo->
rs_episodeCRID, Data->rs_episodeCRID,
sizeof(Data->rs_episodeCRID));
198 memcpy(TimerInfo->
rs_seriesCRID, Data->rs_seriesCRID,
sizeof(Data->rs_episodeCRID));
221static bool FlashTimerDecode_ST_TMSC(TYPE_Timer_TMSC *Data,
tFlashTimer *TimerInfo)
227 TimerInfo->
TunerIndex = Data->TimerInfo.TunerIndex;
228 TimerInfo->
RecMode = Data->TimerInfo.RecMode;
229 TimerInfo->
DemuxPath = Data->TimerInfo.DemuxPath;
230 TimerInfo->
ManualRec = Data->TimerInfo.ManualRec;
231 TimerInfo->
unused1 = Data->TimerInfo.unused1;
232 TimerInfo->
SatIndex = Data->TimerInfo.SatIndex;
233 TimerInfo->
ServiceType = Data->TimerInfo.ServiceType;
235 TimerInfo->
unused2 = Data->TimerInfo.unused2;
236 TimerInfo->
ServiceID = Data->TimerInfo.ServiceID;
237 TimerInfo->
Duration = Data->TimerInfo.Duration;
238 TimerInfo->
unused3 = Data->TimerInfo.unused3;
239 strncpy(TimerInfo->
FileName, Data->TimerInfo.FileName, 130);
240 TimerInfo->
StartTime = Data->TimerInfo.StartTime;
241 TimerInfo->
EndTime = Data->TimerInfo.EndTime;
242 TimerInfo->
PMTPID = Data->TimerInfo.PMTPID;
243 TimerInfo->
isRec = Data->TimerInfo.isRec;
244 TimerInfo->
NameSet = Data->TimerInfo.NameSet;
245 TimerInfo->
unused4 = Data->TimerInfo.unused4;
246 TimerInfo->
EPGMarker = Data->TimerInfo.EPGMarker;
247 TimerInfo->
unused5 = Data->TimerInfo.unused5;
248 TimerInfo->
unknown1 = Data->TimerInfo.unknown1;
249 TimerInfo->
EventID1 = Data->TimerInfo.EventID1;
250 TimerInfo->
EventID2 = Data->TimerInfo.EventID2;
252 memcpy(TimerInfo->
unused8, Data->TimerInfo.unused8,
sizeof(Data->TimerInfo.unused8));
253 TimerInfo->
IceTV = Data->TimerInfo.IceTV;
254 memcpy(TimerInfo->
unused9, Data->TimerInfo.unused9,
sizeof(Data->TimerInfo.unused9));
273 if(!Data || !TimerInfo)
295 ret = FlashTimerDecode_ST_TMSS(Data, TimerInfo);
303 ret = FlashTimerDecode_ST_TMST200(Data, TimerInfo);
305 ret = FlashTimerDecode_ST_TMST360(Data, TimerInfo);
307 ret = FlashTimerDecode_ST_TMST(Data, TimerInfo);
314 ret = FlashTimerDecode_ST_TMSC(Data, TimerInfo);
333 if((TimerIndex < 0) || (TimerIndex >= TAP_Timer_GetTotalNum()))
379 TYPE_Timer_TMST200 *p;
391 TYPE_Timer_TMST360 *p;
dword FIS_vFlashBlockTimer(void)
bool FlashTimerGetInfo(int TimerIndex, tFlashTimer *TimerInfo)
bool FlashTimerDecode(void *Data, tFlashTimer *TimerInfo)
int FlashTimerStructSize(void)
SYSTEM_TYPE GetSystemType(void)
tFlashTransponderTable TpInfo