DVBCore  1.0
Open source DVB engine
midware/stb/inc/stbdpc.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
00003  * Copyright © 2004 Ocean Blue Software Ltd
00004  *
00005  * This file is part of a DTVKit Software Component
00006  * You are permitted to copy, modify or distribute this file subject to the terms
00007  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
00008  * 
00009  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00010  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
00011  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
00012  * 
00013  * If you or your organisation is not a member of DTVKit then you have access
00014  * to this source code outside of the terms of the licence agreement
00015  * and you are expected to delete this and any associated files immediately.
00016  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
00017  *******************************************************************************/
00025 // pre-processor mechanism so multiple inclusions don't cause compilation error
00026 
00027 #ifndef _STBDPC_H
00028 
00029 #define _STBDPC_H
00030 
00031 //---Constant and macro definitions for public use-----------------------------
00032 
00033 // Maximum DISEQC_1_2 dish position & invalid position index.
00034 // Invalid dish pos is zero, to help reissue the pos command when coming out of
00035 // standby or leave the positioning screen without saving.
00036 // NB. issuing the command move to index zero will center the dish (due south).
00037 //     and the function in stbdpc.c should stop the valid command being sent
00038 //     by move command.
00039 #define MAX_DISEQC_1_2_POSITION     60
00040 #define INVALID_POSITION_INDEX      0x00
00041 
00042 #define MAX_UNICABLE_BANKS 8
00043 
00044 #ifndef INVALID_RES_ID
00045 #define INVALID_RES_ID     ((U8BIT)0xFF)     /* ID used to represent an invalid resource */
00046 #endif
00047 
00048 //---Enumerations for public use-----------------------------------------------
00049 
00050 typedef enum e_stb_dp_tune_status
00051 {
00052    TUNE_WAITING = 0,
00053    TUNE_NO_LOCK = 1,
00054    TUNE_LOCKED = 2,
00055    TUNE_STOPPED = 3
00056 }
00057 E_STB_DP_TUNE_STATUS;
00058 
00059 typedef enum e_stb_dp_decode_status
00060 {
00061    DECODE_STOPPING = 0,
00062    DECODE_STARTING = 1,
00063    DECODE_STOPPED = 2,
00064    DECODE_RUNNING = 3,
00065    DECODE_LOCKED = 4
00066 }
00067 E_STB_DP_DECODE_STATUS;
00068 
00069 typedef enum e_stb_dp_demux_source
00070 {
00071    DEMUX_SOURCE_TUNER = 0,
00072    DEMUX_SOURCE_FILE = 1,
00073    DEMUX_SOURCE_LINEIN = 2
00074 }
00075 E_STB_DP_DEMUX_SOURCE;
00076 
00077 typedef enum e_stb_dp_decode_source
00078 {
00079    DECODE_SOURCE_DEMUX = 0,
00080    DECODE_SOURCE_FILE = 1,
00081    DECODE_SOURCE_LINEIN = 2
00082 }
00083 E_STB_DP_DECODE_SOURCE;
00084 
00085 typedef enum e_stb_dp_signal_type
00086 {
00087    SIGNAL_NONE = 0,
00088    SIGNAL_QPSK = 1,      // digital satellite
00089    SIGNAL_COFDM = 2,     // digital terrestrial
00090    SIGNAL_QAM = 4,       // digital cable
00091    SIGNAL_ANALOG = 8
00092 }
00093 E_STB_DP_SIGNAL_TYPE;
00094 
00095 typedef enum e_stb_dp_lnb_power
00096 {
00097    LNB_POWER_OFF = 0,
00098    LNB_POWER_ON = 1,
00099    LNB_POWER_AUTO = 2
00100 }
00101 E_STB_DP_LNB_POWER;
00102 
00103 typedef enum e_stb_dp_lnb_type
00104 {
00105    LNB_TYPE_SINGLE = 0,
00106    LNB_TYPE_UNIVERSAL = 1,
00107    LNB_TYPE_UNICABLE = 2
00108 }
00109 E_STB_DP_LNB_TYPE;
00110 
00111 typedef enum e_stb_dp_diseqc_cswitch
00112 {
00113    DISEQC_CSWITCH_OFF = 0,
00114    DISEQC_CSWITCH_A = 1,
00115    DISEQC_CSWITCH_B = 2,
00116    DISEQC_CSWITCH_C = 3,
00117    DISEQC_CSWITCH_D = 4
00118 }
00119 E_STB_DP_DISEQC_CSWITCH;
00120 
00121 typedef enum e_stb_dp_diseqc_tone
00122 {
00123    DISEQC_TONE_OFF = 0,
00124    DISEQC_TONE_A = 1,
00125    DISEQC_TONE_B = 2
00126 }
00127 E_STB_DP_DISEQC_TONE;
00128 
00129 typedef enum e_stb_dp_polarity
00130 {
00131    POLARITY_HORIZONTAL = 0,
00132    POLARITY_VERTICAL = 1,
00133    POLARITY_LEFT = 2,
00134    POLARITY_RIGHT = 3
00135 }
00136 E_STB_DP_POLARITY;
00137 
00138 typedef enum e_stb_dp_fec
00139 {
00140    FEC_AUTOMATIC = 0,
00141    FEC_1_2 = 1,
00142    FEC_2_3 = 2,
00143    FEC_3_4 = 3,
00144    FEC_5_6 = 4,
00145    FEC_7_8 = 5,
00146    // Extra FEC modes for DVB-S2
00147    FEC_1_4 = 6,
00148    FEC_1_3 = 7,
00149    FEC_2_5 = 8,
00150    FEC_8_9 = 9,
00151    FEC_9_10 = 10
00152 }
00153 E_STB_DP_FEC;
00154 
00155 typedef enum e_stb_dp_fec_type
00156 {
00157    FEC_TYPE_AUTO,
00158    FEC_TYPE_DVBS1,
00159    FEC_TYPE_DVBS2
00160 }
00161 E_STB_DP_FEC_TYPE;
00162 
00163 typedef enum e_stb_dp_modulation
00164 {
00165    MOD_AUTO,
00166    MOD_QPSK,   /* quartenary phase shift key */
00167    MOD_8PSK,   /* octenary phase shift key */
00168    MOD_16QAM   /* Not valid for DVB-S2 */
00169 }
00170 E_STB_DP_MODULATION;
00171 
00172 typedef enum e_stb_dp_tmode
00173 {
00174    MODE_COFDM_2K,
00175    MODE_COFDM_8K,
00176    MODE_COFDM_4K,
00177    MODE_COFDM_1K,
00178    MODE_COFDM_16K,
00179    MODE_COFDM_32K,
00180    MODE_COFDM_UNDEFINED
00181 }
00182 E_STB_DP_TMODE;
00183 
00184 typedef enum e_stb_dp_tbwidth
00185 {
00186    TBWIDTH_8MHZ,
00187    TBWIDTH_7MHZ,
00188    TBWIDTH_6MHZ,
00189    TBWIDTH_5MHZ,
00190    TBWIDTH_10MHZ,
00191    TBWIDTH_UNDEFINED
00192 }
00193 E_STB_DP_TBWIDTH;
00194 
00195 typedef enum  e_stb_dp_cmode
00196 {
00197    MODE_QAM_AUTO,
00198    MODE_QAM_4,
00199    MODE_QAM_8,
00200    MODE_QAM_16,
00201    MODE_QAM_32,
00202    MODE_QAM_64,
00203    MODE_QAM_128,
00204    MODE_QAM_256
00205 }
00206 E_STB_DP_CMODE;
00207 
00208 typedef enum e_stb_dp_tune_terr_type
00209 {
00210    TERR_TYPE_UNKNOWN,
00211    TERR_TYPE_DVBT,
00212    TERR_TYPE_DVBT2,
00213 } E_STB_DP_TTYPE;
00214 
00215 typedef enum e_stb_dp_audio_mode
00216 {
00217    AUDIO_STEREO = 0,
00218    AUDIO_LEFT = 1,
00219    AUDIO_RIGHT = 2,
00220    AUDIO_MONO = 3,
00221    AUDIO_MULTICHANNEL = 4,
00222    AUDIO_UNDEF = 5
00223 }
00224 E_STB_DP_AUDIO_MODE;
00225 
00226 typedef enum e_stb_ota_sw_upgrade_search_mode
00227 {
00228    OTA_SEARCH_OFF = 0,
00229    OTA_SEARCH_AUTO = 1,
00230    OTA_SEARCH_MANUAL = 2
00231 } E_STB_OTA_SW_UPGRADE_SEARCH_MODE;
00232 
00233 typedef enum e_stb_dp_analogue_video_type
00234 {
00235    ANLG_VIDEO_PAL_I = 0,
00236    ANLG_VIDEO_PAL_B = 1,
00237    ANLG_VIDEO_PAL_G = 2,
00238    ANLG_VIDEO_PAL_D = 3,
00239    ANLG_VIDEO_PAL_K = 4,
00240    ANLG_VIDEO_PAL_L = 5,
00241    ANLG_VIDEO_PAL_LDASH = 6
00242 } E_STB_DP_ANALOG_VIDEO_TYPE;
00243 
00244 typedef enum e_stb_dp_video_codec
00245 {
00246    VIDEO_CODEC_AUTO = 0,
00247    VIDEO_CODEC_MPEG1 = 1,
00248    VIDEO_CODEC_MPEG2 = 2,
00249    VIDEO_CODEC_H264 = 3
00250 } E_STB_DP_VIDEO_CODEC;
00251 
00252 typedef enum e_stb_dp_audio_codec
00253 {
00254    AUDIO_CODEC_AUTO = 0,
00255    AUDIO_CODEC_MP2 = 1,
00256    AUDIO_CODEC_MP3 = 2,
00257    AUDIO_CODEC_AC3 = 3,
00258    AUDIO_CODEC_EAC3 = 4,
00259    AUDIO_CODEC_AAC = 5,
00260    AUDIO_CODEC_HEAAC = 6
00261 } E_STB_DP_AUDIO_CODEC;
00262 
00263 typedef enum e_stb_dp_ad_audio
00264 {
00265    AD_AUDIO_OFF = 0,
00266    AD_AUDIO_ON = 1,
00267    AD_AUDIO_PAUSED = 2,
00268    AD_AUDIO_PLAYING = 3,
00269    AD_AUDIO_WAITING = 4
00270 } E_STB_DP_AD_AUDIO;
00271 
00272 
00273 typedef enum
00274 {
00275    RES_OWNER_NONE,
00276    RES_OWNER_DVB,
00277    RES_OWNER_CIPLUS
00278 } E_STB_DP_RES_OWNER;
00279 
00280 //---Global type defs for public use-------------------------------------------
00281 
00282 //---Global Function prototypes for public use---------------------------------
00283 
00284 void STB_DPInitialise(void);
00285 
00286 U8BIT STB_DPGetNumPaths(void);
00287 
00288 U8BIT STB_DPAcquireLivePath(E_STB_DP_SIGNAL_TYPE tuner_type, void *service, void *transport,
00289    BOOLEAN for_decoding, E_STB_DP_RES_OWNER owner);
00290 BOOLEAN STB_DPReleaseLivePath(U8BIT path, E_STB_DP_RES_OWNER owner);
00291 
00292 U8BIT STB_DPAcquireRecordingPath(E_STB_DP_SIGNAL_TYPE tuner_type, void *service, void *transport,
00293    E_STB_DP_RES_OWNER owner);
00294 BOOLEAN STB_DPReleaseRecordingPath(U8BIT path, E_STB_DP_RES_OWNER owner);
00295 
00296 U8BIT STB_DPAcquirePlaybackPath(void *service);
00297 BOOLEAN STB_DPReleasePlaybackPath(U8BIT path);
00298 
00299 void STB_DPReleaseDecoders(U8BIT path);
00300 void STB_DPReleaseAllPaths(void);
00301 
00302 U8BIT STB_DPAcquireCISlotForPath(U8BIT path, U8BIT *pmt_data, U8BIT *ci_protection_desc);
00303 BOOLEAN STB_DPUseCISlotWithPath(U8BIT path, U8BIT slot_id);
00304 void STB_DPReleaseCISlotFromPath(U8BIT path);
00305 U8BIT STB_DPGetPathCISlot(U8BIT path);
00306 U8BIT STB_DPIsCISlotInUse(U8BIT start_path, U8BIT slot_id, U8BIT ignore_path);
00307 
00308 BOOLEAN STB_DPAcquireCADescramblerForPath(U8BIT path, U8BIT *pmt_data, U32BIT *ca_handle);
00309 void STB_DPReleaseCADescramblerFromPath(U8BIT path);
00310 BOOLEAN STB_DPGetPathCADescrambler(U8BIT path, U32BIT *handle);
00311 
00312 U8BIT STB_DPGetLivePath(void);
00313 BOOLEAN STB_DPIsLivePath(U8BIT path);
00314 BOOLEAN STB_DPIsRecordingPath(U8BIT path);
00315 BOOLEAN STB_DPIsDecodingPath(U8BIT path);
00316 U8BIT STB_DPGetPlaybackPath(void);
00317 
00318 U8BIT STB_DPPathForTuner(U8BIT start_path, U8BIT tuner_num);
00319 U8BIT STB_DPPathForDecoder(U8BIT decoder_num);
00320 
00321 void STB_DPSetTunedTransport(U8BIT path, void *transport);
00322 void* STB_DPGetTunedTransport(U8BIT path);
00323 void STB_DPSetTunedService(U8BIT path, void *service);
00324 void* STB_DPGetTunedService(U8BIT path);
00325 
00326 U8BIT STB_DPGetPathForService(void *service);
00327 
00334 BOOLEAN STB_DPCanTuneTo(E_STB_DP_SIGNAL_TYPE tuner_type, void *service, void *transport);
00335 
00336 U8BIT STB_DPGetPathTuner(U8BIT path);
00337 E_STB_DP_SIGNAL_TYPE STB_DPGetPathTunerType(U8BIT path);
00338 U8BIT STB_DPGetPathDemux(U8BIT path);
00339 U8BIT STB_DPGetPathAudioDecoder(U8BIT path);
00340 U8BIT STB_DPGetPathVideoDecoder(U8BIT path);
00341 
00342 U8BIT STB_DPGetMHEGPath(void);
00343 
00344 void STB_DPSetOwner(U8BIT path, E_STB_DP_RES_OWNER owner);
00345 BOOLEAN STB_DPSetOwnerData(U8BIT path, void *data, U32BIT data_size);
00346 BOOLEAN STB_DPIsOwnedBy(U8BIT path, E_STB_DP_RES_OWNER owner);
00347 void* STB_DPGetOwnerData(U8BIT path, U32BIT *data_size);
00348 
00349 void STB_DPSetDecodeSource(U8BIT path, E_STB_DP_DECODE_SOURCE source, U32BIT param);
00350 void STB_DPGetDecodeSource(U8BIT path, E_STB_DP_DECODE_SOURCE *source, U32BIT *param);
00351 
00352 BOOLEAN STB_DPStartRecording(U8BIT path, U32BIT param);
00353 void STB_DPStopRecording(U8BIT path);
00354 BOOLEAN STB_DPIsRecording(U8BIT path, U32BIT *handle);
00355 
00356 void STB_DPStartTune(U8BIT path);
00357 void STB_DPStartScan(U8BIT path);
00358 void STB_DPStopTune(U8BIT path);
00359 void STB_DPTuneOff(U8BIT path);
00360 
00361 void STB_DPStartVideoDecoding(U8BIT path);
00362 void STB_DPStartADDecoding(U8BIT path);
00363 void STB_DPStartAudioDecoding(U8BIT path);
00364 void STB_DPStartDecoding(U8BIT path);
00365 void STB_DPStopVideoDecoding(U8BIT path);
00366 void STB_DPStopADDecoding(U8BIT path);
00367 void STB_DPStopAudioDecoding(U8BIT path);
00368 void STB_DPStopDecoding(U8BIT path);
00369 
00370 void STB_DPStartSI(U8BIT path);
00371 void STB_DPStopSI(U8BIT path);
00372 
00373 void STB_DPRequestSIExtendedEvent(U8BIT path, U32BIT start_date, U32BIT start_hour, U32BIT start_min);
00374 U32BIT STB_DPGetSIRequestParam1(U8BIT path);
00375 U32BIT STB_DPGetSIRequestParam2(U8BIT path);
00376 U32BIT STB_DPGetSIRequestParam3(U8BIT path);
00377 
00378 void STB_DPSetTuneStatus(U8BIT path, E_STB_DP_TUNE_STATUS state);
00379 E_STB_DP_TUNE_STATUS STB_DPGetTuneStatus(U8BIT path);
00380 void STB_DPSetADEnabled(U8BIT path, BOOLEAN state);
00381 void STB_DPSetADAudio(U8BIT path, E_STB_DP_AD_AUDIO state);
00382 E_STB_DP_AD_AUDIO STB_DPGetADAudio(U8BIT path);
00383 void STB_DPSetADStatus(U8BIT path, E_STB_DP_DECODE_STATUS state);
00384 E_STB_DP_DECODE_STATUS STB_DPGetADStatus(U8BIT path);
00385 
00386 void STB_DPSetAudioStatus(U8BIT path, E_STB_DP_DECODE_STATUS state);
00387 E_STB_DP_DECODE_STATUS STB_DPGetAudioStatus(U8BIT path);
00388 
00389 void STB_DPSetVideoStatus(U8BIT path, E_STB_DP_DECODE_STATUS decoder);
00390 E_STB_DP_DECODE_STATUS STB_DPGetVideoStatus(U8BIT path);
00391 
00392 void STB_DPSetSignalType(U8BIT path, E_STB_DP_SIGNAL_TYPE sigtype);
00393 E_STB_DP_SIGNAL_TYPE STB_DPGetSignalType(U8BIT path);
00394 
00395 void STB_DPSetTuneRelock(U8BIT path, BOOLEAN state);
00396 BOOLEAN STB_DPGetTuneRelock(U8BIT path);
00397 
00398 void STB_DPSetLockEnable(U8BIT path, BOOLEAN state);
00399 BOOLEAN STB_DPGetLockEnable(U8BIT path);
00400 
00401 void STB_DPSetSearchMode(U8BIT path, BOOLEAN state);
00402 BOOLEAN STB_DPGetSearchMode(U8BIT path);
00403 
00404 void STB_DPSetTVSearch(U8BIT path, BOOLEAN state);
00405 BOOLEAN STB_DPGetTVSearch(U8BIT path);
00406 
00407 void STB_DPSetRadioSearch(U8BIT path, BOOLEAN state);
00408 BOOLEAN STB_DPGetRadioSearch(U8BIT path);
00409 
00410 void STB_DPSetFTASearch(U8BIT path, BOOLEAN state);
00411 BOOLEAN STB_DPGetFTASearch(U8BIT path);
00412 
00413 void STB_DPSetScramSearch(U8BIT path, BOOLEAN state);
00414 BOOLEAN STB_DPGetScramSearch(U8BIT path);
00415 
00416 void STB_DPSetNetworkSearch(U8BIT path, BOOLEAN state);
00417 BOOLEAN STB_DPGetNetworkSearch(U8BIT path);
00418 
00419 void STB_DPSetLNBPower(U8BIT path, E_STB_DP_LNB_POWER state);
00420 E_STB_DP_LNB_POWER STB_DPGetLNBPower(U8BIT path);
00421 
00422 void STB_DPSetLNBType(U8BIT path, E_STB_DP_LNB_TYPE type);
00423 E_STB_DP_LNB_TYPE STB_DPGetLNBType(U8BIT path);
00424 
00425 void STB_DPSetLNBLoFrequency(U8BIT path, U16BIT freq);
00426 U16BIT STB_DPGetLNBLoFrequency(U8BIT path);
00427 
00428 void STB_DPSetLNBHiFrequency(U8BIT path, U16BIT freq);
00429 U16BIT STB_DPGetLNBHiFrequency(U8BIT path);
00430 
00431 void STB_DPSetLNB22k(U8BIT path, BOOLEAN state);
00432 BOOLEAN STB_DPGetLNB22k(U8BIT path);
00433 
00434 void STB_DPSetLNB12v(U8BIT path, BOOLEAN state);
00435 BOOLEAN STB_DPGetLNB12v(U8BIT path);
00436 
00437 void STB_DPSetPulsePosition(U8BIT path, BOOLEAN state);
00438 BOOLEAN STB_DPGetPulsePosition(U8BIT path);
00439 
00440 void STB_DPSetDISEQCPosition(U8BIT path, BOOLEAN state);
00441 BOOLEAN STB_DPGetDISEQCPosition(U8BIT path);
00442 
00443 void STB_DPSetDISEQCCSwitch(U8BIT path, E_STB_DP_DISEQC_CSWITCH state);
00444 E_STB_DP_DISEQC_CSWITCH STB_DPGetDISEQCCSwitch(U8BIT path);
00445 
00446 void STB_DPSetDISEQCUSwitch(U8BIT path, U8BIT state);
00447 U8BIT STB_DPGetDISEQCUSwitch(U8BIT path);
00448 
00449 void STB_DPSetDISEQCTone(U8BIT path, E_STB_DP_DISEQC_TONE state);
00450 E_STB_DP_DISEQC_TONE STB_DPGetDISEQCTone(U8BIT path);
00451 
00452 void STB_DPSetDISEQCSMATV(U8BIT path, BOOLEAN state);
00453 BOOLEAN STB_DPGetDISEQCSMATV(U8BIT path);
00454 
00455 void STB_DPSetDISEQCRepeats(U8BIT path, U8BIT count);
00456 U8BIT STB_DPGetDISEQCRepeats(U8BIT path);
00457 
00458 U8BIT STB_DPGetUnicableParams(U8BIT path, U32BIT unicable_if[MAX_UNICABLE_BANKS], U32BIT * lnb_lo_freq, U32BIT * lnb_hi_freq);
00459 void STB_DPSetUnicablePositionB(U8BIT path, BOOLEAN position_b);
00460 BOOLEAN STB_DPGetUnicablePositionB(U8BIT path);
00461 void STB_DPSetUnicableChannel(U8BIT path, U8BIT chan);
00462 U8BIT STB_DPGetUnicableChannel(U8BIT path);
00463 void STB_DPSetUnicableFrequency(U8BIT path, U32BIT freq);
00464 U32BIT STB_DPGetUnicableFrequency(U8BIT path);
00465 
00466 void STB_DPSetDishLimitE(U8BIT path);
00467 void STB_DPSetDishLimitW(U8BIT path);
00468 void STB_DPEnableDishLimits(U8BIT path, U16BIT ecount, U16BIT wcount);
00469 void STB_DPDisableDishLimits(U8BIT path);
00470 
00471 void STB_DPStartDishMoveE(U8BIT path, U16BIT count);
00472 void STB_DPStartDishMoveW(U8BIT path, U16BIT count);
00473 void STB_DPStopDishMove(U8BIT path);
00474 void STB_DPCentreDishMove(U8BIT path);
00475 void STB_DPStoreDishPosition(U8BIT path, U16BIT count);
00476 
00477 void STB_DPSetDishPosition(U8BIT path, U16BIT count);
00478 U16BIT STB_DPGetDishPosition(U8BIT path);
00479 U16BIT STB_DPGetDishRequest(U8BIT path);
00480 
00481 void STB_DPSetSkewPosition(U8BIT path, U16BIT count);
00482 U16BIT STB_DPGetSkewPosition(U8BIT path);
00483 
00484 void STB_DPSetFrequency(U8BIT path, U32BIT freq);
00485 U32BIT STB_DPGetFrequency(U8BIT path);
00486 
00487 void STB_DPSetPolarity(U8BIT path, E_STB_DP_POLARITY pol);
00488 E_STB_DP_POLARITY STB_DPGetPolarity(U8BIT path);
00489 
00490 void STB_DPSetSymbolRate(U8BIT path, U16BIT sym);
00491 U16BIT STB_DPGetSymbolRate(U8BIT path);
00492 
00493 void STB_DPSetFEC(U8BIT path, E_STB_DP_FEC fec);
00494 E_STB_DP_FEC STB_DPGetFEC(U8BIT path);
00495 
00496 void STB_DPSetDVBS2(U8BIT path, BOOLEAN dvb_s2);
00497 BOOLEAN STB_DPGetDVBS2(U8BIT path);
00498 
00499 void STB_DPSetModulation(U8BIT path, E_STB_DP_MODULATION modulation);
00500 E_STB_DP_MODULATION STB_DPGetModulation(U8BIT path);
00501 
00502 void STB_DPSetTerrMode(U8BIT path, E_STB_DP_TMODE mode);
00503 E_STB_DP_TMODE STB_DPGetTerrMode(U8BIT path);
00504 
00505 void STB_DPSetTerrBandwidth(U8BIT path, E_STB_DP_TBWIDTH bwidth);
00506 E_STB_DP_TBWIDTH STB_DPGetTerrBandwidth(U8BIT path);
00507 
00508 void STB_DPSetTerrFreqOff(U8BIT path, S8BIT offset);
00509 S8BIT STB_DPGetTerrFreqOff(U8BIT path);
00510 
00511 void STB_DPSetTerrType(U8BIT path, E_STB_DP_TTYPE type);
00512 E_STB_DP_TTYPE STB_DPGetTerrType(U8BIT path);
00513 
00514 void STB_DPSetTerrPLP(U8BIT path, U8BIT plp_id);
00515 U8BIT STB_DPGetTerrPLP(U8BIT path);
00516 
00517 void STB_DPSetCableMode(U8BIT path, E_STB_DP_CMODE mode);
00518 E_STB_DP_CMODE STB_DPGetCableMode(U8BIT path);
00519 
00520 void STB_DPSetAnalogVideoType(U8BIT path, E_STB_DP_ANALOG_VIDEO_TYPE vtype);
00521 E_STB_DP_ANALOG_VIDEO_TYPE STB_DPGetAnalogVideoType(U8BIT path);
00522 
00523 void STB_DPSetAnalogFreqOff(U8BIT path, S8BIT offset);
00524 S8BIT STB_DPGetAnalogFreqOff(U8BIT path);
00525 
00526 void STB_DPSetPCRPID(U8BIT path, U16BIT pid);
00527 U16BIT STB_DPGetPCRPID(U8BIT path);
00528 
00529 void STB_DPSetVideoPID(U8BIT path, U16BIT pid);
00530 U16BIT STB_DPGetVideoPID(U8BIT path);
00531 
00532 void STB_DPSetAudioPID(U8BIT path, U16BIT pid);
00533 U16BIT STB_DPGetAudioPID(U8BIT path);
00534 
00535 void STB_DPSetADPID(U8BIT path, U16BIT pid);
00536 U16BIT STB_DPGetADPID(U8BIT path);
00537 void STB_DPSetTextPID(U8BIT path, U16BIT pid);
00538 U16BIT STB_DPGetTextPID(U8BIT path);
00539 
00540 void STB_DPSetDataPID(U8BIT path, U16BIT pid);
00541 U16BIT STB_DPGetDataPID(U8BIT path);
00542 
00543 void STB_DPSetDecodePIDs(U8BIT path, U16BIT pcr_pid, U16BIT video_pid, U16BIT audio_pid,
00544    U16BIT text_pid, U16BIT data_pid
00545    , U16BIT AD_pid
00546    );
00547 
00548 void STB_DPSetADMode(U8BIT path, E_STB_DP_AUDIO_MODE mode);
00549 E_STB_DP_AUDIO_MODE STB_DPGetADMode(U8BIT path);
00550 
00551 void STB_DPSetAudioMode(U8BIT path, E_STB_DP_AUDIO_MODE mode);
00552 E_STB_DP_AUDIO_MODE STB_DPGetAudioMode(U8BIT path);
00553 
00554 void STB_DPSetLockMode(U8BIT path, BOOLEAN mode);
00555 BOOLEAN STB_DPGetLockMode(U8BIT path);
00556 
00557 void STB_DPSetOTASearchMode(U8BIT path, E_STB_OTA_SW_UPGRADE_SEARCH_MODE mode);
00558 E_STB_OTA_SW_UPGRADE_SEARCH_MODE STB_DPGetOTASearchMode(U8BIT path);
00559 BOOLEAN STB_DPOTASearchEnabled(U8BIT path);
00560 
00561 BOOLEAN STB_DPSetVideoCodec(U8BIT path, E_STB_DP_VIDEO_CODEC codec);
00562 E_STB_DP_VIDEO_CODEC STB_DPGetVideoCodec(U8BIT path);
00563 BOOLEAN STB_DPSetAudioCodec(U8BIT path, E_STB_DP_AUDIO_CODEC codec);
00564 E_STB_DP_AUDIO_CODEC STB_DPGetAudioCodec(U8BIT path);
00565 BOOLEAN STB_DPSetADCodec(U8BIT path, E_STB_DP_AUDIO_CODEC codec);
00566 E_STB_DP_AUDIO_CODEC STB_DPGetADCodec(U8BIT path);
00567 
00568 U8BIT STB_DPGetPathSecondaryVideoDecoder(U8BIT path);
00569 
00570 #endif //  _STBDPC_H
00571 
00572 //*****************************************************************************
00573 // End of file
00574 //*****************************************************************************
00575 
 All Data Structures Files Functions Typedefs Defines