Duncan Sands 3203f94a25 V4L/DVB (3704): Fix some errors on bttv_risc_overlay
There are tree mistakes on bttv_risc_overlay.
1) When skip_odd is true, the number of lines for which
instructions are written is (height+1)/2, not height/2.
2) This occurs when clipping: the number of instruction bytes
written can be as much as 8 + 12*nclips, not 8 + 8*nclips, as
currently estimated.
3) Coverity check were wrong with nskips=0, since it means that
it can clipped at most one line.

Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-12 19:54:35 -03:00
..
2006-04-11 06:18:46 -07:00
2006-05-03 20:05:41 -07:00
2006-05-12 14:57:52 -07:00
2006-04-11 06:18:40 -07:00
2006-04-11 06:18:43 -07:00
2006-05-01 18:17:46 -07:00
2006-05-03 20:05:41 -07:00
2006-05-12 11:58:10 -07:00
2006-03-24 18:23:14 +01:00
2006-04-21 10:59:00 -07:00