Blender V4.5
sequencer_add.cc File Reference
#include <cctype>
#include <cstdlib>
#include <cstring>
#include "DNA_sequence_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_listbase.h"
#include "BLI_path_utils.hh"
#include "BLI_string.h"
#include "BLI_utildefines.h"
#include "BLT_translation.hh"
#include "DNA_scene_types.h"
#include "DNA_space_types.h"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_main.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "IMB_imbuf_enums.h"
#include "SEQ_channels.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "RNA_prototypes.hh"
#include "SEQ_add.hh"
#include "SEQ_connect.hh"
#include "SEQ_effects.hh"
#include "SEQ_proxy.hh"
#include "SEQ_select.hh"
#include "SEQ_sequencer.hh"
#include "SEQ_time.hh"
#include "SEQ_transform.hh"
#include "ED_scene.hh"
#include "ED_screen.hh"
#include "ED_sequencer.hh"
#include "UI_interface.hh"
#include "UI_view2d.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "sequencer_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ed::vse::SequencerAddData

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::vse

Macros

#define SEQPROP_STARTFRAME   (1 << 0)
#define SEQPROP_ENDFRAME   (1 << 1)
#define SEQPROP_NOPATHS   (1 << 2)
#define SEQPROP_NOCHAN   (1 << 3)
#define SEQPROP_FIT_METHOD   (1 << 4)
#define SEQPROP_VIEW_TRANSFORM   (1 << 5)
#define SEQPROP_PLAYBACK_RATE   (1 << 6)

Functions

