xref: /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/include/RockchipRgaMacro.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * Copyright (C) 2016 Rockchip Electronics Co.Ltd
3  * Authors:
4  *  Zhiqin Wei <wzq@rock-chips.com>
5  *
6  * This program is free software; you can redistribute  it and/or modify it
7  * under  the terms of  the GNU General  Public License as published by the
8  * Free Software Foundation;  either version 2 of the  License, or (at your
9  * option) any later version.
10  *
11  */
12 
13 #ifndef __ROCKCHIP_RGA_MACRO_H__
14 #define __ROCKCHIP_RGA_MACRO_H__
15 
16 /* flip source image horizontally (around the vertical axis) */
17 #define HAL_TRANSFORM_FLIP_H     0x01
18 /* flip source image vertically (around the horizontal axis)*/
19 #define HAL_TRANSFORM_FLIP_V     0x02
20 /* rotate source image 90 degrees clockwise */
21 #define HAL_TRANSFORM_ROT_90     0x04
22 /* rotate source image 180 degrees */
23 #define HAL_TRANSFORM_ROT_180    0x03
24 /* rotate source image 270 degrees clockwise */
25 #define HAL_TRANSFORM_ROT_270    0x07
26 
27 #endif
28