Blender V5.3
blender::seq Namespace Reference

Classes

struct  AddEffectOp
struct  AlphaOverEffectOp
struct  AlphaUnderEffectOp
struct  AnimationBackup
struct  AreaLuminance
struct  AvgLogLum
struct  BlendModeEffectOp
struct  BrightContrastApplyOp
struct  CharInfo
struct  ColorBalanceApplyOp
class  CompositorCache
class  CompositorContext
class  CompositorEffectContext
class  CompositorModifierContext
struct  CrossEffectOp
struct  CurvesApplyOp
struct  EditingRuntime
struct  EffectHandle
struct  FinalImageCache
struct  GammaCrossEffectOp
struct  GapInfo
struct  HueCorrectApplyOp
struct  IntraFrameCache
struct  JFACoord
struct  LineInfo
struct  LoadData
struct  MaskApplyOp
struct  MaskSamplerDirectByte
struct  MaskSamplerDirectFloat
struct  MaskSamplerNone
struct  MaskSamplerTransformedByte
struct  MaskSamplerTransformedFloat
struct  MediaPresence
struct  ModifierApplyContext
class  MovieReaderAccessor
struct  MovieReaderCache
struct  MovieReaderCacheEntry
struct  MovieReaderDeleter
struct  MovieReaderKey
struct  MulEffectOp
struct  MultiViewPrefixVars
struct  OpaqueQuad
struct  OpaqueQuadTracker
struct  PrefetchJob
struct  PreviewCache
struct  PreviewCacheItem
struct  ProxyBuildContext
struct  ProxyJob
struct  RenderData
class  RetimingRange
class  RetimingRangeData
struct  RippleRange
struct  SceneStripSavedState
struct  SeqFontMap
struct  SeqRenderState
struct  SeqResult
struct  SoundModifierWorkerInfo
struct  SourceImageCache
struct  StripDuplicateContext
struct  StripImageMap
struct  StripLookup
struct  StripModifierDataRuntime
struct  StripModifierTypeInfo
struct  StripRuntime
struct  StripScreenQuad
struct  StripUniqueInfo
struct  SubEffectOp
struct  TextVarsRuntime
class  ThumbGenerationJob
struct  ThumbnailCache
struct  TonemapApplyOp
struct  WhiteBalanceApplyOp
struct  WipeData

Typedefs

using PanelDrawFn = void (*)(const bContext *, Panel *)
using MovieReaderPtr = std::unique_ptr<MovieReader, MovieReaderDeleter>
using ForEachFunc = bool (*)(Strip *strip, void *user_data)
using DrawViewFn

Enumerations

enum class  StripEarlyOut { NoInput = -1 , DoEffect = 0 , UseInput1 = 1 , UseInput2 = 2 }
enum  eLoadFlags { SEQ_LOAD_SOUND_CACHE = (1 << 1) , SEQ_LOAD_SOUND_MONO = (1 << 2) , SEQ_LOAD_MOVIE_SYNC_FPS = (1 << 3) , SEQ_LOAD_SET_VIEW_TRANSFORM = (1 << 4) }
enum  eSplitMethod { SPLIT_SOFT , SPLIT_HARD }
enum class  CacheCleanup {
  FinalImage = (1 << 0) , SourceImage = (1 << 1) , Thumbnails = (1 << 2) , IntraFrame = (1 << 3) ,
  All = FinalImage | SourceImage | Thumbnails | IntraFrame , FinalAndIntra = FinalImage | IntraFrame
}
enum class  GpuContextState { Unsupported , Success , AlreadyActive }
enum class  Side : int {
  Mouse = -1 , None = 0 , Left , Right ,
  Both , NoChange
}
enum class  StripDuplicate : uint8_t { Selected = 0 , UniqueName = (1 << 0) , Data = (1 << 1) , All = (1 << 3) }
enum class  StripRuntimeFlag {
  None = 0 , ClampedLH = (1 << 0) , ClampedRH = (1 << 1) , Overlap = (1 << 2) ,
  MarkForDelete = (1 << 4) , IgnoreChannelLock = (1 << 5) , ShowOffsets = (1 << 6)
}

Functions

bool animation_keyframes_exist (const Scene *scene)
bool animation_drivers_exist (Scene *scene)
bool fcurve_matches (const Strip &strip, const FCurve &fcurve)
void offset_animdata (const Scene *scene, Strip *strip, float ofs)
void free_animdata (Scene *scene, Strip *strip)
void animation_backup_original (Scene *scene, AnimationBackup *backup)
void animation_restore_original (Scene *scene, AnimationBackup *backup)
static void strip_animation_duplicate (Strip *strip, animrig::Action &dst, const animrig::slot_handle_t dst_slot_handle, AnimationBackup *src)
static void strip_drivers_duplicate (Strip *strip, AnimData *dst, AnimationBackup *src)
void animation_duplicate_backup_to_scene (Scene *scene, Strip *strip, AnimationBackup *backup)
static FinalImageCache * ensure_final_image_cache (Scene *scene)
static FinalImageCache * query_final_image_cache (const Scene *scene)
ImBuf * final_image_cache_get (Scene *scene, float timeline_frame, int view_id, int display_channel, int2 image_size, bool is_render)
void final_image_cache_put (Scene *scene, float timeline_frame, int view_id, int display_channel, int2 image_size, bool is_render, ImBuf *image)
void final_image_cache_invalidate_frame_range (Scene *scene, const float timeline_frame_start, const float timeline_frame_end)
void final_image_cache_clear (Scene *scene)
void final_image_cache_destroy (Scene *scene)
void final_image_cache_iterate (Scene *scene, void *userdata, void callback_iter(void *userdata, int timeline_frame))
size_t final_image_cache_calc_memory_size (const Scene *scene)
size_t final_image_cache_get_image_count (const Scene *scene)
bool final_image_cache_evict (Scene *scene)
static IntraFrameCache * query_intra_frame_cache (Scene *scene)
void intra_frame_cache_invalidate (Scene *scene)
void intra_frame_cache_invalidate (Scene *scene, const Strip *strip)
SeqResult intra_frame_cache_get_preprocessed (Scene *scene, const Strip *strip)
SeqResult intra_frame_cache_get_composite (Scene *scene, const Strip *strip)
void intra_frame_cache_put_preprocessed (Scene *scene, const Strip *strip, const SeqResult &result)
void intra_frame_cache_put_composite (Scene *scene, const Strip *strip, const SeqResult &result)
void intra_frame_cache_destroy (Scene *scene)
void intra_frame_cache_set_cur_frame (Scene *scene, float frame, int view_id, int width, int height, bool is_render)
static uint64_t current_owner_get ()
static void movie_reader_source_filepath_get (const Scene &scene, const Strip &strip, char r_filepath[FILE_MAX])
static MovieReaderKey movie_reader_key_get (const Scene &scene, const Strip &strip, const std::optional< int > view_id)
MovieReaderAccessor movie_reader_cache_acquire (Scene &cache_scene, const Scene &key_scene, const Strip &strip, const int frame_index)
MovieReaderAccessor movie_reader_cache_acquire_view (Scene &cache_scene, const Scene &key_scene, const Strip &strip, const int view_id, const int frame_index)
static MovieReaderAccessor movie_reader_cache_acquire_any_base (const Scene &scene, const Strip &strip)
static MovieReaderAccessor movie_reader_cache_acquire_any_view (const Scene &scene, const Strip &strip, const int view_id)
MovieReaderAccessor movie_reader_cache_acquire_any (const Scene &scene, const Strip &strip)
bool movie_reader_cache_can_produce_frames (const Scene &scene, const Strip &strip)
MovieReaderCache * movie_reader_cache_create ()
void movie_reader_cache_destroy (MovieReaderCache *cache)
void movie_reader_cache_timestamp_bump ()
void movie_reader_cache_invalidate (Scene &scene, const Strip &strip)
void movie_reader_cache_clear (Scene &scene)
static PreviewCache * query_preview_cache (Scene *scene)
static PreviewCache * ensure_preview_cache (Scene *scene)
gpu::Texture * preview_cache_get_gpu_texture (Scene *scene, int timeline_frame, int view_id, int display_channel, int width, int height)
gpu::Texture * preview_cache_get_gpu_scope_texture (Scene *scene, int timeline_frame, int view_id, int display_channel, int width, int height)
static PreviewCacheItem * find_slot (PreviewCache *cache, int timeline_frame, int view_id, int display_channel, int width, int height)
void preview_cache_set_gpu_texture (Scene *scene, int timeline_frame, int view_id, int display_channel, gpu::Texture *texture)
void preview_cache_set_gpu_scope_texture (Scene *scene, int timeline_frame, int view_id, int display_channel, gpu::Texture *texture)
void preview_cache_invalidate (Scene *scene)
void preview_cache_destroy (Scene *scene)
static SourceImageCache * ensure_source_image_cache (Scene *scene)
static SourceImageCache * query_source_image_cache (const Scene *scene)
static float give_cache_frame_index (const Scene *scene, const Strip *strip, float timeline_frame)
static SourceImageCache::Key get_key (const RenderData *context, const Scene *scene, const Strip *strip, float timeline_frame)
SeqResult source_image_cache_get (const RenderData *context, const Strip *strip, float timeline_frame)
void source_image_cache_put (const RenderData *context, const Strip *strip, float timeline_frame, const SeqResult &image)
void source_image_cache_invalidate_strip (Scene *scene, const Strip *strip)
void source_image_cache_clear (Scene *scene)
void source_image_cache_destroy (Scene *scene)
void source_image_cache_iterate (Scene *scene, void *userdata, void callback_iter(void *userdata, const Strip *strip, int timeline_frame))
size_t source_image_cache_calc_memory_size (const Scene *scene)
size_t source_image_cache_get_image_count (const Scene *scene)
bool source_image_cache_evict (Scene *scene)
static void entry_add_or_replace_frame (ThumbnailCache::SourceEntry &entry, int frame_index, int stream_index, ImBuf *thumb, int64_t used_at)
static ThumbnailCache * ensure_thumbnail_cache (Scene *scene)
static ThumbnailCache * query_thumbnail_cache (Scene *scene)
void image_size_to_thumb_size (int &r_width, int &r_height, int size)
bool strip_can_have_thumbnail (const Scene *scene, const Strip *strip)
static ThumbnailCache::SourceKey get_key_from_scene_strip (const Strip *strip)
static ThumbnailCache::SourceKey get_key_from_strip (const Scene *scene, const Strip *strip, float timeline_frame)
static ImBuf * make_thumb_for_image (const Scene *scene, const ThumbnailCache::Request &request)
static void scale_to_thumbnail_size (ImBuf *ibuf)
static ImBuf * render_mask_thumb (Mask *mask, float frame_index)
static ID * get_id_copy (ThumbnailCache *cache, const ThumbnailCache::Request &request, ID *&cur_id_copy, uint64_t &cur_source_generation)
static ImBuf * query_thumbnail (ThumbnailCache &cache, const ThumbnailCache::SourceKey &key, int frame_index, float timeline_frame, const bContext *C, const Strip *strip)
ImBuf * thumbnail_cache_get (const bContext *C, Scene *scene, const Strip *strip, float timeline_frame)
bool thumbnail_cache_has_pending_scene_requests (Scene *scene)
bool thumbnail_cache_update_scene_thumbs (const bContext *C, Scene *scene)
void thumbnail_cache_invalidate_strip (Scene *scene, const Strip *strip)
void thumbnail_cache_maintain_capacity (Scene *scene)
void thumbnail_cache_discard_requests_outside (Scene *scene, const rctf &rect)
void thumbnail_cache_clear (Scene *scene)
void thumbnail_cache_destroy (Scene *scene)
ListBaseT< SeqTimelineChannel > * channels_displayed_get (const Editing *ed)
void channels_ensure (ListBaseT< SeqTimelineChannel > *channels)
void channels_duplicate (ListBaseT< SeqTimelineChannel > *channels_dst, ListBaseT< SeqTimelineChannel > *channels_src)
void channels_free (ListBaseT< SeqTimelineChannel > *channels)
SeqTimelineChannel * channel_get_by_index (const ListBaseT< SeqTimelineChannel > *channels, const int channel_index)
ListBaseT< SeqTimelineChannel > * get_channels_by_strip (Editing *ed, const Strip *strip)
template<typename T>
static void set_float_array (PointerRNA *input_props_ptr, compositor::Result &result)
template<typename T>
static void set_int_array (PointerRNA *input_props_ptr, compositor::Result &result)
static void set_single_input_from_rna_value (PointerRNA *input_props_ptr, const eNodeSocketDatatype socket_type, compositor::Result &result, const std::optional< int > dimensions)
static std::optional< int > get_socket_dimension (const bNodeTreeInterfaceSocket *socket, const eNodeSocketDatatype socket_type)
void set_input_result_from_rna (PointerRNA &inputs_ptr, const bNodeTreeInterfaceSocket &socket, const eNodeSocketDatatype socket_type, compositor::Result &result)
static SeqResult do_add_effect (const RenderData *context, SeqRenderState *, Strip *, float, float fac, const SeqResult &src1, const SeqResult &src2)
static SeqResult do_sub_effect (const RenderData *context, SeqRenderState *, Strip *, float, float fac, const SeqResult &src1, const SeqResult &src2)
static SeqResult do_mul_effect (const RenderData *context, SeqRenderState *, Strip *, float, float fac, const SeqResult &src1, const SeqResult &src2)
void add_effect_get_handle (EffectHandle &rval)
void sub_effect_get_handle (EffectHandle &rval)
void mul_effect_get_handle (EffectHandle &rval)
static StripEarlyOut early_out_adjustment (const Strip *, float)
static SeqResult do_adjustment_impl (const RenderData *context, SeqRenderState *state, Strip *strip, float timeline_frame)
static SeqResult do_adjustment (const RenderData *context, SeqRenderState *state, Strip *strip, float timeline_frame, float, const SeqResult &, const SeqResult &)
void adjustment_effect_get_handle (EffectHandle &rval)
static void init_alpha_over_or_under (Strip *strip)
static bool alpha_opaque (uchar alpha)
static bool alpha_opaque (float alpha)
static SeqResult do_alphaover_effect (const RenderData *context, SeqRenderState *, Strip *, float, float fac, const SeqResult &src1, const SeqResult &src2)
static SeqResult do_alphaunder_effect (const RenderData *context, SeqRenderState *, Strip *, float, float fac, const SeqResult &src1, const SeqResult &src2)
template<typename T, typename Func>
static void apply_blend_function (float fac, int64_t size, const T *src1, const T *src2, T *dst, Func blend_function)
static void do_blend_effect_float (float fac, int64_t size, const float *rect1, const float *rect2, StripBlendMode btype, float *out)
static void do_blend_effect_byte (float fac, int64_t size, const uchar *rect1, const uchar *rect2, StripBlendMode btype, uchar *out)
static SeqResult do_blend_mode_effect (const RenderData *context, SeqRenderState *, Strip *strip, float, float fac, const SeqResult &src1, const SeqResult &src2)
static void init_colormix_effect (Strip *strip)
static void free_colormix_effect (Strip *strip, const bool)
static SeqResult do_colormix_effect (const RenderData *context, SeqRenderState *, Strip *strip, float, float, const SeqResult &src1, const SeqResult &src2)
void blend_mode_effect_get_handle (EffectHandle &rval)
void color_mix_effect_get_handle (EffectHandle &rval)
void alpha_over_effect_get_handle (EffectHandle &rval)
void alpha_under_effect_get_handle (EffectHandle &rval)
static SeqResult do_compositor_effect (const RenderData *context, SeqRenderState *, Strip *strip, float, float fac, const SeqResult &src1, const SeqResult &src2)
static void init_compositor_effect (Strip *strip)
static void free_compositor_effect (Strip *strip, const bool)
static void copy_compositor_effect (Strip *dst, const Strip *src, const int flag)
static StripEarlyOut early_out_compositor (const Strip *strip, float)
void compositor_effect_nodes_update_interface (Main &bmain, Scene &sequencer_scene, Strip &strip)
void compositor_effect_nodes_input_usages (const Scene &sequencer_scene, Strip &strip, Vector< bool > &r_used, Vector< bool > &r_visible)
void compositor_effect_get_handle (EffectHandle &rval)
static SeqResult do_cross_effect (const RenderData *context, SeqRenderState *, Strip *, float, float fac, const SeqResult &src1, const SeqResult &src2)
static float gammaCorrect (float c)
static float invGammaCorrect (float c)
static SeqResult do_gammacross_effect (const RenderData *context, SeqRenderState *, Strip *, float, float fac, const SeqResult &src1, const SeqResult &src2)
void cross_effect_get_handle (EffectHandle &rval)
void gamma_cross_effect_get_handle (EffectHandle &rval)
static void init_gaussian_blur_effect (Strip *strip)
static void free_gaussian_blur_effect (Strip *strip, const bool)
static StripEarlyOut early_out_gaussian_blur (const Strip *strip, float)
template<typename T>
static void gaussian_blur_x (const Span< float > gaussian, int half_size, int start_line, int width, int height, int, const T *rect, T *dst)
template<typename T>
static void gaussian_blur_y (const Span< float > gaussian, int half_size, int start_line, int width, int height, int frame_height, const T *rect, T *dst)
static SeqResult do_gaussian_blur_effect (const RenderData *context, SeqRenderState *, Strip *strip, float, float, const SeqResult &ibuf1, const SeqResult &)
void gaussian_blur_effect_get_handle (EffectHandle &rval)
static void glow_blur_bitmap (const float4 *src, float4 *map, int width, int height, float blur, int quality)
static void blur_isolate_highlights (const float4 *in, float4 *out, int width, int height, float threshold, float boost, float clamp)
static void init_glow_effect (Strip *strip)
static void free_glow_effect (Strip *strip, const bool)
static void do_glow_effect_byte (Strip *strip, int render_size, float fac, int x, int y, const uchar *rect1, const uchar *, uchar *out)
static void do_glow_effect_float (Strip *strip, int render_size, float fac, int x, int y, const float *rect1, const float *, float *out)
static SeqResult do_glow_effect (const RenderData *context, SeqRenderState *, Strip *strip, float, float fac, const SeqResult &ibuf1, const SeqResult &)
void glow_effect_get_handle (EffectHandle &rval)
static StripEarlyOut early_out_multicam (const Strip *, float)
static SeqResult do_multicam (const RenderData *context, SeqRenderState *state, Strip *strip, float timeline_frame, float, const SeqResult &, const SeqResult &)
void multi_camera_effect_get_handle (EffectHandle &rval)
static void init_solid_color (Strip *strip)
static void free_solid_color (Strip *strip, const bool)
static StripEarlyOut early_out_color (const Strip *, float)
static SeqResult do_solid_color (const RenderData *, SeqRenderState *, Strip *strip, float, float, const SeqResult &, const SeqResult &)
void solid_color_effect_get_handle (EffectHandle &rval)
static void init_speed_effect (Strip *strip)
static void free_speed_effect (Strip *strip, const bool)
static void copy_speed_effect (Strip *dst, const Strip *src, const int)
static StripEarlyOut early_out_speed (const Strip *, float)
static FCurve * strip_effect_speed_speed_factor_curve_get (Scene *scene, Strip *strip)
void strip_effect_speed_rebuild_map (Scene *scene, Strip *strip)
static void strip_effect_speed_frame_map_ensure (Scene *scene, Strip *strip)
float strip_speed_effect_target_frame_get (Scene *scene, Strip *strip_speed, float timeline_frame, int input)
static float speed_effect_interpolation_ratio_get (Scene *scene, Strip *strip_speed, float timeline_frame)
static SeqResult do_speed_effect (const RenderData *context, SeqRenderState *state, Strip *strip, float timeline_frame, float fac, const SeqResult &ibuf1, const SeqResult &ibuf2)
void speed_effect_get_handle (EffectHandle &rval)
std::recursive_mutex & text_runtime_mutex_get ()
void fontmap_clear ()
static int strip_load_font_file (const std::string &path)
static int strip_load_font_mem (const std::string &name, const uchar *data, int data_size)
static void strip_unload_font (int fontid)
static float calc_wipe_band (float dist, float inv_width)
static float calc_wipe_blend (const WipeData *data, int x, int y)
static void init_wipe_effect (Strip *strip)
static void free_wipe_effect (Strip *strip, const bool)
template<typename T>
static void do_wipe_effect (const Strip *strip, float fac, int width, int height, const T *rect1, const T *rect2, T *out)
static SeqResult do_wipe_effect (const RenderData *context, SeqRenderState *, Strip *strip, float, float fac, const SeqResult &ibuf1, const SeqResult &ibuf2)
void wipe_effect_get_handle (EffectHandle &rval)
SeqResult prepare_effect_imbufs (const RenderData *context, const SeqResult &ibuf1, const SeqResult &ibuf2, bool uninitialized_pixels)
Array< float > make_gaussian_blur_kernel (float rad, int size)
static void init_noop (Strip *)
static void copy_effect_default (Strip *dst, const Strip *src, const int)
static StripEarlyOut early_out_noop (const Strip *, float)
StripEarlyOut early_out_fade (const Strip *, float fac)
StripEarlyOut early_out_mul_input2 (const Strip *, float fac)
StripEarlyOut early_out_mul_input1 (const Strip *, float fac)
void effect_ensure_initialized (Strip *strip)
void effect_free (Strip *strip)
EffectHandle effect_handle_get (StripType strip_type)
static EffectHandle effect_handle_for_blend_mode_get (StripBlendMode blend)
EffectHandle strip_effect_handle_get (Strip *strip)
EffectHandle strip_blend_mode_handle_get (Strip *strip)
static float transition_fader_calc (const Scene *scene, const Strip *strip, float timeline_frame)
float effect_fader_calc (Scene *scene, Strip *strip, float timeline_frame, const bool is_current_frame)
int effect_type_get_min_num_inputs (StripType type)
bool strip_type_is_effect (StripType type)
bool effect_is_transition (StripType type)
float4 load_premul_pixel (const uchar *ptr)
float4 load_premul_pixel (const float *ptr)
void store_premul_pixel (const float4 &pix, uchar *dst)
void store_premul_pixel (const float4 &pix, float *dst)
void transform_effect_get_handle (EffectHandle &rval)
template<typename OpT>
static void apply_effect_op (const OpT &op, const ImBuf *src1, const ImBuf *src2, ImBuf *dst)
static bool strip_for_each_recursive (ListBaseT< Strip > *seqbase, ForEachFunc callback, void *user_data)
static bool strip_for_each_recursive (ListBaseT< Strip > *seqbase, FunctionRef< bool(Strip *)> callback)
void foreach_strip (ListBaseT< Strip > *seqbase, ForEachFunc callback, void *user_data)
void foreach_strip (ListBaseT< Strip > *seqbase, FunctionRef< bool(Strip *)> callback)
static void query_all_strips_recursive (const ListBaseT< Strip > *seqbase, VectorSet< Strip * > &strips)
static void query_strips_recursive_at_frame (const Scene *scene, const ListBaseT< Strip > *seqbase, const int timeline_frame, VectorSet< Strip * > &strips)
static VectorSet< Strip * > query_strips_at_frame (const Scene *scene, ListBaseT< Strip > *seqbase, const int timeline_frame)
static void collection_filter_channel_up_to_incl (VectorSet< Strip * > &strip_stack, const int channel)
static void collection_filter_rendered_strips (VectorSet< Strip * > &strip_stack, ListBaseT< SeqTimelineChannel > *channels)
static bool check_sound_media_missing (const bSound *sound)
static bool check_media_missing (const Scene *scene, const Strip *strip)
static MediaPresence * get_media_presence_cache (Scene *scene)
bool media_presence_is_missing (Scene *scene, const Strip *strip)
void media_presence_set_missing (Scene *scene, const Strip *strip, bool missing)
void media_presence_invalidate_strip (Scene *scene, const Strip *strip)
void media_presence_invalidate_sound (Scene *scene, const bSound *sound)
void media_presence_free (Scene *scene)
static void brightcontrast_apply (ModifierApplyContext &context, StripModifierData *smd)
static void brightcontrast_panel_draw (const bContext *C, Panel *panel)
static void brightcontrast_register (ARegionType *region_type)
static float color_balance_lgg (float in, const float lift, const float gain, const float gamma, const float mul)
static float color_balance_sop (float in, const float slope, const float offset, const float power, float mul)
static void make_cb_table_lgg (float lift, float gain, float gamma, float mul, float r_table[CB_TABLE_SIZE])
static void make_cb_table_sop (float slope, float offset, float power, float mul, float r_table[CB_TABLE_SIZE])
static void colorBalance_init_data (StripModifierData *smd)
static void colorBalance_apply (ModifierApplyContext &context, StripModifierData *smd)
static void colorBalance_panel_draw (const bContext *C, Panel *panel)
static void colorBalance_register (ARegionType *region_type)
void compositor_modifier_nodes_update_interface (Main &bmain, Scene &sequencer_scene, SequencerCompositorModifierData &cmd)
static void compositor_modifier_init_data (StripModifierData *strip_modifier_data)
static void compositor_modifier_apply (ModifierApplyContext &context, StripModifierData *strip_modifier_data)
static PointerRNA * modifier_panel_get_property_pointers (Panel *panel)
static void compositor_modifier_panel_draw (const bContext *C, Panel *panel)
static void compositor_modifier_register (ARegionType *region_type)
static void curves_init_data (StripModifierData *smd)
static void curves_free_data (StripModifierData *smd)
static void curves_copy_data (StripModifierData *target, StripModifierData *smd)
static void curves_apply (ModifierApplyContext &context, StripModifierData *smd)
static void curves_panel_draw (const bContext *C, Panel *panel)
static void curves_register (ARegionType *region_type)
static void curves_write (BlendWriter *writer, const StripModifierData *smd)
static void curves_read (BlendDataReader *reader, StripModifierData *smd)
static void hue_correct_init_data (StripModifierData *smd)
static void hue_correct_free_data (StripModifierData *smd)
static void hue_correct_copy_data (StripModifierData *target, StripModifierData *smd)
static void hue_correct_apply (ModifierApplyContext &context, StripModifierData *smd)
static void hue_correct_panel_draw (const bContext *C, Panel *panel)
static void hue_correct_register (ARegionType *region_type)
static void hue_correct_write (BlendWriter *writer, const StripModifierData *smd)
static void hue_correct_read (BlendDataReader *reader, StripModifierData *smd)
static void maskmodifier_apply (ModifierApplyContext &context, StripModifierData *smd)
static void maskmodifier_panel_draw (const bContext *C, Panel *panel)
static void maskmodifier_register (ARegionType *region_type)
static void echomodifier_init_data (StripModifierData *smd)
static void echomodifier_draw (const bContext *, Panel *panel)
static void echomodifier_register (ARegionType *region_type)
static void sound_equalizermodifier_draw (const bContext *, Panel *panel)
static void sound_equalizermodifier_register (ARegionType *region_type)
static void sound_equalizermodifier_write (BlendWriter *writer, const StripModifierData *smd)
static void sound_equalizermodifier_read (BlendDataReader *reader, StripModifierData *smd)
static void pitchmodifier_init_data (StripModifierData *smd)
static void pitchmodifier_draw (const bContext *, Panel *panel)
static void pitchmodifier_register (ARegionType *region_type)
static void tonemapmodifier_init_data (StripModifierData *smd)
static void pixels_to_scene_linear_float (const ColorSpace *colorspace, float4 *pixels, int64_t count)
static void pixels_to_scene_linear_byte (const ColorSpace *colorspace, const uchar *pixels, float4 *dst, int64_t count)
static void scene_linear_to_image_chunk_byte (float4 *src, ImBuf *ibuf, IndexRange range)
static void scene_linear_to_image_chunk_float (ImBuf *ibuf, IndexRange range)
template<typename MaskSampler>
static void tonemap_simple (float4 *scene_linear, MaskSampler &mask, int image_x, IndexRange y_range, const AvgLogLum &avg)
template<typename MaskSampler>
static void tonemap_rd_photoreceptor (float4 *scene_linear, MaskSampler &mask, int image_x, IndexRange y_range, const AvgLogLum &avg)
static void tonemap_calc_chunk_luminance (const int width, const IndexRange y_range, const float4 *scene_linear, AreaLuminance &r_lum)
static AreaLuminance tonemap_calc_input_luminance (ImBuf *ibuf)
static void tonemapmodifier_apply (ModifierApplyContext &context, StripModifierData *smd)
static void tonemapmodifier_panel_draw (const bContext *C, Panel *panel)
static void tonemapmodifier_register (ARegionType *region_type)
static void whiteBalance_init_data (StripModifierData *smd)
static void whiteBalance_apply (ModifierApplyContext &context, StripModifierData *smd)
static void whiteBalance_panel_draw (const bContext *C, Panel *panel)
static void whiteBalance_register (ARegionType *region_type)
static bool modifier_has_persistent_uid (const Strip &strip, int uid)
void modifier_persistent_uid_init (const Strip &strip, StripModifierData &smd)
bool modifier_persistent_uids_are_valid (const Strip &strip)
static void modifier_ops_extra_draw (bContext *C, ui::Layout *layout, void *smd_v)
static void modifier_panel_header (const bContext *, Panel *panel)
void draw_mask_input_type_settings (const bContext *C, ui::Layout &layout, PointerRNA *ptr)
bool modifier_ui_poll (const bContext *C, PanelType *)
static void modifier_reorder (bContext *C, Panel *panel, const int new_index)
static short get_strip_modifier_expand_flag (const bContext *, Panel *panel)
static void set_strip_modifier_expand_flag (const bContext *, Panel *panel, short expand_flag)
PanelType * modifier_panel_register (ARegionType *region_type, const eStripModifierType type, PanelDrawFn draw)
float4 load_pixel_premul (const uchar *ptr)
float4 load_pixel_premul (const float *ptr)
void store_pixel_premul (float4 pix, uchar *ptr)
void store_pixel_premul (float4 pix, float *ptr)
float4 load_pixel_raw (const uchar *ptr)
float4 load_pixel_raw (const float *ptr)
void store_pixel_raw (float4 pix, uchar *ptr)
void store_pixel_raw (float4 pix, float *ptr)
ImBuf * modifier_render_mask_input (const ModifierApplyContext &context, const StripModifierData &smd)
template<typename T>
void apply_modifier_op (T &op, ImBuf *ibuf, const ImBuf *mask, const float3x3 &mask_transform)
void seq_anim_add_suffix (Scene *scene, MovieReader *anim, const int view_id)
int seq_multiview_num_files_get (const Scene *scene, eImageFormat_ViewsFormat views_format)
void seq_multiview_name (const Scene *scene, const int view_id, const char *prefix, const char *ext, char *r_path, size_t r_path_maxncpy)
bool seq_multiview_view_filepath_get (const Scene &scene, const char *filepath, const int view_id, char *r_filepath, const size_t r_filepath_maxncpy, const char **r_suffix)
static PrefetchJob * seq_prefetch_job_get (Scene *scene)
bool seq_prefetch_job_is_running (Scene *scene)
static void seq_prefetch_job_scrubbing_set (Scene *scene, bool is_scrubbing)
static bool seq_prefetch_job_is_waiting (Scene *scene)
static Strip * original_strip_get (const Strip *strip, ListBaseT< Strip > *seqbase)
static Strip * original_strip_get (const Strip *strip, Scene *scene)
static RenderData * get_original_context (const RenderData *context)
Scene * prefetch_get_original_scene (const RenderData *context)
Scene * prefetch_get_original_scene_and_strip (const RenderData *context, const Strip *&strip)
static bool seq_prefetch_is_cache_full (Scene *scene)
static int seq_prefetch_cfra (PrefetchJob *pfjob)
static AnimationEvalContext seq_prefetch_anim_eval_context (PrefetchJob *pfjob)
void seq_prefetch_get_time_range (Scene *scene, int *r_start, int *r_end)
static void seq_prefetch_update_depsgraph (PrefetchJob *pfjob)
static void seq_prefetch_update_area (PrefetchJob *pfjob)
void prefetch_stop_all ()
void prefetch_stop (Scene *scene)
static void seq_prefetch_update_context (const RenderData *context)
static void seq_prefetch_update_scene (Scene *scene)
static void seq_prefetch_update_active_seqbase (PrefetchJob *pfjob)
static void seq_prefetch_resume (Scene *scene)
void seq_prefetch_free (Scene *scene)
static bool strip_renders_scene_strip (const Scene *scene, ListBaseT< SeqTimelineChannel > *channels, ListBaseT< Strip > *seqbase, Strip *strip, int frame, SeqRenderState state)
static bool seqbase_renders_scene_strip (const Scene *scene, ListBaseT< SeqTimelineChannel > *channels, ListBaseT< Strip > *seqbase, int frame, SeqRenderState state)
static bool seq_prefetch_must_skip_frame (PrefetchJob *pfjob)
static bool seq_prefetch_need_suspend (PrefetchJob *pfjob)
static void seq_prefetch_do_suspend (PrefetchJob *pfjob)
static void * seq_prefetch_frames (void *job)
static PrefetchJob * seq_prefetch_start_ex (const RenderData *context, float cfra)
void seq_prefetch_start (const RenderData *context, float timeline_frame)
bool prefetch_need_redraw (const bContext *C, Scene *scene)
static MovieReader * movie_reader_open (Strip &strip, const char *filepath, const bool open_file)
static void movie_reader_proxy_dir_set (const Editing &ed, const Strip &strip, MovieReader *reader)
static Vector< MovieReaderPtr > movie_readers_open (Scene &scene, Strip &strip, const bool open_file)
IMB_Proxy_Size rendersize_to_proxysize (eSpaceSeq_Proxy_RenderSize render_size)
float rendersize_to_scale_factor (eSpaceSeq_Proxy_RenderSize render_size)
bool seq_proxy_get_custom_file_filepath (const Strip *strip, char *filepath, const int view_id)
bool seq_proxy_get_custom_dir (const Editing &ed, const Strip &strip, char r_dirpath[FILE_MAX])
static bool seq_proxy_get_filepath_for_elem (const Scene *scene, const Strip &strip, const StripElem &strip_elem, eSpaceSeq_Proxy_RenderSize render_size, char *filepath, const int view_id)
static bool seq_proxy_get_filepath (Scene *scene, Strip *strip, int timeline_frame, eSpaceSeq_Proxy_RenderSize render_size, char *filepath, const int view_id)
bool can_use_proxy (const RenderData *context, const Strip *strip, IMB_Proxy_Size psize)
ImBuf * seq_proxy_fetch (const RenderData *context, Strip *strip, int timeline_frame)
static bool seq_proxy_multiview_context_invalid (Strip *strip, Scene *scene, const int view_id, MultiViewPrefixVars *prefix_vars)
static int seq_proxy_context_count (Strip *strip, Scene *scene)
static bool seq_proxy_need_rebuild (Strip *strip, MovieReader *anim)
bool proxy_build_start (Main *bmain, Scene *scene, Strip *strip, Set< std::string > *processed_paths, bool build_only_on_bad_performance, Vector< ProxyBuildContext * > &r_queue)
static void seq_proxy_build_frame (const Scene *scene, const int view_id, ImBuf *ibuf_full, const Strip &strip, const StripElem &strip_elem, int proxy_render_size, const bool overwrite)
static ImBuf * render_image_strip_frame (const ProxyBuildContext &context, const Strip &strip, const char *filepath, const char *prefix, int view_id)
static void image_proxy_builder_process (ProxyBuildContext &context, const bool *job_stop, bool *job_update_ui, const FunctionRef< void(float progress)> set_progress_fn)
static void close_movie_proxy_builder (ProxyBuildContext *context, bool stop)
void proxy_build_process (ProxyBuildContext *context, const bool *should_stop, bool *has_updated, const FunctionRef< void(float progress)> set_progress_fn)
void proxy_build_finish (ProxyBuildContext *context)
void proxy_set (Strip *strip, bool value)
void seq_proxy_index_dir_set (MovieReader *anim, const char *base_dir)
void free_strip_proxy (Strip *strip)
static void proxy_freejob (void *pjv)
static void proxy_startjob (void *pjv, wmJobWorkerStatus *worker_status)
static void proxy_endjob (void *pjv)
ProxyJob * ED_seq_proxy_job_get (const bContext *C, wmJob *wm_job)
wmJob * ED_seq_proxy_wm_job_get (const bContext *C)
float get_render_scale_factor (eSpaceSeq_Proxy_RenderSize render_size, short scene_render_scale)
float get_render_scale_factor (const RenderData &context)
GpuContextState render_begin_gpu (const RenderData &rd)
void render_end_gpu (const RenderData &rd, GpuContextState state)
static bool strip_write_data_cb (Strip *strip, void *userdata)
void blend_write (BlendWriter *writer, ListBaseT< Strip > *seqbase)
static bool strip_read_data_cb (Strip *strip, void *user_data)
void blend_read (BlendDataReader *reader, ListBaseT< Strip > *seqbase)
static bool strip_doversion_250_sound_proxy_update_cb (Strip *strip, void *user_data)
void doversion_250_sound_proxy_update (Main *bmain, Editing *ed)
static bool seq_mute_sound_strips_cb (Strip *strip, void *user_data)
static void strip_update_mix_sounds (Scene *scene, Strip *strip)
static void strip_update_sound_properties (const Scene *scene, const Strip *strip)
static void strip_update_sound_modifiers (Strip *strip)
static bool must_update_strip_sound (Scene *scene, Strip *strip)
static void seq_update_sound_strips (Scene *scene, Strip *strip)
static bool scene_sequencer_is_used (const Scene *scene, ListBaseT< Strip > *seqbase)
static void seq_update_scene_strip_sound (const Scene *scene, Strip *strip)
static bool strip_sound_update_cb (Strip *strip, void *user_data)
void eval_strips (Depsgraph *depsgraph, Scene *scene, ListBaseT< Strip > *seqbase)
void sound_update_length (Main *bmain, Scene *scene)
void sound_update_bounds_all (Scene *scene)
void sound_update_bounds (Scene *scene, Strip *strip)
static void strip_update_sound_recursive (Scene *scene, ListBaseT< Strip > *seqbasep, bSound *sound)
void sound_update (Scene *scene, bSound *sound)
float sound_pitch_get (const Scene *scene, const Strip *strip)
EQCurveMappingData * sound_equalizer_add (SoundEqualizerModifierData *semd, float minX, float maxX)
void sound_equalizermodifier_set_graphs (SoundEqualizerModifierData *semd, int number)
EQCurveMappingData * sound_equalizermodifier_add_graph (SoundEqualizerModifierData *semd, float min_freq, float max_freq)
void sound_equalizermodifier_remove_graph (SoundEqualizerModifierData *semd, EQCurveMappingData *eqcmd)
void sound_equalizermodifier_init_data (StripModifierData *smd)
void sound_equalizermodifier_free (StripModifierData *smd)
void sound_equalizermodifier_copy_data (StripModifierData *target, StripModifierData *smd)
AUD_Sound sound_equalizermodifier_recreator (Strip *strip, StripModifierData *smd, AUD_Sound sound_in, bool &needs_update)
static uint64_t pitchmodifier_get_params_hash (PitchModifierData *pmd)
AUD_Sound pitchmodifier_recreator (Strip *, StripModifierData *smd, AUD_Sound sound_in, bool &needs_update)
AUD_Sound echomodifier_recreator (Strip *, StripModifierData *smd, AUD_Sound sound_in, bool &needs_update)
const SoundModifierWorkerInfo * sound_modifier_worker_info_get (int type)
AUD_Sound sound_modifier_recreator (Strip *strip, StripModifierData *smd, AUD_Sound sound, bool &needs_update)
int default_strip_length (const double scene_fps)
void add_load_data_init (LoadData *load_data, const char *name, const char *path, const int start_frame, const int channel)
static void strip_add_generic_update (Scene *scene, Strip *strip)
static void strip_add_set_name (Scene *scene, Strip *strip, LoadData *load_data)
static void strip_add_set_view_transform (Scene *scene, Strip *strip, LoadData *load_data)
Strip * add_scene_strip (Scene *scene, ListBaseT< Strip > *seqbase, LoadData *load_data)
Strip * add_movieclip_strip (Scene *scene, ListBaseT< Strip > *seqbase, LoadData *load_data)
Strip * add_mask_strip (Scene *scene, ListBaseT< Strip > *seqbase, LoadData *load_data)
Strip * add_effect_strip (Scene *scene, ListBaseT< Strip > *seqbase, LoadData *load_data)
void add_image_set_directory (Strip *strip, const char *dirpath)
void add_image_load_file (Scene *scene, Strip *strip, size_t strip_frame, const char *filename)
void add_image_init_alpha_mode (Main *bmain, Scene *scene, Strip *strip)
Strip * add_image_strip (Main *bmain, Scene *scene, ListBaseT< Strip > *seqbase, LoadData *load_data)
Strip * add_sound_strip (Main *, Scene *, ListBaseT< Strip > *, LoadData *)
Strip * add_meta_strip (Scene *scene, ListBaseT< Strip > *seqbase, LoadData *load_data)
Strip * add_movie_strip (Main *bmain, Scene *scene, ListBaseT< Strip > *seqbase, LoadData *load_data)
static void add_reload_new_file_impl (Main *bmain, Scene *scene, Strip *strip, const bool lock_range, const bool source_changed)
void add_reload_new_file (Main *bmain, Scene *scene, Strip *strip, const bool lock_range)
void add_update_content_length (Main *bmain, Scene *scene, Strip *strip)
void add_movie_reload_if_needed (Main *bmain, Scene *scene, Strip *strip, bool *r_was_reloaded, bool *r_can_produce_frames)
void connections_duplicate (ListBaseT< StripConnection > *connections_dst, ListBaseT< StripConnection > *connections_src)
static void connection_remove (Strip *strip, StripConnection &con_strip)
bool disconnect (Strip *strip)
bool disconnect (VectorSet< Strip * > &strip_list)
void cut_one_way_connections (Strip *strip)
void cut_outside_connections (const VectorSet< Strip * > &strip_list)
void connect (Strip *strip1, Strip *strip2)
void connect (VectorSet< Strip * > &strip_list)
VectorSet< Strip * > connected_strips_get (const Strip *strip)
bool is_strip_connected (const Strip *strip)
bool are_strips_connected_together (VectorSet< Strip * > &strip_list)
bool edit_strip_swap (Scene *scene, Strip *strip_a, Strip *strip_b, const char **r_error_str)
static void strip_update_muting_recursive (ListBaseT< SeqTimelineChannel > *channels, ListBaseT< Strip > *seqbasep, Strip *strip_meta, const bool mute)
void edit_update_muting (Editing *ed)
void edit_flag_for_removal (Scene *scene, Strip *strip)
void edit_remove_flagged_strips (Scene *scene, ListBaseT< Strip > *seqbase)
bool edit_move_strip_to_seqbase (Scene *scene, ListBaseT< Strip > *seqbase, Strip *strip, ListBaseT< Strip > *dst_seqbase)
bool edit_move_strip_to_meta (Scene *scene, Strip *src_strip, Strip *dst_stripm, const char **r_error_str)
static void seq_split_set_right_hold_offset (Main *bmain, Scene *scene, Strip *strip, int timeline_frame)
static void seq_split_set_left_hold_offset (Main *bmain, Scene *scene, Strip *strip, int timeline_frame)
bool edit_frame_splits_strip (const Scene *scene, const Strip *strip, const int timeline_frame)
Vector< Strip * > edit_split_strips_get (Scene *scene, const int frame, const std::optional< int > channel, const bool only_selected)
static void seq_edit_split_handle_strip_offsets (Main *bmain, Scene *scene, Strip *left_strip, Strip *right_strip, const int timeline_frame, const eSplitMethod method)
static bool seq_edit_split_effect_inputs_intersect (const Scene *scene, const Strip *strip, const int timeline_frame)
static bool seq_edit_split_operation_permitted_check (const Scene *scene, Span< Strip * > strips, const int timeline_frame, const char **r_error)
Vector< Strip * > edit_strips_split (Main *bmain, Scene *scene, ListBaseT< Strip > *seqbase, const Span< Strip * > strips_to_split, const int timeline_frame, const eSplitMethod method, const StripRelation include, const char **r_error)
Strip * edit_strip_split (Main *bmain, Scene *scene, ListBaseT< Strip > *seqbase, Strip *strip, const int timeline_frame, const eSplitMethod method, const bool ignore_connections, const char **r_error)
bool edit_remove_gaps (Scene *scene, ListBaseT< Strip > *seqbase, const int initial_frame, const bool remove_all_gaps)
void edit_strip_name_set (Scene *scene, Strip *strip, const char *new_name)
static void strip_lookup_append_effect (const Strip *input, Strip *effect, StripLookup *lookup)
static void strip_by_scene_lookup_build (Strip *strip, StripLookup *lookup)
static void strip_by_compositor_node_group_lookup_build (Strip *strip, StripLookup *lookup)
static void strip_lookup_build_effect (Strip *strip, StripLookup *lookup)
static void strip_lookup_build_from_seqbase (Strip *parent_meta, const ListBaseT< Strip > *seqbase, StripLookup *lookup)
static void strip_lookup_build (const Editing *ed, StripLookup *lookup)
static StripLookup * strip_lookup_new ()
static void strip_lookup_free (StripLookup **lookup)
static void strip_lookup_rebuild (const Editing *ed, StripLookup **lookup)
static void strip_lookup_update_if_needed (const Editing *ed, StripLookup **lookup)
void strip_lookup_free (Editing *ed)
Strip * lookup_strip_by_name (Editing *ed, const char *key)
Span< Strip * > lookup_strips_by_scene (Editing *ed, const Scene *key)
Map< const Scene *, VectorSet< Strip * > > & lookup_strips_by_scene_map_get (Editing *ed)
Span< Strip * > lookup_strips_by_compositor_node_group (Editing *ed, const bNodeTree *key)
Strip * lookup_meta_by_strip (Editing *ed, const Strip *key)
Span< Strip * > lookup_effects_by_strip (Editing *ed, const Strip *key)
Strip * lookup_strip_by_channel_owner (Editing *ed, const SeqTimelineChannel *channel)
void strip_lookup_invalidate (const Editing *ed)
bool relation_is_effect_of_strip (const Strip *effect, const Strip *input)
void cache_cleanup (Scene *scene, CacheCleanup mode)
void cache_settings_changed (Scene *scene)
bool is_cache_full (const Scene *scene)
bool evict_caches_if_full (Scene *scene)
static void update_range_with_effects (const Scene *scene, const Strip *strip, int2 &r_range)
static void invalidate_final_cache_strip_range (Scene *scene, const Strip *strip)
static void invalidate_raw_cache_of_parent_meta (Scene *scene, Strip *strip)
void relations_invalidate_cache_raw (Scene *scene, Strip *strip)
void relations_invalidate_cache (Scene *scene, Strip *strip)
void relations_tag_temporary_animation_frame (Scene *scene)
void relations_invalidate_temporary_animation_frame (Scene *scene)
void relations_invalidate_scene_strips (const Main *bmain, const Scene *scene_target)
void relations_update_view_layer_scene_strips (Main *bmain, Scene *scene, const char *old_name, const char *new_name)
void relations_invalidate_compositor_users (const Main *bmain, const bNodeTree *node_tree)
void relations_invalidate_generator_strips (Scene *scene)
static void invalidate_movieclip_strips (Scene *scene, MovieClip *clip_target, ListBaseT< Strip > *seqbase)
void relations_invalidate_movieclip_strips (Main *bmain, MovieClip *clip_target)
void relations_free_imbuf (Scene *scene, ListBaseT< Strip > *seqbase, bool for_render)
void relations_refresh_all (Scene *scene)
static Strip * sequencer_check_scene_recursion (Scene *scene, ListBaseT< Strip > *seqbase)
bool relations_check_scene_recursion (Scene *scene, ReportList *reports)
bool relations_render_loop_check (Strip *strip_main, Strip *strip)
void relations_session_uid_generate (Strip *strip)
static bool get_uids_cb (Strip *strip, void *user_data)
void relations_check_uids_unique_and_report (const Scene *scene)
bool exists_in_seqbase (const Strip *strip, const ListBaseT< Strip > *seqbase)
Strip * select_active_get (const Scene *scene)
void select_active_set (Scene *scene, Strip *strip)
bool select_active_get_pair (Scene *scene, Strip **r_strip_act, Strip **r_strip_other)
bool select_has_any (const Scene *scene)
float give_frame_index (const Scene *scene, const Strip *strip, float timeline_frame)
static int metastrip_start_get (Strip *strip_meta)
static int metastrip_end_get (Strip *strip_meta)
static void strip_update_sound_bounds_recursive_impl (const Scene *scene, Strip *strip_meta, int start, int end)
void strip_update_sound_bounds_recursive (const Scene *scene, Strip *strip_meta)
void time_update_meta_strip_range (const Scene *scene, Strip *strip_meta)
static bool transition_inputs_have_wrong_order (const Scene *scene, const Strip *input1, const Strip *input2)
void strip_time_effect_range_set (const Scene *scene, Strip *strip)
void strip_time_update_effects_strip_range (const Scene *scene, const Span< Strip * > effects)
int time_find_next_prev_edit (Scene *scene, int timeline_frame, const Side side, const bool do_skip_mute, const bool do_center, const bool do_unselected)
void timeline_init_boundbox (const Scene *scene, rctf *r_rect)
void timeline_expand_boundbox (const Scene *scene, const ListBaseT< Strip > *seqbase, rctf *rect)
void timeline_boundbox (const Scene *scene, const ListBaseT< Strip > *seqbase, rctf *r_rect)
static bool strip_exists_at_frame (const Scene *scene, Span< Strip * > strips, const int timeline_frame)
void seq_time_gap_info_get (const Scene *scene, ListBaseT< Strip > *seqbase, const int initial_frame, GapInfo *r_gap_info)
static void strip_time_slip_strip_ex (const Scene *scene, Strip *strip, int delta, float subframe_delta, bool slip_keyframes, bool recursed)
void time_slip_strip (const Scene *scene, Strip *strip, int frame_delta, float subframe_delta, bool slip_keyframes)
void strip_time_update_effects_strip_range (const Scene *scene, Span< Strip * > effects)
static void seqbase_unique_name (ListBaseT< Strip > *seqbasep, StripUniqueInfo *sui)
static bool seqbase_unique_name_recursive_fn (Strip *strip, void *arg_pt)
void strip_unique_name_set (Scene *scene, ListBaseT< Strip > *seqbasep, Strip *strip)
const char * get_default_stripname_by_type (int type)
const char * strip_give_name (const Strip *strip)
ListBaseT< Strip > * get_seqbase_from_strip (Strip *strip, ListBaseT< SeqTimelineChannel > **r_channels, int *r_offset)
void movie_metadata_invalidate (Strip &strip)
void movie_metadata_set_from_reader (Strip &strip, MovieReader &reader)
IDProperty * movie_metadata_ensure (Scene &scene, Strip &strip)
const Strip * strip_topmost_get (const Scene *scene, int frame)
ListBaseT< Strip > * get_seqbase_by_strip (const Scene *scene, Strip *strip)
Strip * strip_from_strip_elem (ListBaseT< Strip > *seqbase, StripElem *se)
Strip * get_strip_by_name (ListBaseT< Strip > *seqbase, const char *name, bool recursive)
Mask * active_mask_get (Scene *scene)
void alpha_mode_from_file_extension (Strip *strip)
bool strip_has_valid_data (const Strip *strip)
bool sequencer_strip_generates_image (Strip *strip)
void set_scale_to_fit (const Strip *strip, const int image_width, const int image_height, const int preview_width, const int preview_height, const eSeqImageFitMethod fit_method)
void ensure_unique_name (Strip *strip, Scene *scene, const DriverMap &driver_map)
Vector< Strip * > edit_strips_split (Main *bmain, Scene *scene, ListBaseT< Strip > *seqbase, Span< Strip * > strips_to_split, int timeline_frame, eSplitMethod method, StripRelation include, const char **r_error)
 ENUM_OPERATORS (CacheCleanup)
 ENUM_OPERATORS (StripDuplicate)
 ENUM_OPERATORS (StripRuntimeFlag)