static void blender::ed::vse::sequencer_generic_props__internal (wmOperatorType *ot, int flag)
static void blender::ed::vse::sequencer_generic_invoke_path__internal (bContext *C, wmOperator *op, const char *identifier)
static int blender::ed::vse::find_unlocked_unmuted_channel (const Editing *ed, int channel_index)
static int blender::ed::vse::sequencer_generic_invoke_xy_guess_channel (bContext *C, int type)
static bool blender::ed::vse::have_free_channels (bContext *C, wmOperator *op, int need_channels, const char **r_error_msg)
static void blender::ed::vse::sequencer_file_drop_channel_frame_set (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::ed::vse::sequencer_generic_invoke_xy__internal (bContext *C, wmOperator *op, int flag, int type, const wmEvent *event=nullptr)
static bool blender::ed::vse::load_data_init_from_operator (seq::LoadData *load_data, bContext *C, wmOperator *op)
static void blender::ed::vse::seq_load_apply_generic_options (bContext *C, wmOperator *op, Strip *strip)
static bool blender::ed::vse::seq_load_apply_generic_options_only_test_overlap (bContext *C, wmOperator *op, Strip *strip)
static bool blender::ed::vse::seq_effect_add_properties_poll (const bContext *, wmOperator *op, const PropertyRNA *prop)
static wmOperatorStatus blender::ed::vse::sequencer_add_scene_strip_exec (bContext *C, wmOperator *op)
static void blender::ed::vse::sequencer_disable_one_time_properties (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::vse::sequencer_add_scene_strip_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::ed::vse::SEQUENCER_OT_scene_strip_add (wmOperatorType *ot)
static wmOperatorStatus blender::ed::vse::sequencer_add_scene_strip_new_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::vse::sequencer_add_scene_strip_new_invoke (bContext *C, wmOperator *op, const wmEvent *)
static const EnumPropertyItemblender::ed::vse::strip_new_sequencer_enum_itemf (bContext *C, PointerRNA *, PropertyRNA *, bool *r_free)
void blender::ed::vse::SEQUENCER_OT_scene_strip_add_new (wmOperatorType *ot)
static wmOperatorStatus blender::ed::vse::sequencer_add_movieclip_strip_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::vse::sequencer_add_movieclip_strip_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::ed::vse::SEQUENCER_OT_movieclip_strip_add (wmOperatorType *ot)
static wmOperatorStatus blender::ed::vse::sequencer_add_mask_strip_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::vse::sequencer_add_mask_strip_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::ed::vse::SEQUENCER_OT_mask_strip_add (wmOperatorType *ot)
static void blender::ed::vse::sequencer_add_init (bContext *, wmOperator *op)
static void blender::ed::vse::sequencer_add_cancel (bContext *, wmOperator *op)
static bool blender::ed::vse::sequencer_add_draw_check_fn (PointerRNA *, PropertyRNA *prop, void *)
static IMB_Proxy_Size blender::ed::vse::seq_get_proxy_size_flags (bContext *C)
static void blender::ed::vse::seq_build_proxy (bContext *C, blender::Span< Strip * > movie_strips)
static void blender::ed::vse::sequencer_add_movie_sync_sound_strip (Main *bmain, Scene *scene, Strip *strip_movie, Strip *strip_sound, seq::LoadData *load_data)
static void blender::ed::vse::sequencer_add_movie_multiple_strips (bContext *C, wmOperator *op, seq::LoadData *load_data, blender::VectorSet< Strip * > &r_movie_strips)
static bool blender::ed::vse::sequencer_add_movie_single_strip (bContext *C, wmOperator *op, seq::LoadData *load_data, blender::VectorSet< Strip * > &r_movie_strips)
static wmOperatorStatus blender::ed::vse::sequencer_add_movie_strip_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::vse::sequencer_add_movie_strip_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::ed::vse::sequencer_add_draw (bContext *, wmOperator *op)
void blender::ed::vse::SEQUENCER_OT_movie_strip_add (wmOperatorType *ot)
static void blender::ed::vse::sequencer_add_sound_multiple_strips (bContext *C, wmOperator *op, seq::LoadData *load_data)
static bool blender::ed::vse::sequencer_add_sound_single_strip (bContext *C, wmOperator *op, seq::LoadData *load_data)
static wmOperatorStatus blender::ed::vse::sequencer_add_sound_strip_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::vse::sequencer_add_sound_strip_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::ed::vse::SEQUENCER_OT_sound_strip_add (wmOperatorType *ot)
int blender::ed::vse::sequencer_image_seq_get_minmax_frame (wmOperator *op, int sfra, int *r_minframe, int *r_numdigits)
void blender::ed::vse::sequencer_image_seq_reserve_frames (wmOperator *op, StripElem *se, int len, int minframe, int numdigits)
static int blender::ed::vse::sequencer_add_image_strip_calculate_length (wmOperator *op, const int start_frame, int *minframe, int *numdigits)
static void blender::ed::vse::sequencer_add_image_strip_load_files (wmOperator *op, Scene *scene, Strip *strip, seq::LoadData *load_data, const int minframe, const int numdigits)
static wmOperatorStatus blender::ed::vse::sequencer_add_image_strip_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::vse::sequencer_add_image_strip_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::ed::vse::SEQUENCER_OT_image_strip_add (wmOperatorType *ot)
static wmOperatorStatus blender::ed::vse::sequencer_add_effect_strip_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::vse::sequencer_add_effect_strip_invoke (bContext *C, wmOperator *op, const wmEvent *)
static std::string blender::ed::vse::sequencer_add_effect_strip_get_description (bContext *, wmOperatorType *, PointerRNA *ptr)
void blender::ed::vse::SEQUENCER_OT_effect_strip_add (wmOperatorType *ot)

Variables

static const EnumPropertyItem blender::ed::vse::scale_fit_methods []
static EnumPropertyItem blender::ed::vse::strip_new_scene_items []

Macro Definition Documentation

◆ SEQPROP_ENDFRAME

◆ SEQPROP_FIT_METHOD

◆ SEQPROP_NOCHAN

#define SEQPROP_NOCHAN   (1 << 3)

◆ SEQPROP_NOPATHS

◆ SEQPROP_PLAYBACK_RATE

#define SEQPROP_PLAYBACK_RATE   (1 << 6)

◆ SEQPROP_STARTFRAME

◆ SEQPROP_VIEW_TRANSFORM