aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx2341x.c
diff options
context:
space:
mode:
authorIan Armstrong <ian@iarmst.demon.co.uk>2010-03-06 19:43:04 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-17 23:46:44 -0400
commit947f04cba2159ff731a59766b05a643536eb6262 (patch)
tree422582c4dcb6c3dc029bd38b3b7f1dfe0c5de910 /drivers/media/video/cx2341x.c
parent9a766d55b72a439b2e16ecf2ac3eb831ab25e0d3 (diff)
V4L/DVB: cx2341x: Remove temporal filter control restriction
Since the change that stops the CX23415/6 firmware-intiiated secondary stream appears to fix the temporal filter, it's now fully re-enabled for all capture resolutions. Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk> Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx2341x.c')
-rw-r--r--drivers/media/video/cx2341x.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/media/video/cx2341x.c b/drivers/media/video/cx2341x.c
index 4c8e95853fa3..022b480918cd 100644
--- a/drivers/media/video/cx2341x.c
+++ b/drivers/media/video/cx2341x.c
@@ -1000,20 +1000,6 @@ int cx2341x_update(void *priv, cx2341x_mbox_func func,
1000 h, w); 1000 h, w);
1001 if (err) return err; 1001 if (err) return err;
1002 } 1002 }
1003
1004 if (new->width != 720 || new->height != (new->is_50hz ? 576 : 480)) {
1005 /* Adjust temporal filter if necessary. The problem with the
1006 temporal filter is that it works well with full resolution
1007 capturing, but not when the capture window is scaled (the
1008 filter introduces a ghosting effect). So if the capture
1009 window is scaled, then force the filter to 0.
1010
1011 For full resolution the filter really improves the video
1012 quality, especially if the original video quality is
1013 suboptimal. */
1014 temporal = 0;
1015 }
1016
1017 if (force || NEQ(stream_type)) { 1003 if (force || NEQ(stream_type)) {
1018 err = cx2341x_api(priv, func, CX2341X_ENC_SET_STREAM_TYPE, 1, 1004 err = cx2341x_api(priv, func, CX2341X_ENC_SET_STREAM_TYPE, 1,
1019 mpeg_stream_type[new->stream_type]); 1005 mpeg_stream_type[new->stream_type]);