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