diff options
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-vbi.c')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-vbi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-vbi.c b/linux/drivers/media/video/saa7134/saa7134-vbi.c index 312da9bf7..ee4806d54 100644 --- a/linux/drivers/media/video/saa7134/saa7134-vbi.c +++ b/linux/drivers/media/video/saa7134/saa7134-vbi.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-vbi.c,v 1.3 2004/09/23 13:58:19 kraxel Exp $ + * $Id: saa7134-vbi.c,v 1.4 2004/10/13 10:39:00 kraxel Exp $ * * device driver for philips saa7134 based TV cards * video4linux video interface @@ -53,7 +53,7 @@ static void task_init(struct saa7134_dev *dev, struct saa7134_buf *buf, int task) { struct saa7134_tvnorm *norm = dev->tvnorm; - + /* setup video scaler */ saa_writeb(SAA7134_VBI_H_START1(task), norm->h_start & 0xff); saa_writeb(SAA7134_VBI_H_START2(task), norm->h_start >> 8); @@ -174,7 +174,7 @@ buffer_setup(void *priv, unsigned int *count, unsigned int *size) struct saa7134_fh *fh = priv; struct saa7134_dev *dev = fh->dev; int llength,lines; - + lines = dev->tvnorm->vbi_v_stop - dev->tvnorm->vbi_v_start +1; #if 1 llength = VBI_LINE_LENGTH; @@ -195,7 +195,7 @@ static void buffer_queue(void *priv, struct videobuf_buffer *vb) struct saa7134_fh *fh = priv; struct saa7134_dev *dev = fh->dev; struct saa7134_buf *buf = (struct saa7134_buf *)vb; - + saa7134_buffer_queue(dev,&dev->vbi_q,buf); } @@ -204,7 +204,7 @@ static void buffer_release(void *priv, struct videobuf_buffer *vb) struct saa7134_fh *fh = priv; struct saa7134_dev *dev = fh->dev; struct saa7134_buf *buf = (struct saa7134_buf *)vb; - + saa7134_dma_free(dev,buf); } |