void sound_blend_write (BlendWriter *writer, ListBaseT< bSound > *soundbase)
void sound_blend_read_data (BlendDataReader *reader, ListBaseT< bSound > *lb)
Query Strips
VectorSet< Strip * > query_all_strips_recursive (const ListBaseT< Strip > *seqbase)
VectorSet< Strip * > query_strips_recursive_at_frame (const Scene *scene, const ListBaseT< Strip > *seqbase, const int timeline_frame)
VectorSet< Strip * > query_all_strips (ListBaseT< Strip > *seqbase)
VectorSet< Strip * > query_selected_strips (ListBaseT< Strip > *seqbase)
bool must_render_strip (const VectorSet< Strip * > &strip_stack, Strip *target_strip)
VectorSet< Strip * > query_rendered_strips (const Scene *scene, ListBaseT< SeqTimelineChannel > *channels, ListBaseT< Strip > *seqbase, const int timeline_frame, const int displayed_channel)
Vector< Strip * > query_rendered_strips_sorted (const Scene *scene, ListBaseT< SeqTimelineChannel > *channels, ListBaseT< Strip > *seqbase, const int timeline_frame, const int chanshown)
VectorSet< Strip * > query_unselected_strips (ListBaseT< Strip > *seqbase)
.blend File I/O
void modifier_blend_write (BlendWriter *writer, ListBaseT< StripModifierData > *modbase)
void modifier_blend_read_data (BlendDataReader *reader, ListBaseT< StripModifierData > *lb)
Strip Stack Rendering Functions
static SeqResult seq_render_strip_stack (const RenderData *context, SeqRenderState *state, ListBaseT< SeqTimelineChannel > *channels, ListBaseT< Strip > *seqbasep, float timeline_frame, int chanshown)
static SeqResult do_render_strip_uncached (const RenderData *context, SeqRenderState *state, Strip *strip, float timeline_frame, bool *r_is_proxy_image)
SeqResult seq_render_strip (const RenderData *context, SeqRenderState *state, Strip *strip, float timeline_frame)
static bool seq_must_swap_input_in_blend_mode (Strip *strip)
static StripEarlyOut strip_get_early_out_for_blend_mode (Strip *strip)
static SeqResult seq_render_strip_stack_apply_effect (const RenderData *context, SeqRenderState *state, Strip *strip, float timeline_frame, const SeqResult &src1, const SeqResult &src2)
static bool is_opaque_alpha_over (const Strip *strip, const RenderData *context)
ImBuf * render_give_ibuf (const RenderData *context, float timeline_frame, int chanshown)
SeqResult seq_render_give_ibuf_seqbase (const RenderData *context, SeqRenderState *state, float timeline_frame, int chan_shown, ListBaseT< SeqTimelineChannel > *channels, ListBaseT< Strip > *seqbasep)
ImBuf * render_give_ibuf_direct (const RenderData *context, float timeline_frame, Strip *strip)
bool render_is_muted (const ListBaseT< SeqTimelineChannel > *channels, const Strip *strip)
Color-space utility functions
void seq_imbuf_assign_sequencer_space (const Scene *scene, ImBuf *ibuf)
static void ensure_ibuf_is_color_space (ImBuf *ibuf, bool make_float, const char *to_colorspace)
void ensure_ibuf_is_sequencer_space (const Scene *scene, ImBuf *ibuf, bool make_float)
void ensure_ibuf_is_linear_space (ImBuf *ibuf, bool make_float)
Rendering utility functions
void render_new_render_data (Main *bmain, Depsgraph *depsgraph, Scene *scene, int rectx, int recty, eSpaceSeq_Proxy_RenderSize preview_render_size, Render *render, RenderData *r_context)
StripElem * render_give_stripelem (const Scene *scene, const Strip *strip, int timeline_frame)
StripScreenQuad get_strip_screen_quad (const RenderData *context, const Strip *strip)
static bool is_quad_a_inside_b (const StripScreenQuad &a, const StripScreenQuad &b)
Preprocessing & Effects

Input preprocessing for STRIP_TYPE_IMAGE, STRIP_TYPE_MOVIE, STRIP_TYPE_MOVIECLIP and STRIP_TYPE_SCENE.

Do all the things you can't really do afterwards using sequence effects (read: before re-scaling to render resolution has been done).

Order is important!

  • De-interlace.
  • Crop and transform in image source coordinate space.
  • Flip X + Flip Y (could be done afterwards, backward compatibility).
  • Promote image to float data (affects pipeline operations afterwards).
  • Color balance (is most efficient in the byte -> float (future: half -> float should also work fine!) case, if done on load, since we can use lookup tables).
  • Pre-multiply.
