Herton Ronaldo Krzesinski
0a062033f7
Revert "V4L/DVB (11906): saa7134: Use v4l bounding/alignment function"
...
This reverts commit bc52d6eb44de8f19934768d4d10d19fdbdc99950.
On newer kernels, a saa7134 board stopped to display TV video output
properly. After a bisect, I found it as the commit causing the issue.
Turns out that v4l_bound_align_image isn't doing the same bounding
calculation as manually done previously in saa7134_try_fmt_vid_cap.
What isn't equal is the calculation done in clamp align, while
previously it did "f->fmt.pix.width &= ~0x03", clamp_align function
does "Round to nearest aligned value" as stated in the comment, which
yields a different result. If I comment the round calculation in
clamp_align like this: "x = (x /*+ (1 << (align - 1))*/) & mask",
I get it fixed too, because this way the calculation is the same then.
Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-05-19 12:57:13 -03:00
..
2010-03-30 22:02:32 +09:00
2010-05-19 12:56:50 -03:00
2010-05-19 12:56:50 -03:00
2010-05-19 12:56:58 -03:00
2010-05-19 12:56:50 -03:00
2010-05-19 12:56:50 -03:00
2010-02-26 15:10:50 -03:00
2010-05-19 12:57:05 -03:00
2010-05-19 12:57:00 -03:00
2010-02-26 15:10:41 -03:00
2010-05-18 00:52:48 -03:00
2010-03-30 22:02:32 +09:00
2010-05-19 12:57:10 -03:00
2010-04-07 08:38:03 -07:00
2010-03-30 22:02:32 +09:00
2010-05-19 12:57:13 -03:00
2010-03-30 22:02:32 +09:00
2010-05-18 00:52:49 -03:00
2010-05-18 00:47:17 -03:00
2010-05-18 00:47:16 -03:00
2010-05-19 12:57:07 -03:00
2010-05-18 00:52:52 -03:00
2010-05-18 00:52:49 -03:00
2010-05-18 00:52:41 -03:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-18 00:52:42 -03:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-18 00:51:26 -03:00
2010-05-18 00:51:26 -03:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-02-26 15:10:57 -03:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-18 00:46:44 -03:00
2010-03-02 14:54:23 -08:00
2010-05-06 19:20:50 -03:00
2010-05-06 19:20:50 -03:00
2010-05-19 12:56:50 -03:00
2010-05-19 12:57:09 -03:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-06 19:19:00 -03:00
2010-05-18 00:52:36 -03:00
2010-05-18 00:52:36 -03:00
2010-03-30 22:02:32 +09:00
2010-05-18 00:46:21 -03:00
2010-02-19 03:19:01 -02:00
2010-03-30 22:02:32 +09:00
2010-05-18 00:44:09 -03:00
2010-05-06 19:20:51 -03:00
2010-05-18 00:44:09 -03:00
2010-05-06 19:20:50 -03:00
2010-05-06 19:18:58 -03:00
2010-05-19 12:56:43 -03:00
2010-02-26 15:11:00 -03:00
2010-05-18 00:51:25 -03:00
2010-05-18 00:47:01 -03:00
2010-05-18 00:51:30 -03:00
2010-05-06 19:20:52 -03:00
2010-05-18 00:44:09 -03:00
2010-05-18 00:46:39 -03:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-18 00:50:17 -03:00
2010-02-26 15:10:30 -03:00
2010-03-30 22:02:32 +09:00
2010-05-18 00:44:09 -03:00
2010-05-18 00:46:09 -03:00
2010-02-26 15:11:11 -03:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-02-26 15:10:34 -03:00
2010-02-26 15:10:34 -03:00
2010-05-18 00:52:47 -03:00
2010-03-30 22:02:32 +09:00
2010-02-26 15:11:01 -03:00
2010-03-30 22:02:32 +09:00
2010-02-26 15:10:59 -03:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-18 00:52:51 -03:00
2010-02-26 15:10:49 -03:00
2010-05-18 00:50:24 -03:00
2010-05-19 12:57:10 -03:00
2010-05-18 00:50:25 -03:00
2010-03-30 22:02:32 +09:00
2010-05-18 00:50:25 -03:00
2010-03-30 22:02:32 +09:00
2010-05-18 00:50:25 -03:00
2010-03-30 22:02:32 +09:00
2010-02-26 15:10:32 -03:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-19 12:57:09 -03:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-02-26 15:10:28 -03:00