diff options
| author | Michael Krufky <devnull@localhost> | 2006-01-12 17:06:49 +0000 |
|---|---|---|
| committer | Michael Krufky <devnull@localhost> | 2006-01-12 17:06:49 +0000 |
| commit | 2087cdd4267be1433f9aa2363504a8399f877f6b (patch) | |
| tree | d3acbad1ad4120737637d1dde8b28defda13eec1 /v4l | |
| parent | b1d168376a16805da958799cdfd2db181434a7d6 (diff) | |
| download | mediapointer-dvb-s2-2087cdd4267be1433f9aa2363504a8399f877f6b.tar.gz mediapointer-dvb-s2-2087cdd4267be1433f9aa2363504a8399f877f6b.tar.bz2 | |
Redesign tuners struct for maximum flexibility
From: Michael Krufky <mkrufky@m1k.net>
- tunertype struct redefined to allow one or more tuner_params structs
per tuner definition, one for each video standard.
- Each tuner_params struct has an element containing an arbitrary
amount of tuner_ranges.
(this is needed for dvb tuners - to be handled later)
- A tuner_range may be referenced by multiple tuner_params structs.
There are many duplicates in here. Reusing tuner_range structs,
rather than defining new ones for each tuner, will cut down on
memory usage, and is preferred when possible.
- tunertype struct contains an element, has_tda988x.
We must set this for all tunertypes that contain a tda988x
chip, and then we can remove this setting from the various
card structs.
- Improves tuners array memory usage efficiency.
- Right now, all tuners are using the first tuner_params[] array element
for analog mode. In the future, we will be merging similar tuner
definitions together, such that each tuner definition will have a
tuner_params struct for each available video standard. At that point,
the tuner_params[] array element will be chosen based on the video
standard in use.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'v4l')
| -rw-r--r-- | v4l/ChangeLog | 33 | ||||
| -rw-r--r-- | v4l/Makefile | 2 |
2 files changed, 34 insertions, 1 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog index 4473216eb..e68be7e13 100644 --- a/v4l/ChangeLog +++ b/v4l/ChangeLog @@ -1,3 +1,36 @@ +2006-01-12 17:03 mkrufky + + * linux/drivers/media/video/Makefile: + * linux/drivers/media/video/tuner-simple.c: (default_set_tv_freq), + (default_set_radio_freq): + * linux/drivers/media/video/tuner-types.c: + * linux/include/media/tuner-types.h: + * linux/include/media/tuner.h: + * v4l/Makefile: + - Redesign tuners array for maximum flexibility + - tunertype struct redefined to allow one or more tuner_params structs + per tuner definition, one for each video standard. + - Each tuner_params struct has an element containing an arbitrary + amount of tuner_ranges. + (this is needed for dvb tuners - to be handled later) + - A tuner_range may be referenced by multiple tuner_params structs. + There are many duplicates in here. Reusing tuner_range structs, + rather than defining new ones for each tuner, will cut down on + memory usage, and is preferred when possible. + - tunertype struct contains an element, has_tda988x. + We must set this for all tunertypes that contain a tda988x + chip, and then we can remove this setting from the various + card structs. + - Improves tuners array memory usage efficiency. + - Right now, all tuners are using the first tuner_params array element + for analog mode. In the future, we will be merging similar tuner + definitions together, such that each tuner definition will have a + tuner_params struct for each available video standard. At that point, + the tuner_params[] array element will be chosen based on the video + standard in use. + + Signed-off-by: Michael Krufky <mkrufky@m1k.net> + 2006-01-12 16:55 mkrufky * linux/drivers/media/dvb/dvb-usb/cxusb.c: diff --git a/v4l/Makefile b/v4l/Makefile index a29aae6db..d4c00c31c 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -29,7 +29,7 @@ cx88xx-objs := cx88-cards.o cx88-core.o cx88-i2c.o cx88-tvaudio.o \ cx88-input.o cx8800-objs := cx88-video.o cx88-vbi.o cx8802-objs := cx88-mpeg.o -tuner-objs := tuner-core.o tuner-simple.o mt20xx.o tda8290.o tea5767.o +tuner-objs := tuner-core.o tuner-types.o tuner-simple.o mt20xx.o tda8290.o tea5767.o msp3400-objs := msp3400-driver.o msp3400-kthreads.o list-multi := bttv.o saa7134.o cx88xx.o cx8800.o cx88-alsa.o cx8802.o em28xx-objs := em28xx-video.o em28xx-i2c.o em28xx-cards.o em28xx-core.o \ |