static bool sequencer_use_transform (const Strip *strip)
static bool sequencer_use_crop (const Strip *strip)
static bool seq_input_have_to_preprocess (const Strip *strip)
static bool seq_need_scale_to_render_size (const Strip *strip, bool is_proxy_image)
static float3x3 calc_strip_transform_matrix (const Scene *scene, const Strip *strip, const int2 in_size, const int2 out_size, const float image_scale_factor, const float preview_scale_factor)
static void sequencer_image_crop_init (const Strip *strip, const ImBuf *in, float crop_scale_factor, rctf *r_crop)
static bool strip_result_covers_strip_quad (const RenderData *context, const Strip *strip, const ImBuf *image, const float3x3 &matrix, const float crop_scale_factor)
static bool is_strip_covering_screen (const RenderData *context, const Strip *strip)
static eIMBInterpolationFilterMode get_auto_filter (const StripTransform *transform)
static void sequencer_preprocess_transform_crop (ImBuf *in, ImBuf *out, const RenderData *context, Strip *strip, const float3x3 &matrix, const bool scale_crop_values, const float preview_scale_factor)
static void multiply_ibuf (ImBuf *ibuf, const float fmul, const bool multiply_alpha)
static SeqResult input_preprocess (const RenderData *context, SeqRenderState *state, Strip *strip, float timeline_frame, const SeqResult &input, const bool is_proxy_image)
static SeqResult seq_render_preprocess_ibuf (const RenderData *context, SeqRenderState *state, Strip *strip, const SeqResult &input, float timeline_frame, bool use_preprocess, const bool is_proxy_image)
static SeqResult seq_render_effect_strip_impl (const RenderData *context, SeqRenderState *state, Strip *strip, float timeline_frame)
Individual strip rendering functions
void ensure_ibuf_is_rgba (ImBuf *ibuf)
static ImBuf * seq_render_image_strip_view (const RenderData *context, Strip *strip, const char *filepath, const char *prefix, int view_id)
bool seq_strip_do_multiview_render (const Scene *scene, const Strip *strip, const char *filepath, char *r_prefix)
static ImBuf * create_missing_media_image (const RenderData *context, int width, int height)
static ImBuf * seq_render_image_strip (const RenderData *context, Strip *strip, int timeline_frame, bool *r_is_proxy_image)
static ImBuf * seq_render_movie_strip_custom_file_proxy (const RenderData *context, Strip *strip, int timeline_frame)
static ImBuf * seq_render_movie_strip_view (const RenderData *context, Strip *strip, float timeline_frame, MovieReaderAccessor &reader, bool *r_is_proxy_image)
static ImBuf * seq_render_movie_strip (const RenderData *context, Strip *strip, float timeline_frame, bool *r_is_proxy_image)
static ImBuf * seq_get_movieclip_ibuf (Strip *strip, MovieClipUser user)
static ImBuf * seq_render_movieclip_strip (const RenderData *context, Strip *strip, float frame_index, bool *r_is_proxy_image)
ImBuf * seq_render_mask (Depsgraph *depsgraph, int width, int height, const Mask *mask, float frame_index, bool make_float)
static ImBuf * seq_render_mask_strip (const RenderData *context, Strip *strip, float frame_index)
static ViewLayer * get_view_layer_for_scene_strip (Scene *scene, const Strip *strip)
static Depsgraph * get_depsgraph_for_scene_strip (Main *bmain, Scene *scene, ViewLayer *view_layer)
static ImBuf * render_scene_strip_viewport (const Scene *display_scene, Scene *scene, const Strip *strip, Depsgraph *depsgraph, Object *camera, eDrawType draw_type, int width, int height, int view_id, GPUOffScreen *gpu_offscreen, GPUViewport *gpu_viewport)
static ImBuf * seq_render_scene_strip_ex (const RenderData *context, Strip *strip, float frame_index, float timeline_frame)
ImBuf * render_scene_strip_thumbnail (Main *bmain, Scene *timeline_scene, const Strip *strip, float frame_index, int size)
static SeqResult seq_render_scene_strip (const RenderData *context, Strip *strip, float frame_index, float timeline_frame)
static SeqResult do_render_strip_seqbase (const RenderData *context, SeqRenderState *state, Strip *strip, float frame_index)
Allocate / Free Functions
StripProxy * seq_strip_proxy_alloc ()
static StripData * strip_data_alloc (StripType type)
static void strip_data_free (StripData *data)
Strip * strip_alloc (ListBaseT< Strip > *lb, int timeline_frame, int channel, StripType type)
static void seq_strip_free_ex (Scene *scene, Strip *strip, const bool do_cache, const bool do_id_user)
void strip_free (Scene *scene, Strip *strip)
void seq_free_strip_recurse (Scene *scene, Strip *strip, const bool do_id_user)
Editing * editing_get (const Scene *scene)
Editing * editing_ensure (Scene *scene)
void editing_free (Scene *scene, const bool do_id_user)
static void seq_new_fix_links_recursive (Strip *strip, Map< Strip *, Strip * > strip_map)
SequencerToolSettings * tool_settings_init ()
SequencerToolSettings * tool_settings_ensure (Scene *scene)
void tool_settings_free (SequencerToolSettings *tool_settings)
eSeqImageFitMethod tool_settings_fit_method_get (Scene *scene)
short tool_settings_snap_mode_get (Scene *scene)
short tool_settings_snap_flag_get (Scene *scene)
int tool_settings_snap_distance_get (Scene *scene)
void tool_settings_fit_method_set (Scene *scene, eSeqImageFitMethod fit_method)
void tool_settings_overlap_mode_set (Scene *scene, eSeqOverlapMode overlap_mode)
eSeqOverlapMode tool_settings_overlap_mode_get (Scene *scene)
eSeqRippleFlag tool_settings_ripple_flag_get (Scene *scene)
int tool_settings_pivot_point_get (Scene *scene)
ListBaseT< Strip > * active_seqbase_get (const Editing *ed)
static MetaStack * seq_meta_stack_alloc (const Scene *scene, Strip *strip_meta)
MetaStack * meta_stack_active_get (const Editing *ed)
void meta_stack_set (const Scene *scene, Strip *dst)
Strip * meta_stack_pop (Editing *ed)
Duplicate Functions
static StripDuplicateContext strip_duplicate_context_get (Main *bmain, const Scene *scene_src, Scene *scene_dst, StripDuplicate dupe_flag, int copy_flag)
static void seq_duplicate_postprocess (StripDuplicateContext &ctx)
static Strip * strip_duplicate (StripDuplicateContext &ctx, ListBaseT< Strip > *seqbase_dst, Strip *strip)
static Strip * strip_duplicate_recursive_impl (StripDuplicateContext &ctx, ListBaseT< Strip > *seqbase_dst, Strip *strip)
Strip * strip_duplicate_recursive (Main *bmain, const Scene *scene_src, Scene *scene_dst, ListBaseT< Strip > *seqbase_dst, Strip *strip, const StripDuplicate dupe_flag)
static void seqbase_duplicate_recursive_impl (StripDuplicateContext &ctx, ListBaseT< Strip > *seqbase_dst, const ListBaseT< Strip > *seqbase_src)
void seqbase_duplicate_recursive (Main *bmain, const Scene *scene_src, Scene *scene_dst, ListBaseT< Strip > *seqbase_dst, const ListBaseT< Strip > *seqbase_src, const StripDuplicate dupe_flag, const int copy_flag)
bool is_valid_strip_channel (const Strip *strip)
SequencerToolSettings * tool_settings_copy (SequencerToolSettings *tool_settings)
Retiming Get
MutableSpan< SeqRetimingKey > retiming_keys_get (const Strip *strip)
bool retiming_is_last_key (const Strip *strip, const SeqRetimingKey *key)
SeqRetimingKey * retiming_last_key_get (const Strip *strip)
int left_fake_key_frame_get (const Scene *scene, const Strip *strip)
int right_fake_key_frame_get (const Scene *scene, const Strip *strip)
int retiming_key_index_get (const Strip *strip, const SeqRetimingKey *key)
static int content_frame_index_get (const Scene *scene, const Strip *strip, const int frame)
SeqRetimingKey * retiming_key_get_by_frame (const Scene *scene, const Strip *strip, const int frame)
SeqRetimingKey * retiming_find_segment_start_key (const Strip *strip, float frame_index)
int retiming_keys_count (const Strip *strip)
bool retiming_show_keys (const Strip *strip)
bool retiming_keys_are_selected (const Scene *scene)
bool retiming_is_allowed (const Strip *strip)
bool retiming_has_keys (const Strip *strip)
static Bounds< float > strip_retiming_clamp_bounds_get (const Scene *scene, const Strip *strip, SeqRetimingKey *key)
int retiming_key_frame_get (const Scene *scene, const Strip *strip, const SeqRetimingKey *key)
float retiming_key_speed_get (const Strip *strip, const SeqRetimingKey *key)
static std::optional< float > retiming_key_new_frame_from_speed_get (const Scene *scene, Strip *strip, SeqRetimingKey *key, const float speed)
void retiming_key_speed_set (const Scene *scene, Strip *strip, SeqRetimingKey *key, const float speed)
Retiming Freeze Frame
bool retiming_key_is_freeze_frame (const SeqRetimingKey *key)
static std::pair< SeqRetimingKey *, SeqRetimingKey * > freeze_key_pair_create (const Scene *scene, Strip *strip, SeqRetimingKey *key, const int offset)
SeqRetimingKey * retiming_add_freeze_frame (const Scene *scene, Strip *strip, SeqRetimingKey *key, const int offset)
static void strip_retiming_cleanup_freeze_frame (SeqRetimingKey *key)
Retiming Edit
void retiming_data_ensure (Strip *strip)
SeqRetimingKey * ensure_left_and_right_keys (const Scene *scene, Strip *strip)
void realize_fake_keys (const Scene *scene, Strip *strip)
SeqRetimingKey fake_retiming_key_init (const Scene *scene, const Strip *strip, int frame)
void retiming_data_clear (Strip *strip)
static void retiming_key_overlap (Scene *scene, Strip *strip)
void retiming_reset (Scene *scene, Strip *strip)
static SeqRetimingKey * strip_retiming_add_key (Strip *strip, float frame_index)
SeqRetimingKey * retiming_key_add_new_for_strip (const Scene *scene, ReportList *reports, Strip *strip, const int frame)
SeqRetimingKey * retiming_add_key (const Scene *scene, Strip *strip, const int frame)
void retiming_remove_multiple_keys (Strip *strip, Vector< SeqRetimingKey * > &keys_to_remove)
static void strip_retiming_remove_key_ex (Strip *strip, SeqRetimingKey *key)
static SeqRetimingKey * strip_retiming_remove_transition (Strip *strip, SeqRetimingKey *key)
void retiming_remove_key (Strip *strip, SeqRetimingKey *key)
Retiming Transition
bool retiming_key_is_transition_type (const SeqRetimingKey *key)
bool retiming_key_is_transition_start (const SeqRetimingKey *key)
SeqRetimingKey * retiming_transition_start_get (SeqRetimingKey *key)
static bool strip_retiming_transition_is_linear (const Strip *strip, const SeqRetimingKey *key)
static double strip_retiming_segment_length_get (const SeqRetimingKey *start_key)
static float strip_retiming_segment_step_get (const SeqRetimingKey *start_key)
static void strip_retiming_segment_as_line_segment (const SeqRetimingKey *start_key, double r_v1[2], double r_v2[2])
static void strip_retiming_line_segments_tangent_circle (const SeqRetimingKey *start_key, double r_center[2], double *radius)
static float strip_retiming_evaluate_arc_segment (const SeqRetimingKey *key, const float frame_index)
void retiming_transition_key_frame_set (const Scene *scene, const Strip *strip, SeqRetimingKey *key, const int frame)
float strip_retiming_evaluate (const Strip *strip, const float frame_index)
SeqRetimingKey * retiming_add_transition (const Scene *scene, Strip *strip, SeqRetimingKey *key, float offset)
static float strip_retiming_clamp_transition_offset (const Scene *scene, const Strip *strip, SeqRetimingKey *start_key, float media_offset)
static void strip_retiming_transition_offset (const Scene *scene, Strip *strip, SeqRetimingKey *key, const float media_offset)
static void strip_retiming_fix_transition (const Scene *scene, Strip *strip, SeqRetimingKey *key)
static void strip_retiming_fix_transitions (const Scene *scene, Strip *strip, SeqRetimingKey *key)
static void strip_retiming_key_offset (const Scene *scene, Strip *strip, SeqRetimingKey *key, const float media_offset)
Retiming Set
static int strip_retiming_clamp_offset (const Scene *scene, Strip *strip, SeqRetimingKey *key, const int offset)
void retiming_key_frame_set (const Scene *scene, Strip *strip, SeqRetimingKey *key, int frame)
Retiming Selection
bool retiming_selection_clear (const Editing *ed)
void retiming_selection_append (SeqRetimingKey *key)
void retiming_selection_remove (SeqRetimingKey *key)
void retiming_selection_copy (SeqRetimingKey *dst, const SeqRetimingKey *src)
Map< SeqRetimingKey *, Strip * > retiming_selection_get (const Editing *ed)
bool retiming_selection_contains (const Editing *ed, const SeqRetimingKey *key)
bool retiming_selection_has_whole_transition (const Editing *ed, SeqRetimingKey *key)
Transform Utilities
bool transform_single_image_check (const Strip *strip)
bool transform_is_locked (const ListBaseT< SeqTimelineChannel > *channels, const Strip *strip)
bool transform_strip_can_be_translated (const Strip *strip)
bool transform_test_overlap (const Scene *scene, Strip *strip1, Strip *strip2)
bool transform_test_overlap (const Scene *scene, ListBaseT< Strip > *seqbasep, Strip *test)
Timeline Strip Transform
void transform_translate_strip (Scene *evil_scene, Strip *strip, int delta)
static bool strips_overlap_at_offset (const Scene *scene, const Strip *strip, const Strip *other, const int offset)
static int shuffle_frame_offset_get (const Scene *scene, Span< Strip * > strips_to_shuffle, ListBaseT< Strip > *seqbasep, const Side side)
static void transform_shuffle_horizontal (Scene *scene, ListBaseT< Strip > *seqbasep, Span< Strip * > strips_to_shuffle, Span< Strip * > time_dependent_strips, const bool use_sync_markers)
static bool shuffle_channel_is_free (const Scene *scene, ListBaseT< Strip > *seqbasep, const ListBaseT< SeqTimelineChannel > *channels, Strip *strip)
void transform_shuffle_vertical (ListBaseT< Strip > *seqbasep, Span< Strip * > strips, Scene *scene, const int channel_delta)
static VectorSet< Strip * > extract_standalone_strips (Span< Strip * > transformed_strips)
rcti strip_int_bounds_get (const Scene *scene, const Strip *strip)
Vector< RippleRange > transform_ripple_ranges_get (const Scene *scene, Span< Strip * > strips)
bool transform_strip_is_on_rippled_channel (const RippleRange &range, const Strip *strip, const bool all_channels)
static bool should_ripple_insert (const Scene *scene, ListBaseT< Strip > *seqbasep, Span< Strip * > source_strips, const int insert_frame, const eSeqRippleFlag ripple_flag, std::optional< int > &r_shuffle_delta)
static bool sources_overlap_target (const Scene *scene, Span< Strip * > source_strips, Strip *target)
static Vector< Strip * > range_sources_get (const Scene *scene, Span< Strip * > source_strips, const RippleRange &range)
static void strip_transform_ripple_range (Scene *scene, ListBaseT< Strip > *seqbasep, Span< Strip * > source_strips, const RippleRange &range, const eSeqRippleFlag ripple_flag)
static void strip_transform_handle_ripple (Scene *scene, ListBaseT< Strip > *seqbasep, Span< Strip * > source_strips, const eSeqRippleFlag ripple_flag)
static VectorSet< Strip * > query_overwrite_targets (const Scene *scene, ListBaseT< Strip > *seqbasep, Span< Strip * > source_strips)
static void strip_transform_handle_overwrite_trim (Scene *scene, const Strip *source, Strip *target, bool covers_left)
static Strip * strip_transform_handle_overwrite_split (Scene *scene, ListBaseT< Strip > *seqbasep, const Strip *source, Strip *target)
static void strip_transform_handle_overwrite (Scene *scene, ListBaseT< Strip > *seqbasep, Span< Strip * > source_strips)
static Side strip_selected_handles_get (const Strip *strip)
static int shuffle_handle_offset_get (const Scene *scene, Span< Strip * > strips_to_shuffle, ListBaseT< Strip > *seqbasep)
static void transform_shuffle_handles (const Scene *scene, ListBaseT< Strip > *seqbasep, Span< Strip * > strips_to_shuffle)
static void strip_transform_handle_shuffle (Scene *scene, ListBaseT< Strip > *seqbasep, Span< Strip * > source_strips, Span< Strip * > time_dependent_strips, bool use_sync_markers)
void transform_handle_overlap (Scene *scene, ListBaseT< Strip > *seqbasep, Span< Strip * > source_strips, bool use_sync_markers, Span< Strip * > time_dependent_strips)
void transform_handle_overlap (Scene *scene, ListBaseT< Strip > *seqbasep, Span< Strip * > source_strips, bool use_sync_markers, const eSeqOverlapMode overlap_mode, const eSeqRippleFlag ripple_flag, Span< Strip * > time_dependent_strips)
void transform_strips_after_frame (Scene *scene, ListBaseT< Strip > *seqbase, const int timeline_frame, const int delta)
Preview Image Transform
static int2 strip_source_size_get (const Scene *scene, const Strip *strip)
float2 image_transform_mirror_factor_get (const Strip *strip)
int2 image_transform_box_size_get (const Scene *scene, const Strip *strip)
static float2 convert_origin_to_image_offset (const Scene *scene, const Strip *strip, float2 origin)
float2 image_transform_origin_get (const Scene *scene, const Strip *strip)
static float2 image_transform_viewport_scale_get (const Scene *scene, const Strip *strip)
float2 image_transform_origin_preview_offset_get (const Scene *scene, const Strip *strip)
float3x3 image_transform_matrix_get (const Scene *scene, const Strip *strip)
Array< float2 > image_transform_quad_get (const Scene *scene, const Strip *strip)
float2 image_preview_unit_to_px (const Scene *scene, const float2 co_src)
float2 image_preview_unit_from_px (const Scene *scene, const float2 co_src)
static Bounds< float2 > negative_bounds ()
Bounds< float2 > image_transform_bounding_box_from_strips_get (Scene *scene, Span< Strip * > strips)

Variables

static Mutex final_image_cache_mutex
static std::atomic< uint64_t > next_timestamp = 0
static uint64_t current_timestamp = 0
static std::atomic< int > next_owner = 0
static int current_owner = 0
static Mutex source_image_cache_mutex
static constexpr int MAX_THUMBNAILS = 5000
static Mutex thumb_cache_mutex
static std::recursive_mutex text_runtime_mutex
static SeqFontMap g_font_map
static int g_fallback_font_id = -1
static Mutex presence_lock
StripModifierTypeInfo seqModifierType_BrightContrast
static constexpr int CB_TABLE_SIZE = 1024
StripModifierTypeInfo seqModifierType_ColorBalance
StripModifierTypeInfo seqModifierType_Compositor
StripModifierTypeInfo seqModifierType_Curves
StripModifierTypeInfo seqModifierType_HueCorrect
StripModifierTypeInfo seqModifierType_Mask
StripModifierTypeInfo seqModifierType_None
StripModifierTypeInfo seqModifierType_Echo
StripModifierTypeInfo seqModifierType_SoundEqualizer
StripModifierTypeInfo seqModifierType_Pitch
StripModifierTypeInfo seqModifierType_Tonemap
StripModifierTypeInfo seqModifierType_WhiteBalance
static constexpr int before_playhead_frames = 5
static Mutex seq_render_mutex
DrawViewFn view3d_fn = nullptr
const SoundModifierWorkerInfo workersSoundModifiers []
static Mutex lookup_lock
static constexpr char STRIP_MODIFIER_TYPE_PANEL_PREFIX [] = "STRIPMOD_PT_"
constexpr int MAX_CHANNELS = 128
static constexpr int THUMB_SIZE = 256

Retiming Range

enum  eRangeType { LINEAR = 0 , TRANSITION = 1 }
enum  eIntersectType {
  FULL , PARTIAL_START , PARTIAL_END , INSIDE ,
  NONE
}
static RetimingRangeData strip_retiming_range_data_get (const Scene *scene, const Strip *strip)
void retiming_sound_animation_data_set (const Scene *scene, const Strip *strip)

Expand Strips

enum class  StripRelation {
  None = 0 , Effects = (1 << 0) , Inputs = (1 << 1) , MetaContents = (1 << 2) ,
  Connected = (1 << 3) , SelectedConnected = (1 << 4) , EffectChain = Effects | Inputs , ConnectedEffectChain = EffectChain | Connected
}
void expand_strips (Editing *ed, VectorSet< Strip * > &strips, const StripRelation include)
 ENUM_OPERATORS (StripRelation)

Text Effect

constexpr uint16_t JFA_INVALID = 0xFFFF
bool effects_can_render_text (const Strip *strip)
static void init_text_effect (Strip *strip)
static void text_font_unload (TextVars *data, const bool do_id_user)
void effect_text_font_set (Strip *strip, VFont *font)
static void text_font_load (TextVars *data, const bool do_id_user)
static void free_text_effect (Strip *strip, const bool do_id_user)
static void copy_text_effect (Strip *dst, const Strip *src, const int flag)
static StripEarlyOut early_out_text (const Strip *strip, float)
static void text_gaussian_blur_x (const Span< float > gaussian, int half_size, int start_line, int width, int height, const uchar *rect, uchar *dst, const rcti &shadow_rect)
static void text_gaussian_blur_y (const Span< float > gaussian, int half_size, int start_line, int width, int height, const uchar *rect, uchar *dst, const rcti &shadow_rect)
static void clamp_rect (int width, int height, rcti &r_rect)
static void initialize_shadow_alpha (int width, int height, int2 offset, const rcti &shadow_rect, const uchar *input, Array< uchar > &r_shadow_mask)
static void composite_shadow (int width, const rcti &shadow_rect, const float4 &shadow_color, const Array< uchar > &shadow_mask, uchar *output)
static void draw_text_shadow (const RenderData *context, const TextVars *data, int line_height, const rcti &rect, ImBuf *out)
static void jump_flooding_pass (Span< JFACoord > input, MutableSpan< JFACoord > output, int2 size, IndexRange x_range, IndexRange y_range, int step_size)
static void text_draw (const char *text_ptr, const TextVarsRuntime *runtime, float color[4])
static rcti draw_text_outline (const RenderData *context, const TextVars *data, ImBuf *out)
static void fill_rect_alpha_under (ImBuf *ibuf, const float col[4], int x1, int y1, int x2, int y2, float corner_radius)
static int text_effect_line_size_get (const RenderData *context, const TextVars &text)
int text_effect_font_get (TextVars &text)
static int text_effect_font_init (const RenderData *context, TextVars &text, FontFlags font_flags)
static Vector< CharInfo > build_character_info (const TextVars *data, int font)
static int wrap_width_get (const TextVars *data, const int2 image_size)
static void apply_word_wrapping (const TextVars *data, TextVarsRuntime *runtime, const int2 image_size, Vector< CharInfo > &characters)
static int text_box_width_get (const Vector< LineInfo > &lines)
static float2 horizontal_alignment_offset_get (const TextVars *data, float line_width, int max_width)
static float2 anchor_offset_get (const TextVars *data, int width_max, int text_height)
static void calc_boundbox (const TextVars *data, TextVarsRuntime *runtime, const int2 image_size)
static void apply_text_alignment (const TextVars *data, TextVarsRuntime *runtime, const int2 image_size)
void text_effect_update_runtime (const RenderData *context, TextVars &text, const int2 image_size)
void text_effect_adjust_relative (TextVars &text, const int2 old_size, const int2 new_size)
static SeqResult do_text_effect (const RenderData *context, SeqRenderState *, Strip *strip, float, float, const SeqResult &, const SeqResult &)
void text_effect_get_handle (EffectHandle &rval)

Public Modifier Functions

static StripModifierTypeInfo * modifiersTypes [NUM_STRIP_MODIFIER_TYPES] = {nullptr}
static void modifier_types_init (StripModifierTypeInfo *types[])
void modifiers_init ()
const StripModifierTypeInfo * modifier_type_info_get (eStripModifierType type)
StripModifierData * modifier_new (Strip *strip, const char *name, eStripModifierType type)
bool modifier_remove (Strip *strip, StripModifierData *smd)
void modifier_clear (Strip *strip)
void modifier_free (StripModifierData *smd)
void modifier_unique_name (Strip *strip, StripModifierData *smd)
StripModifierData * modifier_find_by_name (Strip *strip, const char *name)
static bool skip_modifier (Scene *scene, const StripModifierData *smd, int timeline_frame)
void modifier_apply_stack (ModifierApplyContext &context)
StripModifierData * modifier_copy (Strip &strip_dst, StripModifierData *mod_src, const int flag)
void modifier_list_copy (Strip *strip_new, Strip *strip, const int flag)
bool strip_supports_modifiers (const Strip *strip)
bool modifier_move_to_index (Strip *strip, StripModifierData *smd, const int new_index)
StripModifierData * modifier_get_active (const Strip *strip)
void modifier_set_active (Strip *strip, StripModifierData *smd)
void modifier_type_panel_id (eStripModifierType type, char *r_idname)
void foreach_strip_modifier_id (Strip *strip, const FunctionRef< void(ID *)> fn)

Typedef Documentation

◆ DrawViewFn

◆ ForEachFunc

using blender::seq::ForEachFunc = bool (*)(Strip *strip, void *user_data)

Callback format for the for_each function below.

Definition at line 28 of file SEQ_iterator.hh.

◆ MovieReaderPtr

Definition at line 25 of file sequencer/intern/utils.hh.

◆ PanelDrawFn

using blender::seq::PanelDrawFn = void (*)(const bContext *, Panel *)

Definition at line 84 of file modifier.hh.

Enumeration Type Documentation

◆ CacheCleanup

enum class blender::seq::CacheCleanup
strong
Enumerator
FinalImage 
SourceImage 
Thumbnails 
IntraFrame 
All 
FinalAndIntra 

Definition at line 105 of file SEQ_relations.hh.

◆ eIntersectType

Enumerator
FULL 
PARTIAL_START 
PARTIAL_END 
INSIDE 
NONE 

Definition at line 995 of file strip_retiming.cc.

◆ eLoadFlags

#SeqLoadData.flags

Enumerator
SEQ_LOAD_SOUND_CACHE 
SEQ_LOAD_SOUND_MONO 
SEQ_LOAD_MOVIE_SYNC_FPS 
SEQ_LOAD_SET_VIEW_TRANSFORM 

Definition at line 36 of file SEQ_add.hh.

◆ eRangeType

Enumerator
LINEAR 
TRANSITION 

Definition at line 990 of file strip_retiming.cc.

◆ eSplitMethod

Enumerator
SPLIT_SOFT 
SPLIT_HARD 

Definition at line 53 of file SEQ_edit.hh.

◆ GpuContextState

enum class blender::seq::GpuContextState
strong
Enumerator
Unsupported 
Success 
AlreadyActive 

Definition at line 96 of file SEQ_render.hh.

◆ Side

enum class blender::seq::Side : int
strong
Enumerator
Mouse 
None 
Left 
Right 
Both 
NoChange 

Definition at line 50 of file SEQ_sequencer.hh.

◆ StripDuplicate

Strip_duplicate flags

Enumerator
Selected 

NOTE: Technically, the selected strips are duplicated when All is not set.

UniqueName 

Ensure strips have a unique name.

Data 

Duplicate strips and the IDs they reference.

All 

If this is set, duplicate all strips. If not set, duplicate selected strips.

Definition at line 60 of file SEQ_sequencer.hh.

◆ StripEarlyOut

enum class blender::seq::StripEarlyOut
strong
Enumerator
NoInput 
DoEffect 
UseInput1 
UseInput2 

Definition at line 32 of file effects.hh.

◆ StripRelation

enum class blender::seq::StripRelation
strong

Ways in which one strip can relate to another. Used by expand_strips to decide which relations to follow.

Enumerator
None 
Effects 

Effects of this strip.

Inputs 

If the strip is an effect, the inputs of this strip.

MetaContents 

If the strip is a meta, the strips nested inside this strip.

Connected 

Strips connected to this strip.

SelectedConnected 

Selected strips connected to this strip.

NOTE: Set either #Connected or #SelectedConnected, but not both, expand_strips asserts that only one of these is chosen.

EffectChain 

The entire effect chain a strip participates in, followed in both directions.

ConnectedEffectChain 

As above, plus the connections of every strip in that chain.

Definition at line 48 of file SEQ_iterator.hh.

◆ StripRuntimeFlag

enum class blender::seq::StripRuntimeFlag
strong
Enumerator
None 
ClampedLH 
ClampedRH 
Overlap 
MarkForDelete 
IgnoreChannelLock 

For #SEQUENCER_OT_duplicate_move macro.

ShowOffsets 

Set during #SEQUENCER_OT_slip.

Definition at line 72 of file SEQ_sequencer.hh.

Function Documentation

◆ active_mask_get()

◆ active_seqbase_get()

ListBaseT< Strip > * blender::seq::active_seqbase_get ( const Editing * ed)

Get the seqbase currently being viewed, either the main seqbase or a meta strip's. Returns null if ed is null.

Definition at line 463 of file sequencer.cc.

References active_seqbase_get().

Referenced by active_seqbase_get(), blender::ed::vse::all_strips_from_context(), blender::append_sequencer_strip_snap_target(), blender::blo_do_versions_pre250(), blender::ed::vse::channel_draw_context_init(), blender::ed::transform::create_trans_seq_clamp_data(), blender::ed::transform::createTransSeqImageData(), blender::ed::vse::deselect_all_strips(), blender::ed::vse::do_lasso_select_preview(), blender::ed::vse::draw_timeline_seq_display(), blender::ensure_change_frame_keylist(), blender::ed::transform::freeSeqData(), blender::ed::vse::get_scene_strip_for_time_sync(), blender::ed::transform::gizmo2d_calc_bounds(), blender::ed::transform::gizmo2d_calc_rotation(), blender::ed::transform::gizmo2d_calc_transform_orientation(), blender::ed::transform::gizmo2d_calc_transform_pivot(), blender::ed::transform::query_strip_sources_timeline(), blender::ed::transform::query_strip_targets_timeline(), blender::ed::transform::recalcData_sequencer_retiming(), retiming_key_overlap(), blender::ed::vse::segment_speed_set(), blender::ed::vse::select_linked_internal(), blender::ed::vse::select_linked_time_strip(), blender::ed::vse::select_more_less_impl(), blender::ed::vse::selected_strips_from_context(), blender::ed::vse::seq_box_select_strip_from_preview(), blender::ed::vse::seq_circle_select_strip_from_preview(), blender::ed::transform::seq_get_strip_pivot_median(), seq_prefetch_must_skip_frame(), blender::ed::vse::seq_proxy_build_job(), blender::ed::transform::seq_transform_cancel(), blender::ed::transform::seq_transform_handle_overlap(), blender::ed::vse::seq_view_collection_rect_timeline(), blender::ed::transform::seqbase_active_get(), blender::ed::vse::sequencer_add_duplicate_exec(), blender::ed::vse::sequencer_connect_exec(), blender::ed::vse::sequencer_delete_exec(), blender::ed::vse::sequencer_disconnect_exec(), blender::ed::vse::sequencer_drop_copy(), blender::ed::vse::sequencer_enable_proxies_exec(), blender::ed::vse::sequencer_meta_make_exec(), blender::ed::vse::sequencer_meta_separate_exec(), blender::ed::vse::sequencer_reassign_inputs_exec(), blender::ed::vse::sequencer_rebuild_proxy_exec(), blender::ed::vse::sequencer_retiming_data_show_exec(), blender::ed::vse::sequencer_retiming_segment_speed_set_exec(), blender::ed::vse::sequencer_ripple_delete_exec(), blender::ed::vse::sequencer_ripple_trim_exec(), blender::ed::vse::sequencer_select_exec(), blender::ed::vse::sequencer_select_side_of_frame(), blender::ed::vse::sequencer_select_side_of_frame_exec(), blender::ed::vse::sequencer_separate_images_exec(), blender::ed::vse::sequencer_split_exec(), blender::ed::vse::sequencer_swap_exec(), blender::ed::vse::sequencer_view_all_exec(), blender::ed::vse::strip_select_from_preview(), and blender::ed::vse::strips_from_context().

