123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- #ifndef _DRV2KMF_H_
- #define _DRV2KMF_H_
- #include <drv_types.h>
- enum {
- STATUS_NOSIGNAL,
- STATUS_SIGNALOK,
- STATUS_SIGNALWEAK,
- STATUS_NOTSUPPORT,
- STATUS_UNKNOWN,
- };
- enum {
- INPUTPATH_ATV,
- INPUTPATH_DTV,
- INPUTPATH_AV,
- INPUTPATH_SV,
- INPUTPATH_COMPONENT,
- INPUTPATH_HDMI,
- INPUTPATH_PC,
- INPUTPATH_USB
- };
- enum{
- msgID_Audio,
- msgID_Video,
- };
- enum{
- status_Stop,
- status_Start,
- };
- typedef struct _DTVCADetectStatus_t
- {
- UINT8 bHasVideoData;
- UINT8 bVideoScramble;
- UINT8 bHasAudioData;
- UINT8 bAudioScramble;
- }DTVCADetectStatus_t, *PDTVCADetectStatus_t;
- typedef struct _MultimediaStatus_t
- {
- UINT8 msgID; // 0: Audio, 1: Video
- UINT8 status; // 0: Stop, 1: start
- }MultimediaStatus_t, *PMultimediaStatus_t;
- typedef struct _KMF2VIP_INFO
- {
- INT8 Hposition;
- INT8 Vposition;
- UINT8 Hoverscan;
- UINT8 Voverscan;
- UINT8 AspectRatio;
- UINT8 DynamicBacklight;
- UINT32 Backlight;
- }KMF2VIP_INFO, *PKMF2VIP_INFO;
- typedef struct _InputPathStatus_t
- {
- UINT8 msgfromVIP; // 1: VIP, 0: other driver
- UINT8 bSub; // 0: main, 1: sub; set by VIP driver only.
- UINT32 path; // input path
- UINT8 bActive; // 0:FALSE, 1:TRUE; Set by driver only
- UINT8 bNotSupport;
- UINT8 bScramble; //0:FALSE, 1:TRUE; Set by DTV driver only
- UINT8 bAudioOnly;
- UINT8 bHscalerDown; //0:FALSE, 1:TRUE; Notice kmf hdmi signal Hscaler down because Hactive > 1920
- }InputPathStatus_t, *PInputPathStatus_t;
- #define PARTNAME_LEN 16
- typedef struct _Partition_info
- {
- char part_name[PARTNAME_LEN];
- }Partition_info_t, *Ppartition_info_t;
- INT32 noticekmf(UINT8 eventID, UINT8 eventType, UINT8 *extraInfo, UINT8 extraSize);
- #endif
|