diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-02-13 12:57:52 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-02-13 12:57:52 -0800 |
commit | a5d999ff17a84a33e9761eab958eac0267748aa9 (patch) | |
tree | 04fa49b15acc4160613fa11e7a35c3295bc7962c /include/hardware/hardware.h | |
parent | b376203efb29c5f86ad8c8d40e90b74756669a1c (diff) | |
download | hardware_libhardware-a5d999ff17a84a33e9761eab958eac0267748aa9.zip hardware_libhardware-a5d999ff17a84a33e9761eab958eac0267748aa9.tar.gz hardware_libhardware-a5d999ff17a84a33e9761eab958eac0267748aa9.tar.bz2 |
auto import from //branches/cupcake/...@131421
Diffstat (limited to 'include/hardware/hardware.h')
-rw-r--r-- | include/hardware/hardware.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/hardware/hardware.h b/include/hardware/hardware.h index e480675..5325744 100644 --- a/include/hardware/hardware.h +++ b/include/hardware/hardware.h @@ -125,6 +125,24 @@ enum { HAL_PIXEL_FORMAT_YCbCr_420_I = 0x15 }; + +/** + * Transformation definitions + */ + +enum { + /* flip source image horizontally */ + HAL_TRANSFORM_FLIP_H = 0x01, + /* flip source image vertically */ + HAL_TRANSFORM_FLIP_V = 0x02, + /* rotate source image 90 degres */ + HAL_TRANSFORM_ROT_90 = 0x04, + /* rotate source image 180 degres */ + HAL_TRANSFORM_ROT_180 = 0x03, + /* rotate source image 270 degres */ + HAL_TRANSFORM_ROT_270 = 0x07, +}; + __END_DECLS #endif /* ANDROID_INCLUDE_HARDWARE_HARDWARE_H */ |