android_kernel_xiaomi_sm8350/drivers/media
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
..
common
dvb V4L/DVB (3673): Fix budget-av CAM reset 2006-04-02 04:56:02 -03:00
radio
video V4L/DVB (3704): Fix some errors on bttv_risc_overlay 2006-05-12 19:54:35 -03:00
Kconfig V4L/DVB (3619): Whitespace cleanup 2006-04-02 04:55:11 -03:00
Makefile