patches for bt848 specific hue/bright/contrast/satu/satv.
This commit is contained in:
parent
55566fdc2f
commit
d380dd6d8e
@ -1,7 +1,5 @@
|
||||
/*
|
||||
* extensions to ioctl_meteor.h for the bt848 cards
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -13,6 +11,58 @@
|
||||
#define TUNERTYPE_WEUROPE 4
|
||||
|
||||
|
||||
/*
|
||||
* constants for various tuner registers
|
||||
*/
|
||||
#define BT848_HUEMIN (-90)
|
||||
#define BT848_HUEMAX 90
|
||||
#define BT848_HUECENTER 0
|
||||
#define BT848_HUERANGE 179.3
|
||||
#define BT848_HUEREGMIN (-128)
|
||||
#define BT848_HUEREGMAX 127
|
||||
#define BT848_HUESTEPS 256
|
||||
|
||||
#define BT848_BRIGHTMIN (-50)
|
||||
#define BT848_BRIGHTMAX 50
|
||||
#define BT848_BRIGHTCENTER 0
|
||||
#define BT848_BRIGHTRANGE 99.6
|
||||
#define BT848_BRIGHTREGMIN (-128)
|
||||
#define BT848_BRIGHTREGMAX 127
|
||||
#define BT848_BRIGHTSTEPS 256
|
||||
|
||||
#define BT848_CONTRASTMIN 0
|
||||
#define BT848_CONTRASTMAX 237
|
||||
#define BT848_CONTRASTCENTER 100
|
||||
#define BT848_CONTRASTRANGE 236.57
|
||||
#define BT848_CONTRASTREGMIN 0
|
||||
#define BT848_CONTRASTREGMAX 511
|
||||
#define BT848_CONTRASTSTEPS 512
|
||||
|
||||
#define BT848_CHROMAMIN 0
|
||||
#define BT848_CHROMAMAX 284
|
||||
#define BT848_CHROMACENTER 100
|
||||
#define BT848_CHROMARANGE 283.89
|
||||
#define BT848_CHROMAREGMIN 0
|
||||
#define BT848_CHROMAREGMAX 511
|
||||
#define BT848_CHROMASTEPS 512
|
||||
|
||||
#define BT848_SATUMIN 0
|
||||
#define BT848_SATUMAX 202
|
||||
#define BT848_SATUCENTER 100
|
||||
#define BT848_SATURANGE 201.18
|
||||
#define BT848_SATUREGMIN 0
|
||||
#define BT848_SATUREGMAX 511
|
||||
#define BT848_SATUSTEPS 512
|
||||
|
||||
#define BT848_SATVMIN 0
|
||||
#define BT848_SATVMAX 284
|
||||
#define BT848_SATVCENTER 100
|
||||
#define BT848_SATVRANGE 283.89
|
||||
#define BT848_SATVREGMIN 0
|
||||
#define BT848_SATVREGMAX 511
|
||||
#define BT848_SATVSTEPS 512
|
||||
|
||||
|
||||
/*
|
||||
* XXX: this is a hack, should be in ioctl_meteor.h
|
||||
* here to avoid touching that file for now...
|
||||
@ -22,6 +72,22 @@
|
||||
#define TVTUNER_SETTYPE _IOW('x', 33, unsigned int) /* set tuner type */
|
||||
#define TVTUNER_GETTYPE _IOR('x', 33, unsigned int) /* get tuner type */
|
||||
#define TVTUNER_GETSTATUS _IOR('x', 34, unsigned int) /* get tuner status */
|
||||
#define TVTUNER_SETFREQ _IOW('x', 35, unsigned int) /* set frequency */
|
||||
#define TVTUNER_GETFREQ _IOR('x', 36, unsigned int) /* get frequency */
|
||||
|
||||
|
||||
#define BT848_SHUE _IOW('x', 37, int) /* set hue */
|
||||
#define BT848_GHUE _IOR('x', 37, int) /* get hue */
|
||||
#define BT848_SBRIG _IOW('x', 38, int) /* set brightness */
|
||||
#define BT848_GBRIG _IOR('x', 38, int) /* get brightness */
|
||||
#define BT848_SCSAT _IOW('x', 39, int) /* set chroma sat */
|
||||
#define BT848_GCSAT _IOR('x', 39, int) /* get UV saturation */
|
||||
#define BT848_SCONT _IOW('x', 40, int) /* set contrast */
|
||||
#define BT848_GCONT _IOR('x', 40, int) /* get contrast */
|
||||
#define BT848_SVSAT _IOW('x', 41, int) /* set chroma V sat */
|
||||
#define BT848_GVSAT _IOR('x', 41, int) /* get V saturation */
|
||||
#define BT848_SUSAT _IOW('x', 42, int) /* set chroma U sat */
|
||||
#define BT848_GUSAT _IOR('x', 42, int) /* get U saturation */
|
||||
|
||||
|
||||
/*
|
||||
|
@ -1,7 +1,5 @@
|
||||
/*
|
||||
* extensions to ioctl_meteor.h for the bt848 cards
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -13,6 +11,58 @@
|
||||
#define TUNERTYPE_WEUROPE 4
|
||||
|
||||
|
||||
/*
|
||||
* constants for various tuner registers
|
||||
*/
|
||||
#define BT848_HUEMIN (-90)
|
||||
#define BT848_HUEMAX 90
|
||||
#define BT848_HUECENTER 0
|
||||
#define BT848_HUERANGE 179.3
|
||||
#define BT848_HUEREGMIN (-128)
|
||||
#define BT848_HUEREGMAX 127
|
||||
#define BT848_HUESTEPS 256
|
||||
|
||||
#define BT848_BRIGHTMIN (-50)
|
||||
#define BT848_BRIGHTMAX 50
|
||||
#define BT848_BRIGHTCENTER 0
|
||||
#define BT848_BRIGHTRANGE 99.6
|
||||
#define BT848_BRIGHTREGMIN (-128)
|
||||
#define BT848_BRIGHTREGMAX 127
|
||||
#define BT848_BRIGHTSTEPS 256
|
||||
|
||||
#define BT848_CONTRASTMIN 0
|
||||
#define BT848_CONTRASTMAX 237
|
||||
#define BT848_CONTRASTCENTER 100
|
||||
#define BT848_CONTRASTRANGE 236.57
|
||||
#define BT848_CONTRASTREGMIN 0
|
||||
#define BT848_CONTRASTREGMAX 511
|
||||
#define BT848_CONTRASTSTEPS 512
|
||||
|
||||
#define BT848_CHROMAMIN 0
|
||||
#define BT848_CHROMAMAX 284
|
||||
#define BT848_CHROMACENTER 100
|
||||
#define BT848_CHROMARANGE 283.89
|
||||
#define BT848_CHROMAREGMIN 0
|
||||
#define BT848_CHROMAREGMAX 511
|
||||
#define BT848_CHROMASTEPS 512
|
||||
|
||||
#define BT848_SATUMIN 0
|
||||
#define BT848_SATUMAX 202
|
||||
#define BT848_SATUCENTER 100
|
||||
#define BT848_SATURANGE 201.18
|
||||
#define BT848_SATUREGMIN 0
|
||||
#define BT848_SATUREGMAX 511
|
||||
#define BT848_SATUSTEPS 512
|
||||
|
||||
#define BT848_SATVMIN 0
|
||||
#define BT848_SATVMAX 284
|
||||
#define BT848_SATVCENTER 100
|
||||
#define BT848_SATVRANGE 283.89
|
||||
#define BT848_SATVREGMIN 0
|
||||
#define BT848_SATVREGMAX 511
|
||||
#define BT848_SATVSTEPS 512
|
||||
|
||||
|
||||
/*
|
||||
* XXX: this is a hack, should be in ioctl_meteor.h
|
||||
* here to avoid touching that file for now...
|
||||
@ -22,6 +72,22 @@
|
||||
#define TVTUNER_SETTYPE _IOW('x', 33, unsigned int) /* set tuner type */
|
||||
#define TVTUNER_GETTYPE _IOR('x', 33, unsigned int) /* get tuner type */
|
||||
#define TVTUNER_GETSTATUS _IOR('x', 34, unsigned int) /* get tuner status */
|
||||
#define TVTUNER_SETFREQ _IOW('x', 35, unsigned int) /* set frequency */
|
||||
#define TVTUNER_GETFREQ _IOR('x', 36, unsigned int) /* get frequency */
|
||||
|
||||
|
||||
#define BT848_SHUE _IOW('x', 37, int) /* set hue */
|
||||
#define BT848_GHUE _IOR('x', 37, int) /* get hue */
|
||||
#define BT848_SBRIG _IOW('x', 38, int) /* set brightness */
|
||||
#define BT848_GBRIG _IOR('x', 38, int) /* get brightness */
|
||||
#define BT848_SCSAT _IOW('x', 39, int) /* set chroma sat */
|
||||
#define BT848_GCSAT _IOR('x', 39, int) /* get UV saturation */
|
||||
#define BT848_SCONT _IOW('x', 40, int) /* set contrast */
|
||||
#define BT848_GCONT _IOR('x', 40, int) /* get contrast */
|
||||
#define BT848_SVSAT _IOW('x', 41, int) /* set chroma V sat */
|
||||
#define BT848_GVSAT _IOR('x', 41, int) /* get V saturation */
|
||||
#define BT848_SUSAT _IOW('x', 42, int) /* set chroma U sat */
|
||||
#define BT848_GUSAT _IOR('x', 42, int) /* get U saturation */
|
||||
|
||||
|
||||
/*
|
||||
|
@ -1,7 +1,5 @@
|
||||
/*
|
||||
* extensions to ioctl_meteor.h for the bt848 cards
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -13,6 +11,58 @@
|
||||
#define TUNERTYPE_WEUROPE 4
|
||||
|
||||
|
||||
/*
|
||||
* constants for various tuner registers
|
||||
*/
|
||||
#define BT848_HUEMIN (-90)
|
||||
#define BT848_HUEMAX 90
|
||||
#define BT848_HUECENTER 0
|
||||
#define BT848_HUERANGE 179.3
|
||||
#define BT848_HUEREGMIN (-128)
|
||||
#define BT848_HUEREGMAX 127
|
||||
#define BT848_HUESTEPS 256
|
||||
|
||||
#define BT848_BRIGHTMIN (-50)
|
||||
#define BT848_BRIGHTMAX 50
|
||||
#define BT848_BRIGHTCENTER 0
|
||||
#define BT848_BRIGHTRANGE 99.6
|
||||
#define BT848_BRIGHTREGMIN (-128)
|
||||
#define BT848_BRIGHTREGMAX 127
|
||||
#define BT848_BRIGHTSTEPS 256
|
||||
|
||||
#define BT848_CONTRASTMIN 0
|
||||
#define BT848_CONTRASTMAX 237
|
||||
#define BT848_CONTRASTCENTER 100
|
||||
#define BT848_CONTRASTRANGE 236.57
|
||||
#define BT848_CONTRASTREGMIN 0
|
||||
#define BT848_CONTRASTREGMAX 511
|
||||
#define BT848_CONTRASTSTEPS 512
|
||||
|
||||
#define BT848_CHROMAMIN 0
|
||||
#define BT848_CHROMAMAX 284
|
||||
#define BT848_CHROMACENTER 100
|
||||
#define BT848_CHROMARANGE 283.89
|
||||
#define BT848_CHROMAREGMIN 0
|
||||
#define BT848_CHROMAREGMAX 511
|
||||
#define BT848_CHROMASTEPS 512
|
||||
|
||||
#define BT848_SATUMIN 0
|
||||
#define BT848_SATUMAX 202
|
||||
#define BT848_SATUCENTER 100
|
||||
#define BT848_SATURANGE 201.18
|
||||
#define BT848_SATUREGMIN 0
|
||||
#define BT848_SATUREGMAX 511
|
||||
#define BT848_SATUSTEPS 512
|
||||
|
||||
#define BT848_SATVMIN 0
|
||||
#define BT848_SATVMAX 284
|
||||
#define BT848_SATVCENTER 100
|
||||
#define BT848_SATVRANGE 283.89
|
||||
#define BT848_SATVREGMIN 0
|
||||
#define BT848_SATVREGMAX 511
|
||||
#define BT848_SATVSTEPS 512
|
||||
|
||||
|
||||
/*
|
||||
* XXX: this is a hack, should be in ioctl_meteor.h
|
||||
* here to avoid touching that file for now...
|
||||
@ -22,6 +72,22 @@
|
||||
#define TVTUNER_SETTYPE _IOW('x', 33, unsigned int) /* set tuner type */
|
||||
#define TVTUNER_GETTYPE _IOR('x', 33, unsigned int) /* get tuner type */
|
||||
#define TVTUNER_GETSTATUS _IOR('x', 34, unsigned int) /* get tuner status */
|
||||
#define TVTUNER_SETFREQ _IOW('x', 35, unsigned int) /* set frequency */
|
||||
#define TVTUNER_GETFREQ _IOR('x', 36, unsigned int) /* get frequency */
|
||||
|
||||
|
||||
#define BT848_SHUE _IOW('x', 37, int) /* set hue */
|
||||
#define BT848_GHUE _IOR('x', 37, int) /* get hue */
|
||||
#define BT848_SBRIG _IOW('x', 38, int) /* set brightness */
|
||||
#define BT848_GBRIG _IOR('x', 38, int) /* get brightness */
|
||||
#define BT848_SCSAT _IOW('x', 39, int) /* set chroma sat */
|
||||
#define BT848_GCSAT _IOR('x', 39, int) /* get UV saturation */
|
||||
#define BT848_SCONT _IOW('x', 40, int) /* set contrast */
|
||||
#define BT848_GCONT _IOR('x', 40, int) /* get contrast */
|
||||
#define BT848_SVSAT _IOW('x', 41, int) /* set chroma V sat */
|
||||
#define BT848_GVSAT _IOR('x', 41, int) /* get V saturation */
|
||||
#define BT848_SUSAT _IOW('x', 42, int) /* set chroma U sat */
|
||||
#define BT848_GUSAT _IOR('x', 42, int) /* get U saturation */
|
||||
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user