◆ add_effect_get_handle()

◆ add_effect_strip()

◆ add_image_init_alpha_mode()

◆ add_image_load_file()

void blender::seq::add_image_load_file ( Scene * scene,
Strip * strip,
size_t strip_frame,
const char * filename )

◆ add_image_set_directory()

◆ add_image_strip()

◆ add_load_data_init()

◆ add_mask_strip()

Strip * blender::seq::add_mask_strip ( Scene * scene,
ListBaseT< Strip > * seqbase,
LoadData * load_data )

◆ add_meta_strip()

Strip * blender::seq::add_meta_strip ( Scene * scene,
ListBaseT< Strip > * seqbase,
LoadData * load_data )

◆ add_movie_reload_if_needed()

void blender::seq::add_movie_reload_if_needed ( Main * bmain,
Scene * scene,
Strip * strip,
bool * r_was_reloaded,
bool * r_can_produce_frames )

◆ add_movie_strip()

◆ add_movieclip_strip()

◆ add_reload_new_file()

void blender::seq::add_reload_new_file ( Main * bmain,
Scene * scene,
Strip * strip,
const bool lock_range )

◆ add_reload_new_file_impl()

◆ add_scene_strip()

◆ add_sound_strip()

◆ add_update_content_length()

void blender::seq::add_update_content_length ( Main * bmain,
Scene * scene,
Strip * strip )

Recalculate content length without reopening an unchanged source.

Definition at line 649 of file strip_add.cc.

References add_reload_new_file_impl(), and add_update_content_length().

Referenced by add_update_content_length(), seq_split_set_left_hold_offset(), and seq_split_set_right_hold_offset().

◆ adjustment_effect_get_handle()

◆ alpha_mode_from_file_extension()

◆ alpha_opaque() [1/2]

bool blender::seq::alpha_opaque ( float alpha)
static

Definition at line 40 of file effect_blend.cc.

References alpha_opaque().

◆ alpha_opaque() [2/2]

bool blender::seq::alpha_opaque ( uchar alpha)
static

◆ alpha_over_effect_get_handle()

◆ alpha_under_effect_get_handle()

◆ anchor_offset_get()

◆ animation_backup_original()

◆ animation_drivers_exist()

◆ animation_duplicate_backup_to_scene()

◆ animation_keyframes_exist()

◆ animation_restore_original()

◆ apply_blend_function()

template<typename T, typename Func>
void blender::seq::apply_blend_function ( float fac,
int64_t size,
const T * src1,
const T * src2,
T * dst,
Func blend_function )
static

Definition at line 153 of file effect_blend.cc.

References apply_blend_function(), and T.

Referenced by apply_blend_function(), do_blend_effect_byte(), and do_blend_effect_float().

◆ apply_effect_op()

template<typename OpT>
void blender::seq::apply_effect_op ( const OpT & op,
const ImBuf * src1,
const ImBuf * src2,
ImBuf * dst )
static

◆ apply_modifier_op()

◆ apply_text_alignment()

◆ apply_word_wrapping()

◆ are_strips_connected_together()

bool blender::seq::are_strips_connected_together ( VectorSet< Strip * > & strip_list)

◆ blend_mode_effect_get_handle()

◆ blend_read()

void blender::seq::blend_read ( BlendDataReader * reader,
ListBaseT< Strip > * seqbase )

Definition at line 1120 of file sequencer.cc.

References blend_read(), foreach_strip(), and strip_read_data_cb().

Referenced by blend_read(), and blender::scene_blend_read_data().

◆ blend_write()

void blender::seq::blend_write ( BlendWriter * writer,
ListBaseT< Strip > * seqbase )

Read and Write functions for .blend file data.

Definition at line 987 of file sequencer.cc.

References blend_write(), foreach_strip(), and strip_write_data_cb().

Referenced by blend_write(), and blender::scene_blend_write().

◆ blur_isolate_highlights()

void blender::seq::blur_isolate_highlights ( const float4 * in,
float4 * out,
int width,
int height,
float threshold,
float boost,
float clamp )
static

◆ brightcontrast_apply()

◆ brightcontrast_panel_draw()

◆ brightcontrast_register()

void blender::seq::brightcontrast_register ( ARegionType * region_type)
static

◆ build_character_info()

◆ cache_cleanup()

◆ cache_settings_changed()

◆ calc_boundbox()

◆ calc_strip_transform_matrix()

float3x3 blender::seq::calc_strip_transform_matrix ( const Scene * scene,
const Strip * strip,
const int2 in_size,
const int2 out_size,
const float image_scale_factor,
const float preview_scale_factor )
static

Get the matrix that maps some input image of size in_size to an output canvas of out_size, with the strip's scale, rotate, and position properly applied.

Some strips have already been scaled down:

  • Strips with proxies enabled and built currently keep their chosen proxy size in sync with the preview resolution (which ideally should be split in the future for clarity). In this case, or if seq_need_scale_to_render_size is false, image_scale_factor is kept at 1.
  • Otherwise, image_scale_factor should be the same as preview_scale_factor, which is some percentage of full render resolution. Note that this parameter is always present, even in final renders (which use "Scene Size"), where it is equal to the % / "Resolution Scale".

After scaling down strips, we need to adjust the strip's translation, which refers to full render resolution pixels; we do this with preview_scale_factor.

Definition at line 417 of file render.cc.

References calc_strip_transform_matrix(), blender::animrig::Strip::data(), blender::math::from_loc_rot_scale(), blender::math::from_location(), blender::math::from_origin_transform(), blender::math::from_scale(), image_transform_origin_get(), scale(), and blender::math::transform_point().

Referenced by calc_strip_transform_matrix(), and input_preprocess().

◆ calc_wipe_band()

float blender::seq::calc_wipe_band ( float dist,
float inv_width )
static

Definition at line 98 of file effect_wipe.cc.

References calc_wipe_band().

Referenced by calc_wipe_band(), and calc_wipe_blend().

◆ calc_wipe_blend()

◆ can_use_proxy()

bool blender::seq::can_use_proxy ( const RenderData * context,
const Strip * strip,
IMB_Proxy_Size psize )

◆ channel_get_by_index()

◆ channels_displayed_get()

ListBaseT< SeqTimelineChannel > * blender::seq::channels_displayed_get ( const Editing * ed)

The active displayed channels list, either from the root sequence or from a meta-strip.

Definition at line 26 of file channels.cc.

References channels_displayed_get().

Referenced by blender::ed::vse::all_strips_from_context(), blender::ed::vse::can_select_handle(), blender::ed::vse::channel_draw_context_init(), channels_displayed_get(), blender::ed::transform::create_trans_seq_clamp_data(), blender::ed::transform::createTransSeqImageData(), blender::ed::transform::createTransSeqRetimingData(), blender::ed::vse::do_lasso_select_preview(), edit_split_strips_get(), blender::ed::vse::find_unlocked_unmuted_channel(), blender::ed::vse::get_scene_strip_for_time_sync(), blender::ed::transform::gizmo2d_calc_bounds(), blender::ed::transform::gizmo2d_calc_rotation(), blender::ed::transform::gizmo2d_calc_transform_orientation(), blender::ed::transform::gizmo2d_calc_transform_pivot(), blender::ed::vse::preview_draw_all_image_overlays(), blender::ed::transform::query_strip_sources_preview(), blender::ed::transform::query_strip_sources_timeline(), blender::ed::transform::query_strip_targets_preview(), blender::ed::transform::query_strip_targets_timeline(), blender::screen_ctx_selected_editable_strips(), blender::ed::vse::selected_strips_from_context(), blender::ed::vse::seq_box_select_strip_from_preview(), blender::ed::vse::seq_circle_select_strip_from_preview(), seq_edit_split_operation_permitted_check(), blender::ed::transform::seq_get_strip_pivot_median(), seq_prefetch_must_skip_frame(), blender::ed::transform::SeqTransInfo(), blender::ed::vse::sequencer_box_blade_exec(), blender::ed::vse::sequencer_drop_copy(), blender::ed::vse::sequencer_main_cursor(), blender::ed::vse::sequencer_meta_make_exec(), blender::ed::vse::sequencer_offset_clear_exec(), blender::ed::vse::sequencer_ripple_delete_exec(), blender::ed::vse::sequencer_ripple_trim_exec(), blender::ed::vse::sequencer_snap_exec(), blender::ed::vse::sequencer_swap_exec(), blender::ed::vse::slip_data_init(), blender::ed::vse::split_expand_strips(), blender::ed::vse::strip_get_text_strip_cb(), blender::ed::vse::strip_select_from_preview(), strip_topmost_get(), strip_transform_handle_overwrite(), blender::ed::vse::strips_from_context(), time_find_next_prev_edit(), blender::ed::vse::timeline_draw_context_get(), and transform_shuffle_vertical().

◆ channels_duplicate()

void blender::seq::channels_duplicate ( ListBaseT< SeqTimelineChannel > * channels_dst,
ListBaseT< SeqTimelineChannel > * channels_src )

Definition at line 42 of file channels.cc.

References blender::BLI_addtail(), and channels_duplicate().

Referenced by channels_duplicate(), and strip_duplicate().

◆ channels_ensure()

◆ channels_free()

void blender::seq::channels_free ( ListBaseT< SeqTimelineChannel > * channels)

Definition at line 52 of file channels.cc.

References channels_free().

Referenced by channels_free(), editing_free(), and seq_strip_free_ex().

◆ check_media_missing()

◆ check_sound_media_missing()

◆ clamp_rect()

void blender::seq::clamp_rect ( int width,
int height,
rcti & r_rect )
static

◆ close_movie_proxy_builder()

void blender::seq::close_movie_proxy_builder ( ProxyBuildContext * context,
bool stop )
static

◆ collection_filter_channel_up_to_incl()

void blender::seq::collection_filter_channel_up_to_incl ( VectorSet< Strip * > & strip_stack,
const int channel )
static

◆ collection_filter_rendered_strips()

◆ color_balance_lgg()

float blender::seq::color_balance_lgg ( float in,
const float lift,
const float gain,
const float gamma,
const float mul )
static

◆ color_balance_sop()

float blender::seq::color_balance_sop ( float in,
const float slope,
const float offset,
const float power,
float mul )
static

◆ color_mix_effect_get_handle()

◆ colorBalance_apply()

◆ colorBalance_init_data()

◆ colorBalance_panel_draw()

◆ colorBalance_register()

void blender::seq::colorBalance_register ( ARegionType * region_type)
static

◆ composite_shadow()

void blender::seq::composite_shadow ( int width,
const rcti & shadow_rect,
const float4 & shadow_color,
const Array< uchar > & shadow_mask,
uchar * output )
static

◆ compositor_effect_get_handle()

◆ compositor_effect_nodes_input_usages()

◆ compositor_effect_nodes_update_interface()

◆ compositor_modifier_apply()

◆ compositor_modifier_init_data()

void blender::seq::compositor_modifier_init_data ( StripModifierData * strip_modifier_data)
static

◆ compositor_modifier_nodes_update_interface()

◆ compositor_modifier_panel_draw()

void blender::seq::compositor_modifier_panel_draw ( const bContext * C,
Panel * panel )
static

◆ compositor_modifier_register()

void blender::seq::compositor_modifier_register ( ARegionType * region_type)
static

◆ connect() [1/2]

void blender::seq::connect ( Strip * strip1,
Strip * strip2 )

Connect strips so that they may be selected together. Any connections the strips already have will be severed before reconnection.

Definition at line 96 of file strip_connect.cc.

References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), and connect().

Referenced by connect(), connect(), blender::io::otio::resolve_connect_strips(), blender::ed::vse::sequencer_add_movie_strips_single_file(), and blender::ed::vse::sequencer_connect_exec().

◆ connect() [2/2]

◆ connected_strips_get()

◆ connection_remove()

void blender::seq::connection_remove ( Strip * strip,
StripConnection & con_strip )
static

◆ connections_duplicate()

void blender::seq::connections_duplicate ( ListBaseT< StripConnection > * connections_dst,
ListBaseT< StripConnection > * connections_src )

Definition at line 17 of file strip_connect.cc.

References blender::BLI_addtail(), and connections_duplicate().

Referenced by connections_duplicate(), and strip_duplicate().

◆ content_frame_index_get()

int blender::seq::content_frame_index_get ( const Scene * scene,
const Strip * strip,
const int frame )
static

◆ convert_origin_to_image_offset()

float2 blender::seq::convert_origin_to_image_offset ( const Scene * scene,
const Strip * strip,
float2 origin )
static

◆ copy_compositor_effect()

void blender::seq::copy_compositor_effect ( Strip * dst,
const Strip * src,
const int flag )
static

◆ copy_effect_default()

void blender::seq::copy_effect_default ( Strip * dst,
const Strip * src,
const int  )
static

Definition at line 100 of file effects.cc.

References copy_effect_default(), and blender::MEM_dupalloc_void().

Referenced by copy_effect_default(), and effect_handle_get().

◆ copy_speed_effect()

void blender::seq::copy_speed_effect ( Strip * dst,
const Strip * src,
const int  )
static

Definition at line 50 of file effect_speed.cc.

References copy_speed_effect(), and blender::v.

Referenced by copy_speed_effect(), and speed_effect_get_handle().

◆ copy_text_effect()

void blender::seq::copy_text_effect ( Strip * dst,
const Strip * src,
const int flag )
static

◆ create_missing_media_image()

◆ cross_effect_get_handle()

◆ current_owner_get()

uint64_t blender::seq::current_owner_get ( )
static

◆ curves_apply()

◆ curves_copy_data()

void blender::seq::curves_copy_data ( StripModifierData * target,
StripModifierData * smd )
static

◆ curves_free_data()

void blender::seq::curves_free_data ( StripModifierData * smd)
static

◆ curves_init_data()

void blender::seq::curves_init_data ( StripModifierData * smd)
static

◆ curves_panel_draw()

void blender::seq::curves_panel_draw ( const bContext * C,
Panel * panel )
static

◆ curves_read()

void blender::seq::curves_read ( BlendDataReader * reader,
StripModifierData * smd )
static

◆ curves_register()

void blender::seq::curves_register ( ARegionType * region_type)
static

◆ curves_write()

void blender::seq::curves_write ( BlendWriter * writer,
const StripModifierData * smd )
static

◆ cut_one_way_connections()

void blender::seq::cut_one_way_connections ( Strip * strip)

Ensure that the strip has only bidirectional connections (expected behavior).

Definition at line 63 of file strip_connect.cc.

References blender::BLI_remlink(), cut_one_way_connections(), and blender::StripConnection::strip_ref.

Referenced by cut_one_way_connections(), and seq_duplicate_postprocess().

◆ cut_outside_connections()

void blender::seq::cut_outside_connections ( const VectorSet< Strip * > & strip_list)

Only remove the connections from strips inside strip_list to outside the list. Strips within strip_list keep their connections if they existed before.

Definition at line 85 of file strip_connect.cc.

References connection_remove(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), and cut_outside_connections().

Referenced by cut_outside_connections(), and edit_strips_split().

◆ default_strip_length()

int blender::seq::default_strip_length ( double scene_fps)

Default duration in frames for strips with no inherent duration (color, text, etc).

Note
For default length in seconds, use #U.sequencer_default_strip_length.

Definition at line 64 of file strip_add.cc.

References default_strip_length(), and blender::U.

Referenced by blender::ed::vse::color_drop_on_enter(), default_strip_length(), blender::ed::vse::image_drop_on_enter(), blender::ed::vse::mask_drop_on_enter(), blender::ed::vse::movieclip_drop_on_enter(), blender::ed::vse::scene_drop_on_enter(), blender::ed::vse::sequencer_generic_invoke_xy__internal(), and blender::ed::vse::text_drop_on_enter().

◆ disconnect() [1/2]

bool blender::seq::disconnect ( Strip * strip)

Completely disconnect the strip(s) from any connections with other strips. This function also frees the allocated memory as necessary. Returns false if any of the strips were not already connected.

Definition at line 41 of file strip_connect.cc.

References connection_remove(), and disconnect().

Referenced by connect(), disconnect(), disconnect(), seq_strip_free_ex(), blender::ed::vse::sequencer_connect_exec(), and blender::ed::vse::sequencer_disconnect_exec().

◆ disconnect() [2/2]

bool blender::seq::disconnect ( VectorSet< Strip * > & strip_list)

Definition at line 53 of file strip_connect.cc.

References disconnect().

◆ do_add_effect()

◆ do_adjustment()

SeqResult blender::seq::do_adjustment ( const RenderData * context,
SeqRenderState * state,
Strip * strip,
float timeline_frame,
float ,
const SeqResult & ,
const SeqResult &  )
static

◆ do_adjustment_impl()

SeqResult blender::seq::do_adjustment_impl ( const RenderData * context,
SeqRenderState * state,
Strip * strip,
float timeline_frame )
static

◆ do_alphaover_effect()

SeqResult blender::seq::do_alphaover_effect ( const RenderData * context,
SeqRenderState * ,
Strip * ,
float ,
float fac,
const SeqResult & src1,
const SeqResult & src2 )
static

◆ do_alphaunder_effect()

SeqResult blender::seq::do_alphaunder_effect ( const RenderData * context,
SeqRenderState * ,
Strip * ,
float ,
float fac,
const SeqResult & src1,
const SeqResult & src2 )
static

◆ do_blend_effect_byte()

void blender::seq::do_blend_effect_byte ( float fac,
int64_t size,
const uchar * rect1,
const uchar * rect2,
StripBlendMode btype,
uchar * out )
static

Definition at line 244 of file effect_blend.cc.

References apply_blend_function(), blender::blend_color_add_byte(), blender::blend_color_burn_byte(), blender::blend_color_color_byte(), blender::blend_color_darken_byte(), blender::blend_color_difference_byte(), blender::blend_color_dodge_byte(), blender::blend_color_exclusion_byte(), blender::blend_color_hardlight_byte(), blender::blend_color_hue_byte(), blender::blend_color_lighten_byte(), blender::blend_color_linearburn_byte(), blender::blend_color_linearlight_byte(), blender::blend_color_luminosity_byte(), blender::blend_color_mul_byte(), blender::blend_color_overlay_byte(), blender::blend_color_pinlight_byte(), blender::blend_color_saturation_byte(), blender::blend_color_screen_byte(), blender::blend_color_softlight_byte(), blender::blend_color_sub_byte(), blender::blend_color_vividlight_byte(), do_blend_effect_byte(), blender::gpu::shader::metadata::out, blender::STRIP_BLEND_ADD, blender::STRIP_BLEND_BLEND_COLOR, blender::STRIP_BLEND_COLOR_BURN, blender::STRIP_BLEND_DARKEN, blender::STRIP_BLEND_DIFFERENCE, blender::STRIP_BLEND_DODGE, blender::STRIP_BLEND_EXCLUSION, blender::STRIP_BLEND_HARD_LIGHT, blender::STRIP_BLEND_HUE, blender::STRIP_BLEND_LIGHTEN, blender::STRIP_BLEND_LIN_LIGHT, blender::STRIP_BLEND_LINEAR_BURN, blender::STRIP_BLEND_MUL, blender::STRIP_BLEND_OVERLAY, blender::STRIP_BLEND_PIN_LIGHT, blender::STRIP_BLEND_SATURATION, blender::STRIP_BLEND_SCREEN, blender::STRIP_BLEND_SOFT_LIGHT, blender::STRIP_BLEND_SUB, blender::STRIP_BLEND_VALUE, and blender::STRIP_BLEND_VIVID_LIGHT.

Referenced by blender::seq::BlendModeEffectOp::apply(), and do_blend_effect_byte().

◆ do_blend_effect_float()

void blender::seq::do_blend_effect_float ( float fac,
int64_t size,
const float * rect1,
const float * rect2,
StripBlendMode btype,
float * out )
static

Definition at line 168 of file effect_blend.cc.

References apply_blend_function(), blender::blend_color_add_float(), blender::blend_color_burn_float(), blender::blend_color_color_float(), blender::blend_color_darken_float(), blender::blend_color_difference_float(), blender::blend_color_dodge_float(), blender::blend_color_exclusion_float(), blender::blend_color_hardlight_float(), blender::blend_color_hue_float(), blender::blend_color_lighten_float(), blender::blend_color_linearburn_float(), blender::blend_color_linearlight_float(), blender::blend_color_luminosity_float(), blender::blend_color_mul_float(), blender::blend_color_overlay_float(), blender::blend_color_pinlight_float(), blender::blend_color_saturation_float(), blender::blend_color_screen_float(), blender::blend_color_softlight_float(), blender::blend_color_sub_float(), blender::blend_color_vividlight_float(), do_blend_effect_float(), blender::gpu::shader::metadata::out, blender::STRIP_BLEND_ADD, blender::STRIP_BLEND_BLEND_COLOR, blender::STRIP_BLEND_COLOR_BURN, blender::STRIP_BLEND_DARKEN, blender::STRIP_BLEND_DIFFERENCE, blender::STRIP_BLEND_DODGE, blender::STRIP_BLEND_EXCLUSION, blender::STRIP_BLEND_HARD_LIGHT, blender::STRIP_BLEND_HUE, blender::STRIP_BLEND_LIGHTEN, blender::STRIP_BLEND_LIN_LIGHT, blender::STRIP_BLEND_LINEAR_BURN, blender::STRIP_BLEND_MUL, blender::STRIP_BLEND_OVERLAY, blender::STRIP_BLEND_PIN_LIGHT, blender::STRIP_BLEND_SATURATION, blender::STRIP_BLEND_SCREEN, blender::STRIP_BLEND_SOFT_LIGHT, blender::STRIP_BLEND_SUB, blender::STRIP_BLEND_VALUE, and blender::STRIP_BLEND_VIVID_LIGHT.

Referenced by blender::seq::BlendModeEffectOp::apply(), and do_blend_effect_float().

◆ do_blend_mode_effect()

◆ do_colormix_effect()

◆ do_compositor_effect()

◆ do_cross_effect()

◆ do_gammacross_effect()

◆ do_gaussian_blur_effect()

◆ do_glow_effect()

◆ do_glow_effect_byte()

◆ do_glow_effect_float()

◆ do_mul_effect()

SeqResult blender::seq::do_mul_effect ( const RenderData * context,
SeqRenderState * ,
Strip * ,
float ,
float fac,
const SeqResult & src1,
const SeqResult & src2 )
static

◆ do_multicam()

SeqResult blender::seq::do_multicam ( const RenderData * context,
SeqRenderState * state,
Strip * strip,
float timeline_frame,
float ,
const SeqResult & ,
const SeqResult &  )
static

◆ do_render_strip_seqbase()

◆ do_render_strip_uncached()

◆ do_solid_color()

◆ do_speed_effect()

◆ do_sub_effect()

◆ do_text_effect()

◆ do_wipe_effect() [1/2]

◆ do_wipe_effect() [2/2]

template<typename T>
void blender::seq::do_wipe_effect ( const Strip * strip,
float fac,
int width,
int height,
const T * rect1,
const T * rect2,
T * out )
static

◆ doversion_250_sound_proxy_update()

void blender::seq::doversion_250_sound_proxy_update ( Main * bmain,
Editing * ed )

◆ draw_mask_input_type_settings()

◆ draw_text_outline()

◆ draw_text_shadow()

◆ early_out_adjustment()

StripEarlyOut blender::seq::early_out_adjustment ( const Strip * ,
float  )
static

Definition at line 23 of file effect_adjustment.cc.

References early_out_adjustment(), and NoInput.

Referenced by adjustment_effect_get_handle(), and early_out_adjustment().

◆ early_out_color()

StripEarlyOut blender::seq::early_out_color ( const Strip * ,
float  )
static

Definition at line 38 of file effect_solid_color.cc.

References early_out_color(), and NoInput.

Referenced by early_out_color(), and solid_color_effect_get_handle().

◆ early_out_compositor()

StripEarlyOut blender::seq::early_out_compositor ( const Strip * strip,
float  )
static

◆ early_out_fade()

StripEarlyOut blender::seq::early_out_fade ( const Strip * ,
float fac )

◆ early_out_gaussian_blur()

StripEarlyOut blender::seq::early_out_gaussian_blur ( const Strip * strip,
float  )
static

◆ early_out_mul_input1()

StripEarlyOut blender::seq::early_out_mul_input1 ( const Strip * ,
float fac )

Definition at line 129 of file effects.cc.

References DoEffect, early_out_mul_input1(), and UseInput2.

Referenced by alpha_over_effect_get_handle(), and early_out_mul_input1().

◆ early_out_mul_input2()

◆ early_out_multicam()

StripEarlyOut blender::seq::early_out_multicam ( const Strip * ,
float  )
static

Definition at line 23 of file effect_multi_camera.cc.

References early_out_multicam(), and NoInput.

Referenced by early_out_multicam(), and multi_camera_effect_get_handle().

◆ early_out_noop()

StripEarlyOut blender::seq::early_out_noop ( const Strip * ,
float  )
static

Definition at line 105 of file effects.cc.

References DoEffect, and early_out_noop().

Referenced by early_out_noop(), effect_handle_for_blend_mode_get(), and effect_handle_get().

◆ early_out_speed()

StripEarlyOut blender::seq::early_out_speed ( const Strip * ,
float  )
static

Definition at line 57 of file effect_speed.cc.

References DoEffect, and early_out_speed().

Referenced by early_out_speed(), and speed_effect_get_handle().

◆ early_out_text()

StripEarlyOut blender::seq::early_out_text ( const Strip * strip,
float  )
static

Definition at line 314 of file effect_text.cc.

References early_out_text(), effects_can_render_text(), NoInput, and UseInput1.

Referenced by early_out_text(), and text_effect_get_handle().

◆ echomodifier_draw()

◆ echomodifier_init_data()

void blender::seq::echomodifier_init_data ( StripModifierData * smd)
static

◆ echomodifier_recreator()

◆ echomodifier_register()

void blender::seq::echomodifier_register ( ARegionType * region_type)
static

◆ ED_seq_proxy_job_get()

◆ ED_seq_proxy_wm_job_get()

◆ edit_flag_for_removal()

◆ edit_frame_splits_strip()

bool blender::seq::edit_frame_splits_strip ( const Scene * scene,
const Strip * strip,
const int timeline_frame )

Test if this strip can be split at the given frame.

Parameters
timeline_frameabsolute frame in the timeline
Returns
true if timeline_frame exists in the strip's (start_frame, end_frame) range, i.e., exclusive start and end.

Definition at line 307 of file strip_edit.cc.

References edit_frame_splits_strip().

Referenced by blender::ed::vse::blade_split_draw(), edit_frame_splits_strip(), edit_split_strips_get(), edit_strips_split(), seq_edit_split_effect_inputs_intersect(), seq_edit_split_handle_strip_offsets(), and seq_edit_split_operation_permitted_check().

◆ edit_move_strip_to_meta()

bool blender::seq::edit_move_strip_to_meta ( Scene * scene,
Strip * src_strip,
Strip * dst_stripm,
const char ** r_error_str )

◆ edit_move_strip_to_seqbase()

bool blender::seq::edit_move_strip_to_seqbase ( Scene * scene,
ListBaseT< Strip > * seqbase,
Strip * strip,
ListBaseT< Strip > * dst_seqbase )

◆ edit_remove_flagged_strips()

◆ edit_remove_gaps()

bool blender::seq::edit_remove_gaps ( Scene * scene,
ListBaseT< Strip > * seqbase,
int initial_frame,
bool remove_all_gaps )

Find the gap after initial_frame and move strips on its right side to close it.

Parameters
remove_all_gapsClose every gap after initial_frame, not just the first.
Returns
Whether a gap was removed.

Definition at line 530 of file strip_edit.cc.

References edit_remove_gaps(), blender::seq::GapInfo::gap_exists, blender::seq::GapInfo::gap_length, blender::seq::GapInfo::gap_start_frame, seq_time_gap_info_get(), and transform_strips_after_frame().

Referenced by edit_remove_gaps(), edit_strips_split(), and blender::ed::vse::sequencer_gap_remove_exec().

◆ edit_split_strips_get()

Vector< Strip * > blender::seq::edit_split_strips_get ( Scene * scene,
int frame,
std::optional< int > channel,
bool only_selected )

