summaryrefslogtreecommitdiffstats
path: root/thirdparties/iphone/include/libyuv/libyuv/rotate.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparties/iphone/include/libyuv/libyuv/rotate.h')
-rwxr-xr-xthirdparties/iphone/include/libyuv/libyuv/rotate.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/thirdparties/iphone/include/libyuv/libyuv/rotate.h b/thirdparties/iphone/include/libyuv/libyuv/rotate.h
index 8af60b8..58bc1c2 100755
--- a/thirdparties/iphone/include/libyuv/libyuv/rotate.h
+++ b/thirdparties/iphone/include/libyuv/libyuv/rotate.h
@@ -14,22 +14,24 @@
#include "libyuv/basic_types.h"
#ifdef __cplusplus
-namespace libyuv {
+namespace libyuv
+{
extern "C" {
#endif
// Supported rotation.
typedef enum RotationMode {
- kRotate0 = 0, // No rotation.
- kRotate90 = 90, // Rotate 90 degrees clockwise.
- kRotate180 = 180, // Rotate 180 degrees.
- kRotate270 = 270, // Rotate 270 degrees clockwise.
-
- // Deprecated.
- kRotateNone = 0,
- kRotateClockwise = 90,
- kRotateCounterClockwise = 270,
-} RotationModeEnum;
+ kRotate0 = 0, // No rotation.
+ kRotate90 = 90, // Rotate 90 degrees clockwise.
+ kRotate180 = 180, // Rotate 180 degrees.
+ kRotate270 = 270, // Rotate 270 degrees clockwise.
+
+ // Deprecated.
+ kRotateNone = 0,
+ kRotateClockwise = 90,
+ kRotateCounterClockwise = 270,
+}
+RotationModeEnum;
// Rotate I420 frame.
LIBYUV_API
OpenPOWER on IntegriCloud