Skip to content

Commit

Permalink
V4L/DVB: cx2341x: Remove temporal filter control restriction
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ian Armstrong authored and Mauro Carvalho Chehab committed May 18, 2010
1 parent 9a766d5 commit 947f04c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions drivers/media/video/cx2341x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1000,20 +1000,6 @@ int cx2341x_update(void *priv, cx2341x_mbox_func func,
h, w);
if (err) return err;
}

if (new->width != 720 || new->height != (new->is_50hz ? 576 : 480)) {
/* Adjust temporal filter if necessary. The problem with the
temporal filter is that it works well with full resolution
capturing, but not when the capture window is scaled (the
filter introduces a ghosting effect). So if the capture
window is scaled, then force the filter to 0.
For full resolution the filter really improves the video
quality, especially if the original video quality is
suboptimal. */
temporal = 0;
}

if (force || NEQ(stream_type)) {
err = cx2341x_api(priv, func, CX2341X_ENC_SET_STREAM_TYPE, 1,
mpeg_stream_type[new->stream_type]);
Expand Down

0 comments on commit 947f04c

Please sign in to comment.