Files
ubuntu-kernel-fenix/archives/filesystem/special/Edge1/usr/include/rga/RockchipRgaMacro.h
Nick Xie 1098a5a2c0 Edge1: renaming Edge to Edge1
Signed-off-by: Nick Xie <nick@khadas.com>
2022-09-29 10:58:01 +08:00

28 lines
1.4 KiB
C

/*
* 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