ioctl_bt848.h (25328) | ioctl_bt848.h (29233) |
---|---|
1/* 2 * extensions to ioctl_meteor.h for the bt848 cards 3 */ 4 5/* 6 * frequency sets 7 */ 8#define CHNLSET_NABCST 1 --- 115 unchanged lines hidden (view full) --- 124 125#define BT848_WEEPROM _IOWR('x', 50, struct eeProm) /* write to EEProm */ 126#define BT848_REEPROM _IOWR('x', 51, struct eeProm) /* read from EEProm */ 127 128#define BT848_SIGNATURE _IOWR('x', 52, struct eeProm) /* read card sig */ 129 130#define TVTUNER_SETAFC _IOW('x', 53, int) /* turn AFC on/off */ 131#define TVTUNER_GETAFC _IOR('x', 54, int) /* query AFC on/off */ | 1/* 2 * extensions to ioctl_meteor.h for the bt848 cards 3 */ 4 5/* 6 * frequency sets 7 */ 8#define CHNLSET_NABCST 1 --- 115 unchanged lines hidden (view full) --- 124 125#define BT848_WEEPROM _IOWR('x', 50, struct eeProm) /* write to EEProm */ 126#define BT848_REEPROM _IOWR('x', 51, struct eeProm) /* read from EEProm */ 127 128#define BT848_SIGNATURE _IOWR('x', 52, struct eeProm) /* read card sig */ 129 130#define TVTUNER_SETAFC _IOW('x', 53, int) /* turn AFC on/off */ 131#define TVTUNER_GETAFC _IOR('x', 54, int) /* query AFC on/off */ |
132#define BT848_SLNOTCH _IOW('x', 55, int) /* set luma notch */ 133#define BT848_GLNOTCH _IOR('x', 56, int) /* get luma notch */ |
|
132 133/* 134 * XXX: more bad magic, 135 * we need to fix the METEORGINPUT to return something public 136 * duplicate them here for now... 137 */ 138#define METEOR_DEV0 0x00001000 139#define METEOR_DEV1 0x00002000 140#define METEOR_DEV2 0x00004000 141 142/* 143 * right now I don't know were to put these, but as they are suppose to be 144 * a part of a common video capture interface, these should be relocated to 145 * another place. Probably most of the METEOR_xxx defines need to be 146 * renamed and moved to a common header 147 */ 148 | 134 135/* 136 * XXX: more bad magic, 137 * we need to fix the METEORGINPUT to return something public 138 * duplicate them here for now... 139 */ 140#define METEOR_DEV0 0x00001000 141#define METEOR_DEV1 0x00002000 142#define METEOR_DEV2 0x00004000 143 144/* 145 * right now I don't know were to put these, but as they are suppose to be 146 * a part of a common video capture interface, these should be relocated to 147 * another place. Probably most of the METEOR_xxx defines need to be 148 * renamed and moved to a common header 149 */ 150 |
149typedef enum { METEOR_PIXTYPE_RGB, METEOR_PIXTYPE_YUV } METEOR_PIXTYPE; | 151typedef enum { METEOR_PIXTYPE_RGB, METEOR_PIXTYPE_YUV, 152 METEOR_PIXTYPE_YUV_PACKED } METEOR_PIXTYPE; |
150 151struct meteor_pixfmt { 152 u_int index; /* Index in supported pixfmt list */ 153 METEOR_PIXTYPE type; /* What's the board gonna feed us */ 154 u_int Bpp; /* Bytes per pixel */ 155 u_long masks[3]; /* R,G,B or Y,U,V masks, respectively */ 156 unsigned swap_bytes :1; /* Bytes swapped within shorts */ 157 unsigned swap_shorts:1; /* Shorts swapped within longs */ --- 26 unchanged lines hidden --- | 153 154struct meteor_pixfmt { 155 u_int index; /* Index in supported pixfmt list */ 156 METEOR_PIXTYPE type; /* What's the board gonna feed us */ 157 u_int Bpp; /* Bytes per pixel */ 158 u_long masks[3]; /* R,G,B or Y,U,V masks, respectively */ 159 unsigned swap_bytes :1; /* Bytes swapped within shorts */ 160 unsigned swap_shorts:1; /* Shorts swapped within longs */ --- 26 unchanged lines hidden --- |