Changeset View
Changeset View
Standalone View
Standalone View
source/blender/sequencer/SEQ_add.h
| Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | struct { | ||||
| struct Sequence *seq2; | struct Sequence *seq2; | ||||
| struct Sequence *seq3; | struct Sequence *seq3; | ||||
| } effect; /* Only for effect strips. */ | } effect; /* Only for effect strips. */ | ||||
| eSeqLoadFlags flags; | eSeqLoadFlags flags; | ||||
| eSeqImageFitMethod fit_method; | eSeqImageFitMethod fit_method; | ||||
| bool use_multiview; | bool use_multiview; | ||||
| char views_format; | char views_format; | ||||
| struct Stereo3dFormat *stereo3d_format; | struct Stereo3dFormat *stereo3d_format; | ||||
| bool allow_invalid_file; /* Used by RNA API to create placeholder strips. */ | bool allow_invalid_file; /* Used by RNA API to create placeholder strips. */ | ||||
| double r_video_stream_start; /* For AV synchronization. Set by `SEQ_add_movie_strip`. */ | |||||
| } SeqLoadData; | } SeqLoadData; | ||||
| /** | /** | ||||
| * Initialize common SeqLoadData members | * Initialize common SeqLoadData members | ||||
| * | * | ||||
| * \param load_data: SeqLoadData to be initialized | * \param load_data: SeqLoadData to be initialized | ||||
| * \param name: strip name (can be NULL) | * \param name: strip name (can be NULL) | ||||
| * \param path: path to file that is used as strip input (can be NULL) | * \param path: path to file that is used as strip input (can be NULL) | ||||
| Show All 27 Lines | |||||
| * \param scene: Scene where strips will be added | * \param scene: Scene where strips will be added | ||||
| * \param seqbase: ListBase where strips will be added | * \param seqbase: ListBase where strips will be added | ||||
| * \param load_data: SeqLoadData with information necessary to create strip | * \param load_data: SeqLoadData with information necessary to create strip | ||||
| * \return created strip | * \return created strip | ||||
| */ | */ | ||||
| struct Sequence *SEQ_add_sound_strip(struct Main *bmain, | struct Sequence *SEQ_add_sound_strip(struct Main *bmain, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct ListBase *seqbase, | struct ListBase *seqbase, | ||||
| struct SeqLoadData *load_data, | struct SeqLoadData *load_data); | ||||
| double audio_offset); | |||||
| /** | /** | ||||
| * Add meta strip. | * Add meta strip. | ||||
| * | * | ||||
| * \param scene: Scene where strips will be added | * \param scene: Scene where strips will be added | ||||
| * \param seqbase: ListBase where strips will be added | * \param seqbase: ListBase where strips will be added | ||||
| * \param load_data: SeqLoadData with information necessary to create strip | * \param load_data: SeqLoadData with information necessary to create strip | ||||
| * \return created strip | * \return created strip | ||||
| */ | */ | ||||
| struct Sequence *SEQ_add_meta_strip(struct Scene *scene, | struct Sequence *SEQ_add_meta_strip(struct Scene *scene, | ||||
| struct ListBase *seqbase, | struct ListBase *seqbase, | ||||
| struct SeqLoadData *load_data); | struct SeqLoadData *load_data); | ||||
| /** | /** | ||||
| * Add movie strip. | * Add movie strip. | ||||
| * | * | ||||
| * \param bmain: Main reference | * \param bmain: Main reference | ||||
| * \param scene: Scene where strips will be added | * \param scene: Scene where strips will be added | ||||
| * \param seqbase: ListBase where strips will be added | * \param seqbase: ListBase where strips will be added | ||||
| * \param load_data: SeqLoadData with information necessary to create strip | * \param load_data: SeqLoadData with information necessary to create strip | ||||
| * \return created strip | * \return created strip | ||||
| */ | */ | ||||
| struct Sequence *SEQ_add_movie_strip(struct Main *bmain, | struct Sequence *SEQ_add_movie_strip(struct Main *bmain, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct ListBase *seqbase, | struct ListBase *seqbase, | ||||
| struct SeqLoadData *load_data, | struct SeqLoadData *load_data); | ||||
| double *r_start_offset); | |||||
| /** | /** | ||||
| * Add scene strip. | * Add scene strip. | ||||
| * | * | ||||
| * \param scene: Scene where strips will be added | * \param scene: Scene where strips will be added | ||||
| * \param seqbase: ListBase where strips will be added | * \param seqbase: ListBase where strips will be added | ||||
| * \param load_data: SeqLoadData with information necessary to create strip | * \param load_data: SeqLoadData with information necessary to create strip | ||||
| * \return created strip | * \return created strip | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines | |||||