Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-10 23:59:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-10 23:59:02 +0400
commit51d9bf725dd8892b339f56553f8734aeefb17354 (patch)
treee48ef12260fb6c5829abb77ba1ff941f69190e68 /source/blender/makesdna/DNA_movieclip_types.h
parent298feff39006c14aa28b5e0232aa7ed70a83a496 (diff)
style cleanup
Diffstat (limited to 'source/blender/makesdna/DNA_movieclip_types.h')
-rw-r--r--source/blender/makesdna/DNA_movieclip_types.h110
1 files changed, 55 insertions, 55 deletions
diff --git a/source/blender/makesdna/DNA_movieclip_types.h b/source/blender/makesdna/DNA_movieclip_types.h
index b9d63167700..b5ab7898bd9 100644
--- a/source/blender/makesdna/DNA_movieclip_types.h
+++ b/source/blender/makesdna/DNA_movieclip_types.h
@@ -47,97 +47,97 @@ struct MovieTrackingTrack;
struct MovieTrackingMarker;
typedef struct MovieClipUser {
- int framenr; /* current frame number */
- short render_size, render_flag; /* proxy render size */
+ int framenr; /* current frame number */
+ short render_size, render_flag; /* proxy render size */
} MovieClipUser;
typedef struct MovieClipProxy {
- char dir[768]; /* 768=FILE_MAXDIR custom directory for index and proxy files (defaults to BL_proxy) */
+ char dir[768]; /* 768=FILE_MAXDIR custom directory for index and proxy files (defaults to BL_proxy) */
- short tc; /* time code in use */
- short quality; /* proxy build quality */
- short build_size_flag; /* size flags (see below) of all proxies to build */
- short build_tc_flag; /* time code flags (see below) of all tc indices to build */
+ short tc; /* time code in use */
+ short quality; /* proxy build quality */
+ short build_size_flag; /* size flags (see below) of all proxies to build */
+ short build_tc_flag; /* time code flags (see below) of all tc indices to build */
} MovieClipProxy;
typedef struct MovieClip {
ID id;
- struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */
+ struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */
- char name[1024]; /* file path, 1024 = FILE_MAX */
+ char name[1024]; /* file path, 1024 = FILE_MAX */
- int source; /* sequence or movie */
- int lastframe; /* last accessed frame number */
- int lastsize[2]; /* size of last accessed frame */
+ int source; /* sequence or movie */
+ int lastframe; /* last accessed frame number */
+ int lastsize[2]; /* size of last accessed frame */
- float aspx, aspy; /* display aspect */
+ float aspx, aspy; /* display aspect */
- struct anim *anim; /* movie source data */
- struct MovieClipCache *cache; /* cache for different stuff, not in file */
- struct bGPdata *gpd; /* grease pencil data */
+ struct anim *anim; /* movie source data */
+ struct MovieClipCache *cache; /* cache for different stuff, not in file */
+ struct bGPdata *gpd; /* grease pencil data */
- struct MovieTracking tracking; /* data for SfM tracking */
- void *tracking_context; /* context of tracking job
- * used to synchronize data like framenumber
- * in SpaceClip clip user */
+ struct MovieTracking tracking; /* data for SfM tracking */
+ void *tracking_context; /* context of tracking job
+ * used to synchronize data like framenumber
+ * in SpaceClip clip user */
- struct MovieClipProxy proxy; /* proxy to clip data */
+ struct MovieClipProxy proxy; /* proxy to clip data */
int flag;
- int len; /* length of movie */
+ int len; /* length of movie */
int start_frame, pad;
} MovieClip;
typedef struct MovieClipScopes {
- int ok; /* 1 means scopes are ok and recalculation is unneeded */
- int track_preview_height; /* height of track preview widget */
- int frame_width, frame_height; /* width and height of frame for which scopes are calculated */
- struct MovieTrackingMarker undist_marker; /* undistorted position of marker used for pattern sampling */
- struct ImBuf *track_search; /* search area of a track */
- struct ImBuf *track_preview; /* ImBuf displayed in track preview */
- float track_pos[2]; /* sub-pizel position of marker in track ImBuf */
- short track_disabled; /* active track is disabled, special notifier should be drawn */
+ int ok; /* 1 means scopes are ok and recalculation is unneeded */
+ int track_preview_height; /* height of track preview widget */
+ int frame_width, frame_height; /* width and height of frame for which scopes are calculated */
+ struct MovieTrackingMarker undist_marker; /* undistorted position of marker used for pattern sampling */
+ struct ImBuf *track_search; /* search area of a track */
+ struct ImBuf *track_preview; /* ImBuf displayed in track preview */
+ float track_pos[2]; /* sub-pizel position of marker in track ImBuf */
+ short track_disabled; /* active track is disabled, special notifier should be drawn */
char pad[2];
- int framenr; /* frame number scopes are created for */
- struct MovieTrackingTrack *track; /* track scopes are created for */
- struct MovieTrackingMarker *marker; /* marker scopes are created for */
- float slide_scale[2]; /* scale used for sliding from previewe area */
+ int framenr; /* frame number scopes are created for */
+ struct MovieTrackingTrack *track; /* track scopes are created for */
+ struct MovieTrackingMarker *marker; /* marker scopes are created for */
+ float slide_scale[2]; /* scale used for sliding from previewe area */
} MovieClipScopes;
/* MovieClipProxy->build_size_flag */
-#define MCLIP_PROXY_SIZE_25 (1<<0)
-#define MCLIP_PROXY_SIZE_50 (1<<1)
-#define MCLIP_PROXY_SIZE_75 (1<<2)
-#define MCLIP_PROXY_SIZE_100 (1<<3)
-#define MCLIP_PROXY_UNDISTORTED_SIZE_25 (1<<4)
-#define MCLIP_PROXY_UNDISTORTED_SIZE_50 (1<<5)
-#define MCLIP_PROXY_UNDISTORTED_SIZE_75 (1<<6)
-#define MCLIP_PROXY_UNDISTORTED_SIZE_100 (1<<7)
+#define MCLIP_PROXY_SIZE_25 (1 << 0)
+#define MCLIP_PROXY_SIZE_50 (1 << 1)
+#define MCLIP_PROXY_SIZE_75 (1 << 2)
+#define MCLIP_PROXY_SIZE_100 (1 << 3)
+#define MCLIP_PROXY_UNDISTORTED_SIZE_25 (1 << 4)
+#define MCLIP_PROXY_UNDISTORTED_SIZE_50 (1 << 5)
+#define MCLIP_PROXY_UNDISTORTED_SIZE_75 (1 << 6)
+#define MCLIP_PROXY_UNDISTORTED_SIZE_100 (1 << 7)
/* MovieClip->source */
-#define MCLIP_SRC_SEQUENCE 1
-#define MCLIP_SRC_MOVIE 2
+#define MCLIP_SRC_SEQUENCE 1
+#define MCLIP_SRC_MOVIE 2
/* MovieClip->selection types */
-#define MCLIP_SEL_NONE 0
-#define MCLIP_SEL_TRACK 1
+#define MCLIP_SEL_NONE 0
+#define MCLIP_SEL_TRACK 1
/* MovieClip->flag */
-#define MCLIP_USE_PROXY (1<<0)
-#define MCLIP_USE_PROXY_CUSTOM_DIR (1<<1)
+#define MCLIP_USE_PROXY (1 << 0)
+#define MCLIP_USE_PROXY_CUSTOM_DIR (1 << 1)
/*#define MCLIP_CUSTOM_START_FRAME (1<<2)*/ /* UNUSED */
-#define MCLIP_TIMECODE_FLAGS (MCLIP_USE_PROXY|MCLIP_USE_PROXY_CUSTOM_DIR)
+#define MCLIP_TIMECODE_FLAGS (MCLIP_USE_PROXY | MCLIP_USE_PROXY_CUSTOM_DIR)
/* MovieClip->render_size */
-#define MCLIP_PROXY_RENDER_SIZE_FULL 0
-#define MCLIP_PROXY_RENDER_SIZE_25 1
-#define MCLIP_PROXY_RENDER_SIZE_50 2
-#define MCLIP_PROXY_RENDER_SIZE_75 3
-#define MCLIP_PROXY_RENDER_SIZE_100 4
+#define MCLIP_PROXY_RENDER_SIZE_FULL 0
+#define MCLIP_PROXY_RENDER_SIZE_25 1
+#define MCLIP_PROXY_RENDER_SIZE_50 2
+#define MCLIP_PROXY_RENDER_SIZE_75 3
+#define MCLIP_PROXY_RENDER_SIZE_100 4
/* MovieClip->render_flag */
-#define MCLIP_PROXY_RENDER_UNDISTORT 1
+#define MCLIP_PROXY_RENDER_UNDISTORT 1
#endif