aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-06-18 15:11:06 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:05:22 -0400
commitf022156b33ffa32c26a86540fe4f6fe56cff0963 (patch)
treeba896ea08b1215135986fe353a39bfbd0db2f5de /drivers/media/video/cx88/cx88.h
parent54f577b7f46f48b8bea0bd5eb8c42d711b3e006f (diff)
V4L/DVB (4196): Port cx88-blackbird to the new MPEG API.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88.h')
-rw-r--r--drivers/media/video/cx88/cx88.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h
index f27d4df5b30e..dc7bc35f18f4 100644
--- a/drivers/media/video/cx88/cx88.h
+++ b/drivers/media/video/cx88/cx88.h
@@ -29,6 +29,7 @@
29#include <media/tuner.h> 29#include <media/tuner.h>
30#include <media/tveeprom.h> 30#include <media/tveeprom.h>
31#include <media/video-buf.h> 31#include <media/video-buf.h>
32#include <media/cx2341x.h>
32#include <media/video-buf-dvb.h> 33#include <media/video-buf-dvb.h>
33 34
34#include "btcx-risc.h" 35#include "btcx-risc.h"
@@ -398,14 +399,6 @@ struct cx8802_suspend_state {
398 int disabled; 399 int disabled;
399}; 400};
400 401
401/* TODO: move this to struct v4l2_mpeg_compression ? */
402struct blackbird_dnr {
403 u32 mode;
404 u32 type;
405 u32 spatial;
406 u32 temporal;
407};
408
409struct cx8802_dev { 402struct cx8802_dev {
410 struct cx88_core *core; 403 struct cx88_core *core;
411 spinlock_t slock; 404 spinlock_t slock;
@@ -439,8 +432,7 @@ struct cx8802_dev {
439 unsigned char ts_gen_cntrl; 432 unsigned char ts_gen_cntrl;
440 433
441 /* mpeg params */ 434 /* mpeg params */
442 struct v4l2_mpeg_compression params; 435 struct cx2341x_mpeg_params params;
443 struct blackbird_dnr dnr_params;
444}; 436};
445 437
446/* ----------------------------------------------------------- */ 438/* ----------------------------------------------------------- */
@@ -605,10 +597,6 @@ extern int cx88_do_ioctl(struct inode *inode, struct file *file, int radio,
605extern int (*cx88_ioctl_hook)(struct inode *inode, struct file *file, 597extern int (*cx88_ioctl_hook)(struct inode *inode, struct file *file,
606 unsigned int cmd, void *arg); 598 unsigned int cmd, void *arg);
607extern unsigned int (*cx88_ioctl_translator)(unsigned int cmd); 599extern unsigned int (*cx88_ioctl_translator)(unsigned int cmd);
608void blackbird_set_params(struct cx8802_dev *dev,
609 struct v4l2_mpeg_compression *params);
610void blackbird_set_dnr_params(struct cx8802_dev *dev,
611 struct blackbird_dnr* dnr_params);
612 600
613/* 601/*
614 * Local variables: 602 * Local variables: