source: tools/oebuild/data/pti_np/pti_public.h @ 45168

Last change on this file since 45168 was 45168, checked in by obi, 19 months ago

add oebuild building files

  • Property svn:executable set to *
File size: 1.3 KB
Line 
1#ifndef pti_public_
2#define pti_public_
3
4/* public pti header */
5
6#if defined(UFS910) || defined(ADB_BOX)
7/*ufs910 has a memory problem causing artefacts while watching HDTV channels
8so we need to reduce the number of descramblers,
9maybe other boxes have the same problems*/
10#define NUMBER_OF_DESCRAMBLERS 4
11#else
12/*quack: 6 is the max for HDBOX maybe other values have to be chosen for other boxes*/
13#define NUMBER_OF_DESCRAMBLERS 6
14#endif
15
16struct PtiSession
17{
18        short int pidtable[32];
19        short int descramblerForPid[8192];
20        short int references[32];
21
22        short int type[32];
23        short int pes_type[32];
24        short int num_pids;
25
26        int slots[32];
27
28        int session;
29        int descrambler;
30        int descramblers[NUMBER_OF_DESCRAMBLERS];
31        int descramblerindex[32];
32        int source;
33
34};
35
36typedef enum
37{
38        VID_BUFFER = 222,
39        AUD_BUFFER,
40        MISC_BUFFER
41} BUFFER_TYPE;
42
43/* source */
44typedef enum
45{
46        TSIN0 = 0,
47        TSIN1,
48        TSIN2,
49        SWTS0,
50        TS_NOTAGS = 0x80
51} tInputSource;
52
53struct stpti
54{
55        size_t InterruptDMABufferSize;
56        dma_addr_t InterruptDMABufferInfo;
57        void *InterruptBufferStart_p;
58
59        /* spinlock for the interrupt handler */
60        spinlock_t irq_lock;
61
62        /* gemappter speicherbereich; TCDevice_t* */
63        unsigned int pti_io;
64
65        struct dvb_device *ca_device;
66
67        /* work queue for polling the DMA (if configured) */
68        wait_queue_head_t queue;
69};
70
71#endif
Note: See TracBrowser for help on using the repository browser.