summaryrefslogtreecommitdiffstats
path: root/thirdparties/common/include/libyuv/libyuv/rotate.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparties/common/include/libyuv/libyuv/rotate.h')
-rwxr-xr-xthirdparties/common/include/libyuv/libyuv/rotate.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/thirdparties/common/include/libyuv/libyuv/rotate.h b/thirdparties/common/include/libyuv/libyuv/rotate.h
index 8766ec3..6ec46f6 100755
--- a/thirdparties/common/include/libyuv/libyuv/rotate.h
+++ b/thirdparties/common/include/libyuv/libyuv/rotate.h
@@ -14,21 +14,22 @@
#include "libyuv/basic_types.h"
#ifdef __cplusplus
-namespace libyuv {
+namespace libyuv
+{
extern "C" {
#endif
// Supported rotation.
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,
+ 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,
};
// Rotate I420 frame
OpenPOWER on IntegriCloud