source: svn/trunk/zas_dstar/hal/include/dsthalcapcc.h

Last change on this file was 2, checked in by phkim, 11 years ago

1.phkim

  1. revision copy newcon3sk r27
File size: 1.5 KB
Line 
1/****************************************************************************
2 * Copyright (c) 2004 Digital Stream Technologies Inc.  All Rights Reserved.
3 *
4 * Module:      dsthalcc.h
5 * Author:              Jun-ku Park, hwatk@dstreamtech.com
6 * Description: DST HAL CC
7 *             
8 *
9 ***************************************************************************/
10
11#ifndef __DST_HALCC_H__
12#define __DST_HALCC_H__
13
14#include "dsthalcommon.h"
15#include "dsthalcap.h"
16
17#define DHL_CAP_DEBUG   0
18
19typedef void (*P_DHL_CAP_CBFUNC)(DS_U32);
20
21#define POLL_THREAD_DELAY       33              /* 1 msec unit, 33 --> 0.033 sec */
22
23typedef enum {
24        DHL_CAP_CC_INPUT_START=1,
25        DHL_CAP_CC_NTSC_INPUT,
26        DHL_CAP_CC_YPBPR_INPUT,
27        DHL_CAP_CC_INPUT_END
28} DHL_CAP_CC_INPUT;
29
30typedef void (*P_DHL_CAP_CC_CALLBACK)(DHL_CAP_CC_INPUT CCVideoSrc, DS_U8 nField, DS_U8 data1, DS_U8 data2);
31
32
33typedef struct tag_DHL_CAP_CC_CONFIGURATION
34{       
35        DHL_CAP_CC_INPUT                        CCVideoSrc;
36       
37        P_DHL_CAP_CC_CALLBACK           cbFunc[DHL_CAP_CC_INPUT_END];
38} DHL_CAP_CC_CONFIG, *P_DHL_CAP_CC_CONFIG;
39
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
45DHL_RESULT DHL_CAP_CC_Init(void);
46DHL_RESULT DHL_CAP_CC_PresetVideoSource( DHL_CAP_CC_INPUT videoInput );
47DHL_RESULT DHL_CAP_CC_ChangeVideoSource( DHL_CAP_CC_INPUT videoInput );
48DHL_RESULT DHL_CAP_CC_Start(void);
49DHL_RESULT DHL_CAP_CC_Stop(void);
50DHL_RESULT DHL_CAP_CC_Close(void);
51DHL_RESULT DHL_CAP_CC_SetCallback( P_DHL_CAP_CC_CALLBACK cbFunc, DHL_CAP_CC_INPUT videoInput );
52
53
54
55#ifdef __cplusplus
56}
57#endif
58
59#endif /* __DST_HALCC_H__ */
Note: See TracBrowser for help on using the repository browser.