[media] omap3isp: resizer: Use 4-tap mode equations when the ratio is <= 512
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 18 Feb 2011 12:41:50 +0000 (09:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Apr 2011 10:38:10 +0000 (07:38 -0300)
As the number of phases/taps, used to select the correct equations to
compute the ratio, depends on the ratio, start with the 7-tap mode
equations to compute an approximation of the ratio, and switch to the
4-tap mode equations if the approximation is lower than or equal to 512.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found