Strips that #SEQUENCER_OT_split splits at frame; note that this does not include effects or connections, the caller must propagate to them by edit_strip_split or #split_expand_strips.

With channel set, there is only one possible strip split in that channel at that frame, assuming no bugged overlapping strips.

Definition at line 312 of file strip_edit.cc.

References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), channels_displayed_get(), edit_frame_splits_strip(), edit_split_strips_get(), editing_get(), blender::SEQ_SELECT, and transform_is_locked().

Referenced by blender::ed::vse::blade_split_get(), edit_split_strips_get(), blender::ed::vse::sequencer_split_exec(), and blender::ed::vse::sequencer_split_invoke().

◆ edit_strip_name_set()

◆ edit_strip_split()

Strip * blender::seq::edit_strip_split ( Main * bmain,
Scene * scene,
ListBaseT< Strip > * seqbase,
Strip * strip,
int timeline_frame,
eSplitMethod method,
bool ignore_connections,
const char ** r_error )

Split strip in two at timeline_frame.

Parameters
methodSoft keeps content beyond the split point, hard turns them into hold frames.
Returns
The new right-side strip, or null if the split failed.

Definition at line 514 of file strip_edit.cc.

References ConnectedEffectChain, edit_strip_split(), edit_strips_split(), EffectChain, blender::Vector< T, InlineBufferCapacity, Allocator >::first(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), and blender::nullptr.

Referenced by edit_strip_split(), blender::ed::vse::ripple_range_clear(), strip_transform_handle_overwrite_split(), and strip_transform_ripple_range().

◆ edit_strip_swap()

◆ edit_strips_split() [1/2]

Vector< Strip * > blender::seq::edit_strips_split ( Main * bmain,
Scene * scene,
ListBaseT< Strip > * seqbase,
const Span< Strip * > strips_to_split,
const int timeline_frame,
const eSplitMethod method,
const StripRelation include,
const char ** r_error )

◆ edit_strips_split() [2/2]

Vector< Strip * > blender::seq::edit_strips_split ( Main * bmain,
Scene * scene,
ListBaseT< Strip > * seqbase,
Span< Strip * > strips_to_split,
int timeline_frame,
eSplitMethod method,
StripRelation include,
const char ** r_error )

◆ edit_update_muting()

void blender::seq::edit_update_muting ( Editing * ed)

◆ editing_ensure()

◆ editing_free()

◆ editing_get()

Editing * blender::seq::editing_get ( const Scene * scene)

Definition at line 304 of file sequencer.cc.

References blender::Scene::ed, and editing_get().

Referenced by blender::io::otio::add_nested_items(), blender::io::otio::add_pending_effects(), blender::ed::vse::all_strips_from_context(), blender::animchan_sync_fcurve_scene(), blender::append_sequencer_strip_snap_target(), blender::ed::vse::blade_paint_cursor_poll(), blender::ed::vse::blade_split_get(), blender::blo_do_versions_290(), blender::blo_do_versions_300(), blender::blo_do_versions_404(), blender::blo_do_versions_500(), blender::blo_do_versions_503(), blender::ed::vse::box_blade_draw(), blender::ed::transform::build_sources_timeline_retiming(), blender::ed::transform::build_targets_timeline(), blender::ed::outliner::TreeDisplaySequencer::build_tree(), blender::ed::vse::can_select_handle(), blender::ed::vse::channel_draw_context_init(), blender::ed::transform::create_trans_seq_clamp_data(), blender::ed::transform::create_trans_seq_clamp_data(), blender::ed::transform::createTransSeqData(), blender::ed::transform::createTransSeqImageData(), blender::ed::transform::createTransSeqRetimingData(), blender::ed::vse::deselect_all_strips(), blender::ed::vse::do_lasso_select_timeline(), blender::do_versions_after_linking_300(), blender::do_versions_after_linking_400(), blender::ed::vse::draw_channels(), blender::nodes::draw_mask_input_type_settings(), draw_mask_input_type_settings(), blender::ed::vse::draw_timeline_seq_display(), blender::ed::vse::draw_timeline_sfra_efra(), blender::ED_imbuf_sample_poll(), edit_flag_for_removal(), edit_move_strip_to_meta(), edit_split_strips_get(), edit_strip_swap(), edit_strips_split(), editing_get(), blender::ensure_change_frame_keylist(), blender::bke::NodeTreeRelations::ensure_strip_users(), blender::io::otio::exporter_main(), blender::nodes::find_effect_strip_from_system_property(), blender::ed::vse::find_neighboring_strip(), blender::ed::vse::find_next_prev_strip(), blender::nodes::find_strip_and_modifier_data_from_system_property(), blender::ed::transform::flushTransSeq(), blender::ed::transform::freeSeqData(), blender::ed::vse::freeze_frame_add_from_retiming_selection(), blender::ed::vse::get_scene_strip_for_time_sync(), get_seqbase_by_strip(), get_seqbase_from_strip(), blender::ed::transform::gizmo2d_calc_bounds(), blender::ed::transform::gizmo2d_calc_rotation(), blender::ed::transform::gizmo2d_calc_transform_orientation(), blender::ed::transform::gizmo2d_calc_transform_pivot(), blender::ed::transform::gizmo2d_generic_poll(), blender::ed::transform::image_transform_set(), invalidate_raw_cache_of_parent_meta(), meta_stack_set(), blender::ed::vse::padded_strips_under_mouse_get(), proxy_endjob(), blender::ed::transform::query_strip_sources_preview(), blender::ed::transform::query_strip_sources_timeline(), blender::ed::transform::query_strip_targets_preview(), blender::ed::transform::query_time_dependent_strips_strips(), blender::ed::transform::recalcData_sequencer_retiming(), relations_check_scene_recursion(), relations_invalidate_compositor_users(), relations_invalidate_generator_strips(), relations_invalidate_scene_strips(), relations_invalidate_temporary_animation_frame(), relations_refresh_all(), relations_tag_temporary_animation_frame(), relations_update_view_layer_scene_strips(), render_give_ibuf(), blender::ed::vse::retiming_key_add_to_editable_strips(), retiming_key_overlap(), retiming_keys_are_selected(), blender::ed::vse::retiming_poll(), blender::screen_ctx_selected_editable_strips(), blender::screen_ctx_selected_strips(), blender::screen_ctx_strips(), blender::ed::vse::segment_speed_set(), select_active_get(), select_active_get_pair(), select_active_set(), blender::ed::vse::select_grouped_visual_overlap(), select_has_any(), blender::ed::vse::select_linked_internal(), blender::ed::vse::select_linked_time(), blender::ed::vse::select_more_less_impl(), blender::ed::vse::selected_strips_from_context(), blender::ed::vse::seq_box_select_strip_from_preview(), blender::ed::vse::seq_circle_select_strip_from_preview(), seq_edit_split_operation_permitted_check(), blender::seq_get_snap_targets(), blender::ed::transform::seq_get_strip_pivot_median(), blender::ed::vse::seq_load_apply_generic_options(), blender::ed::vse::seq_load_apply_generic_options_only_test_overlap(), blender::ed::vse::seq_load_handle_overlap(), seq_meta_stack_alloc(), seq_prefetch_must_skip_frame(), seq_prefetch_update_active_seqbase(), blender::ed::vse::seq_proxy_build_job(), seq_proxy_get_filepath_for_elem(), blender::ed::transform::seq_transform_cancel(), blender::ed::transform::seq_transform_edit_point_update(), blender::ed::transform::seq_transform_handle_overlap(), blender::seq_update_meta_disp_range(), blender::ed::vse::seq_view_collection_rect_timeline(), blender::ed::transform::seqbase_active_get(), blender::ed::transform::SeqTransInfo(), blender::ed::outliner::sequence_fn(), blender::ed::vse::sequencer_add_duplicate_exec(), blender::ed::vse::sequencer_box_blade_exec(), blender::ed::vse::sequencer_box_select_exec(), blender::ed::vse::sequencer_clamped_view_bounds_get(), blender::ed::vse::sequencer_clipboard_copy_exec(), blender::ed::vse::sequencer_connect_exec(), blender::ed::vse::sequencer_delete_exec(), blender::ed::vse::sequencer_disable_one_time_properties(), blender::ed::vse::sequencer_disconnect_exec(), blender::ed::vse::sequencer_edit_poll(), blender::ed::vse::sequencer_effect_poll(), blender::ed::vse::sequencer_enable_proxies_exec(), blender::ed::vse::sequencer_export_subtitles_exec(), blender::ed::vse::sequencer_gap_insert_exec(), blender::ed::vse::sequencer_gap_remove_exec(), blender::sequencer_is_mouse_over_handle(), blender::ed::vse::sequencer_lock_exec(), blender::ed::vse::sequencer_main_cursor(), blender::ed::vse::sequencer_meta_make_exec(), blender::ed::vse::sequencer_meta_separate_exec(), blender::ed::vse::sequencer_meta_toggle_exec(), blender::ed::vse::sequencer_offset_clear_exec(), blender::ed::vse::sequencer_reassign_inputs_exec(), blender::ed::vse::sequencer_rebuild_proxy_exec(), blender::ed::vse::sequencer_reload_exec(), blender::ed::vse::sequencer_retiming_box_select_exec(), blender::ed::vse::sequencer_retiming_data_show_exec(), blender::ed::vse::sequencer_retiming_key_delete_exec(), blender::ed::vse::sequencer_retiming_key_select_exec(), blender::ed::vse::sequencer_retiming_reset_exec(), blender::ed::vse::sequencer_retiming_segment_speed_set_exec(), blender::ed::vse::sequencer_retiming_select_all_exec(), blender::ed::vse::sequencer_retiming_select_linked_time(), blender::ed::vse::sequencer_ripple_delete_exec(), blender::ed::vse::sequencer_ripple_trim_exec(), blender::ed::vse::sequencer_scene_frame_range_update_poll(), blender::ed::vse::sequencer_select_exec(), blender::ed::vse::sequencer_select_handle_exec(), blender::ed::vse::sequencer_select_handles_exec(), blender::ed::vse::sequencer_select_linked_handle(), blender::ed::vse::sequencer_select_side_exec(), blender::ed::vse::sequencer_select_side_of_frame(), blender::ed::vse::sequencer_select_side_of_frame_exec(), blender::ed::vse::sequencer_separate_images_exec(), blender::ed::vse::sequencer_set_range_to_strips_exec(), blender::ed::vse::sequencer_snap_exec(), blender::ed::vse::sequencer_split_exec(), blender::ed::vse::sequencer_strip_change_scene_poll(), blender::ed::vse::sequencer_strip_color_tag_set_exec(), blender::ed::vse::sequencer_strip_editable_and_selected_poll(), blender::ed::vse::sequencer_strip_editable_poll(), blender::ed::vse::sequencer_strip_has_path_poll(), blender::ed::vse::sequencer_strip_is_text_poll(), blender::ed::vse::sequencer_strip_transform_clear_exec(), blender::ed::vse::sequencer_strip_transform_fit_exec(), blender::ed::vse::sequencer_swap_exec(), blender::ed::vse::sequencer_unlock_exec(), blender::ed::vse::sequencer_unmute_exec(), blender::ed::vse::sequencer_view_all_exec(), blender::ed::vse::sequencer_view_preview_only_poll(), blender::ed::vse::sequencer_visible_strips_get(), blender::set_common_sequencer_update_function(), blender::skip_fcurve_selected_data(), blender::ed::vse::slip_data_init(), blender::sound_pack_exec(), blender::sound_poll(), blender::sound_unpack_invoke(), blender::ed::vse::special_preview_set(), blender::ed::transform::store_transform_properties(), blender::ed::vse::strip_effect_get_new_inputs(), blender::ed::vse::strip_get_text_strip_cb(), strip_renders_scene_strip(), strip_retiming_transition_offset(), blender::ed::vse::strip_select_from_preview(), blender::ed::vse::strip_speed_get(), strip_transform_handle_overwrite(), strip_transform_handle_overwrite_trim(), strip_update_sound_properties(), blender::ed::vse::strips_from_context(), time_find_next_prev_edit(), blender::ed::vse::timeline_draw_context_get(), transform_shuffle_vertical(), blender::ed::vse::transition_add_from_retiming_selection(), blender::ed::outliner::tree_element_strip_activate(), blender::ed::outliner::tree_element_strip_dup_activate(), blender::ed::outliner::tree_element_strip_state_get(), blender::update_sequencer(), blender::version_clear_strip_linear_modifier_flag(), blender::version_clear_unused_strip_flags(), blender::version_scene_strip_view_layer_name(), blender::version_solid_color_width_height_defaults(), blender::version_strip_modifier_show_preview_flag(), blender::version_text_strip_abs_space_line(), blender::version_text_strip_space_line(), blender::ed::vse::vse_circle_select_exec(), and blender::ed::vse::vse_lasso_select_exec().

◆ effect_ensure_initialized()

◆ effect_fader_calc()

◆ effect_free()

void blender::seq::effect_free ( Strip * strip)

◆ effect_handle_for_blend_mode_get()

◆ effect_handle_get()

◆ effect_is_transition()

◆ effect_text_font_set()

◆ effect_type_get_min_num_inputs()

◆ effects_can_render_text()

◆ ensure_final_image_cache()

◆ ensure_ibuf_is_color_space()

◆ ensure_ibuf_is_linear_space()

◆ ensure_ibuf_is_rgba()

◆ ensure_ibuf_is_sequencer_space()

◆ ensure_left_and_right_keys()

◆ ensure_preview_cache()

◆ ensure_source_image_cache()

◆ ensure_thumbnail_cache()

ThumbnailCache * blender::seq::ensure_thumbnail_cache ( Scene * scene)
static

◆ ensure_unique_name()

void blender::seq::ensure_unique_name ( Strip * strip,
Scene * scene,
const DriverMap & driver_map )

Ensure strip has a unique name in scene. If animation data exists for it, it will be duplicated and mapped onto the new name.

Parameters
driver_mapUsed to update driver paths to the new name. Pass an empty map when the strip is a copy and the original still carries the old name. See BKE_animdata_build_driver_target_map.

Definition at line 412 of file sequencer/intern/utils.cc.

References blender::BKE_animdata_fix_paths(), blender::Scene::ed, ensure_unique_name(), blender::Scene::id, blender::RNA_path_name_to_infix(), blender::Editing::seqbase, STRIP_NAME_MAXSTR, blender::STRIP_TYPE_META, strip_unique_name_set(), STRNCPY_UTF8, and blender::animrig::Strip::type().

Referenced by edit_strips_split(), ensure_unique_name(), blender::ed::vse::sequencer_add_duplicate_exec(), blender::ed::vse::sequencer_change_effect_type_exec(), and blender::ed::vse::sequencer_clipboard_paste_exec().

◆ entry_add_or_replace_frame()

◆ ENUM_OPERATORS() [1/4]

◆ ENUM_OPERATORS() [2/4]

blender::seq::ENUM_OPERATORS ( StripDuplicate )

References ENUM_OPERATORS().

◆ ENUM_OPERATORS() [3/4]

◆ ENUM_OPERATORS() [4/4]

blender::seq::ENUM_OPERATORS ( StripRuntimeFlag )

References ENUM_OPERATORS().

◆ eval_strips()

void blender::seq::eval_strips ( Depsgraph * depsgraph,
Scene * scene,
ListBaseT< Strip > * seqbase )

Evaluate parts of strips which needs to be done as a part of a dependency graph evaluation. This does NOT include actual rendering of the strips, but rather makes them up-to-date for animation playback and makes them ready for the sequencer's rendering pipeline to render them.

Definition at line 1300 of file sequencer.cc.

References blender::BKE_sound_ensure_scene(), blender::DEG_debug_print_eval(), blender::DEG_get_original(), blender::Scene::ed, edit_update_muting(), eval_strips(), foreach_strip(), blender::Scene::id, blender::ID::name, relations_invalidate_temporary_animation_frame(), sound_update_bounds_all(), and strip_sound_update_cb().

Referenced by eval_strips().

◆ evict_caches_if_full()

◆ exists_in_seqbase()

bool blender::seq::exists_in_seqbase ( const Strip * strip,
const ListBaseT< Strip > * seqbase )

◆ expand_strips()

◆ extract_standalone_strips()

◆ fake_retiming_key_init()

SeqRetimingKey blender::seq::fake_retiming_key_init ( const Scene * scene,
const Strip * strip,
int frame )

◆ fcurve_matches()

bool blender::seq::fcurve_matches ( const Strip & strip,
const FCurve & fcurve )

◆ fill_rect_alpha_under()

◆ final_image_cache_calc_memory_size()

◆ final_image_cache_clear()

◆ final_image_cache_destroy()

◆ final_image_cache_evict()

◆ final_image_cache_get()

ImBuf * blender::seq::final_image_cache_get ( Scene * scene,
float timeline_frame,
int view_id,
int display_channel,
int2 image_size,
bool is_render )

◆ final_image_cache_get_image_count()

size_t blender::seq::final_image_cache_get_image_count ( const Scene * scene)

◆ final_image_cache_invalidate_frame_range()

◆ final_image_cache_iterate()

void blender::seq::final_image_cache_iterate ( Scene * scene,
void * userdata,
void callback_itervoid *userdata, int timeline_frame )

◆ final_image_cache_put()

void blender::seq::final_image_cache_put ( Scene * scene,
float timeline_frame,
int view_id,
int display_channel,
int2 image_size,
bool is_render,
ImBuf * image )

◆ find_slot()

◆ fontmap_clear()

◆ foreach_strip() [1/2]

void blender::seq::foreach_strip ( ListBaseT< Strip > * seqbase,
ForEachFunc callback,
void * user_data )

Recursively iterate through all strips in seqbase, calling callback on each.

Parameters
callbackReturn false to stop iterating.

Definition at line 60 of file iterator.cc.

References foreach_strip(), and strip_for_each_recursive().

Referenced by blender::animdata_filter_dopesheet_scene(), blend_read(), blend_write(), blender::blo_do_versions_250(), blender::blo_do_versions_260(), blender::blo_do_versions_270(), blender::blo_do_versions_280(), blender::blo_do_versions_300(), blender::blo_do_versions_401(), blender::blo_do_versions_402(), blender::blo_do_versions_404(), blender::blo_do_versions_500(), blender::blo_do_versions_503(), blender::blo_do_versions_pre250(), blender::deg::DepsgraphNodeBuilder::build_scene_sequencer(), blender::deg::DepsgraphRelationBuilder::build_scene_sequencer(), blender::do_versions_after_linking_300(), blender::do_versions_after_linking_400(), doversion_250_sound_proxy_update(), edit_flag_for_removal(), eval_strips(), blender::find_compositor_properties_strip(), foreach_strip(), foreach_strip(), blender::IMB_colormanagement_check_file_config(), blender::deg::SequencerBackup::init_from_scene(), relations_check_uids_unique_and_report(), blender::deg::SequencerBackup::restore_to_scene(), blender::scene_foreach_id(), blender::scene_foreach_path(), seq_update_scene_strip_sound(), blender::ed::vse::sequencer_export_subtitles_exec(), blender::sequencer_substitute_transform_effects(), blender::sound_update_animation_flags(), strip_unique_name_set(), blender::version_clear_strip_linear_modifier_flag(), blender::version_clear_unused_strip_flags(), blender::version_compositor_effect_initialized(), blender::version_scene_strip_view_layer_name(), blender::version_seq_text_from_legacy(), blender::version_sequencer_update_overdrop(), blender::version_solid_color_width_height_defaults(), blender::version_strip_modifier_show_preview_flag(), blender::version_system_idprops_generate(), blender::version_text_strip_abs_space_line(), and blender::version_text_strip_space_line().

◆ foreach_strip() [2/2]

void blender::seq::foreach_strip ( ListBaseT< Strip > * seqbase,
FunctionRef< bool(Strip *)> callback )

Same as above, but using a more modern FunctionRef as callback.

Definition at line 65 of file iterator.cc.

References foreach_strip(), and strip_for_each_recursive().

◆ foreach_strip_modifier_id()

◆ free_animdata()

◆ free_colormix_effect()

void blender::seq::free_colormix_effect ( Strip * strip,
const bool  )
static

Definition at line 362 of file effect_blend.cc.

References free_colormix_effect().

Referenced by color_mix_effect_get_handle(), and free_colormix_effect().

◆ free_compositor_effect()

void blender::seq::free_compositor_effect ( Strip * strip,
const bool  )
static

◆ free_gaussian_blur_effect()

void blender::seq::free_gaussian_blur_effect ( Strip * strip,
const bool  )
static

◆ free_glow_effect()

void blender::seq::free_glow_effect ( Strip * strip,
const bool  )
static

Definition at line 138 of file effect_glow.cc.

References blender::data, and free_glow_effect().

Referenced by free_glow_effect(), and glow_effect_get_handle().

◆ free_solid_color()

void blender::seq::free_solid_color ( Strip * strip,
const bool  )
static

Definition at line 29 of file effect_solid_color.cc.

References blender::data, and free_solid_color().

Referenced by free_solid_color(), and solid_color_effect_get_handle().

◆ free_speed_effect()

void blender::seq::free_speed_effect ( Strip * strip,
const bool  )
static

Definition at line 38 of file effect_speed.cc.

References free_speed_effect(), and blender::v.

Referenced by free_speed_effect(), and speed_effect_get_handle().

◆ free_strip_proxy()

void blender::seq::free_strip_proxy ( Strip * strip)

◆ free_text_effect()

void blender::seq::free_text_effect ( Strip * strip,
const bool do_id_user )
static

Definition at line 289 of file effect_text.cc.

References blender::data, free_text_effect(), and text_font_unload().

Referenced by free_text_effect(), and text_effect_get_handle().

◆ free_wipe_effect()

void blender::seq::free_wipe_effect ( Strip * strip,
const bool  )
static

Definition at line 166 of file effect_wipe.cc.

References free_wipe_effect().

Referenced by free_wipe_effect(), and wipe_effect_get_handle().

◆ freeze_key_pair_create()

◆ gamma_cross_effect_get_handle()

◆ gammaCorrect()

float blender::seq::gammaCorrect ( float c)
static

Definition at line 72 of file effect_cross.cc.

References gammaCorrect().

Referenced by blender::seq::GammaCrossEffectOp::apply(), and gammaCorrect().

◆ gaussian_blur_effect_get_handle()

◆ gaussian_blur_x()

template<typename T>
void blender::seq::gaussian_blur_x ( const Span< float > gaussian,
int half_size,
int start_line,
int width,
int height,
int ,
const T * rect,
T * dst )
static

◆ gaussian_blur_y()

template<typename T>
void blender::seq::gaussian_blur_y ( const Span< float > gaussian,
int half_size,
int start_line,
int width,
int height,
int frame_height,
const T * rect,
T * dst )
static

◆ get_auto_filter()

◆ get_channels_by_strip()

ListBaseT< SeqTimelineChannel > * blender::seq::get_channels_by_strip ( Editing * ed,
const Strip * strip )

◆ get_default_stripname_by_type()

◆ get_depsgraph_for_scene_strip()

◆ get_id_copy()

ID * blender::seq::get_id_copy ( ThumbnailCache * cache,
const ThumbnailCache::Request & request,
ID *& cur_id_copy,
uint64_t & cur_source_generation )
static

◆ get_key()

SourceImageCache::Key blender::seq::get_key ( const RenderData * context,
const Scene * scene,
const Strip * strip,
float timeline_frame )
static

◆ get_key_from_scene_strip()

◆ get_key_from_strip()

◆ get_media_presence_cache()

◆ get_original_context()

RenderData * blender::seq::get_original_context ( const RenderData * context)
static

◆ get_render_scale_factor() [1/2]

float blender::seq::get_render_scale_factor ( const RenderData & context)

Definition at line 2255 of file render.cc.

References get_render_scale_factor().

◆ get_render_scale_factor() [2/2]

float blender::seq::get_render_scale_factor ( eSpaceSeq_Proxy_RenderSize render_size,
short scene_render_scale )

Calculate render scale factor relative to full size. This can be due to render scale setting in output settings, or preview proxy size.

Definition at line 2249 of file render.cc.

References get_render_scale_factor(), rendersize_to_scale_factor(), and blender::SEQ_RENDER_SIZE_SCENE.

Referenced by do_gaussian_blur_effect(), get_render_scale_factor(), get_render_scale_factor(), get_strip_screen_quad(), input_preprocess(), blender::ed::vse::sequencer_draw_scopes(), blender::ed::vse::sequencer_ibuf_get(), and text_effect_line_size_get().

◆ get_seqbase_by_strip()

ListBaseT< Strip > * blender::seq::get_seqbase_by_strip ( const Scene * scene,
Strip * strip )

In cases where we don't know the strip's listbase.

Definition at line 278 of file sequencer/intern/utils.cc.

References blender::BLI_findindex(), editing_get(), get_seqbase_by_strip(), and lookup_meta_by_strip().

Referenced by do_adjustment_impl(), do_multicam(), edit_move_strip_to_meta(), and get_seqbase_by_strip().

◆ get_seqbase_from_strip()

ListBaseT< Strip > * blender::seq::get_seqbase_from_strip ( Strip * strip,
ListBaseT< SeqTimelineChannel > ** r_channels,
int * r_offset )

◆ get_socket_dimension()

std::optional< int > blender::seq::get_socket_dimension ( const bNodeTreeInterfaceSocket * socket,
const eNodeSocketDatatype socket_type )
static

◆ get_strip_by_name()

Strip * blender::seq::get_strip_by_name ( ListBaseT< Strip > * seqbase,
const char * name,
bool recursive )

◆ get_strip_modifier_expand_flag()

◆ get_strip_screen_quad()

◆ get_uids_cb()

◆ get_view_layer_for_scene_strip()

ViewLayer * blender::seq::get_view_layer_for_scene_strip ( Scene * scene,
const Strip * strip )
static

◆ give_cache_frame_index()

float blender::seq::give_cache_frame_index ( const Scene * scene,
const Strip * strip,
float timeline_frame )
static

◆ give_frame_index()

◆ glow_blur_bitmap()

void blender::seq::glow_blur_bitmap ( const float4 * src,
float4 * map,
int width,
int height,
float blur,
int quality )
static

◆ glow_effect_get_handle()

◆ horizontal_alignment_offset_get()

float2 blender::seq::horizontal_alignment_offset_get ( const TextVars * data,
float line_width,
int max_width )
static

◆ hue_correct_apply()

◆ hue_correct_copy_data()

void blender::seq::hue_correct_copy_data ( StripModifierData * target,
StripModifierData * smd )
static

◆ hue_correct_free_data()

void blender::seq::hue_correct_free_data ( StripModifierData * smd)
static

◆ hue_correct_init_data()

◆ hue_correct_panel_draw()

void blender::seq::hue_correct_panel_draw ( const bContext * C,
Panel * panel )
static

◆ hue_correct_read()

void blender::seq::hue_correct_read ( BlendDataReader * reader,
StripModifierData * smd )
static

◆ hue_correct_register()

void blender::seq::hue_correct_register ( ARegionType * region_type)
static

◆ hue_correct_write()

void blender::seq::hue_correct_write ( BlendWriter * writer,
const StripModifierData * smd )
static

◆ image_preview_unit_from_px()

float2 blender::seq::image_preview_unit_from_px ( const Scene * scene,
const float2 co_src )

◆ image_preview_unit_to_px()

◆ image_proxy_builder_process()

◆ image_size_to_thumb_size()

void blender::seq::image_size_to_thumb_size ( int & r_width,
int & r_height,
int size = THUMB_SIZE )

Adjust given image size so that the larger dimension is at most size, preserving aspect ratio.

Definition at line 255 of file thumbnail_cache.cc.

References float, image_size_to_thumb_size(), and blender::round_fl_to_int().

Referenced by image_size_to_thumb_size(), render_scene_strip_thumbnail(), scale_to_thumbnail_size(), and blender::ed::vse::strip_get_thumb_image_dimensions().

◆ image_transform_bounding_box_from_strips_get()

◆ image_transform_box_size_get()

int2 blender::seq::image_transform_box_size_get ( const Scene * scene,
const Strip * strip )

Get the size of the drawn strip quad before any cropping, scaling, or transformation. This is the size of the rendered ImBuf for every type but text strips, where it is the tighter bounding box of the text glyphs.

For the fully-processed quad, see image_transform_quad_get. For the bounding box of the quad, see image_transform_bounding_box_from_strips_get.

Returns
int2 with (width, height) in view-space pixels

Definition at line 812 of file strip_transform.cc.

References blender::BLF_BOLD, blender::BLF_disable(), blender::BLF_ITALIC, blender::BLI_rcti_size_x(), blender::BLI_rcti_size_y(), blender::data, image_transform_box_size_get(), strip_source_size_get(), blender::STRIP_TYPE_TEXT, text_effect_update_runtime(), text_runtime_mutex_get(), and blender::animrig::Strip::type().

Referenced by blender::ed::transform::calculate_new_origin_position(), convert_origin_to_image_offset(), image_transform_box_size_get(), image_transform_origin_get(), image_transform_quad_get(), blender::ed::vse::sequencer_rendersize_exec(), and blender::ed::vse::sequencer_strip_transform_fit_exec().

◆ image_transform_matrix_get()

◆ image_transform_mirror_factor_get()

◆ image_transform_origin_get()

float2 blender::seq::image_transform_origin_get ( const Scene * scene,
const Strip * strip )

Get the strip origin as a fraction of its rendered image. This origin can be anywhere, but (0,0) corresponds to the bottom left of the image, and (1,1) the top right.

