Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_sequence_types.h
| Show All 39 Lines | |||||
| #ifndef __DNA_SEQUENCE_TYPES_H__ | #ifndef __DNA_SEQUENCE_TYPES_H__ | ||||
| #define __DNA_SEQUENCE_TYPES_H__ | #define __DNA_SEQUENCE_TYPES_H__ | ||||
| #include "DNA_defs.h" | #include "DNA_defs.h" | ||||
| #include "DNA_color_types.h" | #include "DNA_color_types.h" | ||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| #include "DNA_vec_types.h" | #include "DNA_vec_types.h" | ||||
| #include "DNA_scene_types.h" | |||||
| struct Ipo; | struct Ipo; | ||||
| struct Scene; | struct Scene; | ||||
| struct bSound; | struct bSound; | ||||
| struct MovieClip; | struct MovieClip; | ||||
| /* strlens; 256= FILE_MAXFILE, 768= FILE_MAXDIR */ | /* strlens; 256= FILE_MAXFILE, 768= FILE_MAXDIR */ | ||||
| ▲ Show 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | typedef struct Sequence { | ||||
| /* Multiview */ | /* Multiview */ | ||||
| char views_format; | char views_format; | ||||
| struct Stereo3dFormat *stereo3d_format; | struct Stereo3dFormat *stereo3d_format; | ||||
| struct IDProperty *prop; | struct IDProperty *prop; | ||||
| /* modifiers */ | /* modifiers */ | ||||
| ListBase modifiers; | ListBase modifiers; | ||||
| ViewRender view_render; /* ViewRender only used for scene strips */ | |||||
| } Sequence; | } Sequence; | ||||
| typedef struct MetaStack { | typedef struct MetaStack { | ||||
campbellbarton: Why not make this a flag? re-use `SEQ_USE_COLOR_BALANCE` for eg. | |||||
Not Done Inline ActionsWasn't sure what flags were OK to use still - thanks :) spockTheGray: Wasn't sure what flags were OK to use still - thanks :) | |||||
| struct MetaStack *next, *prev; | struct MetaStack *next, *prev; | ||||
| ListBase *oldbasep; | ListBase *oldbasep; | ||||
| Sequence *parseq; | Sequence *parseq; | ||||
| /* the startdisp/enddisp when entering the meta */ | /* the startdisp/enddisp when entering the meta */ | ||||
| int disp_range[2]; | int disp_range[2]; | ||||
| } MetaStack; | } MetaStack; | ||||
| typedef struct Editing { | typedef struct Editing { | ||||
| ▲ Show 20 Lines • Show All 194 Lines • ▼ Show 20 Lines | |||||
| /* seq->flag */ | /* seq->flag */ | ||||
| enum { | enum { | ||||
| SEQ_LEFTSEL = (1 << 1), | SEQ_LEFTSEL = (1 << 1), | ||||
| SEQ_RIGHTSEL = (1 << 2), | SEQ_RIGHTSEL = (1 << 2), | ||||
| SEQ_OVERLAP = (1 << 3), | SEQ_OVERLAP = (1 << 3), | ||||
| SEQ_FILTERY = (1 << 4), | SEQ_FILTERY = (1 << 4), | ||||
| SEQ_MUTE = (1 << 5), | SEQ_MUTE = (1 << 5), | ||||
| #ifdef DNA_DEPRECATED | #ifdef DNA_DEPRECATED | ||||
| SEQ_MAKE_PREMUL = (1 << 6), /* deprecated, used for compatibility code only */ | SEQ_MAKE_PREMUL_DEPRECATED = (1 << 6), /* deprecated, used for compatibility code only */ | ||||
| #endif | #endif | ||||
| SEQ_REVERSE_FRAMES = (1 << 7), | SEQ_REVERSE_FRAMES = (1 << 7), | ||||
| SEQ_IPO_FRAME_LOCKED = (1 << 8), | SEQ_IPO_FRAME_LOCKED = (1 << 8), | ||||
| SEQ_EFFECT_NOT_LOADED = (1 << 9), | SEQ_EFFECT_NOT_LOADED = (1 << 9), | ||||
| SEQ_FLAG_DELETE = (1 << 10), | SEQ_FLAG_DELETE = (1 << 10), | ||||
| SEQ_FLIPX = (1 << 11), | SEQ_FLIPX = (1 << 11), | ||||
| SEQ_FLIPY = (1 << 12), | SEQ_FLIPY = (1 << 12), | ||||
| SEQ_MAKE_FLOAT = (1 << 13), | SEQ_MAKE_FLOAT = (1 << 13), | ||||
| SEQ_LOCK = (1 << 14), | SEQ_LOCK = (1 << 14), | ||||
| SEQ_USE_PROXY = (1 << 15), | SEQ_USE_PROXY = (1 << 15), | ||||
| SEQ_USE_TRANSFORM = (1 << 16), | SEQ_USE_TRANSFORM = (1 << 16), | ||||
| SEQ_USE_CROP = (1 << 17), | SEQ_USE_CROP = (1 << 17), | ||||
| /* SEQ_USE_COLOR_BALANCE = (1 << 18), */ /* DEPRECATED */ | SEQ_FLAG_DEPRECATED_1 = (1 << 18), | ||||
| /* SEQ_USE_PROXY_CUSTOM_DIR = (1 << 19), */ /* DEPRECATED */ | SEQ_FLAG_DEPRECATED_2 = (1 << 19), | ||||
| /* if set, scene strip will override current scene's view render settings */ | |||||
| SEQ_USE_VIEW_RENDER_OVERRIDE = (1 << 20), | |||||
| /* SEQ_USE_PROXY_CUSTOM_FILE = (1 << 21), */ /* DEPRECATED */ | SEQ_FLAG_DEPRECATED_3 = (1 << 21), | ||||
| SEQ_USE_EFFECT_DEFAULT_FADE = (1 << 22), | SEQ_USE_EFFECT_DEFAULT_FADE = (1 << 22), | ||||
| SEQ_USE_LINEAR_MODIFIERS = (1 << 23), | SEQ_USE_LINEAR_MODIFIERS = (1 << 23), | ||||
| /* flags for whether those properties are animated or not */ | /* flags for whether those properties are animated or not */ | ||||
| SEQ_AUDIO_VOLUME_ANIMATED = (1 << 24), | SEQ_AUDIO_VOLUME_ANIMATED = (1 << 24), | ||||
| SEQ_AUDIO_PITCH_ANIMATED = (1 << 25), | SEQ_AUDIO_PITCH_ANIMATED = (1 << 25), | ||||
| SEQ_AUDIO_PAN_ANIMATED = (1 << 26), | SEQ_AUDIO_PAN_ANIMATED = (1 << 26), | ||||
| SEQ_AUDIO_DRAW_WAVEFORM = (1 << 27), | SEQ_AUDIO_DRAW_WAVEFORM = (1 << 27), | ||||
| Show All 13 Lines | enum { | ||||
| SEQ_STORAGE_PROXY_CUSTOM_FILE = (1 << 1), /* store proxy in custom directory */ | SEQ_STORAGE_PROXY_CUSTOM_FILE = (1 << 1), /* store proxy in custom directory */ | ||||
| SEQ_STORAGE_PROXY_CUSTOM_DIR = (1 << 2), /* store proxy in custom file */ | SEQ_STORAGE_PROXY_CUSTOM_DIR = (1 << 2), /* store proxy in custom file */ | ||||
| }; | }; | ||||
| /* convenience define for all selection flags */ | /* convenience define for all selection flags */ | ||||
| #define SEQ_ALLSEL (SELECT + SEQ_LEFTSEL + SEQ_RIGHTSEL) | #define SEQ_ALLSEL (SELECT + SEQ_LEFTSEL + SEQ_RIGHTSEL) | ||||
| /* deprecated, don't use a flag anymore*/ | /* deprecated, don't use a flag anymore*/ | ||||
| /*#define SEQ_ACTIVE 1048576*/ | #define SEQ_ACTIVE_DEPRECATED 1048576 | ||||
| #define SEQ_COLOR_BALANCE_INVERSE_GAIN 1 | #define SEQ_COLOR_BALANCE_INVERSE_GAIN 1 | ||||
| #define SEQ_COLOR_BALANCE_INVERSE_GAMMA 2 | #define SEQ_COLOR_BALANCE_INVERSE_GAMMA 2 | ||||
| #define SEQ_COLOR_BALANCE_INVERSE_LIFT 4 | #define SEQ_COLOR_BALANCE_INVERSE_LIFT 4 | ||||
| /* !!! has to be same as IMB_imbuf.h IMB_PROXY_... and IMB_TC_... */ | /* !!! has to be same as IMB_imbuf.h IMB_PROXY_... and IMB_TC_... */ | ||||
| #define SEQ_PROXY_IMAGE_SIZE_25 1 | #define SEQ_PROXY_IMAGE_SIZE_25 1 | ||||
| Show All 34 Lines | enum { | ||||
| SEQ_TYPE_CROSS = 8, | SEQ_TYPE_CROSS = 8, | ||||
| SEQ_TYPE_ADD = 9, | SEQ_TYPE_ADD = 9, | ||||
| SEQ_TYPE_SUB = 10, | SEQ_TYPE_SUB = 10, | ||||
| SEQ_TYPE_ALPHAOVER = 11, | SEQ_TYPE_ALPHAOVER = 11, | ||||
| SEQ_TYPE_ALPHAUNDER = 12, | SEQ_TYPE_ALPHAUNDER = 12, | ||||
| SEQ_TYPE_GAMCROSS = 13, | SEQ_TYPE_GAMCROSS = 13, | ||||
| SEQ_TYPE_MUL = 14, | SEQ_TYPE_MUL = 14, | ||||
| SEQ_TYPE_OVERDROP = 15, | SEQ_TYPE_OVERDROP = 15, | ||||
| /* SEQ_TYPE_PLUGIN = 24, */ /* Deprecated */ | SEQ_TYPE_DEPRECATED_0 = 24, | ||||
| SEQ_TYPE_WIPE = 25, | SEQ_TYPE_WIPE = 25, | ||||
| SEQ_TYPE_GLOW = 26, | SEQ_TYPE_GLOW = 26, | ||||
| SEQ_TYPE_TRANSFORM = 27, | SEQ_TYPE_TRANSFORM = 27, | ||||
| SEQ_TYPE_COLOR = 28, | SEQ_TYPE_COLOR = 28, | ||||
| SEQ_TYPE_SPEED = 29, | SEQ_TYPE_SPEED = 29, | ||||
| SEQ_TYPE_MULTICAM = 30, | SEQ_TYPE_MULTICAM = 30, | ||||
| SEQ_TYPE_ADJUSTMENT = 31, | SEQ_TYPE_ADJUSTMENT = 31, | ||||
| SEQ_TYPE_GAUSSIAN_BLUR = 40, | SEQ_TYPE_GAUSSIAN_BLUR = 40, | ||||
| ▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines | |||||
Why not make this a flag? re-use SEQ_USE_COLOR_BALANCE for eg.