]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: s5p-tv: mixer: fix handling of interlaced modes
authorTomasz Stanislawski <t.stanislaws@samsung.com>
Fri, 9 Mar 2012 13:49:58 +0000 (10:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 20 May 2012 12:02:28 +0000 (09:02 -0300)
commit1982992bcb757fd5077801a64b52251bddbd1816
tree7bddb1bc1970c97ac8b3cb8dea2c7168939c175c
parent41afaeb6f451024fb245a36f85bb84f7da7cf691
[media] v4l: s5p-tv: mixer: fix handling of interlaced modes

The next frame was fetched by Mixer at every VSYNC event.  This caused tearing
when Mixer's output in interlaced mode.  This patch fixes this bug by fetching
new frame every second VSYNC when working in interlaced mode.

Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-tv/mixer.h
drivers/media/video/s5p-tv/mixer_reg.c