[PATCH 2/3] exynos: replace G2D_DOUBLE_TO_FIXED macro with documented function

2014-07-19 Thread Tobias Jakobi
This also avoids the floating point conversion steps and just uses pure integer arithmetic. Also the G2D hardware scaling factor is a bit unintuitive, so explain it in the function. Signed-off-by: Tobias Jakobi --- exynos/exynos_fimg2d.c | 19 ++- exynos/fimg2d.h| 2 --

[PATCH 2/3] exynos: replace G2D_DOUBLE_TO_FIXED macro with documented function

2014-06-27 Thread Tobias Jakobi
This also avoids the floating point conversion steps and just uses pure integer arithmetic. Also the G2D hardware scaling factor is a bit unintuitive, so explain it in the function. Signed-off-by: Tobias Jakobi --- exynos/exynos_fimg2d.c | 19 ++- exynos/fimg2d.h| 2 --