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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-06-13 01:25:23 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-06-13 01:25:23 +0400
commit5dc0b35a019651e052c7770330aafc7f2d7fb690 (patch)
tree6902f7e9e431868947bd0c5bcbb15696959fa99a /source/blender/makesdna/DNA_movieclip_types.h
parent92d948307549ce1d69ec4e41e42b442360b9bade (diff)
Added frame offset slider to clip datablocks
In contrast to start_frame (which affects on where footage actually starts to play and also affects on all data associated with a clip such as motion tracking, reconstruction and so on) this slider only affects on a way how frame number is mapping to a filename, without touching any kind of tracking data. The formula is: file_name = clip_file_name + frame_offset - (start_frame - 1)
Diffstat (limited to 'source/blender/makesdna/DNA_movieclip_types.h')
-rw-r--r--source/blender/makesdna/DNA_movieclip_types.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_movieclip_types.h b/source/blender/makesdna/DNA_movieclip_types.h
index 19004dbc8b8..d8bba4a3bf5 100644
--- a/source/blender/makesdna/DNA_movieclip_types.h
+++ b/source/blender/makesdna/DNA_movieclip_types.h
@@ -86,7 +86,14 @@ typedef struct MovieClip {
int len; /* length of movie */
- int start_frame, pad;
+ int start_frame; /* scene frame number footage starts playing at */
+ /* affects all data which is associated with a clip */
+ /* such as motion tracking, camera reconstruciton and so */
+
+ int frame_offset; /* offset which is adding to a file number when reading frame */
+ /* from a file. affects only a way how scene frame is mapping */
+ /* to a file name and not touches other data associated with */
+ /* a clip */
} MovieClip;
typedef struct MovieClipScopes {