Blender V5.0
sequencer_add.cc File Reference
#include <cctype>
#include <cstdlib>
#include <cstring>
#include "AS_asset_representation.hh"
#include "DNA_sequence_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_listbase.h"
#include "BLI_math_base.h"
#include "BLI_path_utils.hh"
#include "BLI_string.h"
#include "BLI_string_utf8.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_lib_id.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_asset.hh"
#include "ED_asset_menu_utils.hh"
#include "ED_image.hh"
#include "ED_scene.hh"
#include "ED_screen.hh"
#include "ED_sequencer.hh"
#include "ED_time_scrub_ui.hh"
#include "UI_interface.hh"
#include "UI_interface_layout.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_LENGTH   (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)
#define SEQPROP_MOVE   (1 << 7)

Functions

Generic Add Functions
static void blender::ed::vse::sequencer_add_init (bContext *, wmOperator *op)
static void blender::ed::vse::sequencer_add_free (bContext *, wmOperator *op)
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 bool blender::ed::vse::op_invoked_by_drop_event (const wmOperator *op)
static bool blender::ed::vse::can_move_strips (const wmOperator *op)
static void blender::ed::vse::sequencer_generic_invoke_xy__internal (bContext *C, wmOperator *op, int flag, int type, const wmEvent *event)
static void blender::ed::vse::move_strips (bContext *C, wmOperator *op)
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 void blender::ed::vse::sequencer_disable_one_time_properties (bContext *C, wmOperator *op)
Add Scene Strip
static wmOperatorStatus blender::ed::vse::sequencer_add_scene_strip_exec (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)
Add Scene Strip From Scene Asset
static Sceneblender::ed::vse::sequencer_add_scene_asset (const bContext &C, const asset_system::AssetRepresentation &asset, ReportList &)
static wmOperatorStatus blender::ed::vse::sequencer_add_scene_asset_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static std::string blender::ed::vse::sequencer_add_scene_asset_get_description (bContext *C, wmOperatorType *, PointerRNA *ptr)
void blender::ed::vse::SEQUENCER_OT_add_scene_strip_from_scene_asset (wmOperatorType *ot)
Add Movieclip Strip
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)
Add Mask Strip
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)
Add Movie Strip
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 bool blender::ed::vse::sequencer_add_draw_check_fn (PointerRNA *ptr, PropertyRNA *prop, void *)
static void blender::ed::vse::sequencer_add_draw (bContext *, wmOperator *op)
void blender::ed::vse::SEQUENCER_OT_movie_strip_add (wmOperatorType *ot)
Add Sound Strip
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)
Add Image Strip
int blender::ed::vse::sequencer_image_strip_get_minmax_frame (wmOperator *op, int sfra, int *r_minframe, int *r_numdigits)
void blender::ed::vse::sequencer_image_strip_reserve_frames (wmOperator *op, StripElem *se, int len, int minframe, int numdigits)
static void blender::ed::vse::frame_filename_set (char *dst, size_t dst_len, const char *filename_stripped, const int frame, const int numdigits, const char *ext)
static void blender::ed::vse::sequencer_add_image_strip_load_files (wmOperator *op, Scene *scene, Strip *strip, seq::LoadData *load_data, const ImageFrameRange *range)
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)
Add Effect Strip
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 *event)
static bool blender::ed::vse::sequencer_add_effect_strip_poll_property (const bContext *, wmOperator *op, const PropertyRNA *prop)
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)

Add Scene Strip With New Scene

static EnumPropertyItem blender::ed::vse::strip_new_scene_items []
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 *event)
void blender::ed::vse::SEQUENCER_OT_scene_strip_add_new (wmOperatorType *ot)

Macro Definition Documentation

◆ SEQPROP_FIT_METHOD

◆ SEQPROP_LENGTH

◆ SEQPROP_MOVE

◆ SEQPROP_NOCHAN

#define SEQPROP_NOCHAN   (1 << 3)

◆ SEQPROP_NOPATHS

◆ SEQPROP_PLAYBACK_RATE

#define SEQPROP_PLAYBACK_RATE   (1 << 6)

◆ SEQPROP_STARTFRAME

◆ SEQPROP_VIEW_TRANSFORM