diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-08-23 05:32:46 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:06:47 -0400 |
commit | 33c0fcad2160bc211272295e862c6f708118d006 (patch) | |
tree | 1627d21d1042a1ede7fc9c8f55356ab314a6a63e /drivers/media/video/ivtv/ivtv-driver.c | |
parent | 612570f2c4794bbf4e5bfa8648b61fbfc9cd8501 (diff) |
V4L/DVB (6092): ivtv: more cleanups, merged ivtv-audio.c and ivtv-video.c into ivtv-routing.c
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 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c index 2ed9894672f4..6a74e509c87d 100644 --- a/drivers/media/video/ivtv/ivtv-driver.c +++ b/drivers/media/video/ivtv/ivtv-driver.c | |||
@@ -52,7 +52,7 @@ | |||
52 | #include "ivtv-ioctl.h" | 52 | #include "ivtv-ioctl.h" |
53 | #include "ivtv-cards.h" | 53 | #include "ivtv-cards.h" |
54 | #include "ivtv-vbi.h" | 54 | #include "ivtv-vbi.h" |
55 | #include "ivtv-audio.h" | 55 | #include "ivtv-routing.h" |
56 | #include "ivtv-gpio.h" | 56 | #include "ivtv-gpio.h" |
57 | #include "ivtv-yuv.h" | 57 | #include "ivtv-yuv.h" |
58 | 58 | ||
@@ -106,6 +106,18 @@ static char secam[] = "--"; | |||
106 | static char ntsc[] = "-"; | 106 | static char ntsc[] = "-"; |
107 | 107 | ||
108 | /* Buffers */ | 108 | /* Buffers */ |
109 | |||
110 | /* DMA Buffers, Default size in MB allocated */ | ||
111 | #define IVTV_DEFAULT_ENC_MPG_BUFFERS 4 | ||
112 | #define IVTV_DEFAULT_ENC_YUV_BUFFERS 2 | ||
113 | #define IVTV_DEFAULT_ENC_VBI_BUFFERS 1 | ||
114 | /* Exception: size in kB for this stream (MB is overkill) */ | ||
115 | #define IVTV_DEFAULT_ENC_PCM_BUFFERS 320 | ||
116 | #define IVTV_DEFAULT_DEC_MPG_BUFFERS 1 | ||
117 | #define IVTV_DEFAULT_DEC_YUV_BUFFERS 1 | ||
118 | /* Exception: size in kB for this stream (MB is way overkill) */ | ||
119 | #define IVTV_DEFAULT_DEC_VBI_BUFFERS 64 | ||
120 | |||
109 | static int enc_mpg_buffers = IVTV_DEFAULT_ENC_MPG_BUFFERS; | 121 | static int enc_mpg_buffers = IVTV_DEFAULT_ENC_MPG_BUFFERS; |
110 | static int enc_yuv_buffers = IVTV_DEFAULT_ENC_YUV_BUFFERS; | 122 | static int enc_yuv_buffers = IVTV_DEFAULT_ENC_YUV_BUFFERS; |
111 | static int enc_vbi_buffers = IVTV_DEFAULT_ENC_VBI_BUFFERS; | 123 | static int enc_vbi_buffers = IVTV_DEFAULT_ENC_VBI_BUFFERS; |