aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-13 14:11:08 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:09:39 -0400
commit44dc733cd9edac53402d705cd2f720accd0b3e2c (patch)
tree256c0a7a30b4bed9cbf0c6b5ee809b6905603317 /drivers/media/video/em28xx/em28xx.h
parent59d3448995a4c0ca98cbe82f6dac9460323377c1 (diff)
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 6d62357a038f..0080a09860d9 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -128,8 +128,6 @@ struct em28xx_buffer {
128 /* common v4l buffer stuff -- must be first */ 128 /* common v4l buffer stuff -- must be first */
129 struct videobuf_buffer vb; 129 struct videobuf_buffer vb;
130 130
131 struct em28xx_fmt *fmt;
132
133 struct list_head frame; 131 struct list_head frame;
134 int top_field; 132 int top_field;
135 int receiving; 133 int receiving;
@@ -294,9 +292,6 @@ struct em28xx {
294 /* frame properties */ 292 /* frame properties */
295 int width; /* current frame width */ 293 int width; /* current frame width */
296 int height; /* current frame height */ 294 int height; /* current frame height */
297 int frame_size; /* current frame size */
298 int field_size; /* current field size */
299 int bytesperline;
300 int hscale; /* horizontal scale factor (see datasheet) */ 295 int hscale; /* horizontal scale factor (see datasheet) */
301 int vscale; /* vertical scale factor (see datasheet) */ 296 int vscale; /* vertical scale factor (see datasheet) */
302 int interlaced; /* 1=interlace fileds, 0=just top fileds */ 297 int interlaced; /* 1=interlace fileds, 0=just top fileds */
@@ -352,9 +347,7 @@ struct em28xx_fh {
352 unsigned int stream_on:1; /* Locks streams */ 347 unsigned int stream_on:1; /* Locks streams */
353 int radio; 348 int radio;
354 349
355 unsigned int width, height;
356 struct videobuf_queue vb_vidq; 350 struct videobuf_queue vb_vidq;
357 struct em28xx_fmt *fmt;
358 351
359 enum v4l2_buf_type type; 352 enum v4l2_buf_type type;
360}; 353};