summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-03-06 14:44:42 +0000
committerMichael Hunold <devnull@localhost>2003-03-06 14:44:42 +0000
commit5b25e9c0c27612b86a68281ced663a9a789e77ac (patch)
tree440aa058b1fa65b9a4faa43632b668bb38aa7384 /linux/drivers/media/common
parentfc5e1c1da8c7e1847e01a4d7ad3bf1436e86763d (diff)
downloadmediapointer-dvb-s2-5b25e9c0c27612b86a68281ced663a9a789e77ac.tar.gz
mediapointer-dvb-s2-5b25e9c0c27612b86a68281ced663a9a789e77ac.tar.bz2
Removed some debug messages, verified that it works with "mp1e" and
"nvrec"... (red/blue were swapped)
Diffstat (limited to 'linux/drivers/media/common')
-rw-r--r--linux/drivers/media/common/saa7146_hlp.c12
-rw-r--r--linux/drivers/media/common/saa7146_video.c2
2 files changed, 1 insertions, 13 deletions
diff --git a/linux/drivers/media/common/saa7146_hlp.c b/linux/drivers/media/common/saa7146_hlp.c
index e3cfddb42..cdfeadb3a 100644
--- a/linux/drivers/media/common/saa7146_hlp.c
+++ b/linux/drivers/media/common/saa7146_hlp.c
@@ -852,11 +852,6 @@ int calc_planar_420(struct saa7146_vv *vv, struct saa7146_buf *buf, struct saa71
vdma2->base_even = buf->pt[1].offset;
vdma2->base_odd = vdma2->base_even + (vdma2->pitch);
vdma2->prot_addr = (vdma2->pitch/2)*height+buf->pt[1].offset;
-
- printk("vdma3->base_even: 0x%08x\n",vdma3->base_even);
- printk("vdma3->base_odd: 0x%08x\n",vdma3->base_odd);
- printk("vdma3->prot_addr: 0x%08x\n",vdma3->prot_addr);
-
}
return 0;
}
@@ -901,13 +896,6 @@ int calculate_video_dma_grab_planar(struct saa7146_dev* dev, struct saa7146_buf
vdma1.prot_addr = (vdma1.pitch/2)*height+buf->pt[0].offset;
}
- /* fixme */
-/*
- vdma1.base_even = 0; // buf->pt[0].offset;
- vdma1.base_odd = 0; // vdma1.base_even + (vdma1.pitch/2);
- vdma1.prot_addr = 0; // (vdma1.pitch/2)*height+buf->pt[0].offset;
-*/
-
vdma2.num_line_byte = 0; /* unused */
vdma2.base_page = buf->pt[1].dma | ME1;
diff --git a/linux/drivers/media/common/saa7146_video.c b/linux/drivers/media/common/saa7146_video.c
index e6bf86e0a..16e33f518 100644
--- a/linux/drivers/media/common/saa7146_video.c
+++ b/linux/drivers/media/common/saa7146_video.c
@@ -49,12 +49,12 @@ struct saa7146_format formats[] = {
.pixelformat = V4L2_PIX_FMT_YVU420,
.trans = YUV420_DECOMPOSED,
.depth = 12,
+ .swap = 1,
}, {
.name = "YUV 4:2:0 planar (Y-Cb-Cr)",
.pixelformat = V4L2_PIX_FMT_YUV420,
.trans = YUV420_DECOMPOSED,
.depth = 12,
- .swap = 1,
}, {
.name = "YUV 4:2:2 (U-Y-V-Y)",
.pixelformat = V4L2_PIX_FMT_UYVY,