| 1 | /**************************************************************************** |
|---|
| 2 | * Copyright (c) 2004 DST Technologies Inc. All Rights Reserved. |
|---|
| 3 | * |
|---|
| 4 | * Module: dsthhalav.h |
|---|
| 5 | * |
|---|
| 6 | * Description: DST HAL AUDIO/VIDEO Interface function definition |
|---|
| 7 | * |
|---|
| 8 | * |
|---|
| 9 | * |
|---|
| 10 | * notes: jfet0525 |
|---|
| 11 | * |
|---|
| 12 | ***************************************************************************/ |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | #if !defined (_DSTHAL_DEMUX_H_) |
|---|
| 16 | #define _DSTHAL_DEMUX_H_ |
|---|
| 17 | |
|---|
| 18 | #include "dsthallocal.h" |
|---|
| 19 | |
|---|
| 20 | typedef enum |
|---|
| 21 | { |
|---|
| 22 | DHL_DMX_TS_INPUT_START, |
|---|
| 23 | |
|---|
| 24 | DHL_DMX_TS_INPUT0 = DHL_DMX_TS_INPUT_START, /* TS Input - A, from Tuner */ |
|---|
| 25 | DHL_DMX_TS_INPUT1, /* TS Input - OOB, from external TS (e.g. 1394) */ |
|---|
| 26 | |
|---|
| 27 | DHL_DMX_TS_INPUT_END, |
|---|
| 28 | } DHL_DMX_INPUT; |
|---|
| 29 | |
|---|
| 30 | #if defined __cplusplus |
|---|
| 31 | extern "C" { |
|---|
| 32 | #endif |
|---|
| 33 | |
|---|
| 34 | DHL_RESULT DHL_DMX_Init(void); |
|---|
| 35 | DHL_RESULT DHL_DMX_Start(void); |
|---|
| 36 | DHL_RESULT DHL_DMX_Stop(void); |
|---|
| 37 | DHL_RESULT DHL_DMX_Close(void); |
|---|
| 38 | DS_BOOL DHL_DMX_IsScrambled(void); |
|---|
| 39 | DS_BOOL DHL_DMX_IsScrambleCheckStarted(void); |
|---|
| 40 | |
|---|
| 41 | DHL_RESULT DHL_DMX_CheckScramble(DS_BOOL *pScrambled, int timeOut, DS_BOOL (*ckfn)(void)); |
|---|
| 42 | |
|---|
| 43 | DHL_RESULT DHL_DMX_SetPID4DetectScramble(DS_U16 uVidPID, DS_U16 uAudPID); |
|---|
| 44 | DHL_RESULT DHL_DMX_ResetPID4DetectScramble(void); |
|---|
| 45 | DHL_RESULT DHL_DMX_SetPID4DetectScrambleEx(DS_U16 uVidPID); |
|---|
| 46 | DHL_RESULT DHL_DMX_ResetPID4DetectScrambleEx(void); |
|---|
| 47 | DHL_RESULT DHL_DMX_SetPID4DetectScrambleExAudio(DS_U16 uAudPID); |
|---|
| 48 | DHL_RESULT DHL_DMX_ResetPID4DetectScrambleAudio(void); |
|---|
| 49 | |
|---|
| 50 | DHL_RESULT DHL_DMX_PresetInput( DHL_DMX_INPUT tsInput ); |
|---|
| 51 | DHL_RESULT DHL_DMX_ChangeInput( DHL_DMX_INPUT tsInput ); |
|---|
| 52 | |
|---|
| 53 | #if defined __cplusplus |
|---|
| 54 | } |
|---|
| 55 | #endif |
|---|
| 56 | |
|---|
| 57 | #endif /* _DSTHAL_DEMUX_H_ */ |
|---|
| 58 | |
|---|
| 59 | |
|---|