DVBCore  17.9.0
Open Source DVB Engine
 All Data Structures Files Functions Typedefs Macros Pages
stbdpc.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2004 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
25 // pre-processor mechanism so multiple inclusions don't cause compilation error
26 
27 #ifndef _STBDPC_H
28 
29 #define _STBDPC_H
30 
31 #include "techtype.h"
32 #include "stbhwtun.h"
33 
34 
35 //---Constant and macro definitions for public use-----------------------------
36 
37 // Maximum DISEQC_1_2 dish position & invalid position index.
38 // Invalid dish pos is zero, to help reissue the pos command when coming out of
39 // standby or leave the positioning screen without saving.
40 // NB. issuing the command move to index zero will center the dish (due south).
41 // and the function in stbdpc.c should stop the valid command being sent
42 // by move command.
43 #define MAX_DISEQC_1_2_POSITION 60
44 #define INVALID_POSITION_INDEX 0x00
45 
46 #define MAX_UNICABLE_BANKS 8
47 
48 #ifndef INVALID_RES_ID
49 #define INVALID_RES_ID ((U8BIT)0xFF) /* ID used to represent an invalid resource */
50 #endif
51 
52 #define INVALID_CA_DESCRAMBLER_HANDLE ((U32BIT)0x0000)
53 
54 //---Enumerations for public use-----------------------------------------------
55 
56 typedef enum e_stb_dp_tune_status
57 {
58  TUNE_WAITING = 0,
59  TUNE_NO_LOCK = 1,
60  TUNE_LOCKED = 2,
61  TUNE_STOPPED = 3
62 }
63 E_STB_DP_TUNE_STATUS;
64 
65 typedef enum e_stb_dp_decode_status
66 {
67  DECODE_STOPPING = 0,
68  DECODE_STARTING = 1,
69  DECODE_STOPPED = 2,
70  DECODE_RUNNING = 3,
71  DECODE_LOCKED = 4
72 }
73 E_STB_DP_DECODE_STATUS;
74 
75 typedef enum e_stb_dp_demux_source
76 {
77  DEMUX_SOURCE_TUNER = 0,
78  DEMUX_SOURCE_FILE = 1,
79  DEMUX_SOURCE_LINEIN = 2
80 }
81 E_STB_DP_DEMUX_SOURCE;
82 
83 typedef enum e_stb_dp_decode_source
84 {
85  DECODE_SOURCE_DEMUX = 0,
86  DECODE_SOURCE_FILE = 1,
87  DECODE_SOURCE_LINEIN = 2
88 }
89 E_STB_DP_DECODE_SOURCE;
90 
91 typedef enum e_stb_dp_signal_type
92 {
93  SIGNAL_NONE = 0,
94  SIGNAL_QPSK = 1, // digital satellite
95  SIGNAL_COFDM = 2, // digital terrestrial
96  SIGNAL_QAM = 4, // digital cable
97  SIGNAL_ANALOG = 8
98 }
99 E_STB_DP_SIGNAL_TYPE;
100 
101 typedef enum e_stb_dp_lnb_power
102 {
103  LNB_POWER_OFF = 0,
104  LNB_POWER_ON = 1,
105  LNB_POWER_AUTO = 2
106 }
107 E_STB_DP_LNB_POWER;
108 
109 typedef enum e_stb_dp_lnb_type
110 {
111  LNB_TYPE_SINGLE = 0,
112  LNB_TYPE_UNIVERSAL = 1,
113  LNB_TYPE_UNICABLE = 2,
114  LNB_TYPE_USER_DEFINED = 3,
115  LNB_TYPE_MAX
116 }
117 E_STB_DP_LNB_TYPE;
118 
119 typedef enum e_stb_dp_diseqc_cswitch
120 {
121  DISEQC_CSWITCH_OFF = 0,
122  DISEQC_CSWITCH_A = 1,
123  DISEQC_CSWITCH_B = 2,
124  DISEQC_CSWITCH_C = 3,
125  DISEQC_CSWITCH_D = 4
126 }
127 E_STB_DP_DISEQC_CSWITCH;
128 
129 typedef enum e_stb_dp_diseqc_tone
130 {
131  DISEQC_TONE_OFF = 0,
132  DISEQC_TONE_A = 1,
133  DISEQC_TONE_B = 2
134 }
135 E_STB_DP_DISEQC_TONE;
136 
137 typedef enum e_stb_dp_polarity
138 {
139  POLARITY_HORIZONTAL = 0,
140  POLARITY_VERTICAL = 1,
141  POLARITY_LEFT = 2,
142  POLARITY_RIGHT = 3
143 }
144 E_STB_DP_POLARITY;
145 
146 typedef enum e_stb_dp_fec
147 {
148  FEC_AUTOMATIC = 0,
149  FEC_1_2 = 1,
150  FEC_2_3 = 2,
151  FEC_3_4 = 3,
152  FEC_5_6 = 4,
153  FEC_7_8 = 5,
154  // Extra FEC modes for DVB-S2
155  FEC_1_4 = 6,
156  FEC_1_3 = 7,
157  FEC_2_5 = 8,
158  FEC_8_9 = 9,
159  FEC_9_10 = 10
160 }
161 E_STB_DP_FEC;
162 
163 typedef enum e_stb_dp_fec_type
164 {
165  FEC_TYPE_AUTO,
166  FEC_TYPE_DVBS1,
167  FEC_TYPE_DVBS2
168 }
169 E_STB_DP_FEC_TYPE;
170 
171 typedef enum e_stb_dp_modulation
172 {
173  MOD_AUTO,
174  MOD_QPSK, /* quartenary phase shift key */
175  MOD_8PSK, /* octenary phase shift key */
176  MOD_16QAM /* Not valid for DVB-S2 */
177 }
178 E_STB_DP_MODULATION;
179 
180 typedef enum e_stb_dp_tmode
181 {
182  MODE_COFDM_2K,
183  MODE_COFDM_8K,
184  MODE_COFDM_4K,
185  MODE_COFDM_1K,
186  MODE_COFDM_16K,
187  MODE_COFDM_32K,
188  MODE_COFDM_UNDEFINED
189 }
190 E_STB_DP_TMODE;
191 
192 typedef enum e_stb_dp_tbwidth
193 {
194  TBWIDTH_8MHZ,
195  TBWIDTH_7MHZ,
196  TBWIDTH_6MHZ,
197  TBWIDTH_5MHZ,
198  TBWIDTH_10MHZ,
199  TBWIDTH_UNDEFINED
200 }
201 E_STB_DP_TBWIDTH;
202 
203 typedef enum e_stb_dp_cmode
204 {
205  MODE_QAM_AUTO,
206  MODE_QAM_4,
207  MODE_QAM_8,
208  MODE_QAM_16,
209  MODE_QAM_32,
210  MODE_QAM_64,
211  MODE_QAM_128,
212  MODE_QAM_256
213 }
214 E_STB_DP_CMODE;
215 
216 typedef enum e_stb_dp_tune_terr_type
217 {
218  TERR_TYPE_UNKNOWN,
219  TERR_TYPE_DVBT,
220  TERR_TYPE_DVBT2,
221 } E_STB_DP_TTYPE;
222 
223 typedef enum e_stb_dp_audio_mode
224 {
225  AUDIO_STEREO = 0,
226  AUDIO_LEFT = 1,
227  AUDIO_RIGHT = 2,
228  AUDIO_MONO = 3,
229  AUDIO_MULTICHANNEL = 4,
230  AUDIO_UNDEF = 5
231 }
232 E_STB_DP_AUDIO_MODE;
233 
234 typedef enum e_stb_ota_sw_upgrade_search_mode
235 {
236  OTA_SEARCH_OFF = 0,
237  OTA_SEARCH_AUTO = 1,
238  OTA_SEARCH_MANUAL = 2
239 } E_STB_OTA_SW_UPGRADE_SEARCH_MODE;
240 
241 typedef enum e_stb_dp_analogue_video_type
242 {
243  ANLG_VIDEO_PAL_I = 0,
244  ANLG_VIDEO_PAL_B = 1,
245  ANLG_VIDEO_PAL_G = 2,
246  ANLG_VIDEO_PAL_D = 3,
247  ANLG_VIDEO_PAL_K = 4,
248  ANLG_VIDEO_PAL_L = 5,
249  ANLG_VIDEO_PAL_LDASH = 6
250 } E_STB_DP_ANALOG_VIDEO_TYPE;
251 
252 typedef enum e_stb_dp_video_codec
253 {
254  VIDEO_CODEC_AUTO = 0,
255  VIDEO_CODEC_MPEG1 = 1,
256  VIDEO_CODEC_MPEG2 = 2,
257  VIDEO_CODEC_H264 = 3,
258  VIDEO_CODEC_H265 = 4
259 } E_STB_DP_VIDEO_CODEC;
260 
261 typedef enum e_stb_dp_audio_codec
262 {
263  AUDIO_CODEC_AUTO = 0,
264  AUDIO_CODEC_MP2 = 1,
265  AUDIO_CODEC_MP3 = 2,
266  AUDIO_CODEC_AC3 = 3,
267  AUDIO_CODEC_EAC3 = 4,
268  AUDIO_CODEC_AAC = 5,
269  AUDIO_CODEC_HEAAC = 6,
270  AUDIO_CODEC_AAC_ADTS = 7
271 } E_STB_DP_AUDIO_CODEC;
272 
273 typedef enum e_stb_dp_ad_audio
274 {
275  AD_AUDIO_OFF = 0,
276  AD_AUDIO_ON = 1,
277  AD_AUDIO_PAUSED = 2,
278  AD_AUDIO_PLAYING = 3,
279  AD_AUDIO_WAITING = 4
280 } E_STB_DP_AD_AUDIO;
281 
282 
283 typedef enum
284 {
285  RES_OWNER_NONE,
286  RES_OWNER_DVB,
287  RES_OWNER_CIPLUS
288 } E_STB_DP_RES_OWNER;
289 
290 typedef enum
291 {
292  DP_PRIORITY_LOW,
293  DP_PRIORITY_HIGH
294 } E_STB_DP_PRIORITY;
295 
296 typedef struct
297 {
298  E_STB_DP_POLARITY polarity;
299  U16BIT min_freq;
300  U16BIT max_freq;
301  U16BIT local_oscillator_frequency;
302  E_STB_TUNE_LNB_VOLTAGE lnb_voltage;
303  BOOLEAN tone_22k;
305 
306 
307 //---Global type defs for public use-------------------------------------------
308 
309 //---Global Function prototypes for public use---------------------------------
310 
311 void STB_DPInitialise(void);
312 
313 U8BIT STB_DPGetNumPaths(void);
314 
315 U8BIT STB_DPAcquireTunerPath(E_STB_DP_SIGNAL_TYPE tuner_type, void *service, void *transport,
316  E_STB_DP_RES_OWNER owner, E_STB_DP_PRIORITY priority, BOOLEAN with_decoders, BOOLEAN for_recording);
317 
318 U8BIT STB_DPAcquirePlaybackPath(void *service);
319 
320 void STB_DPReleaseDecoders(U8BIT path);
321 
322 BOOLEAN STB_DPReleasePath(U8BIT path, E_STB_DP_RES_OWNER owner);
323 void STB_DPReleaseAllPaths(void);
324 
325 U8BIT STB_DPAcquireCISlotForPath(U8BIT path, U8BIT *pmt_data, U8BIT *ci_protection_desc);
326 BOOLEAN STB_DPUseCISlotWithPath(U8BIT path, U8BIT slot_id);
327 void STB_DPReleaseCISlotFromPath(U8BIT path);
328 U8BIT STB_DPGetPathCISlot(U8BIT path);
329 U8BIT STB_DPIsCISlotInUse(U8BIT start_path, U8BIT slot_id, U8BIT ignore_path);
330 
331 BOOLEAN STB_DPAcquireCADescramblerForPath(U8BIT path, U8BIT *pmt_data, U32BIT *ca_handle);
332 void STB_DPReleaseCADescramblerFromPath(U8BIT path);
333 BOOLEAN STB_DPGetPathCADescrambler(U8BIT path, U32BIT *handle);
334 
335 U8BIT STB_DPGetLivePath(void);
336 BOOLEAN STB_DPIsLivePath(U8BIT path);
337 BOOLEAN STB_DPIsRecordingPath(U8BIT path);
338 BOOLEAN STB_DPIsDecodingPath(U8BIT path);
339 U8BIT STB_DPGetPlaybackPath(void);
340 
341 U8BIT STB_DPPathForTuner(U8BIT start_path, U8BIT tuner_num);
342 U8BIT STB_DPPathForAudioDecoder(U8BIT decoder_num);
343 U8BIT STB_DPPathForADDecoder(U8BIT decoder_num);
344 U8BIT STB_DPPathForVideoDecoder(U8BIT decoder_num);
345 
346 void STB_DPSetTunedTransport(U8BIT path, void *transport);
347 void* STB_DPGetTunedTransport(U8BIT path);
348 void STB_DPSetTunedService(U8BIT path, void *service);
349 void* STB_DPGetTunedService(U8BIT path);
350 
351 U8BIT STB_DPGetPathForService(void *service);
352 
359 BOOLEAN STB_DPCanTuneTo(E_STB_DP_SIGNAL_TYPE tuner_type, void *service, void *transport);
360 
361 U8BIT STB_DPGetPathTuner(U8BIT path);
362 E_STB_DP_SIGNAL_TYPE STB_DPGetPathTunerType(U8BIT path);
363 
368 void STB_DPEnableAllTuners(void);
369 
375 void STB_DPSetTunerDisabled(U8BIT path, BOOLEAN disabled);
376 
381 U8BIT STB_DPGetNumEnabledTuners(void);
382 
383 U8BIT STB_DPGetPathDemux(U8BIT path);
384 U8BIT STB_DPGetPathAudioDecoder(U8BIT path);
385 U8BIT STB_DPGetPathVideoDecoder(U8BIT path);
386 
387 U8BIT STB_DPGetMHEGPath(void);
388 
389 void STB_DPSetOwner(U8BIT path, E_STB_DP_RES_OWNER owner);
390 BOOLEAN STB_DPSetOwnerData(U8BIT path, void *data, U32BIT data_size);
391 BOOLEAN STB_DPIsOwnedBy(U8BIT path, E_STB_DP_RES_OWNER owner);
392 void* STB_DPGetOwnerData(U8BIT path, U32BIT *data_size);
393 
394 void STB_DPSetDecodeSource(U8BIT path, E_STB_DP_DECODE_SOURCE source, U32BIT param);
395 void STB_DPGetDecodeSource(U8BIT path, E_STB_DP_DECODE_SOURCE *source, U32BIT *param);
396 
397 BOOLEAN STB_DPStartRecording(U8BIT path, U32BIT param);
398 void STB_DPStopRecording(U8BIT path);
399 BOOLEAN STB_DPIsRecording(U8BIT path, U32BIT *handle);
400 
401 void STB_DPStartTune(U8BIT path);
402 void STB_DPStartScan(U8BIT path);
403 void STB_DPStopTune(U8BIT path);
404 void STB_DPTuneOff(U8BIT path);
405 
406 void STB_DPStartVideoDecoding(U8BIT path);
407 void STB_DPStartADDecoding(U8BIT path);
408 void STB_DPStartAudioDecoding(U8BIT path);
409 void STB_DPStartDecoding(U8BIT path);
410 void STB_DPStopVideoDecoding(U8BIT path);
411 void STB_DPStopADDecoding(U8BIT path);
412 void STB_DPStopAudioDecoding(U8BIT path);
413 void STB_DPStopDecoding(U8BIT path);
414 
415 void STB_DPStartSI(U8BIT path);
416 void STB_DPStopSI(U8BIT path);
417 
418 void STB_DPRequestSIExtendedEvent(U8BIT path, U32BIT start_date, U32BIT start_hour, U32BIT start_min);
419 U32BIT STB_DPGetSIRequestParam1(U8BIT path);
420 U32BIT STB_DPGetSIRequestParam2(U8BIT path);
421 U32BIT STB_DPGetSIRequestParam3(U8BIT path);
422 
423 void STB_DPSetTuneStatus(U8BIT path, E_STB_DP_TUNE_STATUS state);
424 E_STB_DP_TUNE_STATUS STB_DPGetTuneStatus(U8BIT path);
425 void STB_DPSetADEnabled(U8BIT path, BOOLEAN state);
426 void STB_DPSetADAudio(U8BIT path, E_STB_DP_AD_AUDIO state);
427 E_STB_DP_AD_AUDIO STB_DPGetADAudio(U8BIT path);
428 void STB_DPSetADStatus(U8BIT path, E_STB_DP_DECODE_STATUS state);
429 E_STB_DP_DECODE_STATUS STB_DPGetADStatus(U8BIT path);
430 
431 void STB_DPSetAudioStatus(U8BIT path, E_STB_DP_DECODE_STATUS state);
432 E_STB_DP_DECODE_STATUS STB_DPGetAudioStatus(U8BIT path);
433 
434 void STB_DPSetVideoStatus(U8BIT path, E_STB_DP_DECODE_STATUS decoder);
435 E_STB_DP_DECODE_STATUS STB_DPGetVideoStatus(U8BIT path);
436 
437 void STB_DPSetSignalType(U8BIT path, E_STB_DP_SIGNAL_TYPE sigtype);
438 E_STB_DP_SIGNAL_TYPE STB_DPGetSignalType(U8BIT path);
439 
440 void STB_DPSetTuneRelock(U8BIT path, BOOLEAN state);
441 BOOLEAN STB_DPGetTuneRelock(U8BIT path);
442 
443 void STB_DPSetLockEnable(U8BIT path, BOOLEAN state);
444 BOOLEAN STB_DPGetLockEnable(U8BIT path);
445 
446 void STB_DPSetSearchMode(U8BIT path, BOOLEAN state);
447 BOOLEAN STB_DPGetSearchMode(U8BIT path);
448 
449 void STB_DPSetTVSearch(U8BIT path, BOOLEAN state);
450 BOOLEAN STB_DPGetTVSearch(U8BIT path);
451 
452 void STB_DPSetRadioSearch(U8BIT path, BOOLEAN state);
453 BOOLEAN STB_DPGetRadioSearch(U8BIT path);
454 
455 void STB_DPSetFTASearch(U8BIT path, BOOLEAN state);
456 BOOLEAN STB_DPGetFTASearch(U8BIT path);
457 
458 void STB_DPSetScramSearch(U8BIT path, BOOLEAN state);
459 BOOLEAN STB_DPGetScramSearch(U8BIT path);
460 
461 void STB_DPSetNetworkSearch(U8BIT path, BOOLEAN state);
462 BOOLEAN STB_DPGetNetworkSearch(U8BIT path);
463 
464 void STB_DPSetLNBPower(U8BIT path, E_STB_DP_LNB_POWER state);
465 E_STB_DP_LNB_POWER STB_DPGetLNBPower(U8BIT path);
466 
467 void STB_DPSetLNBType(U8BIT path, E_STB_DP_LNB_TYPE type);
468 E_STB_DP_LNB_TYPE STB_DPGetLNBType(U8BIT path);
469 
479 void STB_DPSetUserDefinedLNBBands(U8BIT path, U8BIT number_of_bands,
480  S_STB_DP_LNB_BAND *band_definitions);
481 
482 void STB_DPSetLNB22k(U8BIT path, BOOLEAN state);
483 BOOLEAN STB_DPGetLNB22k(U8BIT path);
484 
485 void STB_DPSetLNB12v(U8BIT path, BOOLEAN state);
486 BOOLEAN STB_DPGetLNB12v(U8BIT path);
487 
488 void STB_DPSetPulsePosition(U8BIT path, BOOLEAN state);
489 BOOLEAN STB_DPGetPulsePosition(U8BIT path);
490 
491 void STB_DPSetDISEQCPosition(U8BIT path, BOOLEAN state);
492 BOOLEAN STB_DPGetDISEQCPosition(U8BIT path);
493 
494 void STB_DPSetDISEQCCSwitch(U8BIT path, E_STB_DP_DISEQC_CSWITCH state);
495 E_STB_DP_DISEQC_CSWITCH STB_DPGetDISEQCCSwitch(U8BIT path);
496 
497 void STB_DPSetDISEQCUSwitch(U8BIT path, U8BIT state);
498 U8BIT STB_DPGetDISEQCUSwitch(U8BIT path);
499 
500 void STB_DPSetDISEQCTone(U8BIT path, E_STB_DP_DISEQC_TONE state);
501 E_STB_DP_DISEQC_TONE STB_DPGetDISEQCTone(U8BIT path);
502 
503 void STB_DPSetDISEQCSMATV(U8BIT path, BOOLEAN state);
504 BOOLEAN STB_DPGetDISEQCSMATV(U8BIT path);
505 
506 void STB_DPSetDISEQCRepeats(U8BIT path, U8BIT count);
507 U8BIT STB_DPGetDISEQCRepeats(U8BIT path);
508 
509 U8BIT STB_DPGetUnicableParams(U8BIT path, U32BIT unicable_if[MAX_UNICABLE_BANKS], U32BIT * lnb_lo_freq, U32BIT * lnb_hi_freq);
510 void STB_DPSetUnicablePositionB(U8BIT path, BOOLEAN position_b);
511 BOOLEAN STB_DPGetUnicablePositionB(U8BIT path);
512 void STB_DPSetUnicableChannel(U8BIT path, U8BIT chan);
513 U8BIT STB_DPGetUnicableChannel(U8BIT path);
514 void STB_DPSetUnicableFrequency(U8BIT path, U32BIT freq);
515 U32BIT STB_DPGetUnicableFrequency(U8BIT path);
516 
517 void STB_DPSetDishLimitE(U8BIT path);
518 void STB_DPSetDishLimitW(U8BIT path);
519 void STB_DPEnableDishLimits(U8BIT path, U16BIT ecount, U16BIT wcount);
520 void STB_DPDisableDishLimits(U8BIT path);
521 
522 void STB_DPStartDishMoveE(U8BIT path, U16BIT count);
523 void STB_DPStartDishMoveW(U8BIT path, U16BIT count);
524 void STB_DPStopDishMove(U8BIT path);
525 void STB_DPCentreDishMove(U8BIT path);
526 void STB_DPStoreDishPosition(U8BIT path, U16BIT count);
527 
528 void STB_DPSetDishPosition(U8BIT path, U16BIT count);
529 U16BIT STB_DPGetDishPosition(U8BIT path);
530 U16BIT STB_DPGetDishRequest(U8BIT path);
531 
532 void STB_DPSetSkewPosition(U8BIT path, U16BIT count);
533 U16BIT STB_DPGetSkewPosition(U8BIT path);
534 
535 void STB_DPSetFrequency(U8BIT path, U32BIT freq);
536 U32BIT STB_DPGetFrequency(U8BIT path);
537 
538 void STB_DPSetPolarity(U8BIT path, E_STB_DP_POLARITY pol);
539 E_STB_DP_POLARITY STB_DPGetPolarity(U8BIT path);
540 
541 void STB_DPSetSymbolRate(U8BIT path, U16BIT sym);
542 U16BIT STB_DPGetSymbolRate(U8BIT path);
543 
544 void STB_DPSetFEC(U8BIT path, E_STB_DP_FEC fec);
545 E_STB_DP_FEC STB_DPGetFEC(U8BIT path);
546 
547 void STB_DPSetDVBS2(U8BIT path, BOOLEAN dvb_s2);
548 BOOLEAN STB_DPGetDVBS2(U8BIT path);
549 
550 void STB_DPSetModulation(U8BIT path, E_STB_DP_MODULATION modulation);
551 E_STB_DP_MODULATION STB_DPGetModulation(U8BIT path);
552 
553 void STB_DPSetTerrMode(U8BIT path, E_STB_DP_TMODE mode);
554 E_STB_DP_TMODE STB_DPGetTerrMode(U8BIT path);
555 
556 void STB_DPSetTerrBandwidth(U8BIT path, E_STB_DP_TBWIDTH bwidth);
557 E_STB_DP_TBWIDTH STB_DPGetTerrBandwidth(U8BIT path);
558 
559 void STB_DPSetTerrFreqOff(U8BIT path, S8BIT offset);
560 S8BIT STB_DPGetTerrFreqOff(U8BIT path);
561 
562 void STB_DPSetTerrType(U8BIT path, E_STB_DP_TTYPE type);
563 E_STB_DP_TTYPE STB_DPGetTerrType(U8BIT path);
564 
565 void STB_DPSetTerrPLP(U8BIT path, U8BIT plp_id);
566 U8BIT STB_DPGetTerrPLP(U8BIT path);
567 
568 void STB_DPSetCableMode(U8BIT path, E_STB_DP_CMODE mode);
569 E_STB_DP_CMODE STB_DPGetCableMode(U8BIT path);
570 
571 void STB_DPSetAnalogVideoType(U8BIT path, E_STB_DP_ANALOG_VIDEO_TYPE vtype);
572 E_STB_DP_ANALOG_VIDEO_TYPE STB_DPGetAnalogVideoType(U8BIT path);
573 
574 void STB_DPSetAnalogFreqOff(U8BIT path, S8BIT offset);
575 S8BIT STB_DPGetAnalogFreqOff(U8BIT path);
576 
577 void STB_DPSetPCRPID(U8BIT path, U16BIT pid);
578 U16BIT STB_DPGetPCRPID(U8BIT path);
579 
580 void STB_DPSetVideoPID(U8BIT path, U16BIT pid);
581 U16BIT STB_DPGetVideoPID(U8BIT path);
582 
583 void STB_DPSetAudioPID(U8BIT path, U16BIT pid);
584 U16BIT STB_DPGetAudioPID(U8BIT path);
585 
586 void STB_DPSetADPID(U8BIT path, U16BIT pid);
587 U16BIT STB_DPGetADPID(U8BIT path);
588 void STB_DPSetTextPID(U8BIT path, U16BIT pid);
589 U16BIT STB_DPGetTextPID(U8BIT path);
590 
591 void STB_DPSetDataPID(U8BIT path, U16BIT pid);
592 U16BIT STB_DPGetDataPID(U8BIT path);
593 
594 void STB_DPSetDecodePIDs(U8BIT path, U16BIT pcr_pid, U16BIT video_pid, U16BIT audio_pid,
595  U16BIT text_pid, U16BIT data_pid
596  , U16BIT AD_pid
597  );
598 
599 void STB_DPSetADMode(U8BIT path, E_STB_DP_AUDIO_MODE mode);
600 E_STB_DP_AUDIO_MODE STB_DPGetADMode(U8BIT path);
601 
602 void STB_DPSetAudioMode(U8BIT path, E_STB_DP_AUDIO_MODE mode);
603 E_STB_DP_AUDIO_MODE STB_DPGetAudioMode(U8BIT path);
604 
605 void STB_DPSetLockMode(U8BIT path, BOOLEAN mode);
606 BOOLEAN STB_DPGetLockMode(U8BIT path);
607 
608 void STB_DPSetOTASearchMode(U8BIT path, E_STB_OTA_SW_UPGRADE_SEARCH_MODE mode);
609 E_STB_OTA_SW_UPGRADE_SEARCH_MODE STB_DPGetOTASearchMode(U8BIT path);
610 BOOLEAN STB_DPOTASearchEnabled(U8BIT path);
611 
612 BOOLEAN STB_DPSetVideoCodec(U8BIT path, E_STB_DP_VIDEO_CODEC codec);
613 E_STB_DP_VIDEO_CODEC STB_DPGetVideoCodec(U8BIT path);
614 BOOLEAN STB_DPSetAudioCodec(U8BIT path, E_STB_DP_AUDIO_CODEC codec);
615 E_STB_DP_AUDIO_CODEC STB_DPGetAudioCodec(U8BIT path);
616 BOOLEAN STB_DPSetADCodec(U8BIT path, E_STB_DP_AUDIO_CODEC codec);
617 E_STB_DP_AUDIO_CODEC STB_DPGetADCodec(U8BIT path);
618 
619 U8BIT STB_DPGetPathSecondaryVideoDecoder(U8BIT path);
620 
621 #endif // _STBDPC_H
622 
623 //*****************************************************************************
624 // End of file
625 //*****************************************************************************
626 
E_STB_DP_TBWIDTH STB_DPGetTerrBandwidth(U8BIT path)
Reads the terrestrial frequency offset value from decode path store.
Definition: stbdpc.c:6494
void STB_DPSetDISEQCSMATV(U8BIT path, BOOLEAN state)
Enables/disables DiSEqC SMATV and writes status into decode path store.
Definition: stbdpc.c:5029
void STB_DPStopDishMove(U8BIT path)
Stops sat dish moving.
Definition: stbdpc.c:5731
BOOLEAN STB_DPGetFTASearch(U8BIT path)
Reads the SI FTA chan search flag state from decode path store.
Definition: stbdpc.c:4165
void STB_DPStartDecoding(U8BIT path)
Requests start of channel decoding process.
Definition: stbdpc.c:2669
BOOLEAN STB_DPOTASearchEnabled(U8BIT path)
Returns TRUE if the current 'Over The Air' Software Upgrade Search Mode is manual or automatic...
Definition: stbdpc.c:4384
BOOLEAN STB_DPSetVideoCodec(U8BIT path, E_STB_DP_VIDEO_CODEC codec)
Sets the type of CODEC to be used for Video decoding.
Definition: stbdpc.c:7546
U8BIT STB_DPGetPathForService(void *service)
Checks whether any of the paths are tuned to the given service.
Definition: stbdpc.c:1787
void STB_DPSetTunedTransport(U8BIT path, void *transport)
Saves the given transport with the specified decode path.
Definition: stbdpc.c:1513
U8BIT STB_DPPathForADDecoder(U8BIT decoder_num)
Returns the decode path that is using the given AD decoder.
Definition: stbdpc.c:1458
void STB_DPSetADPID(U8BIT path, U16BIT pid)
Writes AD PID value into decode path store.
Definition: stbdpc.c:7119
BOOLEAN STB_DPIsRecording(U8BIT path, U32BIT *handle)
Returns status of recording on specified path.
Definition: stbdpc.c:2172
U8BIT STB_DPGetMHEGPath(void)
Returns the path for Cabot MHEG software to use.
Definition: stbdpc.c:1856
U8BIT STB_DPAcquirePlaybackPath(void *service)
Acquires a decode path and all the required resources (demux, audio and video decoders) for playing b...
Definition: stbdpc.c:674
void STB_DPSetADAudio(U8BIT path, E_STB_DP_AD_AUDIO state)
Reads the AD audio status from decode path store.
Definition: stbdpc.c:3435
BOOLEAN STB_DPGetDISEQCPosition(U8BIT path)
Reads the status of DiSEqC positioning from decode path store.
Definition: stbdpc.c:4802
Definition: stbdpc.h:296
U16BIT STB_DPGetPCRPID(U8BIT path)
Reads the PCR PID value from decode path store.
Definition: stbdpc.c:6955
U8BIT STB_DPGetPathCISlot(U8BIT path)
Returns the CI slot id associated with the given path.
Definition: stbdpc.c:1077
void * STB_DPGetTunedService(U8BIT path)
Returns the service saved with the given decode path.
Definition: stbdpc.c:1577
void STB_DPSetRadioSearch(U8BIT path, BOOLEAN state)
Writes SI radio chan search flag into decode path store.
Definition: stbdpc.c:4075
void STB_DPSetLNB12v(U8BIT path, BOOLEAN state)
Sets LNB 12v on or off and writes status into decode path store.
Definition: stbdpc.c:4647
void STB_DPSetLNB22k(U8BIT path, BOOLEAN state)
Sets LNB 22kHz on or off and writes status into decode path store.
Definition: stbdpc.c:4573
void STB_DPSetDecodeSource(U8BIT path, E_STB_DP_DECODE_SOURCE source, U32BIT param)
Sets source for specified decoder.
Definition: stbdpc.c:2004
E_STB_DP_DECODE_STATUS STB_DPGetADStatus(U8BIT path)
Reads the AD status from decode path store.
Definition: stbdpc.c:3564
U8BIT STB_DPAcquireCISlotForPath(U8BIT path, U8BIT *pmt_data, U8BIT *ci_protection_desc)
Acquire a CI slot and assign it to the given path.
Definition: stbdpc.c:951
BOOLEAN STB_DPIsLivePath(U8BIT path)
Is the given decode path being used for live viewing.
Definition: stbdpc.c:1292
BOOLEAN STB_DPAcquireCADescramblerForPath(U8BIT path, U8BIT *pmt_data, U32BIT *ca_handle)
Acquire a CA descrambler and assign it to the given path.
Definition: stbdpc.c:1142
void STB_DPSetTerrFreqOff(U8BIT path, S8BIT offset)
Writes terrestrial frequency offset value into decode path store.
Definition: stbdpc.c:6526
void STB_DPSetAudioStatus(U8BIT path, E_STB_DP_DECODE_STATUS state)
Writes the audio status into decode path store.
Definition: stbdpc.c:3600
void STB_DPDisableDishLimits(U8BIT path)
Disables sat dish limits.
Definition: stbdpc.c:5554
void STB_DPSetVideoPID(U8BIT path, U16BIT pid)
Writes video PID value into decode path store.
Definition: stbdpc.c:6987
E_STB_DP_TUNE_STATUS STB_DPGetTuneStatus(U8BIT path)
Reads the tuning status from decode path store.
Definition: stbdpc.c:3315
void STB_DPReleaseDecoders(U8BIT path)
Releases all decoders from the given path.
Definition: stbdpc.c:886
BOOLEAN STB_DPGetDISEQCSMATV(U8BIT path)
Reads the status of DiSEqC SMATV from decode path store.
Definition: stbdpc.c:5062
U8BIT STB_DPPathForTuner(U8BIT start_path, U8BIT tuner_num)
Returns the decode path that is using the given tuner ID.
Definition: stbdpc.c:1395
void STB_DPSetDISEQCRepeats(U8BIT path, U8BIT count)
Sets DiSEqC repeats and writes value into decode path store.
Definition: stbdpc.c:5094
BOOLEAN STB_DPGetLNB12v(U8BIT path)
Reads the status of LNB 12v from decode path store.
Definition: stbdpc.c:4680
E_STB_DP_AUDIO_CODEC STB_DPGetAudioCodec(U8BIT path)
Returns the type of CODEC to be used for Audio decoding.
Definition: stbdpc.c:7833
void STB_DPRequestSIExtendedEvent(U8BIT path, U32BIT start_date, U32BIT start_hour, U32BIT start_min)
Requests SI engine to get extended event data for specified event.
Definition: stbdpc.c:3152
U8BIT STB_DPIsCISlotInUse(U8BIT start_path, U8BIT slot_id, U8BIT ignore_path)
Checks whether a given CI slot is in use.
Definition: stbdpc.c:1104
void STB_DPStartAudioDecoding(U8BIT path)
Requests start of channel decoding process.
Definition: stbdpc.c:2568
void STB_DPStartSI(U8BIT path)
Requests start of SI engine, mode is determined by flags in general control.
Definition: stbdpc.c:2917
S8BIT STB_DPGetAnalogFreqOff(U8BIT path)
Reads the analogue frequency offset value from decode path store.
Definition: stbdpc.c:6889
void STB_DPStopRecording(U8BIT path)
Requests stop of recording on specified path.
Definition: stbdpc.c:2147
BOOLEAN STB_DPSetOwnerData(U8BIT path, void *data, U32BIT data_size)
Saves a copy of the given data with the path. If data is passed as NULL and owner data already exists...
Definition: stbdpc.c:1894
E_STB_DP_AUDIO_MODE STB_DPGetADMode(U8BIT path)
Reads the AD mode value from decode path store.
Definition: stbdpc.c:7395
U16BIT STB_DPGetDataPID(U8BIT path)
Reads the data PID value from decode path store.
Definition: stbdpc.c:7297
U8BIT STB_DPGetPathVideoDecoder(U8BIT path)
Returns the video decoder ID acquired by the given decode path.
Definition: stbdpc.c:1740
void STB_DPSetDISEQCPosition(U8BIT path, BOOLEAN state)
Enables/disables DiSEqC positioning and writes status into decode path store.
Definition: stbdpc.c:4773
void STB_DPSetSearchMode(U8BIT path, BOOLEAN state)
Writes SI search mode flag into decode path store.
Definition: stbdpc.c:3964
U32BIT STB_DPGetUnicableFrequency(U8BIT path)
Gets the currently set Unicable (IF) frequency.
Definition: stbdpc.c:5389
BOOLEAN STB_DPSetADCodec(U8BIT path, E_STB_DP_AUDIO_CODEC codec)
Sets the type of CODEC to be used for AD decoding.
Definition: stbdpc.c:7653
void STB_DPSetDISEQCUSwitch(U8BIT path, U8BIT state)
Sets DiSEqC uncommitted switch and writes status into decode path store.
Definition: stbdpc.c:4899
void STB_DPSetTerrType(U8BIT path, E_STB_DP_TTYPE type)
Sets terrestrial tuning type into decode path store.
Definition: stbdpc.c:6591
void STB_DPCentreDishMove(U8BIT path)
Moves dish to centre.
Definition: stbdpc.c:5775
U8BIT STB_DPGetTerrPLP(U8BIT path)
Reads the terrestrial T2 PLP id from decode path store.
Definition: stbdpc.c:6692
BOOLEAN STB_DPGetPulsePosition(U8BIT path)
Reads the status of pulse positioning from decode path store.
Definition: stbdpc.c:4741
U32BIT STB_DPGetSIRequestParam1(U8BIT path)
Returns parameters for previous SI request.
Definition: stbdpc.c:3212
void STB_DPSetADStatus(U8BIT path, E_STB_DP_DECODE_STATUS state)
Writes the AD status into decode path store.
Definition: stbdpc.c:3507
BOOLEAN STB_DPGetNetworkSearch(U8BIT path)
Reads the SI network search flag state from decode path store.
Definition: stbdpc.c:4287
E_STB_DP_POLARITY STB_DPGetPolarity(U8BIT path)
Reads the polarity value from decode path store.
Definition: stbdpc.c:6140
void STB_DPEnableAllTuners(void)
Sets the 'disabled' state of all tuners to FALSE so they can all be used by the resource manager...
Definition: stbdpc.c:1647
BOOLEAN STB_DPGetUnicablePositionB(U8BIT path)
Gets whether Satellite Position B is currently set.
Definition: stbdpc.c:5269
void STB_DPSetADMode(U8BIT path, E_STB_DP_AUDIO_MODE mode)
Writes AD mode value into decode path store.
Definition: stbdpc.c:7362
BOOLEAN STB_DPReleasePath(U8BIT path, E_STB_DP_RES_OWNER owner)
Releases the decode path and all resources no longer needed. The path won't be released if the path i...
Definition: stbdpc.c:780
E_STB_DP_CMODE STB_DPGetCableMode(U8BIT path)
Reads the cable tuning mode value from decode path store.
Definition: stbdpc.c:6759
void STB_DPSetTVSearch(U8BIT path, BOOLEAN state)
Writes SI TV chan search flag into decode path store.
Definition: stbdpc.c:4014
void STB_DPSetUnicableFrequency(U8BIT path, U32BIT freq)
Sets the Unicable (IF) frequency.
Definition: stbdpc.c:5361
E_STB_DP_SIGNAL_TYPE STB_DPGetSignalType(U8BIT path)
Reads the signal type value from decode path store.
Definition: stbdpc.c:3819
BOOLEAN STB_DPUseCISlotWithPath(U8BIT path, U8BIT slot_id)
Use the given CI slot with the given path.
Definition: stbdpc.c:1006
void STB_DPSetTunerDisabled(U8BIT path, BOOLEAN disabled)
Disables/enables the tuner associated with this decode path.
Definition: stbdpc.c:1666
void STB_DPStopVideoDecoding(U8BIT path)
Requests stop of channel decoding (blanks screen).
Definition: stbdpc.c:2702
U16BIT STB_DPGetADPID(U8BIT path)
Reads the audio PID value from decode path store.
Definition: stbdpc.c:7164
U16BIT STB_DPGetSkewPosition(U8BIT path)
Reads the sat skew position value from decode path store.
Definition: stbdpc.c:6010
void STB_DPSetAudioMode(U8BIT path, E_STB_DP_AUDIO_MODE mode)
Writes audio mode value into decode path store.
Definition: stbdpc.c:7427
U8BIT STB_DPGetNumPaths(void)
Returns the maximum number of decode paths.
Definition: stbdpc.c:528
void STB_DPSetVideoStatus(U8BIT path, E_STB_DP_DECODE_STATUS decoder)
Writes the video status into decode path store.
Definition: stbdpc.c:3693
U8BIT STB_DPGetPlaybackPath(void)
Returns the ID of the decode path being used for playback.
Definition: stbdpc.c:1368
U16BIT STB_DPGetDishRequest(U8BIT path)
Reads the sat dish position value from decode path store.
Definition: stbdpc.c:5945
void STB_DPSetTerrBandwidth(U8BIT path, E_STB_DP_TBWIDTH bwidth)
Writes terrestrial bandwidth value into decode path store.
Definition: stbdpc.c:6461
E_STB_DP_ANALOG_VIDEO_TYPE STB_DPGetAnalogVideoType(U8BIT path)
Reads the analogue video type value from decode path store.
Definition: stbdpc.c:6824
BOOLEAN STB_DPGetLNB22k(U8BIT path)
Reads the status of LNB 22kHz from decode path store.
Definition: stbdpc.c:4615
U8BIT STB_DPGetLivePath(void)
Returns the ID of the decode path being used for live viewing.
Definition: stbdpc.c:1266
void STB_DPSetFTASearch(U8BIT path, BOOLEAN state)
Writes SI FTA chan search flag into decode path store.
Definition: stbdpc.c:4136
E_STB_DP_VIDEO_CODEC STB_DPGetVideoCodec(U8BIT path)
Returns the type of CODEC to be used for Video decoding.
Definition: stbdpc.c:7613
BOOLEAN STB_DPIsDecodingPath(U8BIT path)
Is the given decode path being used for decoding.
Definition: stbdpc.c:1341
void STB_DPSetAudioPID(U8BIT path, U16BIT pid)
Writes audio PID value into decode path store.
Definition: stbdpc.c:7053
BOOLEAN STB_DPGetLockMode(U8BIT path)
Reads the lock mode value from decode path store.
Definition: stbdpc.c:7519
E_STB_DP_TTYPE STB_DPGetTerrType(U8BIT path)
Reads the terrestrial tuner type from decode path store.
Definition: stbdpc.c:6626
S8BIT STB_DPGetTerrFreqOff(U8BIT path)
Reads the terrestrial frequency offset value from decode path store.
Definition: stbdpc.c:6559
void STB_DPSetLockMode(U8BIT path, BOOLEAN mode)
Writes lock mode value into decode path store.
Definition: stbdpc.c:7492
void STB_DPTuneOff(U8BIT path)
Requests stop of tuning and powers down tuner.
Definition: stbdpc.c:2314
void STB_DPSetTerrMode(U8BIT path, E_STB_DP_TMODE mode)
Writes terrestrial tuning mode value into decode path store.
Definition: stbdpc.c:6396
BOOLEAN STB_DPIsOwnedBy(U8BIT path, E_STB_DP_RES_OWNER owner)
Checks whether the path is owned by the given owner.
Definition: stbdpc.c:1949
U8BIT STB_DPGetUnicableParams(U8BIT path, U32BIT unicable_if[MAX_UNICABLE_BANKS], U32BIT *lnb_lo_freq, U32BIT *lnb_hi_freq)
Interrogates Unicable LNB for its user and local oscillator frequencies.
Definition: stbdpc.c:5163
void STB_DPSetFrequency(U8BIT path, U32BIT freq)
Writes frequency value into decode path store.
Definition: stbdpc.c:6042
E_STB_DP_DISEQC_CSWITCH STB_DPGetDISEQCCSwitch(U8BIT path)
Reads the status of DiSEqC committed switch from decode path store.
Definition: stbdpc.c:4867
U16BIT STB_DPGetAudioPID(U8BIT path)
Reads the audio PID value from decode path store.
Definition: stbdpc.c:7087
void STB_DPSetAnalogFreqOff(U8BIT path, S8BIT offset)
Writes analogue frequency offset value into decode path store.
Definition: stbdpc.c:6856
U32BIT STB_DPGetFrequency(U8BIT path)
Reads the frequency value from decode path store.
Definition: stbdpc.c:6075
void STB_DPStartTune(U8BIT path)
Requests start of tuning process.
Definition: stbdpc.c:2189
E_STB_DP_SIGNAL_TYPE STB_DPGetPathTunerType(U8BIT path)
Returns the tuner type for the given path.
Definition: stbdpc.c:1623
void STB_DPSetDecodePIDs(U8BIT path, U16BIT pcr_pid, U16BIT video_pid, U16BIT audio_pid, U16BIT text_pid, U16BIT data_pid, U16BIT AD_pid)
Definition: stbdpc.c:7322
BOOLEAN STB_DPCanTuneTo(E_STB_DP_SIGNAL_TYPE tuner_type, void *service, void *transport)
Checks whether there's a tuner available to tune to the given service or transport.
Definition: stbdpc.c:1813
U8BIT STB_DPGetDISEQCRepeats(U8BIT path)
Reads the value of DiSEqC repeats from decode path store.
Definition: stbdpc.c:5129
void STB_DPSetPulsePosition(U8BIT path, BOOLEAN state)
Enables/disables pulse positioning and writes status into decode path store.
Definition: stbdpc.c:4712
void STB_DPSetSymbolRate(U8BIT path, U16BIT sym)
Writes symbol rate value into decode path store.
Definition: stbdpc.c:6172
U8BIT STB_DPGetPathTuner(U8BIT path)
Returns the tuner ID acquired by the given decode path.
Definition: stbdpc.c:1600
E_STB_DP_TMODE STB_DPGetTerrMode(U8BIT path)
Reads the terrestrial tuning mode value from decode path store.
Definition: stbdpc.c:6429
E_STB_DP_MODULATION STB_DPGetModulation(U8BIT path)
Returns the satellite modulation type for the give decode path.
Definition: stbdpc.c:6368
void STB_DPSetTunedService(U8BIT path, void *service)
Saves the given service with the specified decode path.
Definition: stbdpc.c:1558
U8BIT STB_DPGetPathAudioDecoder(U8BIT path)
Returns the audio decoder ID acquired by the given decode path.
Definition: stbdpc.c:1717
void STB_DPSetPCRPID(U8BIT path, U16BIT pid)
Writes PCR PID value into decode path store.
Definition: stbdpc.c:6921
void STB_DPSetAnalogVideoType(U8BIT path, E_STB_DP_ANALOG_VIDEO_TYPE vtype)
Writes analogue video type into decode path store.
Definition: stbdpc.c:6791
void STB_DPSetDISEQCCSwitch(U8BIT path, E_STB_DP_DISEQC_CSWITCH state)
Sets DiSEqC committed switch and writes status into decode path store.
Definition: stbdpc.c:4834
void STB_DPGetDecodeSource(U8BIT path, E_STB_DP_DECODE_SOURCE *source, U32BIT *param)
Gets source for specified decoder.
Definition: stbdpc.c:2070
E_STB_DP_FEC STB_DPGetFEC(U8BIT path)
Reads the FEC value from decode path store.
Definition: stbdpc.c:6270
E_STB_DP_DECODE_STATUS STB_DPGetVideoStatus(U8BIT path)
Reads the video status from decode path store.
Definition: stbdpc.c:3750
void STB_DPSetTuneRelock(U8BIT path, BOOLEAN state)
Writes tuner auto relock flag into decode path store.
Definition: stbdpc.c:3851
void * STB_DPGetTunedTransport(U8BIT path)
Returns the transport saved with the given decode path.
Definition: stbdpc.c:1532
void STB_DPSetPolarity(U8BIT path, E_STB_DP_POLARITY pol)
Writes polarity value into decode path store.
Definition: stbdpc.c:6107
void STB_DPSetSignalType(U8BIT path, E_STB_DP_SIGNAL_TYPE sigtype)
Writes signal type value into decode path store.
Definition: stbdpc.c:3786
U8BIT STB_DPGetNumEnabledTuners(void)
Returns the number of enabled tuners (i.e. that haven't been disabled)
Definition: stbdpc.c:1682
E_STB_DP_DECODE_STATUS STB_DPGetAudioStatus(U8BIT path)
Reads the audio status from decode path store.
Definition: stbdpc.c:3657
E_STB_DP_AD_AUDIO STB_DPGetADAudio(U8BIT path)
Reads the AD audio status from decode path store.
Definition: stbdpc.c:3470
E_STB_DP_AUDIO_CODEC STB_DPGetADCodec(U8BIT path)
Returns the type of CODEC to be used for AD decoding.
Definition: stbdpc.c:7724
void STB_DPSetDVBS2(U8BIT path, BOOLEAN dvb_s2)
Set whether the satellite should be tuned to DVB-S/S2 for the tuner in the given decode path...
Definition: stbdpc.c:6295
void STB_DPStopDecoding(U8BIT path)
Requests stop of channel decoding (blanks screen).
Definition: stbdpc.c:2893
System Wide Global Technical Data Type Definitions.
void STB_DPStopSI(U8BIT path)
Requests stop of SI engine.
Definition: stbdpc.c:3059
void STB_DPReleaseCADescramblerFromPath(U8BIT path)
Release the CA descrambler associated with the given path.
Definition: stbdpc.c:1215
U32BIT STB_DPGetSIRequestParam2(U8BIT path)
Returns parameters for previous SI request.
Definition: stbdpc.c:3237
U16BIT STB_DPGetSymbolRate(U8BIT path)
Reads the symbol rate value from decode path store.
Definition: stbdpc.c:6205
void STB_DPSetLNBPower(U8BIT path, E_STB_DP_LNB_POWER state)
Sets LNB power on or off and writes status into decode path store.
Definition: stbdpc.c:4416
U16BIT STB_DPGetVideoPID(U8BIT path)
Reads the video PID value from decode path store.
Definition: stbdpc.c:7021
U8BIT STB_DPAcquireTunerPath(E_STB_DP_SIGNAL_TYPE tuner_type, void *service, void *transport, E_STB_DP_RES_OWNER owner, E_STB_DP_PRIORITY priority, BOOLEAN with_decoders, BOOLEAN for_recording)
Acquires a decode path and all the required resources (tuner, demux, audio and video decoders)...
Definition: stbdpc.c:554
E_STB_DP_DISEQC_TONE STB_DPGetDISEQCTone(U8BIT path)
Reads the status of DiSEqC tone from decode path store.
Definition: stbdpc.c:4997
BOOLEAN STB_DPIsRecordingPath(U8BIT path)
Is the given decode path being used for recording.
Definition: stbdpc.c:1315
void STB_DPSetUserDefinedLNBBands(U8BIT path, U8BIT number_of_bands, S_STB_DP_LNB_BAND *band_definitions)
Stores the pointer to the array of band definitions for the user defined LNB.
Definition: stbdpc.c:4543
U32BIT STB_DPGetSIRequestParam3(U8BIT path)
Returns parameters for previous SI request.
Definition: stbdpc.c:3262
void STB_DPStartVideoDecoding(U8BIT path)
Requests start of channel decoding process.
Definition: stbdpc.c:2373
void STB_DPStartADDecoding(U8BIT path)
Requests start of channel decoding process.
Definition: stbdpc.c:2462
void STB_DPSetModulation(U8BIT path, E_STB_DP_MODULATION modulation)
Set the satellite modulation for the tuner in the given decode path.
Definition: stbdpc.c:6342
BOOLEAN STB_DPGetDVBS2(U8BIT path)
Returns whether the sat tuner is tuned to DVB-S or DVB-S2.
Definition: stbdpc.c:6321
BOOLEAN STB_DPGetPathCADescrambler(U8BIT path, U32BIT *handle)
Get the handle of the CA descrambler associated with the given path.
Definition: stbdpc.c:1239
void STB_DPSetScramSearch(U8BIT path, BOOLEAN state)
Writes SI scram chan search flag into decode path store.
Definition: stbdpc.c:4197
E_STB_DP_LNB_TYPE STB_DPGetLNBType(U8BIT path)
Reads the LNB type value from decode path store.
Definition: stbdpc.c:4514
void STB_DPSetLNBType(U8BIT path, E_STB_DP_LNB_TYPE type)
Writes LNB type value into decode path store.
Definition: stbdpc.c:4481
void STB_DPSetLockEnable(U8BIT path, BOOLEAN state)
Writes lock enable flag into decode path store.
Definition: stbdpc.c:3914
void STB_DPEnableDishLimits(U8BIT path, U16BIT ecount, U16BIT wcount)
Enables sat dish limits.
Definition: stbdpc.c:5510
void STB_DPSetDataPID(U8BIT path, U16BIT pid)
Writes data PID value into decode path store.
Definition: stbdpc.c:7263
void STB_DPSetUnicablePositionB(U8BIT path, BOOLEAN position_b)
Sets whether to use the alternate satellite position (Position B)
Definition: stbdpc.c:5241
void * STB_DPGetOwnerData(U8BIT path, U32BIT *data_size)
Returns the owner data saved with the path. This data should not be freed.
Definition: stbdpc.c:1976
void STB_DPStopTune(U8BIT path)
Stops of tuning signal scan and unlocks.
Definition: stbdpc.c:2268
void STB_DPSetTextPID(U8BIT path, U16BIT pid)
Writes teletext PID value into decode path store.
Definition: stbdpc.c:7196
void STB_DPSetADEnabled(U8BIT path, BOOLEAN state)
Writes the AD Audio into decode path store. To be set to ON or OFF. The exact ON state is depends if ...
Definition: stbdpc.c:3354
void STB_DPSetDISEQCTone(U8BIT path, E_STB_DP_DISEQC_TONE state)
Sets DiSEqC tone and writes status into decode path store.
Definition: stbdpc.c:4964
BOOLEAN STB_DPStartRecording(U8BIT path, U32BIT param)
Requests start of recording on specified path.
Definition: stbdpc.c:2095
BOOLEAN STB_DPGetRadioSearch(U8BIT path)
Reads the SI radio chan search flag state from decode path store.
Definition: stbdpc.c:4104
BOOLEAN STB_DPGetTuneRelock(U8BIT path)
Reads the tuner auto relock flag state from decode path store.
Definition: stbdpc.c:3882
BOOLEAN STB_DPGetLockEnable(U8BIT path)
Reads the lock enable flag state from decode path store.
Definition: stbdpc.c:3937
void STB_DPInitialise(void)
Initialises decode path control and sets up the structures for restricting access to resources...
Definition: stbdpc.c:329
void STB_DPSetDishLimitW(U8BIT path)
Sets current sat dish position as West limit.
Definition: stbdpc.c:5464
void STB_DPStartScan(U8BIT path)
Requests start of tuning signal scan process.
Definition: stbdpc.c:2253
void STB_DPSetOTASearchMode(U8BIT path, E_STB_OTA_SW_UPGRADE_SEARCH_MODE mode)
Sets the 'Over The Air' Software Upgrade Search Mode for a given path.
Definition: stbdpc.c:4321
E_STB_OTA_SW_UPGRADE_SEARCH_MODE STB_DPGetOTASearchMode(U8BIT path)
Returns the current 'Over The Air' Software Upgrade Search Mode for the given path.
Definition: stbdpc.c:4352
BOOLEAN STB_DPGetSearchMode(U8BIT path)
Reads the SI search mode flag state from decode path store.
Definition: stbdpc.c:3987
U8BIT STB_DPPathForAudioDecoder(U8BIT decoder_num)
Returns the decode path that is using the given audio decoder.
Definition: stbdpc.c:1431
void STB_DPSetNetworkSearch(U8BIT path, BOOLEAN state)
Writes SI network search flag into decode path store.
Definition: stbdpc.c:4258
U8BIT STB_DPGetPathSecondaryVideoDecoder(U8BIT path)
Returns the secondary video decoder ID acquired by the given decode path.
Definition: stbdpc.c:1764
void STB_DPSetCableMode(U8BIT path, E_STB_DP_CMODE mode)
Writes cable tuning mode value into decode path store.
Definition: stbdpc.c:6726
void STB_DPSetFEC(U8BIT path, E_STB_DP_FEC fec)
Writes FEC value into decode path store.
Definition: stbdpc.c:6237
void STB_DPStopADDecoding(U8BIT path)
Requests stop of channel decoding.
Definition: stbdpc.c:2764
BOOLEAN STB_DPSetAudioCodec(U8BIT path, E_STB_DP_AUDIO_CODEC codec)
Sets the type of CODEC to be used for Audio decoding.
Definition: stbdpc.c:7754
U8BIT STB_DPGetDISEQCUSwitch(U8BIT path)
Reads the status of DiSEqC uncommitted switch from decode path store.
Definition: stbdpc.c:4932
void STB_DPStoreDishPosition(U8BIT path, U16BIT count)
Stores sat dish position as given DiSEqC index number, or pulse count.
Definition: stbdpc.c:5816
void STB_DPSetTuneStatus(U8BIT path, E_STB_DP_TUNE_STATUS state)
Writes the tuning status into decode path store.
Definition: stbdpc.c:3287
U8BIT STB_DPGetPathDemux(U8BIT path)
Returns the demux path ID acquired by the given decode path.
Definition: stbdpc.c:1694
void STB_DPReleaseCISlotFromPath(U8BIT path)
Release the CI slot associated with the given path.
Definition: stbdpc.c:1046
BOOLEAN STB_DPGetTVSearch(U8BIT path)
Reads the SI TV chan search flag state from decode path store.
Definition: stbdpc.c:4043
void STB_DPStopAudioDecoding(U8BIT path)
Requests stop of channel decoding.
Definition: stbdpc.c:2829
U8BIT STB_DPGetUnicableChannel(U8BIT path)
Gets the currently set Unicable Channel (User Band).
Definition: stbdpc.c:5329
U16BIT STB_DPGetTextPID(U8BIT path)
Reads the teletext PID value from decode path store.
Definition: stbdpc.c:7231
U8BIT STB_DPPathForVideoDecoder(U8BIT decoder_num)
Returns the decode path that is using the given video decoder.
Definition: stbdpc.c:1485
void STB_DPSetDishPosition(U8BIT path, U16BIT count)
Writes sat dish position value into decode path store.
Definition: stbdpc.c:5869
U16BIT STB_DPGetDishPosition(U8BIT path)
Reads the actual sat dish position value.
Definition: stbdpc.c:5908
void STB_DPSetSkewPosition(U8BIT path, U16BIT count)
Writes sat skew position value into decode path store.
Definition: stbdpc.c:5977
void STB_DPSetUnicableChannel(U8BIT path, U8BIT chan)
Sets the current Unicable Channel (User Band).
Definition: stbdpc.c:5301
void STB_DPStartDishMoveE(U8BIT path, U16BIT count)
Starts sat dish moving east.
Definition: stbdpc.c:5598
E_STB_DP_AUDIO_MODE STB_DPGetAudioMode(U8BIT path)
Reads the audio mode value from decode path store.
Definition: stbdpc.c:7460
void STB_DPReleaseAllPaths(void)
Releases all decode paths and all the resources they are using.
Definition: stbdpc.c:928
BOOLEAN STB_DPGetScramSearch(U8BIT path)
Reads the SI scram chan search flag state from decode path store.
Definition: stbdpc.c:4226
E_STB_DP_LNB_POWER STB_DPGetLNBPower(U8BIT path)
Reads the LNB power status from decode path store.
Definition: stbdpc.c:4449
void STB_DPStartDishMoveW(U8BIT path, U16BIT count)
Starts sat dish moving west.
Definition: stbdpc.c:5666
Header file - Function prototypes for tuner control.
void STB_DPSetOwner(U8BIT path, E_STB_DP_RES_OWNER owner)
Sets the owner of the given path.
Definition: stbdpc.c:1868
void STB_DPSetTerrPLP(U8BIT path, U8BIT plp_id)
Sets terrestrial T2 PLP id into decode path store.
Definition: stbdpc.c:6658
void STB_DPSetDishLimitE(U8BIT path)
Sets current sat dish position as East limit.
Definition: stbdpc.c:5420