summaryrefslogtreecommitdiff
path: root/exynos/fimg2d.h
diff options
context:
space:
mode:
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>2015-03-11 20:38:41 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-03-16 22:18:05 +0000
commit03c9cccfa03b999874f794c02ddce7e7dfb04c93 (patch)
tree7fe91c64d35ace64aa832ab12565e2695e8310d1 /exynos/fimg2d.h
parent6f950de953ead6391ffa82b6c517fd4ea3ce3e29 (diff)
exynos: add g2d_scale_and_blend
This is a combination of g2d_copy_with_scale and g2d_scale. It is a pretty common operation to scale one buffer and then blend it on top of another, so provide a direct way to that operation. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Reviewed-by: Inki Dae <inki.dae@samsung.com> Tested-by: Joonyoung Shim <jy0922.shim@samsung.com>
Diffstat (limited to 'exynos/fimg2d.h')
-rw-r--r--exynos/fimg2d.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/exynos/fimg2d.h b/exynos/fimg2d.h
index c6d67caf..f76f2a9f 100644
--- a/exynos/fimg2d.h
+++ b/exynos/fimg2d.h
@@ -314,4 +314,9 @@ int g2d_blend(struct g2d_context *ctx, struct g2d_image *src,
struct g2d_image *dst, unsigned int src_x,
unsigned int src_y, unsigned int dst_x, unsigned int dst_y,
unsigned int w, unsigned int h, enum e_g2d_op op);
+int g2d_scale_and_blend(struct g2d_context *ctx, struct g2d_image *src,
+ struct g2d_image *dst, unsigned int src_x, unsigned int src_y,
+ unsigned int src_w, unsigned int src_h, unsigned int dst_x,
+ unsigned int dst_y, unsigned int dst_w, unsigned int dst_h,
+ enum e_g2d_op op);
#endif /* _FIMG2D_H_ */