NOTE: #StripTransform::origin is stored relative to the strip box (image_transform_box_size_get), which for text strips is smaller than their rendered image. This function properly converts it to be relative to the rendered image for the render pipeline to use. Being a fraction, it is independent of proxy render size.

Definition at line 837 of file strip_transform.cc.

References blender::animrig::Strip::data(), image_transform_box_size_get(), image_transform_origin_get(), blender::StripTransform::origin, blender::Scene::r, blender::STRIP_TYPE_TEXT, and blender::animrig::Strip::type().

Referenced by calc_strip_transform_matrix(), image_transform_origin_get(), and blender::io::otio::strip_effects().

◆ image_transform_origin_preview_offset_get()

◆ image_transform_quad_get()

◆ image_transform_viewport_scale_get()

float2 blender::seq::image_transform_viewport_scale_get ( const Scene * scene,
const Strip * strip )
static

◆ init_alpha_over_or_under()

void blender::seq::init_alpha_over_or_under ( Strip * strip)
static

◆ init_colormix_effect()

void blender::seq::init_colormix_effect ( Strip * strip)
static

◆ init_compositor_effect()

void blender::seq::init_compositor_effect ( Strip * strip)
static

◆ init_gaussian_blur_effect()

void blender::seq::init_gaussian_blur_effect ( Strip * strip)
static

◆ init_glow_effect()

void blender::seq::init_glow_effect ( Strip * strip)
static

Definition at line 126 of file effect_glow.cc.

References blender::data, and init_glow_effect().

Referenced by glow_effect_get_handle(), and init_glow_effect().

◆ init_noop()

void blender::seq::init_noop ( Strip * )
static

Definition at line 98 of file effects.cc.

References init_noop().

Referenced by effect_handle_for_blend_mode_get(), effect_handle_get(), and init_noop().

◆ init_solid_color()

void blender::seq::init_solid_color ( Strip * strip)
static

Definition at line 21 of file effect_solid_color.cc.

References blender::data, and init_solid_color().

Referenced by init_solid_color(), and solid_color_effect_get_handle().

◆ init_speed_effect()

void blender::seq::init_speed_effect ( Strip * strip)
static

◆ init_text_effect()

◆ init_wipe_effect()

void blender::seq::init_wipe_effect ( Strip * strip)
static

Definition at line 161 of file effect_wipe.cc.

References init_wipe_effect().

Referenced by init_wipe_effect(), and wipe_effect_get_handle().

◆ initialize_shadow_alpha()

void blender::seq::initialize_shadow_alpha ( int width,
int height,
int2 offset,
const rcti & shadow_rect,
const uchar * input,
Array< uchar > & r_shadow_mask )
static

◆ input_preprocess()

SeqResult blender::seq::input_preprocess ( const RenderData * context,
SeqRenderState * state,
Strip * strip,
float timeline_frame,
const SeqResult & input,
const bool is_proxy_image )
static

◆ intra_frame_cache_destroy()

◆ intra_frame_cache_get_composite()

◆ intra_frame_cache_get_preprocessed()

SeqResult blender::seq::intra_frame_cache_get_preprocessed ( Scene * scene,
const Strip * strip )

◆ intra_frame_cache_invalidate() [1/2]

◆ intra_frame_cache_invalidate() [2/2]

◆ intra_frame_cache_put_composite()

◆ intra_frame_cache_put_preprocessed()

◆ intra_frame_cache_set_cur_frame()

◆ invalidate_final_cache_strip_range()

void blender::seq::invalidate_final_cache_strip_range ( Scene * scene,
const Strip * strip )
static

◆ invalidate_movieclip_strips()

void blender::seq::invalidate_movieclip_strips ( Scene * scene,
MovieClip * clip_target,
ListBaseT< Strip > * seqbase )
static

◆ invalidate_raw_cache_of_parent_meta()

void blender::seq::invalidate_raw_cache_of_parent_meta ( Scene * scene,
Strip * strip )
static

◆ invGammaCorrect()

float blender::seq::invGammaCorrect ( float c)
static

◆ is_cache_full()

bool blender::seq::is_cache_full ( const Scene * scene)

◆ is_opaque_alpha_over()

◆ is_quad_a_inside_b()

◆ is_strip_connected()

◆ is_strip_covering_screen()

bool blender::seq::is_strip_covering_screen ( const RenderData * context,
const Strip * strip )
static

◆ is_valid_strip_channel()

bool blender::seq::is_valid_strip_channel ( const Strip * strip)

Definition at line 877 of file sequencer.cc.

References is_valid_strip_channel(), and MAX_CHANNELS.

Referenced by is_valid_strip_channel(), and blender::link_recurs_seq().

◆ jump_flooding_pass()

void blender::seq::jump_flooding_pass ( Span< JFACoord > input,
MutableSpan< JFACoord > output,
int2 size,
IndexRange x_range,
IndexRange y_range,
int step_size )
static

◆ left_fake_key_frame_get()

◆ load_pixel_premul() [1/2]

float4 blender::seq::load_pixel_premul ( const float * ptr)

Definition at line 312 of file sequencer/intern/modifiers/modifier.cc.

References load_pixel_premul().

◆ load_pixel_premul() [2/2]

◆ load_pixel_raw() [1/2]

float4 blender::seq::load_pixel_raw ( const float * ptr)

Definition at line 334 of file sequencer/intern/modifiers/modifier.cc.

References load_pixel_raw().

◆ load_pixel_raw() [2/2]

◆ load_premul_pixel() [1/2]

float4 blender::seq::load_premul_pixel ( const float * ptr)
inline

Definition at line 95 of file effects.hh.

References load_premul_pixel().

◆ load_premul_pixel() [2/2]

◆ lookup_effects_by_strip()

◆ lookup_meta_by_strip()

◆ lookup_strip_by_channel_owner()

Strip * blender::seq::lookup_strip_by_channel_owner ( Editing * ed,
const SeqTimelineChannel * channel )

Find which meta strip the given timeline channel belongs to. Returns nullptr if it is a global channel.

Definition at line 222 of file strip_lookup.cc.

References blender::BLI_assert(), lock, lookup_lock, lookup_strip_by_channel_owner(), and strip_lookup_update_if_needed().

Referenced by lookup_strip_by_channel_owner().

◆ lookup_strip_by_name()

Strip * blender::seq::lookup_strip_by_name ( Editing * ed,
const char * key )

◆ lookup_strips_by_compositor_node_group()

◆ lookup_strips_by_scene()

◆ lookup_strips_by_scene_map_get()

Map< const Scene *, VectorSet< Strip * > > & blender::seq::lookup_strips_by_scene_map_get ( Editing * ed)

Returns a map of scenes to the scene strips using them.

Definition at line 182 of file strip_lookup.cc.

References blender::BLI_assert(), lock, lookup_lock, lookup_strips_by_scene_map_get(), and strip_lookup_update_if_needed().

Referenced by lookup_strips_by_scene_map_get().

◆ make_cb_table_lgg()

void blender::seq::make_cb_table_lgg ( float lift,
float gain,
float gamma,
float mul,
float r_table[CB_TABLE_SIZE] )
static

◆ make_cb_table_sop()

void blender::seq::make_cb_table_sop ( float slope,
float offset,
float power,
float mul,
float r_table[CB_TABLE_SIZE] )
static

◆ make_gaussian_blur_kernel()

Array< float > blender::seq::make_gaussian_blur_kernel ( float rad,
int size )

◆ make_thumb_for_image()

◆ maskmodifier_apply()

◆ maskmodifier_panel_draw()

void blender::seq::maskmodifier_panel_draw ( const bContext * C,
Panel * panel )
static

◆ maskmodifier_register()

void blender::seq::maskmodifier_register ( ARegionType * region_type)
static

◆ media_presence_free()

void blender::seq::media_presence_free ( Scene * scene)

◆ media_presence_invalidate_sound()

void blender::seq::media_presence_invalidate_sound ( Scene * scene,
const bSound * sound )

◆ media_presence_invalidate_strip()

◆ media_presence_is_missing()

◆ media_presence_set_missing()

◆ meta_stack_active_get()

◆ meta_stack_pop()

Strip * blender::seq::meta_stack_pop ( Editing * ed)

◆ meta_stack_set()

void blender::seq::meta_stack_set ( const Scene * scene,
Strip * dst )

Open meta strip content for editing.

Parameters
dstMeta strip, or null for the top level.

Definition at line 493 of file sequencer.cc.

References editing_get(), lookup_meta_by_strip(), meta_stack_set(), and seq_meta_stack_alloc().

Referenced by meta_stack_set(), blender::ed::vse::sequencer_meta_toggle_exec(), and blender::sequencer_remove_listbase_pointers().

◆ metastrip_end_get()

int blender::seq::metastrip_end_get ( Strip * strip_meta)
static

◆ metastrip_start_get()

int blender::seq::metastrip_start_get ( Strip * strip_meta)
static

◆ modifier_apply_stack()

◆ modifier_blend_read_data()

◆ modifier_blend_write()

◆ modifier_clear()

void blender::seq::modifier_clear ( Strip * strip)

◆ modifier_copy()

◆ modifier_find_by_name()

◆ modifier_free()

◆ modifier_get_active()

◆ modifier_has_persistent_uid()

bool blender::seq::modifier_has_persistent_uid ( const Strip & strip,
int uid )
static

◆ modifier_list_copy()

void blender::seq::modifier_list_copy ( Strip * strip_new,
Strip * strip,
const int flag )

◆ modifier_move_to_index()

bool blender::seq::modifier_move_to_index ( Strip * strip,
StripModifierData * smd,
const int new_index )

◆ modifier_new()

◆ modifier_ops_extra_draw()

◆ modifier_panel_get_property_pointers()

◆ modifier_panel_header()

◆ modifier_panel_register()

◆ modifier_persistent_uid_init()

◆ modifier_persistent_uids_are_valid()

◆ modifier_remove()

◆ modifier_render_mask_input()

◆ modifier_reorder()

◆ modifier_set_active()

◆ modifier_type_info_get()

◆ modifier_type_panel_id()

◆ modifier_types_init()

void blender::seq::modifier_types_init ( StripModifierTypeInfo * types[])
static

Definition at line 393 of file sequencer/intern/modifiers/modifier.cc.

References INIT_TYPE, and modifier_types_init().

Referenced by modifier_types_init(), and modifiers_init().

◆ modifier_ui_poll()

bool blender::seq::modifier_ui_poll ( const bContext * C,
PanelType *  )

◆ modifier_unique_name()

◆ modifiers_init()

◆ movie_metadata_ensure()

IDProperty * blender::seq::movie_metadata_ensure ( Scene & scene,
Strip & strip )

Return movie metadata copied into the strip runtime, reading the source lazily if needed.

Definition at line 232 of file sequencer/intern/utils.cc.

References movie_metadata_ensure(), movie_metadata_set_from_reader(), movie_reader_cache_acquire_any(), and blender::seq::MovieReaderAccessor::reader().

Referenced by movie_metadata_ensure().

◆ movie_metadata_invalidate()

void blender::seq::movie_metadata_invalidate ( Strip & strip)

◆ movie_metadata_set_from_reader()

◆ movie_reader_cache_acquire()

MovieReaderAccessor blender::seq::movie_reader_cache_acquire ( Scene & cache_scene,
const Scene & key_scene,
const Strip & strip,
int frame_index )

◆ movie_reader_cache_acquire_any()

MovieReaderAccessor blender::seq::movie_reader_cache_acquire_any ( const Scene & scene,
const Strip & strip )

◆ movie_reader_cache_acquire_any_base()

◆ movie_reader_cache_acquire_any_view()

◆ movie_reader_cache_acquire_view()

MovieReaderAccessor blender::seq::movie_reader_cache_acquire_view ( Scene & cache_scene,
const Scene & key_scene,
const Strip & strip,
const int view_id,
const int frame_index )

◆ movie_reader_cache_can_produce_frames()

◆ movie_reader_cache_clear()

◆ movie_reader_cache_create()

MovieReaderCache * blender::seq::movie_reader_cache_create ( )

◆ movie_reader_cache_destroy()

void blender::seq::movie_reader_cache_destroy ( MovieReaderCache * cache)

◆ movie_reader_cache_invalidate()

◆ movie_reader_cache_timestamp_bump()

void blender::seq::movie_reader_cache_timestamp_bump ( )

◆ movie_reader_key_get()

◆ movie_reader_open()

MovieReader * blender::seq::movie_reader_open ( Strip & strip,
const char * filepath,
const bool open_file )
static

◆ movie_reader_proxy_dir_set()

void blender::seq::movie_reader_proxy_dir_set ( const Editing & ed,
const Strip & strip,
MovieReader * reader )
static

◆ movie_reader_source_filepath_get()

void blender::seq::movie_reader_source_filepath_get ( const Scene & scene,
const Strip & strip,
char r_filepath[FILE_MAX] )
static

◆ movie_readers_open()

◆ mul_effect_get_handle()

◆ multi_camera_effect_get_handle()

◆ multiply_ibuf()

◆ must_render_strip()

bool blender::seq::must_render_strip ( const VectorSet< Strip * > & strip_stack,
Strip * target_strip )

Check to see whether we cannot skip rendering this strip. Some strips do not need to be directly rendered since they are already indirectly rendered as part of other strips' renders (such as effect strip inputs). These should be skipped to avoid unnecessary re-rendering.

Note
Take care when changing the logic of this function since order matters.

Definition at line 195 of file iterator.cc.

References must_render_strip(), relation_is_effect_of_strip(), and blender::STRIP_BLEND_REPLACE.

Referenced by collection_filter_rendered_strips(), ENUM_OPERATORS(), must_render_strip(), and blender::ed::vse::sequencer_clipboard_paste_exec().

◆ must_update_strip_sound()

bool blender::seq::must_update_strip_sound ( Scene * scene,
Strip * strip )
static

◆ negative_bounds()

Bounds< float2 > blender::seq::negative_bounds ( )
static

◆ offset_animdata()

◆ original_strip_get() [1/2]

Strip * blender::seq::original_strip_get ( const Strip * strip,
ListBaseT< Strip > * seqbase )
static

◆ original_strip_get() [2/2]

Strip * blender::seq::original_strip_get ( const Strip * strip,
Scene * scene )
static

Definition at line 164 of file prefetch.cc.

References blender::Scene::ed, and original_strip_get().

◆ pitchmodifier_draw()

◆ pitchmodifier_get_params_hash()

◆ pitchmodifier_init_data()

◆ pitchmodifier_recreator()

◆ pitchmodifier_register()

void blender::seq::pitchmodifier_register ( ARegionType * region_type)
static

◆ pixels_to_scene_linear_byte()

void blender::seq::pixels_to_scene_linear_byte ( const ColorSpace * colorspace,
const uchar * pixels,
float4 * dst,
int64_t count )
static

◆ pixels_to_scene_linear_float()

void blender::seq::pixels_to_scene_linear_float ( const ColorSpace * colorspace,
float4 * pixels,
int64_t count )
static

◆ prefetch_get_original_scene()

Scene * blender::seq::prefetch_get_original_scene ( const RenderData * context)

◆ prefetch_get_original_scene_and_strip()

Scene * blender::seq::prefetch_get_original_scene_and_strip ( const RenderData * context,
const Strip *& strip )

◆ prefetch_need_redraw()

◆ prefetch_stop()

◆ prefetch_stop_all()

void blender::seq::prefetch_stop_all ( )

◆ prepare_effect_imbufs()

◆ preview_cache_destroy()

void blender::seq::preview_cache_destroy ( Scene * scene)

◆ preview_cache_get_gpu_scope_texture()

◆ preview_cache_get_gpu_texture()

◆ preview_cache_invalidate()

◆ preview_cache_set_gpu_scope_texture()

◆ preview_cache_set_gpu_texture()

◆ proxy_build_finish()

void blender::seq::proxy_build_finish ( ProxyBuildContext * context)

◆ proxy_build_process()

void blender::seq::proxy_build_process ( ProxyBuildContext * context,
const bool * should_stop,
bool * has_updated,
const FunctionRef< void(float progress)> set_progress_fn )

◆ proxy_build_start()

◆ proxy_endjob()

◆ proxy_freejob()

void blender::seq::proxy_freejob ( void * pjv)
static

Definition at line 29 of file proxy_job.cc.

References proxy_freejob().

Referenced by ED_seq_proxy_job_get(), and proxy_freejob().

◆ proxy_set()

◆ proxy_startjob()

void blender::seq::proxy_startjob ( void * pjv,
wmJobWorkerStatus * worker_status )
static

◆ query_all_strips()

◆ query_all_strips_recursive() [1/2]

VectorSet< Strip * > blender::seq::query_all_strips_recursive ( const ListBaseT< Strip > * seqbase)

◆ query_all_strips_recursive() [2/2]

◆ query_final_image_cache()

◆ query_intra_frame_cache()

◆ query_overwrite_targets()

◆ query_preview_cache()

◆ query_rendered_strips()

VectorSet< Strip * > blender::seq::query_rendered_strips ( const Scene * scene,
ListBaseT< SeqTimelineChannel > * channels,
ListBaseT< Strip > * seqbase,
int timeline_frame,
int displayed_channel )

Query strips that will be rendered at timeline_frame on all channels less than or equal to displayed_channel. This does not recurse into meta-strips or sequencer-type scene strips.

Note
This only returns strips that are directly rendered in the strip stack. Other strips' content may still be indirectly rendered, such as effect inputs, even though they are not included in the returned VectorSet. See must_render_strip.
Pass displayed_channel of 0 to consider all channels.

Definition at line 239 of file iterator.cc.

References collection_filter_channel_up_to_incl(), collection_filter_rendered_strips(), query_rendered_strips(), and query_strips_at_frame().

Referenced by blender::ed::vse::all_strips_from_context(), blender::ed::transform::createTransSeqImageData(), blender::ed::vse::do_lasso_select_preview(), ENUM_OPERATORS(), blender::ed::transform::gizmo2d_calc_bounds(), blender::ed::transform::gizmo2d_calc_rotation(), blender::ed::transform::gizmo2d_calc_transform_orientation(), blender::ed::transform::gizmo2d_calc_transform_pivot(), blender::ed::vse::preview_draw_all_image_overlays(), query_rendered_strips(), query_rendered_strips_sorted(), blender::ed::transform::query_strip_sources_preview(), blender::ed::transform::query_strip_targets_preview(), blender::ed::vse::selected_strips_from_context(), blender::ed::vse::seq_box_select_strip_from_preview(), blender::ed::vse::seq_circle_select_strip_from_preview(), blender::ed::transform::seq_get_strip_pivot_median(), blender::ed::vse::sequencer_drop_copy(), blender::ed::vse::strip_select_from_preview(), and blender::ed::vse::strips_from_context().

◆ query_rendered_strips_sorted()

Vector< Strip * > blender::seq::query_rendered_strips_sorted ( const Scene * scene,
ListBaseT< SeqTimelineChannel > * channels,
ListBaseT< Strip > * seqbase,
int timeline_frame,
int chanshown )

Strips are sorted from lowest to highest channel.

Query strips that will be rendered at timeline_frame on all channels less than or equal to displayed_channel. This does not recurse into meta-strips or sequencer-type scene strips.

Note
This only returns strips that are directly rendered in the strip stack. Other strips' content may still be indirectly rendered, such as effect inputs, even though they are not included in the returned VectorSet. See must_render_strip.
Pass displayed_channel of 0 to consider all channels.

Definition at line 253 of file iterator.cc.

References b, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::extract_vector(), query_rendered_strips(), and query_rendered_strips_sorted().

Referenced by ENUM_OPERATORS(), query_rendered_strips_sorted(), render_give_ibuf(), seq_render_strip_stack(), seqbase_renders_scene_strip(), and strip_renders_scene_strip().

◆ query_selected_strips()

◆ query_source_image_cache()

◆ query_strips_at_frame()

VectorSet< Strip * > blender::seq::query_strips_at_frame ( const Scene * scene,
ListBaseT< Strip > * seqbase,
const int timeline_frame )
static

◆ query_strips_recursive_at_frame() [1/2]

VectorSet< Strip * > blender::seq::query_strips_recursive_at_frame ( const Scene * scene,
const ListBaseT< Strip > * seqbase,
int timeline_frame )

Query strips at timeline_frame in seqbase and nested meta strips.

Definition at line 146 of file iterator.cc.

References query_strips_recursive_at_frame().

Referenced by blender::ed::vse::get_scene_strip_for_time_sync().

◆ query_strips_recursive_at_frame() [2/2]

void blender::seq::query_strips_recursive_at_frame ( const Scene * scene,
const ListBaseT< Strip > * seqbase,
const int timeline_frame,
VectorSet< Strip * > & strips )
static

◆ query_thumbnail()

◆ query_thumbnail_cache()

◆ query_unselected_strips()

VectorSet< Strip * > blender::seq::query_unselected_strips ( ListBaseT< Strip > * seqbase)

◆ range_sources_get()

Vector< Strip * > blender::seq::range_sources_get ( const Scene * scene,
Span< Strip * > source_strips,
const RippleRange & range )
static

◆ realize_fake_keys()

void blender::seq::realize_fake_keys ( const Scene * scene,
Strip * strip )

◆ relation_is_effect_of_strip()

bool blender::seq::relation_is_effect_of_strip ( const Strip * effect,
const Strip * input )

◆ relations_check_scene_recursion()

◆ relations_check_uids_unique_and_report()

void blender::seq::relations_check_uids_unique_and_report ( const Scene * scene)

A debug and development function which checks whether strips have unique UIDs. Errors will be reported to the console.

Definition at line 440 of file strip_relations.cc.

References blender::Scene::ed, foreach_strip(), get_uids_cb(), relations_check_uids_unique_and_report(), and blender::Editing::seqbase.

Referenced by relations_check_uids_unique_and_report().

◆ relations_free_imbuf()

◆ relations_invalidate_cache()

void blender::seq::relations_invalidate_cache ( Scene * scene,
Strip * strip )

Invalidates various caches related to a given strip:

  • Final cached frames over the length of the strip,
  • Intra-frame caches of the current frame,
  • Source/raw caches of the meta strip that contains this strip, if any,
  • Media presence cache of the strip,
  • Rebuilds speed index map if this is a speed effect strip,
  • Tags DEG for strip recalculation,
  • Stops prefetching job, if any.

Definition at line 166 of file strip_relations.cc.

References blender::DEG_id_tag_update(), blender::Scene::id, blender::ID_RECALC_SEQUENCER_STRIPS, intra_frame_cache_invalidate(), invalidate_final_cache_strip_range(), invalidate_raw_cache_of_parent_meta(), prefetch_stop(), preview_cache_invalidate(), relations_invalidate_cache(), source_image_cache_invalidate_strip(), strip_effect_speed_rebuild_map(), blender::STRIP_TYPE_COMPOSITOR, blender::STRIP_TYPE_SPEED, and blender::animrig::Strip::type().

Referenced by edit_move_strip_to_seqbase(), blender::ed::transform::image_origin_set(), blender::ed::transform::image_transform_set(), blender::invalidate_strip_caches(), blender::ed::vse::modifier_move_to_index_exec(), blender::ed::space_node::new_compositor_sequencer_node_group_exec(), blender::ed::transform::recalcData_sequencer(), blender::ed::transform::recalcData_sequencer_retiming(), relations_invalidate_cache(), relations_invalidate_cache_raw(), relations_invalidate_compositor_users(), retiming_reset(), blender::ed::vse::ripple_gaps_close(), blender::ed::vse::ripple_range_clear(), blender::ed::outliner::sequence_fn(), blender::ed::vse::sequencer_box_blade_exec(), blender::ed::vse::sequencer_change_effect_type_exec(), blender::ed::vse::sequencer_clipboard_paste_exec(), blender::ed::vse::sequencer_meta_make_exec(), blender::ed::vse::sequencer_meta_separate_exec(), blender::ed::vse::sequencer_meta_toggle_exec(), blender::ed::vse::sequencer_mute_exec(), blender::ed::vse::sequencer_offset_clear_exec(), blender::ed::vse::sequencer_reassign_inputs_exec(), blender::ed::vse::sequencer_rendersize_exec(), blender::ed::vse::sequencer_ripple_trim_exec(), blender::ed::vse::sequencer_snap_exec(), blender::ed::vse::sequencer_strip_transform_clear_exec(), blender::ed::vse::sequencer_strip_transform_fit_exec(), blender::ed::vse::sequencer_swap_inputs_exec(), blender::ed::vse::sequencer_unmute_exec(), blender::set_common_sequencer_update_function(), blender::ed::vse::slip_strips_delta(), strip_add_generic_update(), blender::ed::vse::strip_modifier_add_asset_exec(), blender::ed::vse::strip_modifier_add_exec(), blender::ed::vse::strip_modifier_copy_exec(), blender::ed::vse::strip_modifier_duplicate_exec(), blender::ed::vse::strip_modifier_equalizer_redefine_exec(), blender::ed::vse::strip_modifier_move_exec(), blender::ed::vse::strip_modifier_remove_exec(), blender::ed::vse::swap_strips(), and transform_strips_after_frame().

◆ relations_invalidate_cache_raw()

◆ relations_invalidate_compositor_users()

void blender::seq::relations_invalidate_compositor_users ( const Main * bmain,
const bNodeTree * node_tree )

◆ relations_invalidate_generator_strips()

void blender::seq::relations_invalidate_generator_strips ( Scene * scene)

Invalidates cached source images of effect strips without inputs, like color and text strips.

Definition at line 260 of file strip_relations.cc.

References editing_get(), query_all_strips_recursive(), relations_invalidate_generator_strips(), and source_image_cache_invalidate_strip().

Referenced by relations_invalidate_generator_strips(), and blender::update_sequencer().

◆ relations_invalidate_movieclip_strips()

void blender::seq::relations_invalidate_movieclip_strips ( Main * bmain,
MovieClip * clip_target )

◆ relations_invalidate_scene_strips()

void blender::seq::relations_invalidate_scene_strips ( const Main * bmain,
const Scene * scene_target )

◆ relations_invalidate_temporary_animation_frame()

void blender::seq::relations_invalidate_temporary_animation_frame ( Scene * scene)

Invalidate the marked frame after animation evaluation discards the temporary value.

Definition at line 195 of file strip_relations.cc.

References blender::BKE_scene_frame_get(), editing_get(), final_image_cache_invalidate_frame_range(), and relations_invalidate_temporary_animation_frame().

Referenced by eval_strips(), and relations_invalidate_temporary_animation_frame().

◆ relations_refresh_all()

void blender::seq::relations_refresh_all ( Scene * scene)

Free all cached sequencer data of scene, including media presence and all caches.

Definition at line 329 of file strip_relations.cc.

References All, cache_cleanup(), editing_get(), media_presence_free(), relations_free_imbuf(), and relations_refresh_all().

Referenced by blender::find_missing_files_exec(), relations_refresh_all(), and blender::ed::vse::sequencer_refresh_all_exec().

◆ relations_render_loop_check()

bool blender::seq::relations_render_loop_check ( Strip * strip_main,
Strip * strip )

Check if "strip_main" (indirectly) uses strip "strip".

Definition at line 393 of file strip_relations.cc.

References blender::StripModifierData::mask_strip, and relations_render_loop_check().

Referenced by relations_render_loop_check(), and blender::ed::vse::sequencer_reassign_inputs_exec().

◆ relations_session_uid_generate()

void blender::seq::relations_session_uid_generate ( Strip * strip)

Generate new UID for the given strip.

Definition at line 418 of file strip_relations.cc.

References blender::BLI_session_uid_generate(), and relations_session_uid_generate().

Referenced by relations_session_uid_generate(), strip_alloc(), strip_duplicate(), and strip_read_data_cb().

◆ relations_tag_temporary_animation_frame()

void blender::seq::relations_tag_temporary_animation_frame ( Scene * scene)

Mark the current frame as potentially cached with a temporary animated property value.

Definition at line 187 of file strip_relations.cc.

References blender::BKE_scene_frame_get(), editing_get(), and relations_tag_temporary_animation_frame().

Referenced by relations_tag_temporary_animation_frame().

◆ relations_update_view_layer_scene_strips()

void blender::seq::relations_update_view_layer_scene_strips ( Main * bmain,
Scene * scene,
const char * old_name,
const char * new_name )

Sync sequencer scene strips that reference a view layer by name. This updates strip->scene_view_layer_name from old_name to new_name for any matching strip across all sequencer scenes that use scene as input.

NOTE: If a view layer is deleted, new_name = nullptr should be passed to clear the strips' scene_view_layer_name to the default view layer. In this case, the function will also clear the caches of these matching strips to evict stale frames.

Definition at line 220 of file strip_relations.cc.

References blender::BKE_view_layer_default_render(), blender::BLI_assert(), blender::BLI_strdup(), editing_get(), lookup_strips_by_scene(), blender::ViewLayer::name, relations_invalidate_cache_raw(), relations_update_view_layer_scene_strips(), blender::Main::scenes, and STREQ.

Referenced by blender::BKE_view_layer_rename(), blender::ED_scene_view_layer_delete(), and relations_update_view_layer_scene_strips().

◆ render_begin_gpu()

◆ render_end_gpu()

◆ render_give_ibuf()

◆ render_give_ibuf_direct()

◆ render_give_stripelem()

◆ render_image_strip_frame()

◆ render_is_muted()

◆ render_mask_thumb()

◆ render_new_render_data()

◆ render_scene_strip_thumbnail()

