diff options
author | Ian Armstrong <ian@iarmst.demon.co.uk> | 2007-10-20 13:52:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:03:10 -0500 |
commit | a3e5f5e2dfb50bebca24329e5377d804c6e3eb1b (patch) | |
tree | 6a900057b715633c5b7951568253f35de2e0a24f /drivers/media/video/ivtv/ivtv-driver.c | |
parent | c240ad00af78228726e6301ad6ffc54d3adce2a0 (diff) |
V4L/DVB (6713): ivtv: ivtv_yuv_prep_frame breakup and yuv hardware buffer changes
ivtv_yuv_prep_frame is split in smaller code blocks.
Modified yuv buffer handling on the PVR350 itself. We now cycle through all 8
hardware buffers.
With this patch in place, driver behaviour should remain unchanged from the
existing release.
Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-driver.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c index 48db22cc1bd8..e3020f456641 100644 --- a/drivers/media/video/ivtv/ivtv-driver.c +++ b/drivers/media/video/ivtv/ivtv-driver.c | |||
@@ -697,6 +697,7 @@ static int __devinit ivtv_init_struct1(struct ivtv *itv) | |||
697 | atomic_set(&itv->yuv_info.next_dma_frame, -1); | 697 | atomic_set(&itv->yuv_info.next_dma_frame, -1); |
698 | itv->yuv_info.lace_mode = ivtv_yuv_mode; | 698 | itv->yuv_info.lace_mode = ivtv_yuv_mode; |
699 | itv->yuv_info.lace_threshold = ivtv_yuv_threshold; | 699 | itv->yuv_info.lace_threshold = ivtv_yuv_threshold; |
700 | itv->yuv_info.max_frames_buffered = 3; | ||
700 | return 0; | 701 | return 0; |
701 | } | 702 | } |
702 | 703 | ||