Revert "Revert "DRIVERS: VIDEO: backports from ZTE Warp 3.4.0""

This reverts commit 4007356bb929a6d33c06ec5fe4832e2a16d38601.
Revert "msm: rotator: Fix rotator YCrCb planar formats unexpected output"

This reverts commit 8772e7ba1257b4d16d8bdc55bd8e95af012af265.
Revert "msm: rotator: add downscale support in rotator"

This reverts commit 6487345ca26370503984aa095d252958ca387de3.
DRIVERS: Fixup for msm_rotator
jiffies conversions: Use compile time constants when possible

Date	Fri, 04 Jan 2013 13:15:43 -0800

Do the multiplications and divisions at compile time
instead of runtime when the converted value is a constant.

Make the calculation functions static __always_inline to jiffies.h.

Add #defines with __builtin_constant_p to test and use the
static inline or the runtime functions as appropriate.

Prefix the old exported symbols/functions with __

Signed-off-by: Paul Reioux <reioux@gmail.com>