ImBuf * blender::seq::render_scene_strip_thumbnail ( Main * bmain,
Scene * timeline_scene,
const Strip * strip,
float frame_index,
int size )

◆ render_scene_strip_viewport()

◆ rendersize_to_proxysize()

◆ rendersize_to_scale_factor()

◆ retiming_add_freeze_frame()

◆ retiming_add_key()

SeqRetimingKey * blender::seq::retiming_add_key ( const Scene * scene,
Strip * strip,
int frame )

◆ retiming_add_transition()

◆ retiming_data_clear()

void blender::seq::retiming_data_clear ( Strip * strip)

◆ retiming_data_ensure()

◆ retiming_find_segment_start_key()

SeqRetimingKey * blender::seq::retiming_find_segment_start_key ( const Strip * strip,
float frame_index )

◆ retiming_has_keys()

bool blender::seq::retiming_has_keys ( const Strip * strip)

◆ retiming_is_allowed()

◆ retiming_is_last_key()

◆ retiming_key_add_new_for_strip()

◆ retiming_key_frame_get()

◆ retiming_key_frame_set()

◆ retiming_key_get_by_frame()

◆ retiming_key_index_get()

◆ retiming_key_is_freeze_frame()

◆ retiming_key_is_transition_start()

◆ retiming_key_is_transition_type()

◆ retiming_key_new_frame_from_speed_get()

std::optional< float > blender::seq::retiming_key_new_frame_from_speed_get ( const Scene * scene,
Strip * strip,
SeqRetimingKey * key,
const float speed )
static

◆ retiming_key_overlap()

◆ retiming_key_speed_get()

◆ retiming_key_speed_set()

void blender::seq::retiming_key_speed_set ( const Scene * scene,
Strip * strip,
SeqRetimingKey * key,
const float speed )

◆ retiming_keys_are_selected()

◆ retiming_keys_count()

◆ retiming_keys_get()

◆ retiming_last_key_get()

SeqRetimingKey * blender::seq::retiming_last_key_get ( const Strip * strip)

◆ retiming_remove_key()

void blender::seq::retiming_remove_key ( Strip * strip,
SeqRetimingKey * key )

◆ retiming_remove_multiple_keys()

◆ retiming_reset()

◆ retiming_selection_append()

◆ retiming_selection_clear()

◆ retiming_selection_contains()

◆ retiming_selection_copy()

◆ retiming_selection_get()

◆ retiming_selection_has_whole_transition()

◆ retiming_selection_remove()

◆ retiming_show_keys()

◆ retiming_sound_animation_data_set()

◆ retiming_transition_key_frame_set()

◆ retiming_transition_start_get()

◆ right_fake_key_frame_get()

◆ scale_to_thumbnail_size()

◆ scene_linear_to_image_chunk_byte()

◆ scene_linear_to_image_chunk_float()

◆ scene_sequencer_is_used()

bool blender::seq::scene_sequencer_is_used ( const Scene * scene,
ListBaseT< Strip > * seqbase )
static

◆ select_active_get()

Strip * blender::seq::select_active_get ( const Scene * scene)

Definition at line 21 of file strip_select.cc.

References editing_get(), and select_active_get().

Referenced by active_mask_get(), blender::buttons_context_path_strip(), blender::composite_get_from_context(), blender::ed::vse::cursor_set_by_mouse_position(), blender::ed::vse::draw_multicam_highlight(), blender::ed::space_node::duplicate_compositing_modifier_node_group_exec(), blender::ed::vse::filter_modifiers_by_sequence_type_itemf(), blender::ed::space_node::get_context_path_node_compositor(), blender::ed::outliner::get_sync_select_active_data(), blender::ed::vse::modifier_move_to_index_exec(), modifier_ops_extra_draw(), blender::ed::vse::modifier_set_active_exec(), modifier_ui_poll(), blender::ed::space_node::new_compositor_sequencer_node_group_exec(), blender::ed::vse::preview_draw_all_image_overlays(), blender::ed::vse::root_catalogs_draw(), blender::scene_new_sequencer_enum_itemf(), blender::scene_new_sequencer_exec(), blender::scene_new_sequencer_poll(), blender::screen_ctx_active_strip(), select_active_get(), select_active_get_pair(), blender::ed::vse::sequencer_add_duplicate_exec(), blender::ed::vse::sequencer_change_effect_type_exec(), blender::ed::vse::sequencer_change_path_exec(), blender::ed::vse::sequencer_change_path_invoke(), blender::ed::vse::sequencer_change_scene_exec(), blender::ed::vse::sequencer_clipboard_paste_exec(), blender::ed::vse::sequencer_effect_poll(), blender::ed::vse::sequencer_generic_invoke_path__internal(), blender::ed::vse::sequencer_meta_make_exec(), blender::ed::vse::sequencer_meta_separate_exec(), blender::ed::vse::sequencer_meta_toggle_exec(), blender::ed::vse::sequencer_reassign_inputs_exec(), blender::ed::vse::sequencer_rendersize_exec(), blender::ed::vse::sequencer_ripple_trim_exec(), blender::ed::vse::sequencer_select_by_type_exec(), blender::ed::vse::sequencer_select_grouped_exec(), blender::ed::vse::sequencer_snap_exec(), blender::ed::vse::sequencer_swap_exec(), blender::ed::vse::sequencer_swap_inputs_exec(), blender::ed::vse::sequencer_swap_inputs_poll(), blender::ed::vse::sequencer_text_cursor_move_exec(), blender::ed::vse::sequencer_text_cursor_set_invoke(), blender::ed::vse::sequencer_text_cursor_set_modal(), blender::ed::vse::sequencer_text_delete_exec(), blender::ed::vse::sequencer_text_deselect_all_exec(), blender::ed::vse::sequencer_text_edit_copy_exec(), blender::ed::vse::sequencer_text_edit_cut_exec(), blender::ed::vse::sequencer_text_edit_mode_toggle_exec(), blender::ed::vse::sequencer_text_edit_paste_exec(), blender::ed::vse::sequencer_text_editing_active_poll(), blender::ed::vse::sequencer_text_editing_cursor_strip_get(), blender::ed::vse::sequencer_text_editing_poll(), blender::ed::vse::sequencer_text_insert_exec(), blender::ed::vse::sequencer_text_line_break_exec(), blender::ed::vse::sequencer_text_select_all_exec(), blender::ed::vse::sequencer_write_copy_paste_file(), blender::ed::vse::strip_data_highlight_flags_set(), blender::ed::vse::strip_effect_get_new_inputs(), blender::ed::vse::strip_modifier_add_asset_exec(), blender::ed::vse::strip_modifier_add_exec(), blender::ed::vse::strip_modifier_copy_exec(), blender::ed::vse::strip_modifier_duplicate_exec(), blender::ed::vse::strip_modifier_equalizer_redefine_exec(), blender::ed::vse::strip_modifier_move_exec(), blender::ed::vse::strip_modifier_remove_exec(), blender::ed::vse::strip_select_from_preview(), blender::ui::template_strip_modifiers(), blender::ed::vse::text_edit_draw(), blender::ed::vse::text_editing_update(), and blender::ed::transform::transform_orientation_matrix_get().

◆ select_active_get_pair()

bool blender::seq::select_active_get_pair ( Scene * scene,
Strip ** r_strip_act,
Strip ** r_strip_other )

◆ select_active_set()

◆ select_has_any()

bool blender::seq::select_has_any ( const Scene * scene)

◆ seq_anim_add_suffix()

void blender::seq::seq_anim_add_suffix ( Scene * scene,
MovieReader * anim,
const int view_id )

◆ seq_duplicate_postprocess()

◆ seq_edit_split_effect_inputs_intersect()

bool blender::seq::seq_edit_split_effect_inputs_intersect ( const Scene * scene,
const Strip * strip,
const int timeline_frame )
static

◆ seq_edit_split_handle_strip_offsets()

void blender::seq::seq_edit_split_handle_strip_offsets ( Main * bmain,
Scene * scene,
Strip * left_strip,
Strip * right_strip,
const int timeline_frame,
const eSplitMethod method )
static

◆ seq_edit_split_operation_permitted_check()

bool blender::seq::seq_edit_split_operation_permitted_check ( const Scene * scene,
Span< Strip * > strips,
const int timeline_frame,
const char ** r_error )
static

◆ seq_free_strip_recurse()

void blender::seq::seq_free_strip_recurse ( Scene * scene,
Strip * strip,
bool do_id_user )

Cache must be freed before calling this function since it leaves the #Editing::seqbase in an invalid state.

Definition at line 270 of file sequencer.cc.

References seq_free_strip_recurse(), and seq_strip_free_ex().

Referenced by editing_free(), proxy_build_finish(), proxy_build_start(), and seq_free_strip_recurse().

◆ seq_get_movieclip_ibuf()

◆ seq_imbuf_assign_sequencer_space()

◆ seq_input_have_to_preprocess()

◆ seq_meta_stack_alloc()

MetaStack * blender::seq::seq_meta_stack_alloc ( const Scene * scene,
Strip * strip_meta )
static

◆ seq_multiview_name()

void blender::seq::seq_multiview_name ( const Scene * scene,
const int view_id,
const char * prefix,
const char * ext,
char * r_path,
size_t r_path_maxncpy )

◆ seq_multiview_num_files_get()

◆ seq_multiview_view_filepath_get()

bool blender::seq::seq_multiview_view_filepath_get ( const Scene & scene,
const char * filepath,
int view_id,
char * r_filepath,
size_t r_filepath_maxncpy,
const char ** r_suffix )

◆ seq_must_swap_input_in_blend_mode()

◆ seq_mute_sound_strips_cb()

bool blender::seq::seq_mute_sound_strips_cb ( Strip * strip,
void * user_data )
static

Definition at line 1148 of file sequencer.cc.

References seq_mute_sound_strips_cb().

Referenced by seq_mute_sound_strips_cb(), and seq_update_scene_strip_sound().

◆ seq_need_scale_to_render_size()

bool blender::seq::seq_need_scale_to_render_size ( const Strip * strip,
bool is_proxy_image )
static

Effect (except color), mask, meta, and sequencer-input scene strips are rendered in the preview resolution. They are already down-scaled. input_preprocess() does not expect this to happen. Other strip types are rendered with original media resolution, unless proxies are enabled for them. With proxies is_proxy_image will be set correctly to true.

Definition at line 388 of file render.cc.

References seq_need_scale_to_render_size(), blender::SEQ_SCENE_STRIPS, blender::STRIP_TYPE_COLOR, blender::STRIP_TYPE_MASK, blender::STRIP_TYPE_META, blender::STRIP_TYPE_SCENE, and blender::animrig::Strip::type().

Referenced by input_preprocess(), and seq_need_scale_to_render_size().

◆ seq_new_fix_links_recursive()

◆ seq_prefetch_anim_eval_context()

◆ seq_prefetch_cfra()

◆ seq_prefetch_do_suspend()

◆ seq_prefetch_frames()

◆ seq_prefetch_free()

◆ seq_prefetch_get_time_range()

◆ seq_prefetch_is_cache_full()

bool blender::seq::seq_prefetch_is_cache_full ( Scene * scene)
static

◆ seq_prefetch_job_get()

◆ seq_prefetch_job_is_running()

bool blender::seq::seq_prefetch_job_is_running ( Scene * scene)

◆ seq_prefetch_job_is_waiting()

bool blender::seq::seq_prefetch_job_is_waiting ( Scene * scene)
static

◆ seq_prefetch_job_scrubbing_set()

void blender::seq::seq_prefetch_job_scrubbing_set ( Scene * scene,
bool is_scrubbing )
static

◆ seq_prefetch_must_skip_frame()

◆ seq_prefetch_need_suspend()

◆ seq_prefetch_resume()

◆ seq_prefetch_start()

void blender::seq::seq_prefetch_start ( const RenderData * context,
float timeline_frame )

◆ seq_prefetch_start_ex()

◆ seq_prefetch_update_active_seqbase()

◆ seq_prefetch_update_area()

◆ seq_prefetch_update_context()

◆ seq_prefetch_update_depsgraph()

◆ seq_prefetch_update_scene()

◆ seq_proxy_build_frame()

◆ seq_proxy_context_count()

◆ seq_proxy_fetch()

◆ seq_proxy_get_custom_dir()

bool blender::seq::seq_proxy_get_custom_dir ( const Editing & ed,
const Strip & strip,
char r_dirpath[FILE_MAX] )

◆ seq_proxy_get_custom_file_filepath()

◆ seq_proxy_get_filepath()

bool blender::seq::seq_proxy_get_filepath ( Scene * scene,
Strip * strip,
int timeline_frame,
eSpaceSeq_Proxy_RenderSize render_size,
char * filepath,
const int view_id )
static

◆ seq_proxy_get_filepath_for_elem()

◆ seq_proxy_index_dir_set()

◆ seq_proxy_multiview_context_invalid()

bool blender::seq::seq_proxy_multiview_context_invalid ( Strip * strip,
Scene * scene,
const int view_id,
MultiViewPrefixVars * prefix_vars )
static

Returns true if the file this context would read from doesn't exist, in which case the context shouldn't be created.

Parameters
prefix_varsStores prefix variables for reuse. These are for internal use, the caller must not depend on them.
Note
This function must first be called with a view_id of zero, to initialize prefix_vars for use with other views.

Definition at line 363 of file proxy.cc.

References blender::BKE_scene_multiview_view_prefix_get(), blender::BLI_access(), blender::BLI_path_abs(), BLI_path_join, blender::animrig::Strip::data(), blender::seq::MultiViewPrefixVars::ext, FILE_MAX, blender::Scene::id, ID_BLEND_PATH_FROM_GLOBAL, blender::seq::MultiViewPrefixVars::prefix, blender::Scene::r, blender::R_IMF_VIEWS_INDIVIDUAL, blender::R_MULTIVIEW, seq_multiview_name(), seq_proxy_multiview_context_invalid(), blender::STRIP_TYPE_IMAGE, blender::STRNCPY(), and blender::animrig::Strip::type().

Referenced by proxy_build_start(), and seq_proxy_multiview_context_invalid().

◆ seq_proxy_need_rebuild()

bool blender::seq::seq_proxy_need_rebuild ( Strip * strip,
MovieReader * anim )
static

◆ seq_render_effect_strip_impl()

◆ seq_render_give_ibuf_seqbase()

SeqResult blender::seq::seq_render_give_ibuf_seqbase ( const RenderData * context,
SeqRenderState * state,
float timeline_frame,
int chan_shown,
ListBaseT< SeqTimelineChannel > * channels,
ListBaseT< Strip > * seqbasep )

◆ seq_render_image_strip()

◆ seq_render_image_strip_view()

ImBuf * blender::seq::seq_render_image_strip_view ( const RenderData * context,
Strip * strip,
const char * filepath,
const char * prefix,
int view_id )
static

◆ seq_render_mask()

◆ seq_render_mask_strip()

ImBuf * blender::seq::seq_render_mask_strip ( const RenderData * context,
Strip * strip,
float frame_index )
static

◆ seq_render_movie_strip()

◆ seq_render_movie_strip_custom_file_proxy()

◆ seq_render_movie_strip_view()

◆ seq_render_movieclip_strip()

◆ seq_render_preprocess_ibuf()

◆ seq_render_scene_strip()

SeqResult blender::seq::seq_render_scene_strip ( const RenderData * context,
Strip * strip,
float frame_index,
float timeline_frame )
static

◆ seq_render_scene_strip_ex()

ImBuf * blender::seq::seq_render_scene_strip_ex ( const RenderData * context,
Strip * strip,
float frame_index,
float timeline_frame )
static

◆ seq_render_strip()

◆ seq_render_strip_stack()

◆ seq_render_strip_stack_apply_effect()

SeqResult blender::seq::seq_render_strip_stack_apply_effect ( const RenderData * context,
SeqRenderState * state,
Strip * strip,
float timeline_frame,
const SeqResult & src1,
const SeqResult & src2 )
static

◆ seq_split_set_left_hold_offset()

void blender::seq::seq_split_set_left_hold_offset ( Main * bmain,
Scene * scene,
Strip * strip,
int timeline_frame )
static

◆ seq_split_set_right_hold_offset()

void blender::seq::seq_split_set_right_hold_offset ( Main * bmain,
Scene * scene,
Strip * strip,
int timeline_frame )
static

◆ seq_strip_do_multiview_render()

◆ seq_strip_free_ex()

◆ seq_strip_proxy_alloc()

StripProxy * blender::seq::seq_strip_proxy_alloc ( )

Definition at line 85 of file sequencer.cc.

References blender::StripProxy::quality, and seq_strip_proxy_alloc().

Referenced by proxy_set(), and seq_strip_proxy_alloc().

◆ seq_time_gap_info_get()

void blender::seq::seq_time_gap_info_get ( const Scene * scene,
ListBaseT< Strip > * seqbase,
int initial_frame,
GapInfo * r_gap_info )

◆ seq_update_scene_strip_sound()

◆ seq_update_sound_strips()

void blender::seq::seq_update_sound_strips ( Scene * scene,
Strip * strip )
static

◆ seqbase_duplicate_recursive()

void blender::seq::seqbase_duplicate_recursive ( Main * bmain,
const Scene * scene_src,
Scene * scene_dst,
ListBaseT< Strip > * seqbase_dst,
const ListBaseT< Strip > * seqbase_src,
const StripDuplicate dupe_flag,
const int copy_flag )

◆ seqbase_duplicate_recursive_impl()

void blender::seq::seqbase_duplicate_recursive_impl ( StripDuplicateContext & ctx,
ListBaseT< Strip > * seqbase_dst,
const ListBaseT< Strip > * seqbase_src )
static

◆ seqbase_renders_scene_strip()

bool blender::seq::seqbase_renders_scene_strip ( const Scene * scene,
ListBaseT< SeqTimelineChannel > * channels,
ListBaseT< Strip > * seqbase,
int frame,
SeqRenderState state )
static

◆ seqbase_unique_name()

◆ seqbase_unique_name_recursive_fn()

bool blender::seq::seqbase_unique_name_recursive_fn ( Strip * strip,
void * arg_pt )
static

◆ sequencer_check_scene_recursion()

Strip * blender::seq::sequencer_check_scene_recursion ( Scene * scene,
ListBaseT< Strip > * seqbase )
static

◆ sequencer_image_crop_init()

◆ sequencer_preprocess_transform_crop()

◆ sequencer_strip_generates_image()

◆ sequencer_use_crop()

◆ sequencer_use_transform()

bool blender::seq::sequencer_use_transform ( const Strip * strip)
static

◆ set_float_array()

template<typename T>
void blender::seq::set_float_array ( PointerRNA * input_props_ptr,
compositor::Result & result )
static

◆ set_input_result_from_rna()

void blender::seq::set_input_result_from_rna ( PointerRNA & inputs_ptr,
const bNodeTreeInterfaceSocket & socket,
eNodeSocketDatatype socket_type,
compositor::Result & result )

◆ set_int_array()

template<typename T>
void blender::seq::set_int_array ( PointerRNA * input_props_ptr,
compositor::Result & result )
static

◆ set_scale_to_fit()

void blender::seq::set_scale_to_fit ( const Strip * strip,
const int image_width,
const int image_height,
const int preview_width,
const int preview_height,
const eSeqImageFitMethod fit_method )

◆ set_single_input_from_rna_value()

◆ set_strip_modifier_expand_flag()

void blender::seq::set_strip_modifier_expand_flag ( const bContext * ,
Panel * panel,
short expand_flag )
static

◆ should_ripple_insert()

bool blender::seq::should_ripple_insert ( const Scene * scene,
ListBaseT< Strip > * seqbasep,
Span< Strip * > source_strips,
const int insert_frame,
const eSeqRippleFlag ripple_flag,
std::optional< int > & r_shuffle_delta )
static

◆ shuffle_channel_is_free()

bool blender::seq::shuffle_channel_is_free ( const Scene * scene,
ListBaseT< Strip > * seqbasep,
const ListBaseT< SeqTimelineChannel > * channels,
Strip * strip )
static

◆ shuffle_frame_offset_get()

int blender::seq::shuffle_frame_offset_get ( const Scene * scene,
Span< Strip * > strips_to_shuffle,
ListBaseT< Strip > * seqbasep,
const Side side )
static

◆ shuffle_handle_offset_get()

int blender::seq::shuffle_handle_offset_get ( const Scene * scene,
Span< Strip * > strips_to_shuffle,
ListBaseT< Strip > * seqbasep )
static

◆ skip_modifier()

◆ solid_color_effect_get_handle()

◆ sound_blend_read_data()

◆ sound_blend_write()

void blender::seq::sound_blend_write ( BlendWriter * writer,
ListBaseT< bSound > * soundbase )

References sound_blend_write().

Referenced by sound_blend_write().

◆ sound_equalizer_add()

◆ sound_equalizermodifier_add_graph()

◆ sound_equalizermodifier_copy_data()

◆ sound_equalizermodifier_draw()

◆ sound_equalizermodifier_free()

◆ sound_equalizermodifier_init_data()

◆ sound_equalizermodifier_read()

◆ sound_equalizermodifier_recreator()

◆ sound_equalizermodifier_register()

void blender::seq::sound_equalizermodifier_register ( ARegionType * region_type)
static

◆ sound_equalizermodifier_remove_graph()

◆ sound_equalizermodifier_set_graphs()

◆ sound_equalizermodifier_write()

◆ sound_modifier_recreator()

◆ sound_modifier_worker_info_get()

◆ sound_pitch_get()

float blender::seq::sound_pitch_get ( const Scene * scene,
const Strip * strip )

Definition at line 162 of file sequencer/intern/sound.cc.

References blender::Scene::ed, lookup_meta_by_strip(), and sound_pitch_get().

Referenced by sound_pitch_get().

◆ sound_update()

void blender::seq::sound_update ( Scene * scene,
bSound * sound )

◆ sound_update_bounds()

◆ sound_update_bounds_all()

◆ sound_update_length()

void blender::seq::sound_update_length ( Main * bmain,
Scene * scene )

◆ source_image_cache_calc_memory_size()

◆ source_image_cache_clear()

◆ source_image_cache_destroy()

◆ source_image_cache_evict()

◆ source_image_cache_get()

◆ source_image_cache_get_image_count()

size_t blender::seq::source_image_cache_get_image_count ( const Scene * scene)

◆ source_image_cache_invalidate_strip()

◆ source_image_cache_iterate()

void blender::seq::source_image_cache_iterate ( Scene * scene,
void * userdata,
void callback_itervoid *userdata, const Strip *strip, int timeline_frame )

◆ source_image_cache_put()

◆ sources_overlap_target()

bool blender::seq::sources_overlap_target ( const Scene * scene,
Span< Strip * > source_strips,
Strip * target )
static

◆ speed_effect_get_handle()

◆ speed_effect_interpolation_ratio_get()

float blender::seq::speed_effect_interpolation_ratio_get ( Scene * scene,
Strip * strip_speed,
float timeline_frame )
static

◆ store_pixel_premul() [1/2]

void blender::seq::store_pixel_premul ( float4 pix,
float * ptr )

Definition at line 322 of file sequencer/intern/modifiers/modifier.cc.

References store_pixel_premul().

◆ store_pixel_premul() [2/2]

◆ store_pixel_raw() [1/2]

void blender::seq::store_pixel_raw ( float4 pix,
float * ptr )

Definition at line 344 of file sequencer/intern/modifiers/modifier.cc.

References store_pixel_raw().

◆ store_pixel_raw() [2/2]

◆ store_premul_pixel() [1/2]

void blender::seq::store_premul_pixel ( const float4 & pix,
float * dst )
inline

Definition at line 105 of file effects.hh.

References store_premul_pixel().

◆ store_premul_pixel() [2/2]

◆ strip_add_generic_update()

◆ strip_add_set_name()

◆ strip_add_set_view_transform()

◆ strip_alloc()

◆ strip_animation_duplicate()

◆ strip_blend_mode_handle_get()

◆ strip_by_compositor_node_group_lookup_build()

◆ strip_by_scene_lookup_build()

◆ strip_can_have_thumbnail()

◆ strip_data_alloc()

StripData * blender::seq::strip_data_alloc ( StripType type)
static

◆ strip_data_free()

void blender::seq::strip_data_free ( StripData * data)
static

Definition at line 108 of file sequencer.cc.

References blender::data, blender::MOV_close(), and strip_data_free().

Referenced by seq_strip_free_ex(), and strip_data_free().

◆ strip_doversion_250_sound_proxy_update_cb()

◆ strip_drivers_duplicate()

void blender::seq::strip_drivers_duplicate ( Strip * strip,
AnimData * dst,
AnimationBackup * src )
static

◆ strip_duplicate()

Strip * blender::seq::strip_duplicate ( StripDuplicateContext & ctx,
ListBaseT< Strip > * seqbase_dst,
Strip * strip )
static

Definition at line 647 of file sequencer.cc.

References blender::BKE_id_copy_for_duplicate(), blender::BKE_scene_duplicate(), blender::BKE_sound_scene_add_scene_sound(), blender::BLI_addtail(), blender::BLI_assert(), BLI_assert_unreachable, blender::BLI_strdup_null(), blender::seq::StripDuplicateContext::bmain, channels_duplicate(), connections_duplicate(), blender::seq::EffectHandle::copy, blender::seq::StripDuplicateContext::copy_flag, Data, blender::animrig::Strip::data(), blender::seq::StripDuplicateContext::dupe_flag, blender::Scene::ed, blender::Object::id, blender::id_us_plus(), blender::IDP_CopyProperty_ex(), is_strip_connected(), blender::LIB_ID_COPY_DEFAULT, blender::LIB_ID_CREATE_NO_MAIN, blender::LIB_ID_CREATE_NO_USER_REFCOUNT, blender::LIB_ID_DUPLICATE_IS_ROOT_ID, blender::LIB_ID_DUPLICATE_IS_SUBPROCESS, blender::seq::StripDuplicateContext::masks, modifier_list_copy(), modifier_persistent_uids_are_valid(), blender::seq::StripDuplicateContext::movieclips, blender::ID::newid, relations_session_uid_generate(), blender::SCE_COPY_FULL, blender::seq::StripDuplicateContext::scene_cameras, blender::seq::StripDuplicateContext::scene_dst, blender::seq::StripDuplicateContext::scene_src, blender::seq::StripDuplicateContext::scenes, blender::Editing::seqbase, strip_duplicate(), strip_effect_handle_get(), blender::seq::StripDuplicateContext::strip_map, blender::STRIP_TYPE_IMAGE, blender::STRIP_TYPE_MASK, blender::STRIP_TYPE_META, blender::STRIP_TYPE_MOVIE, blender::STRIP_TYPE_MOVIECLIP, blender::STRIP_TYPE_SCENE, blender::STRIP_TYPE_SOUND, strip_unique_name_set(), blender::animrig::Strip::type(), blender::U, UniqueName, blender::USER_DUP_LINKED_ID, and blender::USER_DUP_OBJECT.

Referenced by seqbase_duplicate_recursive_impl(), strip_duplicate(), and strip_duplicate_recursive_impl().

◆ strip_duplicate_context_get()

◆ strip_duplicate_recursive()

Strip * blender::seq::strip_duplicate_recursive ( Main * bmain,
const Scene * scene_src,
Scene * scene_dst,
ListBaseT< Strip > * seqbase_dst,
Strip * strip,
const StripDuplicate dupe_flag )

◆ strip_duplicate_recursive_impl()

Strip * blender::seq::strip_duplicate_recursive_impl ( StripDuplicateContext & ctx,
ListBaseT< Strip > * seqbase_dst,
Strip * strip )
static

◆ strip_effect_handle_get()

EffectHandle blender::seq::strip_effect_handle_get ( Strip * strip)

◆ strip_effect_speed_frame_map_ensure()

void blender::seq::strip_effect_speed_frame_map_ensure ( Scene * scene,
Strip * strip )
static

◆ strip_effect_speed_rebuild_map()

void blender::seq::strip_effect_speed_rebuild_map ( Scene * scene,
Strip * strip )

◆ strip_effect_speed_speed_factor_curve_get()

FCurve * blender::seq::strip_effect_speed_speed_factor_curve_get ( Scene * scene,
Strip * strip )
static

◆ strip_exists_at_frame()

bool blender::seq::strip_exists_at_frame ( const Scene * scene,
Span< Strip * > strips,
const int timeline_frame )
static

Definition at line 349 of file strip_time.cc.

References strip_exists_at_frame().

Referenced by seq_time_gap_info_get(), and strip_exists_at_frame().

◆ strip_for_each_recursive() [1/2]

bool blender::seq::strip_for_each_recursive ( ListBaseT< Strip > * seqbase,
ForEachFunc callback,
void * user_data )
static

◆ strip_for_each_recursive() [2/2]

bool blender::seq::strip_for_each_recursive ( ListBaseT< Strip > * seqbase,
FunctionRef< bool(Strip *)> callback )
static

Definition at line 43 of file iterator.cc.

References strip_for_each_recursive(), and blender::STRIP_TYPE_META.

◆ strip_free()

void blender::seq::strip_free ( Scene * scene,
Strip * strip )

Definition at line 265 of file sequencer.cc.

References seq_strip_free_ex(), and strip_free().

Referenced by edit_remove_flagged_strips(), and strip_free().

◆ strip_from_strip_elem()

Strip * blender::seq::strip_from_strip_elem ( ListBaseT< Strip > * seqbase,
StripElem * se )

