summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88.h
diff options
context:
space:
mode:
authorCatalin Climov <devnull@localhost>2005-09-06 21:58:43 +0000
committerCatalin Climov <devnull@localhost>2005-09-06 21:58:43 +0000
commitc1d8c76e0f52d59478e5e99c2d0a7a1756757d31 (patch)
treefd7a4bdcca87e77201b73faa33269b35b5e238ec /linux/drivers/media/video/cx88/cx88.h
parentabe34b1ec392774318d3fc28f81f08cbbb7a4ad6 (diff)
downloadmediapointer-dvb-s2-c1d8c76e0f52d59478e5e99c2d0a7a1756757d31.tar.gz
mediapointer-dvb-s2-c1d8c76e0f52d59478e5e99c2d0a7a1756757d31.tar.bz2
Implemented the v4l2 mpeg api for blackbird cards.
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88.h')
-rw-r--r--linux/drivers/media/video/cx88/cx88.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88.h b/linux/drivers/media/video/cx88/cx88.h
index 61eb1bada..061afebcf 100644
--- a/linux/drivers/media/video/cx88/cx88.h
+++ b/linux/drivers/media/video/cx88/cx88.h
@@ -1,5 +1,5 @@
/*
- * $Id: cx88.h,v 1.77 2005/09/05 15:04:58 nsh Exp $
+ * $Id: cx88.h,v 1.78 2005/09/06 21:58:43 catalin Exp $
*
* v4l2 device driver for cx2388x based TV cards
*
@@ -398,6 +398,14 @@ struct cx8802_suspend_state {
int disabled;
};
+/* TODO: move this to struct v4l2_mpeg_compression ? */
+struct blackbird_dnr {
+ u32 mode;
+ u32 type;
+ u32 spatial;
+ u32 temporal;
+};
+
struct cx8802_dev {
struct cx88_core *core;
#if 0
@@ -432,6 +440,10 @@ struct cx8802_dev {
/* for switching modulation types */
unsigned char ts_gen_cntrl;
+
+ /* mpeg params */
+ struct v4l2_mpeg_compression params;
+ struct blackbird_dnr dnr_params;
};
/* ----------------------------------------------------------- */
@@ -573,7 +585,8 @@ void cx88_ir_irq(struct cx88_core *core);
/* ----------------------------------------------------------- */
/* cx88-mpeg.c */
-int cx8802_buf_prepare(struct cx8802_dev *dev, struct cx88_buffer *buf);
+int cx8802_buf_prepare(struct cx8802_dev *dev, struct cx88_buffer *buf,
+ enum v4l2_field field);
void cx8802_buf_queue(struct cx8802_dev *dev, struct cx88_buffer *buf);
void cx8802_cancel_buffers(struct cx8802_dev *dev);
@@ -594,6 +607,10 @@ extern int cx88_do_ioctl(struct inode *inode, struct file *file, int radio,
extern int (*cx88_ioctl_hook)(struct inode *inode, struct file *file,
unsigned int cmd, void *arg);
extern unsigned int (*cx88_ioctl_translator)(unsigned int cmd);
+void blackbird_set_params(struct cx8802_dev *dev,
+ struct v4l2_mpeg_compression *params);
+void blackbird_set_dnr_params(struct cx8802_dev *dev,
+ struct blackbird_dnr* dnr_params);
/*
* Local variables: