summaryrefslogtreecommitdiff
path: root/drivers/media/video/em28xx/em28xx.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-13 15:11:08 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 14:09:39 -0300
commit44dc733cd9edac53402d705cd2f720accd0b3e2c (patch)
tree256c0a7a30b4bed9cbf0c6b5ee809b6905603317 /drivers/media/video/em28xx/em28xx.h
parent59d3448995a4c0ca98cbe82f6dac9460323377c1 (diff)
downloadlinux-3.10-44dc733cd9edac53402d705cd2f720accd0b3e2c.tar.gz
linux-3.10-44dc733cd9edac53402d705cd2f720accd0b3e2c.tar.bz2
linux-3.10-44dc733cd9edac53402d705cd2f720accd0b3e2c.zip
V4L/DVB (7567): em28xx: Some cleanups
Removes some fields from data structs. There are some fields that are just caching some calculus for buffer size. The calculus were moved to the places it were needed and the now unused fields were removed. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx.h')
-rw-r--r--drivers/media/video/em28xx/em28xx.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index 6d62357a038..0080a09860d 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -128,8 +128,6 @@ struct em28xx_buffer {
/* common v4l buffer stuff -- must be first */
struct videobuf_buffer vb;
- struct em28xx_fmt *fmt;
-
struct list_head frame;
int top_field;
int receiving;
@@ -294,9 +292,6 @@ struct em28xx {
/* frame properties */
int width; /* current frame width */
int height; /* current frame height */
- int frame_size; /* current frame size */
- int field_size; /* current field size */
- int bytesperline;
int hscale; /* horizontal scale factor (see datasheet) */
int vscale; /* vertical scale factor (see datasheet) */
int interlaced; /* 1=interlace fileds, 0=just top fileds */
@@ -352,9 +347,7 @@ struct em28xx_fh {
unsigned int stream_on:1; /* Locks streams */
int radio;
- unsigned int width, height;
struct videobuf_queue vb_vidq;
- struct em28xx_fmt *fmt;
enum v4l2_buf_type type;
};