Mercurial > mplayer.hg
comparison libvo/gtf.h @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | 7681eab10aea |
children |
comparison
equal
deleted
inserted
replaced
29262:7d545a6b8aff | 29263:0f1b5b68af32 |
---|---|
19 #ifndef MPLAYER_GTF_H | 19 #ifndef MPLAYER_GTF_H |
20 #define MPLAYER_GTF_H | 20 #define MPLAYER_GTF_H |
21 | 21 |
22 #include <vbe.h> | 22 #include <vbe.h> |
23 | 23 |
24 #define GTF_VF 0 | 24 #define GTF_VF 0 |
25 #define GTF_HF 1 | 25 #define GTF_HF 1 |
26 #define GTF_PF 2 | 26 #define GTF_PF 2 |
27 | 27 |
28 | 28 |
29 typedef struct { | 29 typedef struct { |
30 double Vsync_need; /* Number of lines for vert sync (default 3) */ | 30 double Vsync_need; /* Number of lines for vert sync (default 3) */ |
31 double min_Vsync_BP; /* Minimum vertical sync + back porch (us) (default 550)*/ | 31 double min_Vsync_BP; /* Minimum vertical sync + back porch (us) (default 550)*/ |
32 double min_front_porch; /* Minimum front porch in lines (default 1) */ | 32 double min_front_porch; /* Minimum front porch in lines (default 1) */ |
33 double char_cell_granularity; /* Character cell granularity in pixels (default 8) */ | 33 double char_cell_granularity; /* Character cell granularity in pixels (default 8) */ |
37 double j; /* Blanking formula scaling factor weight (default 20)*/ | 37 double j; /* Blanking formula scaling factor weight (default 20)*/ |
38 double k; /* Blanking formula scaling factor (default 128)*/ | 38 double k; /* Blanking formula scaling factor (default 128)*/ |
39 double m; /* Blanking formula gradient (default 600)*/ | 39 double m; /* Blanking formula gradient (default 600)*/ |
40 } GTF_constants; | 40 } GTF_constants; |
41 | 41 |
42 //#ifndef __VESA_VBELIB_INCLUDED__ | 42 //#ifndef __VESA_VBELIB_INCLUDED__ |
43 // struct VesaCRTCInfoBlock { | 43 // struct VesaCRTCInfoBlock { |
44 // unsigned short hTotal; /* Horizontal total in pixels */ | 44 // unsigned short hTotal; /* Horizontal total in pixels */ |
45 // unsigned short hSyncStart; /* Horizontal sync start in pixels */ | 45 // unsigned short hSyncStart; /* Horizontal sync start in pixels */ |
46 // unsigned short hSyncEnd; /* Horizontal sync end in pixels */ | 46 // unsigned short hSyncEnd; /* Horizontal sync end in pixels */ |
47 // unsigned short vTotal; /* Vertical total in lines */ | 47 // unsigned short vTotal; /* Vertical total in lines */ |
49 // unsigned short vSyncEnd; /* Vertical sync end in lines */ | 49 // unsigned short vSyncEnd; /* Vertical sync end in lines */ |
50 // unsigned char Flags; /* Flags (Interlaced, Double Scan etc) */ | 50 // unsigned char Flags; /* Flags (Interlaced, Double Scan etc) */ |
51 // unsigned long PixelClock; /* Pixel clock in units of Hz */ | 51 // unsigned long PixelClock; /* Pixel clock in units of Hz */ |
52 // unsigned short RefreshRate;/* Refresh rate in units of 0.01 Hz*/ | 52 // unsigned short RefreshRate;/* Refresh rate in units of 0.01 Hz*/ |
53 // unsigned char Reserved[40];/* remainder of CRTCInfoBlock*/ | 53 // unsigned char Reserved[40];/* remainder of CRTCInfoBlock*/ |
54 //}__attribute__ ((packed)); | 54 //}__attribute__ ((packed)); |
55 | 55 |
56 //#define VESA_CRTC_DOUBLESCAN 0x01 | 56 //#define VESA_CRTC_DOUBLESCAN 0x01 |
57 //#define VESA_CRTC_INTERLACED 0x02 | 57 //#define VESA_CRTC_INTERLACED 0x02 |
58 //#define VESA_CRTC_HSYNC_NEG 0x04 | 58 //#define VESA_CRTC_HSYNC_NEG 0x04 |
59 //#define VESA_CRTC_VSYNC_NEG 0x08 | 59 //#define VESA_CRTC_VSYNC_NEG 0x08 |