DVBCore  22.3.0
Open Source DVB Engine
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  SIGNAL_IP = 16 // IP network signal for DVB-IPTV
99 }
100 E_STB_DP_SIGNAL_TYPE;
101 
102 typedef enum e_stb_dp_lnb_power
103 {
104  LNB_POWER_OFF = 0,
105  LNB_POWER_ON = 1,
106  LNB_POWER_AUTO = 2
107 }
108 E_STB_DP_LNB_POWER;
109 
110 typedef enum e_stb_dp_lnb_type
111 {
112  LNB_TYPE_SINGLE = 0,
113  LNB_TYPE_UNIVERSAL = 1,
114  LNB_TYPE_UNICABLE = 2,
115  LNB_TYPE_USER_DEFINED = 3,
116  LNB_TYPE_MAX
117 }
118 E_STB_DP_LNB_TYPE;
119 
120 typedef enum e_stb_dp_diseqc_cswitch
121 {
122  DISEQC_CSWITCH_OFF = 0,
123  DISEQC_CSWITCH_A = 1,
124  DISEQC_CSWITCH_B = 2,
125  DISEQC_CSWITCH_C = 3,
126  DISEQC_CSWITCH_D = 4
127 }
128 E_STB_DP_DISEQC_CSWITCH;
129 
130 typedef enum e_stb_dp_diseqc_tone
131 {
132  DISEQC_TONE_OFF = 0,
133  DISEQC_TONE_A = 1,
134  DISEQC_TONE_B = 2
135 }
136 E_STB_DP_DISEQC_TONE;
137 
138 typedef enum e_stb_dp_polarity
139 {
140  POLARITY_HORIZONTAL = 0,
141  POLARITY_VERTICAL = 1,
142  POLARITY_LEFT = 2,
143  POLARITY_RIGHT = 3
144 }
145 E_STB_DP_POLARITY;
146 
147 typedef enum e_stb_dp_fec
148 {
149  FEC_AUTOMATIC = 0,
150  FEC_1_2 = 1,
151  FEC_2_3 = 2,
152  FEC_3_4 = 3,
153  FEC_5_6 = 4,
154  FEC_7_8 = 5,
155  // Extra FEC modes for DVB-S2
156  FEC_1_4 = 6,
157  FEC_1_3 = 7,
158  FEC_2_5 = 8,
159  FEC_8_9 = 9,
160  FEC_9_10 = 10,
161  FEC_3_5 = 11,
162  FEC_4_5 = 12
163 }
164 E_STB_DP_FEC;
165 
166 typedef enum e_stb_dp_fec_type
167 {
168  FEC_TYPE_AUTO,
169  FEC_TYPE_DVBS1,
170  FEC_TYPE_DVBS2
171 }
172 E_STB_DP_FEC_TYPE;
173 
174 typedef enum e_stb_dp_modulation
175 {
176  MOD_AUTO,
177  MOD_QPSK, /* quartenary phase shift key */
178  MOD_8PSK, /* octenary phase shift key */
179  MOD_16QAM /* Not valid for DVB-S2 */
180 }
181 E_STB_DP_MODULATION;
182 
183 typedef enum e_stb_dp_tmode
184 {
185  MODE_COFDM_2K,
186  MODE_COFDM_8K,
187  MODE_COFDM_4K,
188  MODE_COFDM_1K,
189  MODE_COFDM_16K,
190  MODE_COFDM_32K,
191  MODE_COFDM_UNDEFINED
192 }
193 E_STB_DP_TMODE;
194 
195 typedef enum e_stb_dp_tbwidth
196 {
197  TBWIDTH_8MHZ,
198  TBWIDTH_7MHZ,
199  TBWIDTH_6MHZ,
200  TBWIDTH_5MHZ,
201  TBWIDTH_10MHZ,
202  TBWIDTH_UNDEFINED
203 }
204 E_STB_DP_TBWIDTH;
205 
206 typedef enum e_stb_dp_cmode
207 {
208  MODE_QAM_AUTO,
209  MODE_QAM_4,
210  MODE_QAM_8,
211  MODE_QAM_16,
212  MODE_QAM_32,
213  MODE_QAM_64,
214  MODE_QAM_128,
215  MODE_QAM_256
216 }
217 E_STB_DP_CMODE;
218 
219 typedef enum e_stb_dp_tune_terr_type
220 {
221  TERR_TYPE_UNKNOWN,
222  TERR_TYPE_DVBT,
223  TERR_TYPE_DVBT2,
224 } E_STB_DP_TTYPE;
225 
226 typedef enum e_stb_dp_audio_mode
227 {
228  AUDIO_STEREO = 0,
229  AUDIO_LEFT = 1,
230  AUDIO_RIGHT = 2,
231  AUDIO_MONO = 3,
232  AUDIO_MULTICHANNEL = 4,
233  AUDIO_UNDEF = 5
234 }
235 E_STB_DP_AUDIO_MODE;
236 
237 typedef enum e_stb_ota_sw_upgrade_search_mode
238 {
239  OTA_SEARCH_OFF = 0,
240  OTA_SEARCH_AUTO = 1,
241  OTA_SEARCH_MANUAL = 2
242 } E_STB_OTA_SW_UPGRADE_SEARCH_MODE;
243 
244 typedef enum e_stb_dp_analogue_video_type
245 {
246  ANLG_VIDEO_PAL_I = 0,
247  ANLG_VIDEO_PAL_B = 1,
248  ANLG_VIDEO_PAL_G = 2,
249  ANLG_VIDEO_PAL_D = 3,
250  ANLG_VIDEO_PAL_K = 4,
251  ANLG_VIDEO_PAL_L = 5,
252  ANLG_VIDEO_PAL_LDASH = 6
253 } E_STB_DP_ANALOG_VIDEO_TYPE;
254 
255 typedef enum e_stb_dp_video_codec
256 {
257  VIDEO_CODEC_AUTO = 0,
258  VIDEO_CODEC_MPEG1 = 1,
259  VIDEO_CODEC_MPEG2 = 2,
260  VIDEO_CODEC_H264 = 3,
261  VIDEO_CODEC_H265 = 4,
262  VIDEO_CODEC_AVS = 5
263 } E_STB_DP_VIDEO_CODEC;
264 
265 typedef enum e_stb_dp_audio_codec
266 {
267  AUDIO_CODEC_AUTO = 0,
268  AUDIO_CODEC_MP2 = 1,
269  AUDIO_CODEC_MP3 = 2,
270  AUDIO_CODEC_AC3 = 3,
271  AUDIO_CODEC_EAC3 = 4,
272  AUDIO_CODEC_AAC = 5,
273  AUDIO_CODEC_HEAAC = 6,
274  AUDIO_CODEC_AAC_ADTS = 7,
275  AUDIO_CODEC_HEAAC_V2 = 8
276 } E_STB_DP_AUDIO_CODEC;
277 
278 typedef enum e_stb_dp_ad_audio
279 {
280  AD_AUDIO_OFF = 0,
281  AD_AUDIO_ON = 1,
282  AD_AUDIO_PAUSED = 2,
283  AD_AUDIO_PLAYING = 3,
284  AD_AUDIO_WAITING = 4
285 } E_STB_DP_AD_AUDIO;
286 
287 
288 typedef enum
289 {
290  RES_OWNER_NONE,
291  RES_OWNER_DVB,
292  RES_OWNER_CIPLUS
293 } E_STB_DP_RES_OWNER;
294 
295 typedef enum
296 {
297  DP_PRIORITY_LOW,
298  DP_PRIORITY_HIGH
299 } E_STB_DP_PRIORITY;
300 
301 typedef enum e_stb_dp_ip_fec
302 {
303  FEC_LAYER_NONE = 0,
304  FEC_LAYER_BASE_1D = 1, // SMPTE 2022-1 single stream
305  FEC_LAYER_BASE_2D = 2, // SMPTE 2022-1 dual stream
306 } E_STB_DP_FEC_LAYER;
307 
308 typedef struct
309 {
310  U16BIT port1; // Base 1D/2D: UDP port for first FEC stream; if zero, default is IP service's port + 2
311  U16BIT port2; // Base 2D: UDP port for second FEC stream; if zero, default is IP service's port + 4
313 
314 typedef struct
315 {
316  E_STB_DP_POLARITY polarity;
317  U16BIT min_freq;
318  U16BIT max_freq;
319  U16BIT local_oscillator_frequency;
320  E_STB_TUNE_LNB_VOLTAGE lnb_voltage;
321  BOOLEAN tone_22k;
323 
324 
325 //---Global type defs for public use-------------------------------------------
326 
327 //---Global Function prototypes for public use---------------------------------
328 
329 void STB_DPInitialise(void);
330 
331 U8BIT STB_DPGetNumPaths(void);
332 
333 U8BIT STB_DPAcquireTunerPath(E_STB_DP_SIGNAL_TYPE tuner_type, void *service, void *transport,
334  E_STB_DP_RES_OWNER owner, E_STB_DP_PRIORITY priority, BOOLEAN with_decoders, BOOLEAN for_recording);
335 
336 U8BIT STB_DPAcquirePlaybackPath(void *service);
337 
338 void STB_DPReleaseDecoders(U8BIT path);
339 
340 BOOLEAN STB_DPReleasePath(U8BIT path, E_STB_DP_RES_OWNER owner);
341 void STB_DPReleaseAllPaths(void);
342 
343 U8BIT STB_DPAcquireCISlotForPath(U8BIT path, U8BIT *pmt_data, U8BIT *ci_protection_desc);
344 BOOLEAN STB_DPUseCISlotWithPath(U8BIT path, U8BIT slot_id);
345 void STB_DPReleaseCISlotFromPath(U8BIT path);
346 U8BIT STB_DPGetPathCISlot(U8BIT path);
347 U8BIT STB_DPIsCISlotInUse(U8BIT start_path, U8BIT slot_id, U8BIT ignore_path);
348 
349 BOOLEAN STB_DPAcquireCADescramblerForPath(U8BIT path, U8BIT *pmt_data, U32BIT *ca_handle);
350 void STB_DPReleaseCADescramblerFromPath(U8BIT path);
351 BOOLEAN STB_DPGetPathCADescrambler(U8BIT path, U32BIT *handle);
352 
353 U8BIT STB_DPGetLivePath(void);
354 BOOLEAN STB_DPIsLivePath(U8BIT path);
355 BOOLEAN STB_DPIsRecordingPath(U8BIT path);
356 BOOLEAN STB_DPIsDecodingPath(U8BIT path);
357 U8BIT STB_DPGetPlaybackPath(void);
358 
359 U8BIT STB_DPPathForTuner(U8BIT start_path, U8BIT tuner_num);
360 U8BIT STB_DPPathForAudioDecoder(U8BIT decoder_num);
361 U8BIT STB_DPPathForADDecoder(U8BIT decoder_num);
362 U8BIT STB_DPPathForVideoDecoder(U8BIT decoder_num);
363 
364 void STB_DPSetTunedTransport(U8BIT path, void *transport);
365 void* STB_DPGetTunedTransport(U8BIT path);
366 void STB_DPSetTunedService(U8BIT path, void *service);
367 void* STB_DPGetTunedService(U8BIT path);
368 
369 U8BIT STB_DPGetPathForService(void *service);
370 
377 BOOLEAN STB_DPCanTuneTo(E_STB_DP_SIGNAL_TYPE tuner_type, void *service, void *transport);
378 
379 U8BIT STB_DPGetPathTuner(U8BIT path);
380 E_STB_DP_SIGNAL_TYPE STB_DPGetPathTunerType(U8BIT path);
381 
386 void STB_DPEnableAllTuners(void);
387 
393 void STB_DPSetTunerDisabled(U8BIT path, BOOLEAN disabled);
394 
399 U8BIT STB_DPGetNumEnabledTuners(void);
400 
406 BOOLEAN STB_DPIsTunerEnabled(U8BIT tuner_num);
407 
408 U8BIT STB_DPGetPathDemux(U8BIT path);
409 U8BIT STB_DPGetPathAudioDecoder(U8BIT path);
410 U8BIT STB_DPGetPathVideoDecoder(U8BIT path);
411 
412 U8BIT STB_DPGetMHEGPath(void);
413 
414 void STB_DPSetOwner(U8BIT path, E_STB_DP_RES_OWNER owner);
415 BOOLEAN STB_DPSetOwnerData(U8BIT path, void *data, U32BIT data_size);
416 BOOLEAN STB_DPIsOwnedBy(U8BIT path, E_STB_DP_RES_OWNER owner);
417 void* STB_DPGetOwnerData(U8BIT path, U32BIT *data_size);
418 
419 void STB_DPSetDecodeSource(U8BIT path, E_STB_DP_DECODE_SOURCE source, U32BIT param);
420 void STB_DPGetDecodeSource(U8BIT path, E_STB_DP_DECODE_SOURCE *source, U32BIT *param);
421 
422 BOOLEAN STB_DPStartRecording(U8BIT path, U32BIT param);
423 void STB_DPStopRecording(U8BIT path);
424 BOOLEAN STB_DPIsRecording(U8BIT path, U32BIT *handle);
425 
426 void STB_DPStartTune(U8BIT path);
427 void STB_DPStartScan(U8BIT path);
428 void STB_DPStopTune(U8BIT path);
429 void STB_DPTuneOff(U8BIT path);
430 
431 void STB_DPStartVideoDecoding(U8BIT path);
432 void STB_DPStartADDecoding(U8BIT path);
433 void STB_DPStartAudioDecoding(U8BIT path);
434 void STB_DPStartDecoding(U8BIT path);
435 void STB_DPStopVideoDecoding(U8BIT path);
436 void STB_DPStopADDecoding(U8BIT path);
437 void STB_DPStopAudioDecoding(U8BIT path);
438 void STB_DPStopDecoding(U8BIT path);
439 
440 void STB_DPStartSI(U8BIT path);
441 void STB_DPStopSI(U8BIT path);
442 
443 void STB_DPRequestSIExtendedEvent(U8BIT path, U32BIT start_date, U32BIT start_hour, U32BIT start_min);
444 U32BIT STB_DPGetSIRequestParam1(U8BIT path);
445 U32BIT STB_DPGetSIRequestParam2(U8BIT path);
446 U32BIT STB_DPGetSIRequestParam3(U8BIT path);
447 
448 void STB_DPSetTuneStatus(U8BIT path, E_STB_DP_TUNE_STATUS state);
449 E_STB_DP_TUNE_STATUS STB_DPGetTuneStatus(U8BIT path);
450 void STB_DPSetADEnabled(U8BIT path, BOOLEAN state);
451 void STB_DPSetADAudio(U8BIT path, E_STB_DP_AD_AUDIO state);
452 E_STB_DP_AD_AUDIO STB_DPGetADAudio(U8BIT path);
453 void STB_DPSetADStatus(U8BIT path, E_STB_DP_DECODE_STATUS state);
454 E_STB_DP_DECODE_STATUS STB_DPGetADStatus(U8BIT path);
455 
456 void STB_DPSetAudioStatus(U8BIT path, E_STB_DP_DECODE_STATUS state);
457 E_STB_DP_DECODE_STATUS STB_DPGetAudioStatus(U8BIT path);
458 
459 void STB_DPSetVideoStatus(U8BIT path, E_STB_DP_DECODE_STATUS decoder);
460 E_STB_DP_DECODE_STATUS STB_DPGetVideoStatus(U8BIT path);
461 
462 void STB_DPSetSignalType(U8BIT path, E_STB_DP_SIGNAL_TYPE sigtype);
463 E_STB_DP_SIGNAL_TYPE STB_DPGetSignalType(U8BIT path);
464 
465 void STB_DPSetTuneRelock(U8BIT path, BOOLEAN state);
466 BOOLEAN STB_DPGetTuneRelock(U8BIT path);
467 
468 void STB_DPSetLockEnable(U8BIT path, BOOLEAN state);
469 BOOLEAN STB_DPGetLockEnable(U8BIT path);
470 
471 void STB_DPSetSearchMode(U8BIT path, BOOLEAN state);
472 BOOLEAN STB_DPGetSearchMode(U8BIT path);
473 
474 void STB_DPSetTVSearch(U8BIT path, BOOLEAN state);
475 BOOLEAN STB_DPGetTVSearch(U8BIT path);
476 
477 void STB_DPSetRadioSearch(U8BIT path, BOOLEAN state);
478 BOOLEAN STB_DPGetRadioSearch(U8BIT path);
479 
480 void STB_DPSetFTASearch(U8BIT path, BOOLEAN state);
481 BOOLEAN STB_DPGetFTASearch(U8BIT path);
482 
483 void STB_DPSetScramSearch(U8BIT path, BOOLEAN state);
484 BOOLEAN STB_DPGetScramSearch(U8BIT path);
485 
486 void STB_DPSetNetworkSearch(U8BIT path, BOOLEAN state);
487 BOOLEAN STB_DPGetNetworkSearch(U8BIT path);
488 
489 void STB_DPSetLNBPower(U8BIT path, E_STB_DP_LNB_POWER state);
490 E_STB_DP_LNB_POWER STB_DPGetLNBPower(U8BIT path);
491 
492 void STB_DPSetLNBType(U8BIT path, E_STB_DP_LNB_TYPE type);
493 E_STB_DP_LNB_TYPE STB_DPGetLNBType(U8BIT path);
494 
504 void STB_DPSetUserDefinedLNBBands(U8BIT path, U8BIT number_of_bands,
505  S_STB_DP_LNB_BAND *band_definitions);
506 
507 void STB_DPSetLNB22k(U8BIT path, BOOLEAN state);
508 BOOLEAN STB_DPGetLNB22k(U8BIT path);
509 
510 void STB_DPSetLNB12v(U8BIT path, BOOLEAN state);
511 BOOLEAN STB_DPGetLNB12v(U8BIT path);
512 
513 void STB_DPSetPulsePosition(U8BIT path, BOOLEAN state);
514 BOOLEAN STB_DPGetPulsePosition(U8BIT path);
515 
516 void STB_DPSetDISEQCPosition(U8BIT path, BOOLEAN state);
517 BOOLEAN STB_DPGetDISEQCPosition(U8BIT path);
518 
519 void STB_DPSetDISEQCCSwitch(U8BIT path, E_STB_DP_DISEQC_CSWITCH state);
520 E_STB_DP_DISEQC_CSWITCH STB_DPGetDISEQCCSwitch(U8BIT path);
521 
522 void STB_DPSetDISEQCUSwitch(U8BIT path, U8BIT state);
523 U8BIT STB_DPGetDISEQCUSwitch(U8BIT path);
524 
525 void STB_DPSetDISEQCTone(U8BIT path, E_STB_DP_DISEQC_TONE state);
526 E_STB_DP_DISEQC_TONE STB_DPGetDISEQCTone(U8BIT path);
527 
528 void STB_DPSetDISEQCSMATV(U8BIT path, BOOLEAN state);
529 BOOLEAN STB_DPGetDISEQCSMATV(U8BIT path);
530 
531 void STB_DPSetDISEQCRepeats(U8BIT path, U8BIT count);
532 U8BIT STB_DPGetDISEQCRepeats(U8BIT path);
533 
534 U8BIT STB_DPGetUnicableParams(U8BIT path, U32BIT unicable_if[MAX_UNICABLE_BANKS], U32BIT * lnb_lo_freq, U32BIT * lnb_hi_freq);
535 void STB_DPSetUnicablePositionB(U8BIT path, BOOLEAN position_b);
536 BOOLEAN STB_DPGetUnicablePositionB(U8BIT path);
537 void STB_DPSetUnicableChannel(U8BIT path, U8BIT chan);
538 U8BIT STB_DPGetUnicableChannel(U8BIT path);
539 void STB_DPSetUnicableFrequency(U8BIT path, U32BIT freq);
540 U32BIT STB_DPGetUnicableFrequency(U8BIT path);
541 
542 void STB_DPSetDishLimitE(U8BIT path);
543 void STB_DPSetDishLimitW(U8BIT path);
544 void STB_DPEnableDishLimits(U8BIT path, U16BIT ecount, U16BIT wcount);
545 void STB_DPDisableDishLimits(U8BIT path);
546 
547 void STB_DPStartDishMoveE(U8BIT path, U16BIT count);
548 void STB_DPStartDishMoveW(U8BIT path, U16BIT count);
549 void STB_DPStopDishMove(U8BIT path);
550 void STB_DPCentreDishMove(U8BIT path);
551 void STB_DPStoreDishPosition(U8BIT path, U16BIT count);
552 
553 void STB_DPSetDishPosition(U8BIT path, U16BIT count);
554 U16BIT STB_DPGetDishPosition(U8BIT path);
555 U16BIT STB_DPGetDishRequest(U8BIT path);
556 
557 void STB_DPSetSkewPosition(U8BIT path, U16BIT count);
558 U16BIT STB_DPGetSkewPosition(U8BIT path);
559 
560 void STB_DPSetFrequency(U8BIT path, U32BIT freq);
561 U32BIT STB_DPGetFrequency(U8BIT path);
562 
563 void STB_DPSetPolarity(U8BIT path, E_STB_DP_POLARITY pol);
564 E_STB_DP_POLARITY STB_DPGetPolarity(U8BIT path);
565 
566 void STB_DPSetSymbolRate(U8BIT path, U16BIT sym);
567 U16BIT STB_DPGetSymbolRate(U8BIT path);
568 
569 void STB_DPSetFEC(U8BIT path, E_STB_DP_FEC fec);
570 E_STB_DP_FEC STB_DPGetFEC(U8BIT path);
571 
572 void STB_DPSetDVBS2(U8BIT path, BOOLEAN dvb_s2);
573 BOOLEAN STB_DPGetDVBS2(U8BIT path);
574 
575 void STB_DPSetModulation(U8BIT path, E_STB_DP_MODULATION modulation);
576 E_STB_DP_MODULATION STB_DPGetModulation(U8BIT path);
577 
578 void STB_DPSetTerrMode(U8BIT path, E_STB_DP_TMODE mode);
579 E_STB_DP_TMODE STB_DPGetTerrMode(U8BIT path);
580 
581 void STB_DPSetTerrBandwidth(U8BIT path, E_STB_DP_TBWIDTH bwidth);
582 E_STB_DP_TBWIDTH STB_DPGetTerrBandwidth(U8BIT path);
583 
584 void STB_DPSetTerrFreqOff(U8BIT path, S8BIT offset);
585 S8BIT STB_DPGetTerrFreqOff(U8BIT path);
586 
587 void STB_DPSetTerrType(U8BIT path, E_STB_DP_TTYPE type);
588 E_STB_DP_TTYPE STB_DPGetTerrType(U8BIT path);
589 
590 void STB_DPSetTerrPLP(U8BIT path, U8BIT plp_id);
591 U8BIT STB_DPGetTerrPLP(U8BIT path);
592 
593 void STB_DPSetCableMode(U8BIT path, E_STB_DP_CMODE mode);
594 E_STB_DP_CMODE STB_DPGetCableMode(U8BIT path);
595 
596 void STB_DPSetAnalogVideoType(U8BIT path, E_STB_DP_ANALOG_VIDEO_TYPE vtype);
597 E_STB_DP_ANALOG_VIDEO_TYPE STB_DPGetAnalogVideoType(U8BIT path);
598 
599 void STB_DPSetAnalogFreqOff(U8BIT path, S8BIT offset);
600 S8BIT STB_DPGetAnalogFreqOff(U8BIT path);
601 
609 void STB_DPSetAdditionalFrequencies(U8BIT path, U8BIT num_freqs, U32BIT *frequencies);
610 
617 BOOLEAN STB_DPTryAdditionalFrequency(U8BIT path);
618 
625 void STB_DPSetURL(U8BIT path, U8BIT *url, U16BIT port);
626 
633 void STB_DPSetFecLayer(U8BIT path, E_STB_DP_FEC_LAYER fec_layer, S_STB_DP_FEC_LAYER_INFO *fec_info);
634 
635 void STB_DPSetPCRPID(U8BIT path, U16BIT pid);
636 U16BIT STB_DPGetPCRPID(U8BIT path);
637 
638 void STB_DPSetVideoPID(U8BIT path, U16BIT pid);
639 U16BIT STB_DPGetVideoPID(U8BIT path);
640 
641 void STB_DPSetAudioPID(U8BIT path, U16BIT pid);
642 U16BIT STB_DPGetAudioPID(U8BIT path);
643 
644 void STB_DPSetADPID(U8BIT path, U16BIT pid);
645 U16BIT STB_DPGetADPID(U8BIT path);
646 void STB_DPSetTextPID(U8BIT path, U16BIT pid);
647 U16BIT STB_DPGetTextPID(U8BIT path);
648 
649 void STB_DPSetDataPID(U8BIT path, U16BIT pid);
650 U16BIT STB_DPGetDataPID(U8BIT path);
651 
652 void STB_DPSetDecodePIDs(U8BIT path, U16BIT pcr_pid, U16BIT video_pid, U16BIT audio_pid,
653  U16BIT text_pid, U16BIT data_pid
654  , U16BIT AD_pid
655  );
656 
657 void STB_DPSetADMode(U8BIT path, E_STB_DP_AUDIO_MODE mode);
658 E_STB_DP_AUDIO_MODE STB_DPGetADMode(U8BIT path);
659 
660 void STB_DPSetAudioMode(U8BIT path, E_STB_DP_AUDIO_MODE mode);
661 E_STB_DP_AUDIO_MODE STB_DPGetAudioMode(U8BIT path);
662 
663 void STB_DPSetLockMode(U8BIT path, BOOLEAN mode);
664 BOOLEAN STB_DPGetLockMode(U8BIT path);
665 
666 void STB_DPSetOTASearchMode(U8BIT path, E_STB_OTA_SW_UPGRADE_SEARCH_MODE mode);
667 E_STB_OTA_SW_UPGRADE_SEARCH_MODE STB_DPGetOTASearchMode(U8BIT path);
668 BOOLEAN STB_DPOTASearchEnabled(U8BIT path);
669 
670 BOOLEAN STB_DPSetVideoCodec(U8BIT path, E_STB_DP_VIDEO_CODEC codec);
671 E_STB_DP_VIDEO_CODEC STB_DPGetVideoCodec(U8BIT path);
672 BOOLEAN STB_DPSetAudioCodec(U8BIT path, E_STB_DP_AUDIO_CODEC codec);
673 E_STB_DP_AUDIO_CODEC STB_DPGetAudioCodec(U8BIT path);
674 BOOLEAN STB_DPSetADCodec(U8BIT path, E_STB_DP_AUDIO_CODEC codec);
675 E_STB_DP_AUDIO_CODEC STB_DPGetADCodec(U8BIT path);
676 
677 U8BIT STB_DPGetPathSecondaryVideoDecoder(U8BIT path);
678 
679 #endif // _STBDPC_H
680 
681 //*****************************************************************************
682 // End of file
683 //*****************************************************************************
684 
E_STB_DP_TBWIDTH STB_DPGetTerrBandwidth(U8BIT path)
Reads the terrestrial frequency offset value from decode path store.
Definition: stbdpc.c:6555
void STB_DPSetDISEQCSMATV(U8BIT path, BOOLEAN state)
Enables/disables DiSEqC SMATV and writes status into decode path store.
Definition: stbdpc.c:5089
void STB_DPStopDishMove(U8BIT path)
Stops sat dish moving.
Definition: stbdpc.c:5792
BOOLEAN STB_DPGetFTASearch(U8BIT path)
Reads the SI FTA chan search flag state from decode path store.
Definition: stbdpc.c:4225
void STB_DPStartDecoding(U8BIT path)
Requests start of channel decoding process.
Definition: stbdpc.c:2729
BOOLEAN STB_DPOTASearchEnabled(U8BIT path)
Returns TRUE if the current 'Over The Air' Software Upgrade Search Mode is manual or automatic...
Definition: stbdpc.c:4444
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:7752
U8BIT STB_DPGetPathForService(void *service)
Checks whether any of the paths are tuned to the given service.
Definition: stbdpc.c:1826
void STB_DPSetTunedTransport(U8BIT path, void *transport)
Saves the given transport with the specified decode path.
Definition: stbdpc.c:1540
U8BIT STB_DPPathForADDecoder(U8BIT decoder_num)
Returns the decode path that is using the given AD decoder.
Definition: stbdpc.c:1485
void STB_DPSetURL(U8BIT path, U8BIT *url, U16BIT port)
Sets the full URL to be used to tune to an IP service.
Definition: stbdpc.c:7051
void STB_DPSetADPID(U8BIT path, U16BIT pid)
Writes AD PID value into decode path store.
Definition: stbdpc.c:7325
BOOLEAN STB_DPIsRecording(U8BIT path, U32BIT *handle)
Returns status of recording on specified path.
Definition: stbdpc.c:2211
U8BIT STB_DPGetMHEGPath(void)
Returns the path for Cabot MHEG software to use.
Definition: stbdpc.c:1895
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:687
void STB_DPSetADAudio(U8BIT path, E_STB_DP_AD_AUDIO state)
Reads the AD audio status from decode path store.
Definition: stbdpc.c:3495
BOOLEAN STB_DPGetDISEQCPosition(U8BIT path)
Reads the status of DiSEqC positioning from decode path store.
Definition: stbdpc.c:4862
Definition: stbdpc.h:314
U16BIT STB_DPGetPCRPID(U8BIT path)
Reads the PCR PID value from decode path store.
Definition: stbdpc.c:7161
U8BIT STB_DPGetPathCISlot(U8BIT path)
Returns the CI slot id associated with the given path.
Definition: stbdpc.c:1104
void * STB_DPGetTunedService(U8BIT path)
Returns the service saved with the given decode path.
Definition: stbdpc.c:1604
void STB_DPSetRadioSearch(U8BIT path, BOOLEAN state)
Writes SI radio chan search flag into decode path store.
Definition: stbdpc.c:4135
void STB_DPSetLNB12v(U8BIT path, BOOLEAN state)
Sets LNB 12v on or off and writes status into decode path store.
Definition: stbdpc.c:4707
void STB_DPSetLNB22k(U8BIT path, BOOLEAN state)
Sets LNB 22kHz on or off and writes status into decode path store.
Definition: stbdpc.c:4633
void STB_DPSetDecodeSource(U8BIT path, E_STB_DP_DECODE_SOURCE source, U32BIT param)
Sets source for specified decoder.
Definition: stbdpc.c:2043
E_STB_DP_DECODE_STATUS STB_DPGetADStatus(U8BIT path)
Reads the AD status from decode path store.
Definition: stbdpc.c:3624
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:978
BOOLEAN STB_DPIsLivePath(U8BIT path)
Is the given decode path being used for live viewing.
Definition: stbdpc.c:1319
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:1169
void STB_DPSetTerrFreqOff(U8BIT path, S8BIT offset)
Writes terrestrial frequency offset value into decode path store.
Definition: stbdpc.c:6587
void STB_DPSetAudioStatus(U8BIT path, E_STB_DP_DECODE_STATUS state)
Writes the audio status into decode path store.
Definition: stbdpc.c:3660
void STB_DPDisableDishLimits(U8BIT path)
Disables sat dish limits.
Definition: stbdpc.c:5615
void STB_DPSetVideoPID(U8BIT path, U16BIT pid)
Writes video PID value into decode path store.
Definition: stbdpc.c:7193
E_STB_DP_TUNE_STATUS STB_DPGetTuneStatus(U8BIT path)
Reads the tuning status from decode path store.
Definition: stbdpc.c:3375
void STB_DPReleaseDecoders(U8BIT path)
Releases all decoders from the given path.
Definition: stbdpc.c:913
BOOLEAN STB_DPGetDISEQCSMATV(U8BIT path)
Reads the status of DiSEqC SMATV from decode path store.
Definition: stbdpc.c:5122
U8BIT STB_DPPathForTuner(U8BIT start_path, U8BIT tuner_num)
Returns the decode path that is using the given tuner ID.
Definition: stbdpc.c:1422
void STB_DPSetDISEQCRepeats(U8BIT path, U8BIT count)
Sets DiSEqC repeats and writes value into decode path store.
Definition: stbdpc.c:5154
BOOLEAN STB_DPGetLNB12v(U8BIT path)
Reads the status of LNB 12v from decode path store.
Definition: stbdpc.c:4740
E_STB_DP_AUDIO_CODEC STB_DPGetAudioCodec(U8BIT path)
Returns the type of CODEC to be used for Audio decoding.
Definition: stbdpc.c:8043
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:3212
U8BIT STB_DPIsCISlotInUse(U8BIT start_path, U8BIT slot_id, U8BIT ignore_path)
Checks whether a given CI slot is in use.
Definition: stbdpc.c:1131
void STB_DPStartAudioDecoding(U8BIT path)
Requests start of channel decoding process.
Definition: stbdpc.c:2628
void STB_DPStartSI(U8BIT path)
Requests start of SI engine, mode is determined by flags in general control.
Definition: stbdpc.c:2977
S8BIT STB_DPGetAnalogFreqOff(U8BIT path)
Reads the analogue frequency offset value from decode path store.
Definition: stbdpc.c:6950
void STB_DPStopRecording(U8BIT path)
Requests stop of recording on specified path.
Definition: stbdpc.c:2186
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:1933
E_STB_DP_AUDIO_MODE STB_DPGetADMode(U8BIT path)
Reads the AD mode value from decode path store.
Definition: stbdpc.c:7601
U16BIT STB_DPGetDataPID(U8BIT path)
Reads the data PID value from decode path store.
Definition: stbdpc.c:7503
U8BIT STB_DPGetPathVideoDecoder(U8BIT path)
Returns the video decoder ID acquired by the given decode path.
Definition: stbdpc.c:1779
void STB_DPSetDISEQCPosition(U8BIT path, BOOLEAN state)
Enables/disables DiSEqC positioning and writes status into decode path store.
Definition: stbdpc.c:4833
void STB_DPSetSearchMode(U8BIT path, BOOLEAN state)
Writes SI search mode flag into decode path store.
Definition: stbdpc.c:4024
U32BIT STB_DPGetUnicableFrequency(U8BIT path)
Gets the currently set Unicable (IF) frequency.
Definition: stbdpc.c:5450
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:7863
void STB_DPSetFecLayer(U8BIT path, E_STB_DP_FEC_LAYER fec_layer, S_STB_DP_FEC_LAYER_INFO *fec_info)
Sets the Forward Error Correction (FEC) Layer used on the IP service to be tuned. ...
Definition: stbdpc.c:7090
void STB_DPSetDISEQCUSwitch(U8BIT path, U8BIT state)
Sets DiSEqC uncommitted switch and writes status into decode path store.
Definition: stbdpc.c:4959
void STB_DPSetTerrType(U8BIT path, E_STB_DP_TTYPE type)
Sets terrestrial tuning type into decode path store.
Definition: stbdpc.c:6652
void STB_DPCentreDishMove(U8BIT path)
Moves dish to centre.
Definition: stbdpc.c:5836
U8BIT STB_DPGetTerrPLP(U8BIT path)
Reads the terrestrial T2 PLP id from decode path store.
Definition: stbdpc.c:6753
Definition: stbdpc.h:308
BOOLEAN STB_DPGetPulsePosition(U8BIT path)
Reads the status of pulse positioning from decode path store.
Definition: stbdpc.c:4801
U32BIT STB_DPGetSIRequestParam1(U8BIT path)
Returns parameters for previous SI request.
Definition: stbdpc.c:3272
void STB_DPSetADStatus(U8BIT path, E_STB_DP_DECODE_STATUS state)
Writes the AD status into decode path store.
Definition: stbdpc.c:3567
BOOLEAN STB_DPGetNetworkSearch(U8BIT path)
Reads the SI network search flag state from decode path store.
Definition: stbdpc.c:4347
E_STB_DP_POLARITY STB_DPGetPolarity(U8BIT path)
Reads the polarity value from decode path store.
Definition: stbdpc.c:6201
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:1674
BOOLEAN STB_DPGetUnicablePositionB(U8BIT path)
Gets whether Satellite Position B is currently set.
Definition: stbdpc.c:5330
void STB_DPSetADMode(U8BIT path, E_STB_DP_AUDIO_MODE mode)
Writes AD mode value into decode path store.
Definition: stbdpc.c:7568
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:793
E_STB_DP_CMODE STB_DPGetCableMode(U8BIT path)
Reads the cable tuning mode value from decode path store.
Definition: stbdpc.c:6820
void STB_DPSetTVSearch(U8BIT path, BOOLEAN state)
Writes SI TV chan search flag into decode path store.
Definition: stbdpc.c:4074
void STB_DPSetUnicableFrequency(U8BIT path, U32BIT freq)
Sets the Unicable (IF) frequency.
Definition: stbdpc.c:5422
E_STB_DP_SIGNAL_TYPE STB_DPGetSignalType(U8BIT path)
Reads the signal type value from decode path store.
Definition: stbdpc.c:3879
void STB_DPSetAdditionalFrequencies(U8BIT path, U8BIT num_freqs, U32BIT *frequencies)
Sets an array of frequencies that can be tried when tuning to a transport if the tuner fails to lock ...
Definition: stbdpc.c:6977
BOOLEAN STB_DPUseCISlotWithPath(U8BIT path, U8BIT slot_id)
Use the given CI slot with the given path.
Definition: stbdpc.c:1033
void STB_DPSetTunerDisabled(U8BIT path, BOOLEAN disabled)
Disables/enables the tuner associated with this decode path.
Definition: stbdpc.c:1693
void STB_DPStopVideoDecoding(U8BIT path)
Requests stop of channel decoding (blanks screen).
Definition: stbdpc.c:2762
U16BIT STB_DPGetADPID(U8BIT path)
Reads the audio PID value from decode path store.
Definition: stbdpc.c:7370
U16BIT STB_DPGetSkewPosition(U8BIT path)
Reads the sat skew position value from decode path store.
Definition: stbdpc.c:6071
void STB_DPSetAudioMode(U8BIT path, E_STB_DP_AUDIO_MODE mode)
Writes audio mode value into decode path store.
Definition: stbdpc.c:7633
U8BIT STB_DPGetNumPaths(void)
Returns the maximum number of decode paths.
Definition: stbdpc.c:540
void STB_DPSetVideoStatus(U8BIT path, E_STB_DP_DECODE_STATUS decoder)
Writes the video status into decode path store.
Definition: stbdpc.c:3753
U8BIT STB_DPGetPlaybackPath(void)
Returns the ID of the decode path being used for playback.
Definition: stbdpc.c:1395
U16BIT STB_DPGetDishRequest(U8BIT path)
Reads the sat dish position value from decode path store.
Definition: stbdpc.c:6006
void STB_DPSetTerrBandwidth(U8BIT path, E_STB_DP_TBWIDTH bwidth)
Writes terrestrial bandwidth value into decode path store.
Definition: stbdpc.c:6522
E_STB_DP_ANALOG_VIDEO_TYPE STB_DPGetAnalogVideoType(U8BIT path)
Reads the analogue video type value from decode path store.
Definition: stbdpc.c:6885
BOOLEAN STB_DPGetLNB22k(U8BIT path)
Reads the status of LNB 22kHz from decode path store.
Definition: stbdpc.c:4675
U8BIT STB_DPGetLivePath(void)
Returns the ID of the decode path being used for live viewing.
Definition: stbdpc.c:1293
void STB_DPSetFTASearch(U8BIT path, BOOLEAN state)
Writes SI FTA chan search flag into decode path store.
Definition: stbdpc.c:4196
E_STB_DP_VIDEO_CODEC STB_DPGetVideoCodec(U8BIT path)
Returns the type of CODEC to be used for Video decoding.
Definition: stbdpc.c:7823
BOOLEAN STB_DPIsDecodingPath(U8BIT path)
Is the given decode path being used for decoding.
Definition: stbdpc.c:1368
void STB_DPSetAudioPID(U8BIT path, U16BIT pid)
Writes audio PID value into decode path store.
Definition: stbdpc.c:7259
BOOLEAN STB_DPGetLockMode(U8BIT path)
Reads the lock mode value from decode path store.
Definition: stbdpc.c:7725
E_STB_DP_TTYPE STB_DPGetTerrType(U8BIT path)
Reads the terrestrial tuner type from decode path store.
Definition: stbdpc.c:6687
S8BIT STB_DPGetTerrFreqOff(U8BIT path)
Reads the terrestrial frequency offset value from decode path store.
Definition: stbdpc.c:6620
void STB_DPSetLockMode(U8BIT path, BOOLEAN mode)
Writes lock mode value into decode path store.
Definition: stbdpc.c:7698
void STB_DPTuneOff(U8BIT path)
Requests stop of tuning and powers down tuner.
Definition: stbdpc.c:2364
void STB_DPSetTerrMode(U8BIT path, E_STB_DP_TMODE mode)
Writes terrestrial tuning mode value into decode path store.
Definition: stbdpc.c:6457
BOOLEAN STB_DPIsOwnedBy(U8BIT path, E_STB_DP_RES_OWNER owner)
Checks whether the path is owned by the given owner.
Definition: stbdpc.c:1988
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:5223
void STB_DPSetFrequency(U8BIT path, U32BIT freq)
Writes frequency value into decode path store.
Definition: stbdpc.c:6103
E_STB_DP_DISEQC_CSWITCH STB_DPGetDISEQCCSwitch(U8BIT path)
Reads the status of DiSEqC committed switch from decode path store.
Definition: stbdpc.c:4927
U16BIT STB_DPGetAudioPID(U8BIT path)
Reads the audio PID value from decode path store.
Definition: stbdpc.c:7293
void STB_DPSetAnalogFreqOff(U8BIT path, S8BIT offset)
Writes analogue frequency offset value into decode path store.
Definition: stbdpc.c:6917
U32BIT STB_DPGetFrequency(U8BIT path)
Reads the frequency value from decode path store.
Definition: stbdpc.c:6136
void STB_DPStartTune(U8BIT path)
Requests start of tuning process.
Definition: stbdpc.c:2228
BOOLEAN STB_DPTryAdditionalFrequency(U8BIT path)
Checks to see if there's an additional frequency available on the given decode path that hasn't yet b...
Definition: stbdpc.c:7017
E_STB_DP_SIGNAL_TYPE STB_DPGetPathTunerType(U8BIT path)
Returns the tuner type for the given path.
Definition: stbdpc.c:1650
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:7528
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:1852
U8BIT STB_DPGetDISEQCRepeats(U8BIT path)
Reads the value of DiSEqC repeats from decode path store.
Definition: stbdpc.c:5189
void STB_DPSetPulsePosition(U8BIT path, BOOLEAN state)
Enables/disables pulse positioning and writes status into decode path store.
Definition: stbdpc.c:4772
void STB_DPSetSymbolRate(U8BIT path, U16BIT sym)
Writes symbol rate value into decode path store.
Definition: stbdpc.c:6233
U8BIT STB_DPGetPathTuner(U8BIT path)
Returns the tuner ID acquired by the given decode path.
Definition: stbdpc.c:1627
E_STB_DP_TMODE STB_DPGetTerrMode(U8BIT path)
Reads the terrestrial tuning mode value from decode path store.
Definition: stbdpc.c:6490
E_STB_DP_MODULATION STB_DPGetModulation(U8BIT path)
Returns the satellite modulation type for the give decode path.
Definition: stbdpc.c:6429
void STB_DPSetTunedService(U8BIT path, void *service)
Saves the given service with the specified decode path.
Definition: stbdpc.c:1585
U8BIT STB_DPGetPathAudioDecoder(U8BIT path)
Returns the audio decoder ID acquired by the given decode path.
Definition: stbdpc.c:1756
void STB_DPSetPCRPID(U8BIT path, U16BIT pid)
Writes PCR PID value into decode path store.
Definition: stbdpc.c:7127
void STB_DPSetAnalogVideoType(U8BIT path, E_STB_DP_ANALOG_VIDEO_TYPE vtype)
Writes analogue video type into decode path store.
Definition: stbdpc.c:6852
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:4894
void STB_DPGetDecodeSource(U8BIT path, E_STB_DP_DECODE_SOURCE *source, U32BIT *param)
Gets source for specified decoder.
Definition: stbdpc.c:2109
E_STB_DP_FEC STB_DPGetFEC(U8BIT path)
Reads the FEC value from decode path store.
Definition: stbdpc.c:6331
E_STB_DP_DECODE_STATUS STB_DPGetVideoStatus(U8BIT path)
Reads the video status from decode path store.
Definition: stbdpc.c:3810
void STB_DPSetTuneRelock(U8BIT path, BOOLEAN state)
Writes tuner auto relock flag into decode path store.
Definition: stbdpc.c:3911
void * STB_DPGetTunedTransport(U8BIT path)
Returns the transport saved with the given decode path.
Definition: stbdpc.c:1559
void STB_DPSetPolarity(U8BIT path, E_STB_DP_POLARITY pol)
Writes polarity value into decode path store.
Definition: stbdpc.c:6168
void STB_DPSetSignalType(U8BIT path, E_STB_DP_SIGNAL_TYPE sigtype)
Writes signal type value into decode path store.
Definition: stbdpc.c:3846
U8BIT STB_DPGetNumEnabledTuners(void)
Returns the number of enabled tuners (i.e. that haven't been disabled)
Definition: stbdpc.c:1709
E_STB_DP_DECODE_STATUS STB_DPGetAudioStatus(U8BIT path)
Reads the audio status from decode path store.
Definition: stbdpc.c:3717
E_STB_DP_AD_AUDIO STB_DPGetADAudio(U8BIT path)
Reads the AD audio status from decode path store.
Definition: stbdpc.c:3530
E_STB_DP_AUDIO_CODEC STB_DPGetADCodec(U8BIT path)
Returns the type of CODEC to be used for AD decoding.
Definition: stbdpc.c:7934
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:6356
void STB_DPStopDecoding(U8BIT path)
Requests stop of channel decoding (blanks screen).
Definition: stbdpc.c:2953
BOOLEAN STB_DPIsTunerEnabled(U8BIT tuner_num)
Returns the 'enabled' status for the given tuner number.
Definition: stbdpc.c:1721
System Wide Global Technical Data Type Definitions.
void STB_DPStopSI(U8BIT path)
Requests stop of SI engine.
Definition: stbdpc.c:3119
void STB_DPReleaseCADescramblerFromPath(U8BIT path)
Release the CA descrambler associated with the given path.
Definition: stbdpc.c:1242
U32BIT STB_DPGetSIRequestParam2(U8BIT path)
Returns parameters for previous SI request.
Definition: stbdpc.c:3297
U16BIT STB_DPGetSymbolRate(U8BIT path)
Reads the symbol rate value from decode path store.
Definition: stbdpc.c:6266
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:4476
U16BIT STB_DPGetVideoPID(U8BIT path)
Reads the video PID value from decode path store.
Definition: stbdpc.c:7227
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:566
E_STB_DP_DISEQC_TONE STB_DPGetDISEQCTone(U8BIT path)
Reads the status of DiSEqC tone from decode path store.
Definition: stbdpc.c:5057
BOOLEAN STB_DPIsRecordingPath(U8BIT path)
Is the given decode path being used for recording.
Definition: stbdpc.c:1342
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:4603
U32BIT STB_DPGetSIRequestParam3(U8BIT path)
Returns parameters for previous SI request.
Definition: stbdpc.c:3322
void STB_DPStartVideoDecoding(U8BIT path)
Requests start of channel decoding process.
Definition: stbdpc.c:2433
void STB_DPStartADDecoding(U8BIT path)
Requests start of channel decoding process.
Definition: stbdpc.c:2522
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:6403
BOOLEAN STB_DPGetDVBS2(U8BIT path)
Returns whether the sat tuner is tuned to DVB-S or DVB-S2.
Definition: stbdpc.c:6382
BOOLEAN STB_DPGetPathCADescrambler(U8BIT path, U32BIT *handle)
Get the handle of the CA descrambler associated with the given path.
Definition: stbdpc.c:1266
void STB_DPSetScramSearch(U8BIT path, BOOLEAN state)
Writes SI scram chan search flag into decode path store.
Definition: stbdpc.c:4257
E_STB_DP_LNB_TYPE STB_DPGetLNBType(U8BIT path)
Reads the LNB type value from decode path store.
Definition: stbdpc.c:4574
void STB_DPSetLNBType(U8BIT path, E_STB_DP_LNB_TYPE type)
Writes LNB type value into decode path store.
Definition: stbdpc.c:4541
void STB_DPSetLockEnable(U8BIT path, BOOLEAN state)
Writes lock enable flag into decode path store.
Definition: stbdpc.c:3974
void STB_DPEnableDishLimits(U8BIT path, U16BIT ecount, U16BIT wcount)
Enables sat dish limits.
Definition: stbdpc.c:5571
void STB_DPSetDataPID(U8BIT path, U16BIT pid)
Writes data PID value into decode path store.
Definition: stbdpc.c:7469
void STB_DPSetUnicablePositionB(U8BIT path, BOOLEAN position_b)
Sets whether to use the alternate satellite position (Position B)
Definition: stbdpc.c:5302
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:2015
void STB_DPStopTune(U8BIT path)
Stops of tuning signal scan and unlocks.
Definition: stbdpc.c:2307
void STB_DPSetTextPID(U8BIT path, U16BIT pid)
Writes teletext PID value into decode path store.
Definition: stbdpc.c:7402
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:3414
void STB_DPSetDISEQCTone(U8BIT path, E_STB_DP_DISEQC_TONE state)
Sets DiSEqC tone and writes status into decode path store.
Definition: stbdpc.c:5024
BOOLEAN STB_DPStartRecording(U8BIT path, U32BIT param)
Requests start of recording on specified path.
Definition: stbdpc.c:2134
BOOLEAN STB_DPGetRadioSearch(U8BIT path)
Reads the SI radio chan search flag state from decode path store.
Definition: stbdpc.c:4164
BOOLEAN STB_DPGetTuneRelock(U8BIT path)
Reads the tuner auto relock flag state from decode path store.
Definition: stbdpc.c:3942
BOOLEAN STB_DPGetLockEnable(U8BIT path)
Reads the lock enable flag state from decode path store.
Definition: stbdpc.c:3997
void STB_DPInitialise(void)
Initialises decode path control and sets up the structures for restricting access to resources...
Definition: stbdpc.c:339
void STB_DPSetDishLimitW(U8BIT path)
Sets current sat dish position as West limit.
Definition: stbdpc.c:5525
void STB_DPStartScan(U8BIT path)
Requests start of tuning signal scan process.
Definition: stbdpc.c:2292
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:4381
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:4412
BOOLEAN STB_DPGetSearchMode(U8BIT path)
Reads the SI search mode flag state from decode path store.
Definition: stbdpc.c:4047
U8BIT STB_DPPathForAudioDecoder(U8BIT decoder_num)
Returns the decode path that is using the given audio decoder.
Definition: stbdpc.c:1458
void STB_DPSetNetworkSearch(U8BIT path, BOOLEAN state)
Writes SI network search flag into decode path store.
Definition: stbdpc.c:4318
U8BIT STB_DPGetPathSecondaryVideoDecoder(U8BIT path)
Returns the secondary video decoder ID acquired by the given decode path.
Definition: stbdpc.c:1803
void STB_DPSetCableMode(U8BIT path, E_STB_DP_CMODE mode)
Writes cable tuning mode value into decode path store.
Definition: stbdpc.c:6787
void STB_DPSetFEC(U8BIT path, E_STB_DP_FEC fec)
Writes FEC value into decode path store.
Definition: stbdpc.c:6298
void STB_DPStopADDecoding(U8BIT path)
Requests stop of channel decoding.
Definition: stbdpc.c:2824
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:7964
U8BIT STB_DPGetDISEQCUSwitch(U8BIT path)
Reads the status of DiSEqC uncommitted switch from decode path store.
Definition: stbdpc.c:4992
void STB_DPStoreDishPosition(U8BIT path, U16BIT count)
Stores sat dish position as given DiSEqC index number, or pulse count.
Definition: stbdpc.c:5877
void STB_DPSetTuneStatus(U8BIT path, E_STB_DP_TUNE_STATUS state)
Writes the tuning status into decode path store.
Definition: stbdpc.c:3347
U8BIT STB_DPGetPathDemux(U8BIT path)
Returns the demux path ID acquired by the given decode path.
Definition: stbdpc.c:1733
void STB_DPReleaseCISlotFromPath(U8BIT path)
Release the CI slot associated with the given path.
Definition: stbdpc.c:1073
BOOLEAN STB_DPGetTVSearch(U8BIT path)
Reads the SI TV chan search flag state from decode path store.
Definition: stbdpc.c:4103
void STB_DPStopAudioDecoding(U8BIT path)
Requests stop of channel decoding.
Definition: stbdpc.c:2889
U8BIT STB_DPGetUnicableChannel(U8BIT path)
Gets the currently set Unicable Channel (User Band).
Definition: stbdpc.c:5390
U16BIT STB_DPGetTextPID(U8BIT path)
Reads the teletext PID value from decode path store.
Definition: stbdpc.c:7437
U8BIT STB_DPPathForVideoDecoder(U8BIT decoder_num)
Returns the decode path that is using the given video decoder.
Definition: stbdpc.c:1512
void STB_DPSetDishPosition(U8BIT path, U16BIT count)
Writes sat dish position value into decode path store.
Definition: stbdpc.c:5930
U16BIT STB_DPGetDishPosition(U8BIT path)
Reads the actual sat dish position value.
Definition: stbdpc.c:5969
void STB_DPSetSkewPosition(U8BIT path, U16BIT count)
Writes sat skew position value into decode path store.
Definition: stbdpc.c:6038
void STB_DPSetUnicableChannel(U8BIT path, U8BIT chan)
Sets the current Unicable Channel (User Band).
Definition: stbdpc.c:5362
void STB_DPStartDishMoveE(U8BIT path, U16BIT count)
Starts sat dish moving east.
Definition: stbdpc.c:5659
E_STB_DP_AUDIO_MODE STB_DPGetAudioMode(U8BIT path)
Reads the audio mode value from decode path store.
Definition: stbdpc.c:7666
void STB_DPReleaseAllPaths(void)
Releases all decode paths and all the resources they are using.
Definition: stbdpc.c:955
BOOLEAN STB_DPGetScramSearch(U8BIT path)
Reads the SI scram chan search flag state from decode path store.
Definition: stbdpc.c:4286
E_STB_DP_LNB_POWER STB_DPGetLNBPower(U8BIT path)
Reads the LNB power status from decode path store.
Definition: stbdpc.c:4509
void STB_DPStartDishMoveW(U8BIT path, U16BIT count)
Starts sat dish moving west.
Definition: stbdpc.c:5727
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:1907
void STB_DPSetTerrPLP(U8BIT path, U8BIT plp_id)
Sets terrestrial T2 PLP id into decode path store.
Definition: stbdpc.c:6719
void STB_DPSetDishLimitE(U8BIT path)
Sets current sat dish position as East limit.
Definition: stbdpc.c:5481