blob: 352eac0597d6823a70207d28d04e81962bea487a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
#ifndef _VIA_PRIV_H_
#define _VIA_PRIV_H_ 1
//#include "ddmpeg.h"
#include "via_common.h"
#define MEM_BLOCKS 4
typedef struct {
unsigned long base; /* Offset into fb */
int pool; /* Pool we drew from */
int drm_fd; /* Fd in DRM mode */
drm_via_mem_t drm; /* DRM management object */
int slot; /* Pool 3 slot */
void *pVia; /* VIA driver pointer */
//FBLinearPtr linear; /* X linear pool info ptr */
} VIAMem;
typedef VIAMem *VIAMemPtr;
#if 0
typedef struct {
unsigned long gdwVideoFlagTV1;
unsigned long gdwVideoFlagSW;
unsigned long gdwVideoFlagMPEG;
unsigned long gdwAlphaEnabled; /* For Alpha blending use*/
VIAMem SWOVMem;
VIAMem HQVMem;
VIAMem SWfbMem;
DDPIXELFORMAT DPFsrc;
DDUPDATEOVERLAY UpdateOverlayBackup; /* For HQVcontrol func use
// To save MPEG updateoverlay info.*/
/* device struct */
SWDEVICE SWDevice;
SUBDEVICE SUBDevice;
MPGDEVICE MPGDevice;
OVERLAYRECORD overlayRecordV1;
OVERLAYRECORD overlayRecordV3;
BoxRec AvailFBArea;
FBLinearPtr SWOVlinear;
int MPEG_ON;
int SWVideo_ON;
/*To solve the bandwidth issue */
unsigned long gdwUseExtendedFIFO;
/* For panning mode use */
int panning_old_x;
int panning_old_y;
int panning_x;
int panning_y;
/*To solve the bandwidth issue */
unsigned char Save_3C4_16;
unsigned char Save_3C4_17;
unsigned char Save_3C4_18;
} swovRec, *swovPtr;
#endif
#endif /* _VIA_PRIV_H_ */
|