Only use as last resort when the StripElem is available but not the Strip. (needed for RNA)

Definition at line 293 of file sequencer/intern/utils.cc.

References ARRAY_HAS_ITEM, blender::animrig::Strip::data(), and strip_from_strip_elem().

Referenced by strip_from_strip_elem().

◆ strip_get_early_out_for_blend_mode()

◆ strip_give_name()

◆ strip_has_valid_data()

bool blender::seq::strip_has_valid_data ( const Strip * strip)

Check if an input referenced by this strip is valid (e.g. scene for a scene strip). Note that this only checks data block references, for missing media referenced by paths use media_presence_is_missing.

Definition at line 349 of file sequencer/intern/utils.cc.

References strip_has_valid_data(), blender::STRIP_TYPE_MASK, blender::STRIP_TYPE_MOVIECLIP, blender::STRIP_TYPE_SCENE, blender::STRIP_TYPE_SOUND, and blender::animrig::Strip::type().

Referenced by skip_modifier(), and strip_has_valid_data().

◆ strip_int_bounds_get()

rcti blender::seq::strip_int_bounds_get ( const Scene * scene,
const Strip * strip )

Returns the extents of the strip along channels and frames.

Definition at line 259 of file strip_transform.cc.

References strip_int_bounds_get().

Referenced by strip_int_bounds_get().

◆ strip_load_font_file()

◆ strip_load_font_mem()

◆ strip_lookup_append_effect()

void blender::seq::strip_lookup_append_effect ( const Strip * input,
Strip * effect,
StripLookup * lookup )
static

◆ strip_lookup_build()

void blender::seq::strip_lookup_build ( const Editing * ed,
StripLookup * lookup )
static

◆ strip_lookup_build_effect()

void blender::seq::strip_lookup_build_effect ( Strip * strip,
StripLookup * lookup )
static

◆ strip_lookup_build_from_seqbase()

void blender::seq::strip_lookup_build_from_seqbase ( Strip * parent_meta,
const ListBaseT< Strip > * seqbase,
StripLookup * lookup )
static

◆ strip_lookup_free() [1/2]

void blender::seq::strip_lookup_free ( Editing * ed)

Free lookup hash data.

Definition at line 156 of file strip_lookup.cc.

References blender::BLI_assert(), lock, lookup_lock, and strip_lookup_free().

Referenced by editing_free(), strip_lookup_free(), strip_lookup_free(), and strip_lookup_rebuild().

◆ strip_lookup_free() [2/2]

void blender::seq::strip_lookup_free ( StripLookup ** lookup)
static

Definition at line 131 of file strip_lookup.cc.

References strip_lookup_free().

◆ strip_lookup_invalidate()

◆ strip_lookup_new()

StripLookup * blender::seq::strip_lookup_new ( )
static

Definition at line 125 of file strip_lookup.cc.

References strip_lookup_new().

Referenced by strip_lookup_new(), and strip_lookup_rebuild().

◆ strip_lookup_rebuild()

void blender::seq::strip_lookup_rebuild ( const Editing * ed,
StripLookup ** lookup )
static

◆ strip_lookup_update_if_needed()

◆ strip_read_data_cb()

◆ strip_renders_scene_strip()

◆ strip_result_covers_strip_quad()

◆ strip_retiming_add_key()

◆ strip_retiming_clamp_bounds_get()

◆ strip_retiming_clamp_offset()

int blender::seq::strip_retiming_clamp_offset ( const Scene * scene,
Strip * strip,
SeqRetimingKey * key,
const int offset )
static

◆ strip_retiming_clamp_transition_offset()

float blender::seq::strip_retiming_clamp_transition_offset ( const Scene * scene,
const Strip * strip,
SeqRetimingKey * start_key,
float media_offset )
static

◆ strip_retiming_cleanup_freeze_frame()

◆ strip_retiming_evaluate()

◆ strip_retiming_evaluate_arc_segment()

float blender::seq::strip_retiming_evaluate_arc_segment ( const SeqRetimingKey * key,
const float frame_index )
static

◆ strip_retiming_fix_transition()

◆ strip_retiming_fix_transitions()

◆ strip_retiming_key_offset()

◆ strip_retiming_line_segments_tangent_circle()

◆ strip_retiming_range_data_get()

RetimingRangeData blender::seq::strip_retiming_range_data_get ( const Scene * scene,
const Strip * strip )
static

◆ strip_retiming_remove_key_ex()

◆ strip_retiming_remove_transition()

◆ strip_retiming_segment_as_line_segment()

void blender::seq::strip_retiming_segment_as_line_segment ( const SeqRetimingKey * start_key,
double r_v1[2],
double r_v2[2] )
static

◆ strip_retiming_segment_length_get()

double blender::seq::strip_retiming_segment_length_get ( const SeqRetimingKey * start_key)
static

◆ strip_retiming_segment_step_get()

◆ strip_retiming_transition_is_linear()

bool blender::seq::strip_retiming_transition_is_linear ( const Strip * strip,
const SeqRetimingKey * key )
static

◆ strip_retiming_transition_offset()

◆ strip_selected_handles_get()

◆ strip_sound_update_cb()

bool blender::seq::strip_sound_update_cb ( Strip * strip,
void * user_data )
static

◆ strip_source_size_get()

◆ strip_speed_effect_target_frame_get()

◆ strip_supports_modifiers()

bool blender::seq::strip_supports_modifiers ( const Strip * strip)

◆ strip_time_effect_range_set()

◆ strip_time_slip_strip_ex()

void blender::seq::strip_time_slip_strip_ex ( const Scene * scene,
Strip * strip,
int delta,
float subframe_delta,
bool slip_keyframes,
bool recursed )
static

◆ strip_time_update_effects_strip_range() [1/2]

◆ strip_time_update_effects_strip_range() [2/2]

void blender::seq::strip_time_update_effects_strip_range ( const Scene * scene,
Span< Strip * > effects )

Update strip startdisp and enddisp (n-input effects have no length to calculate these).

References strip_retiming_evaluate(), and strip_time_update_effects_strip_range().

◆ strip_topmost_get()

◆ strip_transform_handle_overwrite()

◆ strip_transform_handle_overwrite_split()

Strip * blender::seq::strip_transform_handle_overwrite_split ( Scene * scene,
ListBaseT< Strip > * seqbasep,
const Strip * source,
Strip * target )
static

◆ strip_transform_handle_overwrite_trim()

void blender::seq::strip_transform_handle_overwrite_trim ( Scene * scene,
const Strip * source,
Strip * target,
bool covers_left )
static

◆ strip_transform_handle_ripple()

void blender::seq::strip_transform_handle_ripple ( Scene * scene,
ListBaseT< Strip > * seqbasep,
Span< Strip * > source_strips,
const eSeqRippleFlag ripple_flag )
static

◆ strip_transform_handle_shuffle()

void blender::seq::strip_transform_handle_shuffle ( Scene * scene,
ListBaseT< Strip > * seqbasep,
Span< Strip * > source_strips,
Span< Strip * > time_dependent_strips,
bool use_sync_markers )
static

◆ strip_transform_ripple_range()

◆ strip_type_is_effect()

◆ strip_unique_name_set()

◆ strip_unload_font()

◆ strip_update_mix_sounds()

◆ strip_update_muting_recursive()

void blender::seq::strip_update_muting_recursive ( ListBaseT< SeqTimelineChannel > * channels,
ListBaseT< Strip > * seqbasep,
Strip * strip_meta,
const bool mute )
static

◆ strip_update_sound_bounds_recursive()

void blender::seq::strip_update_sound_bounds_recursive ( const Scene * scene,
Strip * strip_meta )

◆ strip_update_sound_bounds_recursive_impl()

◆ strip_update_sound_modifiers()

◆ strip_update_sound_properties()

◆ strip_update_sound_recursive()

void blender::seq::strip_update_sound_recursive ( Scene * scene,
ListBaseT< Strip > * seqbasep,
bSound * sound )
static

◆ strip_write_data_cb()

◆ strips_overlap_at_offset()

bool blender::seq::strips_overlap_at_offset ( const Scene * scene,
const Strip * strip,
const Strip * other,
const int offset )
static

◆ sub_effect_get_handle()

◆ text_box_width_get()

int blender::seq::text_box_width_get ( const Vector< LineInfo > & lines)
static

Definition at line 962 of file effect_text.cc.

References text_box_width_get().

Referenced by apply_text_alignment(), calc_boundbox(), and text_box_width_get().

◆ text_draw()

◆ text_effect_adjust_relative()

void blender::seq::text_effect_adjust_relative ( TextVars & text,
const int2 old_size,
const int2 new_size )

◆ text_effect_font_get()

◆ text_effect_font_init()

int blender::seq::text_effect_font_init ( const RenderData * context,
TextVars & text,
FontFlags font_flags )
static

◆ text_effect_get_handle()

◆ text_effect_line_size_get()

int blender::seq::text_effect_line_size_get ( const RenderData * context,
const TextVars & text )
static

◆ text_effect_update_runtime()

◆ text_font_load()

◆ text_font_unload()

void blender::seq::text_font_unload ( TextVars * data,
const bool do_id_user )
static

◆ text_gaussian_blur_x()

void blender::seq::text_gaussian_blur_x ( const Span< float > gaussian,
int half_size,
int start_line,
int width,
int height,
const uchar * rect,
uchar * dst,
const rcti & shadow_rect )
static

◆ text_gaussian_blur_y()

void blender::seq::text_gaussian_blur_y ( const Span< float > gaussian,
int half_size,
int start_line,
int width,
int height,
const uchar * rect,
uchar * dst,
const rcti & shadow_rect )
static

◆ text_runtime_mutex_get()

◆ thumbnail_cache_clear()

◆ thumbnail_cache_destroy()

◆ thumbnail_cache_discard_requests_outside()

void blender::seq::thumbnail_cache_discard_requests_outside ( Scene * scene,
const rctf & rect )

◆ thumbnail_cache_get()

ImBuf * blender::seq::thumbnail_cache_get ( const bContext * C,
Scene * scene,
const Strip * strip,
float timeline_frame )

Get a thumbnail image for given strip at timeline_frame.

The function can return null if a strip type does not have a thumbnail, a source media file is not found, or the thumbnail has not been loaded yet.

A "closest" thumbnail if there is no exact match can also be returned, e.g. for a movie strip the closest frame that has a thumbnail already.

When there is no exact match, a request to load a thumbnail will be internally added and processed in the background.

Definition at line 758 of file thumbnail_cache.cc.

References C, ELEM, ensure_thumbnail_cache(), get_key_from_strip(), give_frame_index(), blender::IMB_refImBuf(), lock, query_thumbnail(), blender::math::round(), strip_can_have_thumbnail(), blender::STRIP_TYPE_MOVIE, blender::STRIP_TYPE_MOVIECLIP, blender::STRIP_TYPE_SCENE, thumb_cache_mutex, thumbnail_cache_get(), and blender::animrig::Strip::type().

Referenced by blender::ed::vse::add_thumbnail_at_frame(), and thumbnail_cache_get().

◆ thumbnail_cache_has_pending_scene_requests()

◆ thumbnail_cache_invalidate_strip()

◆ thumbnail_cache_maintain_capacity()

void blender::seq::thumbnail_cache_maintain_capacity ( Scene * scene)

◆ thumbnail_cache_update_scene_thumbs()

◆ time_find_next_prev_edit()

int blender::seq::time_find_next_prev_edit ( Scene * scene,
int timeline_frame,
Side side,
bool do_skip_mute,
bool do_center,
bool do_unselected )

Find start or end position of the next or previous strip from timeline_frame.

Parameters
do_centerFind the closest strip center instead of handle.
do_unselectedOnly consider unselected strips.

Definition at line 244 of file strip_time.cc.

References abs, Both, channels_displayed_get(), editing_get(), Left, MAXFRAME, render_is_muted(), Right, blender::SEQ_SELECT, and time_find_next_prev_edit().

Referenced by blender::ed::vse::strip_jump_internal(), and time_find_next_prev_edit().

◆ time_slip_strip()

void blender::seq::time_slip_strip ( const Scene * scene,
Strip * strip,
int frame_delta,
float subframe_delta,
bool slip_keyframes )

Move contents of a strip without moving the strip handles.

Definition at line 469 of file strip_time.cc.

References strip_time_slip_strip_ex(), and time_slip_strip().

Referenced by blender::ed::vse::slip_strips_delta(), and time_slip_strip().

◆ time_update_meta_strip_range()

void blender::seq::time_update_meta_strip_range ( const Scene * scene,
Strip * strip_meta )

◆ timeline_boundbox()

void blender::seq::timeline_boundbox ( const Scene * scene,
const ListBaseT< Strip > * seqbase,
rctf * r_rect )

Fill r_rect with the scene's timeline boundaries, stretched to include the strips in seqbase.

Definition at line 343 of file strip_time.cc.

References timeline_boundbox(), timeline_expand_boundbox(), and timeline_init_boundbox().

Referenced by blender::ed::vse::draw_timeline_seq_display(), seq_time_gap_info_get(), blender::ed::vse::seq_view_collection_rect_timeline(), and timeline_boundbox().

◆ timeline_expand_boundbox()

void blender::seq::timeline_expand_boundbox ( const Scene * scene,
const ListBaseT< Strip > * seqbase,
rctf * rect )

◆ timeline_init_boundbox()

void blender::seq::timeline_init_boundbox ( const Scene * scene,
rctf * r_rect )

◆ tonemap_calc_chunk_luminance()

◆ tonemap_calc_input_luminance()

◆ tonemap_rd_photoreceptor()

◆ tonemap_simple()

template<typename MaskSampler>
void blender::seq::tonemap_simple ( float4 * scene_linear,
MaskSampler & mask,
int image_x,
IndexRange y_range,
const AvgLogLum & avg )
static

◆ tonemapmodifier_apply()

◆ tonemapmodifier_init_data()

◆ tonemapmodifier_panel_draw()

◆ tonemapmodifier_register()

void blender::seq::tonemapmodifier_register ( ARegionType * region_type)
static

◆ tool_settings_copy()

SequencerToolSettings * blender::seq::tool_settings_copy ( SequencerToolSettings * tool_settings)

Definition at line 882 of file sequencer.cc.

References tool_settings_copy().

Referenced by blender::BKE_toolsettings_copy(), and tool_settings_copy().

◆ tool_settings_ensure()

◆ tool_settings_fit_method_get()

◆ tool_settings_fit_method_set()

void blender::seq::tool_settings_fit_method_set ( Scene * scene,
eSeqImageFitMethod fit_method )

◆ tool_settings_free()

void blender::seq::tool_settings_free ( SequencerToolSettings * tool_settings)

Definition at line 404 of file sequencer.cc.

References tool_settings_free().

Referenced by blender::BKE_toolsettings_free(), and tool_settings_free().

◆ tool_settings_init()

◆ tool_settings_overlap_mode_get()

◆ tool_settings_overlap_mode_set()

◆ tool_settings_pivot_point_get()

int blender::seq::tool_settings_pivot_point_get ( Scene * scene)

◆ tool_settings_ripple_flag_get()

◆ tool_settings_snap_distance_get()

◆ tool_settings_snap_flag_get()

◆ tool_settings_snap_mode_get()

◆ transform_effect_get_handle()

void blender::seq::transform_effect_get_handle ( EffectHandle & rval)

◆ transform_handle_overlap() [1/2]

void blender::seq::transform_handle_overlap ( Scene * scene,
ListBaseT< Strip > * seqbasep,
Span< Strip * > source_strips,
bool use_sync_markers,
eSeqOverlapMode overlap_mode,
eSeqRippleFlag ripple_flag,
Span< Strip * > time_dependent_strips = {} )

As above, but resolve the overlap with an overridden overlap_mode and ripple_flag instead of the sequencer scene's tool settings.

Definition at line 701 of file strip_transform.cc.

References blender::SEQ_OVERLAP_OVERWRITE, blender::SEQ_OVERLAP_RIPPLE, blender::SEQ_OVERLAP_SHUFFLE, strip_transform_handle_overwrite(), strip_transform_handle_ripple(), strip_transform_handle_shuffle(), transform_handle_overlap(), and transform_shuffle_vertical().

◆ transform_handle_overlap() [2/2]

◆ transform_is_locked()

◆ transform_ripple_ranges_get()

Vector< RippleRange > blender::seq::transform_ripple_ranges_get ( const Scene * scene,
Span< Strip * > strips )

Break up strips into "ranges" (rather than calculate an entire bounding box from all the strips under consideration). This lets us simultaneously ripple separated parts of the timeline if the user edits strips that are far apart. Returned ranges are sorted by start frame.

Definition at line 269 of file strip_transform.cc.

References b, blender::math::max(), and transform_ripple_ranges_get().

Referenced by blender::ed::vse::sequencer_ripple_delete_exec(), strip_transform_handle_ripple(), and transform_ripple_ranges_get().

◆ transform_shuffle_handles()

void blender::seq::transform_shuffle_handles ( const Scene * scene,
ListBaseT< Strip > * seqbasep,
Span< Strip * > strips_to_shuffle )
static

◆ transform_shuffle_horizontal()

void blender::seq::transform_shuffle_horizontal ( Scene * scene,
ListBaseT< Strip > * seqbasep,
Span< Strip * > strips_to_shuffle,
Span< Strip * > time_dependent_strips,
const bool use_sync_markers )
static

◆ transform_shuffle_vertical()

◆ transform_single_image_check()

bool blender::seq::transform_single_image_check ( const Strip * strip)

◆ transform_strip_can_be_translated()

◆ transform_strip_is_on_rippled_channel()

bool blender::seq::transform_strip_is_on_rippled_channel ( const RippleRange & range,
const Strip * strip,
bool all_channels )

◆ transform_strips_after_frame()

void blender::seq::transform_strips_after_frame ( Scene * scene,
ListBaseT< Strip > * seqbase,
int timeline_frame,
int delta )

◆ transform_test_overlap() [1/2]

bool blender::seq::transform_test_overlap ( const Scene * scene,
ListBaseT< Strip > * seqbasep,
Strip * test )

Definition at line 72 of file strip_transform.cc.

References transform_test_overlap().

◆ transform_test_overlap() [2/2]

◆ transform_translate_strip()

◆ transition_fader_calc()

float blender::seq::transition_fader_calc ( const Scene * scene,
const Strip * strip,
float timeline_frame )
static

◆ transition_inputs_have_wrong_order()

bool blender::seq::transition_inputs_have_wrong_order ( const Scene * scene,
const Strip * input1,
const Strip * input2 )
static

◆ update_range_with_effects()

void blender::seq::update_range_with_effects ( const Scene * scene,
const Strip * strip,
int2 & r_range )
static

◆ whiteBalance_apply()

◆ whiteBalance_init_data()

void blender::seq::whiteBalance_init_data ( StripModifierData * smd)
static

◆ whiteBalance_panel_draw()

◆ whiteBalance_register()

void blender::seq::whiteBalance_register ( ARegionType * region_type)
static

◆ wipe_effect_get_handle()

◆ wrap_width_get()

int blender::seq::wrap_width_get ( const TextVars * data,
const int2 image_size )
static

Definition at line 877 of file effect_text.cc.

References blender::data, and wrap_width_get().

Referenced by apply_word_wrapping(), and wrap_width_get().

Variable Documentation

◆ before_playhead_frames

int blender::seq::before_playhead_frames = 5
staticconstexpr

Definition at line 60 of file prefetch.cc.

Referenced by seq_prefetch_start_ex(), and seq_prefetch_update_area().

◆ CB_TABLE_SIZE

int blender::seq::CB_TABLE_SIZE = 1024
staticconstexpr

Use a larger lookup table than 256 possible byte values: due to alpha pre-multiplication, dark values with low alphas might need more precision.

Definition at line 63 of file MOD_color_balance.cc.

Referenced by blender::seq::ColorBalanceApplyOp::apply(), make_cb_table_lgg(), and make_cb_table_sop().

◆ current_owner

int blender::seq::current_owner = 0
thread_localstatic

Definition at line 50 of file movie_reader_cache.cc.

Referenced by current_owner_get().

◆ current_timestamp

uint64_t blender::seq::current_timestamp = 0
thread_localstatic

◆ final_image_cache_mutex

◆ g_fallback_font_id

int blender::seq::g_fallback_font_id = -1
static

Definition at line 81 of file effect_text.cc.

Referenced by fontmap_clear(), and text_effect_font_get().

◆ g_font_map

SeqFontMap blender::seq::g_font_map
static

◆ JFA_INVALID

uint16_t blender::seq::JFA_INVALID = 0xFFFF
constexpr

Definition at line 519 of file effect_text.cc.

Referenced by jump_flooding_pass().

◆ lookup_lock

◆ MAX_CHANNELS

◆ MAX_THUMBNAILS

int blender::seq::MAX_THUMBNAILS = 5000
staticconstexpr

Definition at line 43 of file thumbnail_cache.cc.

Referenced by thumbnail_cache_maintain_capacity().

◆ modifiersTypes

StripModifierTypeInfo* blender::seq::modifiersTypes[NUM_STRIP_MODIFIER_TYPES] = {nullptr}
static

◆ next_owner

std::atomic<int> blender::seq::next_owner = 0
static

Definition at line 49 of file movie_reader_cache.cc.

Referenced by current_owner_get().

◆ next_timestamp

std::atomic<uint64_t> blender::seq::next_timestamp = 0
static

Definition at line 43 of file movie_reader_cache.cc.

Referenced by movie_reader_cache_timestamp_bump().

◆ presence_lock

◆ seq_render_mutex

Mutex blender::seq::seq_render_mutex
static

Definition at line 101 of file render.cc.

Referenced by render_give_ibuf().

◆ seqModifierType_BrightContrast

StripModifierTypeInfo blender::seq::seqModifierType_BrightContrast
Initial value:
= {
"BrightContrast",
CTX_N_(BLT_I18NCONTEXT_ID_SEQUENCE, "Brightness/Contrast"),
"BrightContrastModifierData",
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}
#define CTX_N_(context, msgid)
#define BLT_I18NCONTEXT_ID_SEQUENCE
static void brightcontrast_register(ARegionType *region_type)
static void brightcontrast_apply(ModifierApplyContext &context, StripModifierData *smd)

Definition at line 114 of file MOD_brightness_contrast.cc.

◆ seqModifierType_ColorBalance

StripModifierTypeInfo blender::seq::seqModifierType_ColorBalance
Initial value:
= {
"ColorBalance",
"ColorBalanceModifierData",
nullptr,
nullptr,
nullptr,
nullptr,
}
static void colorBalance_init_data(StripModifierData *smd)
static void colorBalance_apply(ModifierApplyContext &context, StripModifierData *smd)
static void colorBalance_register(ARegionType *region_type)

Definition at line 382 of file MOD_color_balance.cc.

◆ seqModifierType_Compositor

StripModifierTypeInfo blender::seq::seqModifierType_Compositor
Initial value:
= {
"Compositor",
"SequencerCompositorModifierData",
nullptr,
nullptr,
nullptr,
nullptr,
}
static void compositor_modifier_register(ARegionType *region_type)
static void compositor_modifier_apply(ModifierApplyContext &context, StripModifierData *strip_modifier_data)
static void compositor_modifier_init_data(StripModifierData *strip_modifier_data)

Definition at line 331 of file MOD_compositor.cc.

◆ seqModifierType_Curves

StripModifierTypeInfo blender::seq::seqModifierType_Curves
Initial value:
= {
"Curves",
"CurvesModifierData",
}
static void curves_register(ARegionType *region_type)
static void curves_apply(ModifierApplyContext &context, StripModifierData *smd)
Definition MOD_curves.cc:76
static void curves_write(BlendWriter *writer, const StripModifierData *smd)
static void curves_free_data(StripModifierData *smd)
Definition MOD_curves.cc:37
static void curves_copy_data(StripModifierData *target, StripModifierData *smd)
Definition MOD_curves.cc:44
static void curves_read(BlendDataReader *reader, StripModifierData *smd)
static void curves_init_data(StripModifierData *smd)
Definition MOD_curves.cc:30

Definition at line 133 of file MOD_curves.cc.

◆ seqModifierType_Echo

StripModifierTypeInfo blender::seq::seqModifierType_Echo
Initial value:
= {
"Echo",
"EchoModifierData",
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}
static void echomodifier_init_data(StripModifierData *smd)
static void echomodifier_register(ARegionType *region_type)

Definition at line 52 of file MOD_sound_echo.cc.

◆ seqModifierType_HueCorrect

StripModifierTypeInfo blender::seq::seqModifierType_HueCorrect
Initial value:
= {
"HueCorrect",
"HueCorrectModifierData",
}
static void hue_correct_register(ARegionType *region_type)
static void hue_correct_write(BlendWriter *writer, const StripModifierData *smd)
static void hue_correct_init_data(StripModifierData *smd)
static void hue_correct_apply(ModifierApplyContext &context, StripModifierData *smd)
static void hue_correct_free_data(StripModifierData *smd)
static void hue_correct_copy_data(StripModifierData *target, StripModifierData *smd)
static void hue_correct_read(BlendDataReader *reader, StripModifierData *smd)

Definition at line 160 of file MOD_hue_correct.cc.

◆ seqModifierType_Mask

StripModifierTypeInfo blender::seq::seqModifierType_Mask
Initial value:
= {
"Mask",
"SequencerMaskModifierData",
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}
static void maskmodifier_register(ARegionType *region_type)
static void maskmodifier_apply(ModifierApplyContext &context, StripModifierData *smd)

Definition at line 90 of file sequencer/intern/modifiers/MOD_mask.cc.

◆ seqModifierType_None

StripModifierTypeInfo blender::seq::seqModifierType_None
Initial value:
= {
"None",
"StripModifierData",
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}

Definition at line 17 of file sequencer/intern/modifiers/MOD_none.cc.

◆ seqModifierType_Pitch

StripModifierTypeInfo blender::seq::seqModifierType_Pitch
Initial value:
= {
"Pitch",
"PitchModifierData",
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}
static void pitchmodifier_register(ARegionType *region_type)
static void pitchmodifier_init_data(StripModifierData *smd)

Definition at line 65 of file MOD_sound_pitch.cc.

◆ seqModifierType_SoundEqualizer

StripModifierTypeInfo blender::seq::seqModifierType_SoundEqualizer
Initial value:
= {
"SoundEqualizer",
"SoundEqualizerModifierData",
nullptr,
}
void sound_equalizermodifier_init_data(StripModifierData *smd)
static void sound_equalizermodifier_write(BlendWriter *writer, const StripModifierData *smd)
void sound_equalizermodifier_free(StripModifierData *smd)
static void sound_equalizermodifier_read(BlendDataReader *reader, StripModifierData *smd)
static void sound_equalizermodifier_register(ARegionType *region_type)
void sound_equalizermodifier_copy_data(StripModifierData *target, StripModifierData *smd)

Definition at line 82 of file MOD_sound_equalizer.cc.

◆ seqModifierType_Tonemap

StripModifierTypeInfo blender::seq::seqModifierType_Tonemap
Initial value:
= {
"Tonemap",
"SequencerTonemapModifierData",
nullptr,
nullptr,
nullptr,
nullptr,
}
static void tonemapmodifier_init_data(StripModifierData *smd)
static void tonemapmodifier_apply(ModifierApplyContext &context, StripModifierData *smd)
static void tonemapmodifier_register(ARegionType *region_type)

Definition at line 363 of file MOD_tonemap.cc.

◆ seqModifierType_WhiteBalance

StripModifierTypeInfo blender::seq::seqModifierType_WhiteBalance
Initial value:
= {
"WhiteBalance",
"WhiteBalanceModifierData",
nullptr,
nullptr,
nullptr,
nullptr,
}
static void whiteBalance_init_data(StripModifierData *smd)
static void whiteBalance_apply(ModifierApplyContext &context, StripModifierData *smd)
static void whiteBalance_register(ARegionType *region_type)

Definition at line 108 of file MOD_white_balance.cc.

◆ source_image_cache_mutex

◆ STRIP_MODIFIER_TYPE_PANEL_PREFIX

char blender::seq::STRIP_MODIFIER_TYPE_PANEL_PREFIX[] = "STRIPMOD_PT_"
staticconstexpr

Definition at line 113 of file SEQ_modifier.hh.

◆ text_runtime_mutex

std::recursive_mutex blender::seq::text_runtime_mutex
static

Definition at line 49 of file effect_text.cc.

Referenced by do_text_effect(), and text_runtime_mutex_get().

◆ thumb_cache_mutex

◆ THUMB_SIZE

int blender::seq::THUMB_SIZE = 256
staticconstexpr

Definition at line 21 of file SEQ_thumbnail_cache.hh.

◆ view3d_fn

◆ workersSoundModifiers

const SoundModifierWorkerInfo blender::seq::workersSoundModifiers[]
Initial value:
= {
{0, nullptr}}
AUD_Sound echomodifier_recreator(Strip *, StripModifierData *smd, AUD_Sound sound_in, bool &needs_update)
AUD_Sound pitchmodifier_recreator(Strip *, StripModifierData *smd, AUD_Sound sound_in, bool &needs_update)
AUD_Sound sound_equalizermodifier_recreator(Strip *strip, StripModifierData *smd, AUD_Sound sound_in, bool &needs_update)
@ eSeqModifierType_SoundEqualizer

Definition at line 49 of file sequencer/intern/sound.cc.

Referenced by sound_modifier_worker_info_get().