diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-22 16:23:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-22 16:23:23 +0100 |
| commit | 8349f0c97d98c0b7550ff4c76ad25f8f06270d6a (patch) | |
| tree | bf441e13142b2810ac4e46cf94d4204ec4e037d5 /src/lib/types.h | |
| parent | 75712cfaf2a8ec8904d7d9552c542a2245bbbc17 (diff) | |
Basics of front-end 3D (as far as viewer, at least).
Diffstat (limited to 'src/lib/types.h')
| -rw-r--r-- | src/lib/types.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/types.h b/src/lib/types.h index b1b359810..d6136fc3e 100644 --- a/src/lib/types.h +++ b/src/lib/types.h @@ -40,12 +40,21 @@ enum VideoFrameType VIDEO_FRAME_TYPE_3D_LEFT_RIGHT }; +enum Eyes +{ + EYES_BOTH, + EYES_LEFT, + EYES_RIGHT, + EYES_COUNT +}; + /** @struct Crop * @brief A description of the crop of an image or video. */ struct Crop { Crop () : left (0), right (0), top (0), bottom (0) {} + Crop (int l, int r, int t, int b) : left (l), right (r), top (t), bottom (b) {} /** Number of pixels to remove from the left-hand side */ int left; |
