|
Blender V5.0
|
Typedefs | |
| using | PanelDrawFn = void (*)(const bContext *, Panel *) |
| using | ForEachFunc = bool (*)(Strip *strip, void *user_data) |
| using | DrawViewFn |
Enumerations | |
| enum | eRangeType { LINEAR = 0 , TRANSITION = 1 } |
| enum | eIntersectType { FULL , PARTIAL_START , PARTIAL_END , INSIDE , NONE } |
| enum | eOvelapDescrition { STRIP_OVERLAP_NONE , STRIP_OVERLAP_IS_FULL , STRIP_OVERLAP_IS_INSIDE , STRIP_OVERLAP_LEFT_SIDE , STRIP_OVERLAP_RIGHT_SIDE } |
| 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 | StripEarlyOut { NoInput = -1 , DoEffect = 0 , UseInput1 = 1 , UseInput2 = 2 } |
| enum | eTaskId { SEQ_TASK_MAIN_RENDER , SEQ_TASK_PREFETCH_RENDER } |
| enum | { SIDE_MOUSE = -1 , SIDE_NONE = 0 , SIDE_LEFT , SIDE_RIGHT , SIDE_BOTH , SIDE_NO_CHANGE } |
| enum class | StripDuplicate : uint8_t { Selected = 0 , UniqueName = (1 << 0) , Data = (1 << 1) , All = (1 << 3) } |
Text Effect | |
| constexpr uint16_t | JFA_INVALID = 0xFFFF |
| void | text_effect_get_handle (EffectHandle &rval) |
| TextVarsRuntime * | text_effect_calc_runtime (const Strip *strip, int font, const int2 image_size) |
| int | text_effect_font_init (const RenderData *context, const Strip *strip, FontFlags font_flags) |
| bool | effects_can_render_text (const Strip *strip) |
| static void | init_text_effect (Strip *strip) |
| void | effect_text_font_unload (TextVars *data, const bool do_id_user) |
| void | effect_text_font_load (TextVars *data, const bool do_id_user) |
| static void | free_text_effect (Strip *strip, const bool do_id_user) |
| static void | load_text_effect (Strip *strip) |
| static void | copy_text_effect (Strip *dst, const Strip *src, const int flag) |
| static int | num_inputs_text () |
| 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, const TextVarsRuntime *runtime, ImBuf *out) |
| static void | fill_rect_alpha_under (const 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 Strip *strip) |
| 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 width_max) |
| 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) |
| static ImBuf * | do_text_effect (const RenderData *context, SeqRenderState *, Strip *strip, float, float, ImBuf *, ImBuf *) |
| using blender::seq::DrawViewFn |
Definition at line 25 of file SEQ_offscreen.hh.
| using blender::seq::ForEachFunc = bool (*)(Strip *strip, void *user_data) |
Callback format for the for_each function below.
Definition at line 23 of file SEQ_iterator.hh.
| using blender::seq::PanelDrawFn = void (*)(const bContext *, Panel *) |
Definition at line 70 of file modifier.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| SIDE_MOUSE | |
| SIDE_NONE | |
| SIDE_LEFT | |
| SIDE_RIGHT | |
| SIDE_BOTH | |
| SIDE_NO_CHANGE | |
Definition at line 31 of file SEQ_sequencer.hh.
| Enumerator | |
|---|---|
| FULL | |
| PARTIAL_START | |
| PARTIAL_END | |
| INSIDE | |
| NONE | |
Definition at line 860 of file strip_retiming.cc.
#SeqLoadData.flags
| Enumerator | |
|---|---|
| SEQ_LOAD_SOUND_CACHE | |
| SEQ_LOAD_SOUND_MONO | |
| SEQ_LOAD_MOVIE_SYNC_FPS | |
| SEQ_LOAD_SET_VIEW_TRANSFORM | |
Definition at line 26 of file SEQ_add.hh.
| Enumerator | |
|---|---|
| STRIP_OVERLAP_NONE | |
| STRIP_OVERLAP_IS_FULL | |
| STRIP_OVERLAP_IS_INSIDE | |
| STRIP_OVERLAP_LEFT_SIDE | |
| STRIP_OVERLAP_RIGHT_SIDE | |
Definition at line 356 of file strip_transform.cc.
| Enumerator | |
|---|---|
| LINEAR | |
| TRANSITION | |
Definition at line 855 of file strip_retiming.cc.
| Enumerator | |
|---|---|
| SPLIT_SOFT | |
| SPLIT_HARD | |
Definition at line 54 of file SEQ_edit.hh.
| Enumerator | |
|---|---|
| SEQ_TASK_MAIN_RENDER | |
| SEQ_TASK_PREFETCH_RENDER | |
Definition at line 26 of file SEQ_render.hh.
|
strong |
| Enumerator | |
|---|---|
| Selected | |
| UniqueName | |
| Data | |
| All | |
Definition at line 41 of file SEQ_sequencer.hh.
|
strong |
| Enumerator | |
|---|---|
| NoInput | |
| DoEffect | |
| UseInput1 | |
| UseInput2 | |
Definition at line 26 of file SEQ_effects.hh.
Definition at line 420 of file sequencer/intern/utils.cc.
References Strip::mask, select_active_get(), STRIP_TYPE_MASK, and Strip::type.
Referenced by blender::ed::vse::check_show_maskedit(), and blender::ed::vse::sequencer_context().
Get seqbase that is being viewed currently. This can be main seqbase or meta strip seqbase
| ed | sequence editor data |
Definition at line 433 of file sequencer.cc.
Referenced by blender::ed::vse::all_strips_from_context(), 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(), 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_snap_sources_timeline(), blender::ed::transform::query_snap_targets_timeline(), blender::ed::transform::recalcData_sequencer_retiming(), retiming_key_overlap(), blender::ed::vse::segment_speed_set_exec(), 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(), seq_get_snap_targets(), blender::ed::transform::seq_get_strip_pivot_median(), seq_prefetch_frames(), blender::ed::vse::seq_proxy_build_job(), blender::ed::transform::seq_transform_cancel(), 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_select_exec(), blender::ed::vse::sequencer_select_grouped_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::strip_speed_set_exec().
| void blender::seq::add_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 154 of file vse_effect_add_sub_mul.cc.
References do_add_effect(), blender::seq::EffectHandle::early_out, early_out_mul_input2(), and blender::seq::EffectHandle::execute.
Referenced by effect_handle_for_blend_mode_get(), and effect_handle_get().
Add effect strip.
| scene | Scene where strips will be added |
| seqbase | ListBase where strips will be added |
| load_data | SeqLoadData with information necessary to create strip |
Definition at line 166 of file strip_add.cc.
References Strip::blend_mode, Strip::blend_opacity, effect_get_num_inputs(), Strip::flag, blender::seq::EffectHandle::init, Strip::input1, Strip::input2, Strip::len, load_data(), SEQ_SINGLE_FRAME_CONTENT, SEQ_USE_EFFECT_DEFAULT_FADE, strip_add_generic_update(), strip_add_set_name(), strip_alloc(), strip_effect_handle_get(), time_right_handle_frame_set(), and Strip::type.
Referenced by blender::ed::vse::sequencer_add_effect_strip_exec().
Set image strip alpha mode
| strip | image strip to be changed |
Definition at line 208 of file strip_add.cc.
References Strip::alpha_mode, BLI_path_abs(), BLI_path_join, StripData::colorspace_settings, Strip::data, StripData::dirpath, FILE_MAX, StripElem::filename, ImBuf::flags, IB_alphamode_detect, IB_alphamode_premul, IB_multilayer, IB_test, Scene::id, ID_BLEND_PATH, IMA_ALPHA_PREMUL, IMB_freeImBuf(), IMB_load_image_from_filepath(), ColorManagedColorspaceSettings::name, SEQ_ALPHA_STRAIGHT, STRIP_TYPE_IMAGE, StripData::stripdata, and Strip::type.
Referenced by blender::ed::vse::sequencer_add_image_strip_exec().
| void blender::seq::add_image_load_file | ( | Scene * | scene, |
| Strip * | strip, | ||
| size_t | strip_frame, | ||
| const char * | filename ) |
Set directory used by image strip.
| strip | image strip to be changed |
| strip_frame | frame index of strip to be changed |
| filename | image filename (only filename, not complete path) |
Definition at line 202 of file strip_add.cc.
References StripElem::filename, render_give_stripelem(), STRNCPY(), and time_start_frame_get().
Referenced by blender::ed::vse::sequencer_add_image_strip_load_files().
| void blender::seq::add_image_set_directory | ( | Strip * | strip, |
| const char * | dirpath ) |
Set directory used by image strip.
| strip | image strip to be changed |
| path | directory path |
Definition at line 197 of file strip_add.cc.
References Strip::data, StripData::dirpath, and STRNCPY().
Referenced by blender::ed::vse::sequencer_add_image_strip_exec().
| Strip * blender::seq::add_image_strip | ( | Main * | bmain, |
| Scene * | scene, | ||
| ListBase * | seqbase, | ||
| LoadData * | load_data ) |
Add image strip.
| bmain | Main reference |
| scene | Scene where strips will be added |
| seqbase | ListBase where strips will be added |
| load_data | SeqLoadData with information necessary to create strip |
Definition at line 239 of file strip_add.cc.
References BLI_path_abs(), StripData::colorspace_settings, data, Strip::data, FILE_MAX, Strip::flag, i, IB_byte_data, IB_multilayer, Scene::id, ID_BLEND_PATH, IMB_freeImBuf(), IMB_load_image_from_filepath(), Strip::len, load_data(), MEM_calloc_arrayN(), MEM_mallocN(), ColorManagedColorspaceSettings::name, StripElem::orig_height, StripElem::orig_width, Scene::r, SEQ_SINGLE_FRAME_CONTENT, SEQ_USE_VIEWS, set_scale_to_fit(), Strip::stereo3d_format, strip_add_generic_update(), strip_add_set_name(), strip_add_set_view_transform(), strip_alloc(), STRIP_TYPE_IMAGE, STRNCPY(), Strip::views_format, ImBuf::x, and ImBuf::y.
Referenced by blender::ed::vse::sequencer_add_image_strip_exec().
| void blender::seq::add_load_data_init | ( | LoadData * | load_data, |
| const char * | name, | ||
| const char * | path, | ||
| int | start_frame, | ||
| int | channel ) |
Initialize common SeqLoadData members
| load_data | SeqLoadData to be initialized |
| name | strip name (can be NULL) |
| path | path to file that is used as strip input (can be NULL) |
| start_frame | timeline frame where strip will be created |
| channel | timeline channel where strip will be created |
Definition at line 62 of file strip_add.cc.
References load_data(), name, and STRNCPY().
Add mask strip.
| scene | Scene where strips will be added |
| seqbase | ListBase where strips will be added |
| load_data | SeqLoadData with information necessary to create strip |
Definition at line 155 of file strip_add.cc.
References BKE_mask_get_duration(), id_us_ensure_real(), Strip::len, load_data(), Strip::mask, strip_add_generic_update(), strip_add_set_name(), strip_alloc(), and STRIP_TYPE_MASK.
Referenced by blender::ed::vse::sequencer_add_mask_strip_exec().
Add meta strip.
| scene | Scene where strips will be added |
| seqbase | ListBase where strips will be added |
| load_data | SeqLoadData with information necessary to create strip |
Definition at line 383 of file strip_add.cc.
References Strip::len, load_data(), Strip::start, strip_add_generic_update(), strip_add_set_name(), strip_alloc(), and STRIP_TYPE_META.
| void blender::seq::add_movie_reload_if_needed | ( | Main * | bmain, |
| Scene * | scene, | ||
| Strip * | strip, | ||
| bool * | r_was_reloaded, | ||
| bool * | r_can_produce_frames ) |
Definition at line 706 of file strip_add.cc.
References add_reload_new_file(), Strip::anims, BLI_assert_msg, BLI_listbase_is_empty(), LISTBASE_FOREACH, MOV_is_initialized_and_valid(), STRIP_TYPE_MOVIE, and Strip::type.
| Strip * blender::seq::add_movie_strip | ( | Main * | bmain, |
| Scene * | scene, | ||
| ListBase * | seqbase, | ||
| LoadData * | load_data ) |
Add movie strip.
| bmain | Main reference |
| scene | Scene where strips will be added |
| seqbase | ListBase where strips will be added |
| load_data | SeqLoadData with information necessary to create strip |
Definition at line 401 of file strip_add.cc.
References StripAnim::anim, Strip::anims, BKE_scene_multiview_view_prefix_get(), BLI_addtail(), BLI_path_abs(), BLI_path_split_dir_file(), StripData::colorspace_settings, data, Strip::data, DEG_id_tag_update(), FILE_MAX, StripElem::filename, Strip::flag, i, IB_byte_data, Scene::id, ID_BLEND_PATH, ID_RECALC_AUDIO_FPS, ID_RECALC_SEQUENCER_STRIPS, IMB_TC_RECORD_RUN, Strip::len, load_data(), Strip::media_playback_rate, MEM_calloc_arrayN(), MEM_callocN(), MEM_freeN(), MEM_mallocN(), MOV_get_duration_frames(), MOV_get_fps(), MOV_get_fps_num_denom(), MOV_get_image_height(), MOV_get_image_width(), MOV_get_start_offset_seconds(), MOV_load_metadata(), ColorManagedColorspaceSettings::name, openanim(), Scene::r, R_IMF_VIEWS_INDIVIDUAL, seq_anim_add_suffix(), SEQ_AUTO_PLAYBACK_RATE, SEQ_LOAD_MOVIE_SYNC_FPS, seq_multiview_name(), seq_num_files(), SEQ_USE_VIEWS, set_scale_to_fit(), Strip::stereo3d_format, strip_add_generic_update(), strip_add_set_name(), strip_add_set_view_transform(), strip_alloc(), STRIP_TYPE_MOVIE, STRNCPY(), STRNCPY_UTF8, and Strip::views_format.
Referenced by blender::ed::vse::sequencer_add_movie_multiple_strips(), and blender::ed::vse::sequencer_add_movie_single_strip().
| Strip * blender::seq::add_movieclip_strip | ( | Scene * | scene, |
| ListBase * | seqbase, | ||
| LoadData * | load_data ) |
Add movieclip strip.
| scene | Scene where strips will be added |
| seqbase | ListBase where strips will be added |
| load_data | SeqLoadData with information necessary to create strip |
Definition at line 143 of file strip_add.cc.
References BKE_movieclip_get_duration(), Strip::clip, id_us_ensure_real(), Strip::len, load_data(), strip_add_generic_update(), strip_add_set_name(), strip_alloc(), and STRIP_TYPE_MOVIECLIP.
Referenced by blender::ed::vse::sequencer_add_movieclip_strip_exec().
| void blender::seq::add_reload_new_file | ( | Main * | bmain, |
| Scene * | scene, | ||
| Strip * | strip, | ||
| const bool | lock_range ) |
Definition at line 538 of file strip_add.cc.
References StripAnim::anim, Strip::anim_endofs, Strip::anim_startofs, Strip::anims, BKE_mask_get_duration(), BKE_movieclip_get_duration(), BKE_scene_multiview_view_prefix_get(), BKE_sound_get_length(), BLI_addtail(), BLI_path_abs(), BLI_path_join, ceil, Strip::clip, StripData::colorspace_settings, Strip::data, StripData::dirpath, ELEM, FILE_MAX, StripElem::filename, ListBase::first, Strip::flag, free_strip_proxy(), i, IB_animdeinterlace, IB_byte_data, Scene::id, ID_BLEND_PATH, IMB_TC_RECORD_RUN, Strip::len, Strip::mask, MEM_allocN_len, MEM_mallocN(), MOV_get_duration_frames(), MOV_load_metadata(), ColorManagedColorspaceSettings::name, openanim(), StripData::proxy, Scene::r, R_IMF_VIEWS_INDIVIDUAL, R_MULTIVIEW, relations_invalidate_cache_raw(), relations_strip_free_anim(), Strip::scene, seq_anim_add_suffix(), SEQ_FILTERY, seq_multiview_name(), seq_num_files(), SEQ_USE_VIEWS, Strip::sound, Strip::streamindex, STRIP_TYPE_IMAGE, STRIP_TYPE_MASK, STRIP_TYPE_META, STRIP_TYPE_MOVIE, STRIP_TYPE_MOVIECLIP, STRIP_TYPE_SCENE, STRIP_TYPE_SOUND_RAM, StripData::stripdata, StripProxy::tc, time_handles_frame_set(), time_left_handle_frame_get(), time_right_handle_frame_get(), Strip::type, UNUSED_VARS, and Strip::views_format.
Referenced by add_movie_reload_if_needed(), seq_split_set_left_hold_offset(), seq_split_set_right_hold_offset(), blender::ed::vse::sequencer_change_path_exec(), and blender::ed::vse::sequencer_reload_exec().
Add scene strip.
| scene | Scene where strips will be added |
| seqbase | ListBase where strips will be added |
| load_data | SeqLoadData with information necessary to create strip |
Definition at line 131 of file strip_add.cc.
References id_us_ensure_real(), Strip::len, load_data(), Strip::scene, strip_add_generic_update(), strip_add_set_name(), strip_alloc(), and STRIP_TYPE_SCENE.
Referenced by blender::ed::vse::sequencer_add_scene_asset_invoke(), blender::ed::vse::sequencer_add_scene_strip_exec(), and blender::ed::vse::sequencer_add_scene_strip_new_exec().
| void blender::seq::add_sound_av_sync | ( | Main * | bmain, |
| Scene * | scene, | ||
| Strip * | strip, | ||
| LoadData * | load_data ) |
Sync up the sound strip 'seq' with the video data in 'load_data'. This is intended to be used after adding a movie strip and you want to make sure that the audio track is properly synced up with the video.
| bmain | Main reference |
| scene | Scene where the sound strip is located |
| strip | The sound strip that will be synced |
| load_data | SeqLoadData with information necessary to sync the sound strip |
Definition at line 367 of file strip_add.cc.
Referenced by blender::ed::vse::sequencer_add_movie_sync_sound_strip().
| Strip * blender::seq::add_sound_strip | ( | Main * | bmain, |
| Scene * | scene, | ||
| ListBase * | seqbase, | ||
| LoadData * | load_data ) |
Add sound strip.
| bmain | Main reference |
| scene | Scene where strips will be added |
| seqbase | ListBase where strips will be added |
| load_data | SeqLoadData with information necessary to create strip |
Definition at line 374 of file strip_add.cc.
Referenced by blender::ed::vse::sequencer_add_movie_multiple_strips(), blender::ed::vse::sequencer_add_movie_single_strip(), blender::ed::vse::sequencer_add_sound_multiple_strips(), and blender::ed::vse::sequencer_add_sound_single_strip().
| void blender::seq::adjustment_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 99 of file vse_effect_adjustment.cc.
References do_adjustment(), blender::seq::EffectHandle::early_out, early_out_adjustment(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::num_inputs, and num_inputs_adjustment().
Referenced by effect_handle_get().
| void blender::seq::alpha_mode_from_file_extension | ( | Strip * | strip | ) |
Definition at line 431 of file sequencer/intern/utils.cc.
References Strip::alpha_mode, BKE_image_alpha_mode_from_extension_ex(), Strip::data, StripElem::filename, and StripData::stripdata.
Referenced by strip_set_alpha_mode_cb().
|
static |
Definition at line 38 of file vse_effect_blend.cc.
|
static |
Definition at line 33 of file vse_effect_blend.cc.
Referenced by blender::seq::AlphaOverEffectOp::apply(), and blender::seq::AlphaUnderEffectOp::apply().
| void blender::seq::alpha_over_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 403 of file vse_effect_blend.cc.
References do_alphaover_effect(), blender::seq::EffectHandle::early_out, early_out_mul_input1(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::init, and init_alpha_over_or_under().
Referenced by effect_handle_for_blend_mode_get(), and effect_handle_get().
| void blender::seq::alpha_under_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 410 of file vse_effect_blend.cc.
References do_alphaunder_effect(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::init, and init_alpha_over_or_under().
Referenced by effect_handle_for_blend_mode_get(), and effect_handle_get().
|
static |
Definition at line 949 of file vse_effect_text.cc.
References anchor_offset_get(), data, SEQ_TEXT_ALIGN_X_CENTER, SEQ_TEXT_ALIGN_X_LEFT, SEQ_TEXT_ALIGN_X_RIGHT, SEQ_TEXT_ALIGN_Y_BOTTOM, SEQ_TEXT_ALIGN_Y_CENTER, and SEQ_TEXT_ALIGN_Y_TOP.
Referenced by anchor_offset_get(), apply_text_alignment(), and calc_boundbox().
| void blender::seq::animation_backup_original | ( | Scene * | scene, |
| AnimationBackup * | backup ) |
Move all F-Curves and drivers from scene to backup.
Definition at line 91 of file animation.cc.
References AnimData::action, Scene::adt, animation_drivers_exist(), animation_keyframes_exist(), BLI_movelisttolist(), blender::seq::AnimationBackup::channelbag, blender::animrig::channelbag_fcurves_move(), blender::animrig::channelbag_for_action_slot(), bAction::curves, blender::seq::AnimationBackup::curves, AnimData::drivers, blender::seq::AnimationBackup::drivers, blender::animrig::Action::is_action_legacy(), and AnimData::slot_handle.
Referenced by edit_strip_split(), blender::ed::vse::sequencer_add_duplicate_exec(), and blender::ed::vse::sequencer_clipboard_paste_exec().
| bool blender::seq::animation_drivers_exist | ( | Scene * | scene | ) |
Definition at line 31 of file animation.cc.
References Scene::adt, BLI_listbase_is_empty(), and AnimData::drivers.
Referenced by animation_backup_original(), blender::ed::vse::sequencer_copy_animation(), and blender::ed::vse::sequencer_paste_animation().
| void blender::seq::animation_duplicate_backup_to_scene | ( | Scene * | scene, |
| Strip * | strip, | ||
| AnimationBackup * | backup ) |
Duplicate F-Curves and drivers used by strip from backup to scene.
Definition at line 205 of file animation.cc.
References AnimData::action, Scene::adt, BLI_assert, BLI_listbase_is_empty(), blender::seq::AnimationBackup::channelbag, blender::seq::AnimationBackup::curves, blender::seq::AnimationBackup::drivers, blender::animrig::Channelbag::fcurves(), AnimData::slot_handle, strip_animation_duplicate(), and strip_drivers_duplicate().
Referenced by edit_strip_split(), and blender::ed::vse::sequencer_add_duplicate_exec().
| bool blender::seq::animation_keyframes_exist | ( | const Scene * | scene | ) |
Definition at line 25 of file animation.cc.
References AnimData::action, Scene::adt, and AnimData::slot_handle.
Referenced by animation_backup_original(), free_animdata(), offset_animdata(), blender::ed::vse::sequencer_copy_animation(), blender::ed::vse::sequencer_paste_animation(), and update_sequencer().
| void blender::seq::animation_restore_original | ( | Scene * | scene, |
| AnimationBackup * | backup ) |
Move all F-Curves and drivers from backup to scene.
Definition at line 113 of file animation.cc.
References AnimData::action, Scene::adt, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), blender::seq::AnimationBackup::channelbag, blender::animrig::channelbag_fcurves_move(), blender::animrig::channelbag_for_action_slot(), bAction::curves, blender::seq::AnimationBackup::curves, AnimData::drivers, blender::seq::AnimationBackup::drivers, blender::animrig::Channelbag::fcurves(), blender::animrig::Action::is_action_legacy(), and AnimData::slot_handle.
Referenced by edit_strip_split(), blender::ed::vse::sequencer_add_duplicate_exec(), and blender::ed::vse::sequencer_clipboard_paste_exec().
|
static |
Definition at line 148 of file vse_effect_blend.cc.
Referenced by do_blend_effect_byte(), and do_blend_effect_float().
|
static |
Definition at line 124 of file effects.hh.
References BLI_assert_msg, ImBuf::channels, blender::threading::parallel_for(), ImBuf::x, and ImBuf::y.
Referenced by do_add_effect(), do_alphaover_effect(), do_alphaunder_effect(), do_blend_mode_effect(), do_colormix_effect(), do_cross_effect(), do_gammacross_effect(), do_mul_effect(), and do_sub_effect().
| void blender::seq::apply_modifier_op | ( | T & | op, |
| ImBuf * | ibuf, | ||
| const ImBuf * | mask, | ||
| const float3x3 & | mask_transform ) |
Definition at line 263 of file modifier.hh.
References BLI_assert_msg, ImBuf::channels, if(), blender::math::is_identity(), mask(), blender::threading::parallel_for(), T, ImBuf::x, and ImBuf::y.
Referenced by brightcontrast_apply(), colorBalance_apply(), curves_apply(), hue_correct_apply(), maskmodifier_apply(), tonemapmodifier_apply(), and whiteBalance_apply().
|
static |
Definition at line 1003 of file vse_effect_text.cc.
References anchor_offset_get(), apply_text_alignment(), BLF_descender(), blender::seq::LineInfo::characters, data, float, blender::seq::TextVarsRuntime::font, horizontal_alignment_offset_get(), blender::seq::TextVarsRuntime::line_height, blender::seq::TextVarsRuntime::lines, blender::seq::CharInfo::position, blender::math::round(), text_box_width_get(), and blender::seq::LineInfo::width.
Referenced by apply_text_alignment(), and text_effect_calc_runtime().
|
static |
Definition at line 862 of file vse_effect_text.cc.
References blender::seq::CharInfo::advance_x, apply_word_wrapping(), BLF_width(), blender::seq::CharInfo::byte_length, blender::math::ceil(), blender::seq::LineInfo::characters, data, blender::seq::CharInfo::do_wrap, blender::seq::TextVarsRuntime::font, blender::seq::TextVarsRuntime::line_height, blender::seq::TextVarsRuntime::lines, blender::seq::CharInfo::offset, blender::seq::CharInfo::position, blender::seq::LineInfo::width, and wrap_width_get().
Referenced by apply_word_wrapping(), and text_effect_calc_runtime().
| bool blender::seq::are_strips_connected_together | ( | blender::VectorSet< Strip * > & | strip_list | ) |
Check whether the list of strips are a single connection "group", that is, they are all connected to each other and there are no outside connections.
Definition at line 138 of file strip_connect.cc.
References connected_strips_get(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
Referenced by blender::ed::vse::sequencer_connect_exec().
| void blender::seq::blend_mode_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 388 of file vse_effect_blend.cc.
References do_blend_mode_effect(), blender::seq::EffectHandle::early_out, early_out_mul_input2(), and blender::seq::EffectHandle::execute.
Referenced by effect_handle_for_blend_mode_get().
| void blender::seq::blend_read | ( | BlendDataReader * | reader, |
| ListBase * | seqbase ) |
Definition at line 1077 of file sequencer.cc.
References foreach_strip(), and strip_read_data_cb().
Referenced by scene_blend_read_data().
| void blender::seq::blend_write | ( | BlendWriter * | writer, |
| ListBase * | seqbase ) |
Read and Write functions for .blend file data.
Definition at line 947 of file sequencer.cc.
References foreach_strip(), seq_set_strip_done_cb(), and strip_write_data_cb().
Referenced by scene_blend_write().
|
static |
Definition at line 97 of file vse_effect_glow.cc.
References clamp(), in, blender::math::min(), out, blender::threading::parallel_for(), x, and y.
Referenced by do_glow_effect_byte(), and do_glow_effect_float().
|
static |
Definition at line 55 of file MOD_brightness_contrast.cc.
References blender::seq::BrightContrastApplyOp::add, apply_modifier_op(), BrightContrastModifierData::bright, BrightContrastModifierData::contrast, mask(), max_ff(), and blender::seq::BrightContrastApplyOp::mul.
Definition at line 84 of file MOD_brightness_contrast.cc.
References C, draw_mask_input_type_settings(), IFACE_, Panel::layout, uiLayout::panel_prop(), uiLayout::prop(), ptr, UI_ITEM_NONE, UI_panel_custom_data_get(), and uiLayout::use_property_split_set().
Referenced by brightcontrast_register().
|
static |
Definition at line 101 of file MOD_brightness_contrast.cc.
References brightcontrast_panel_draw(), eSeqModifierType_BrightContrast, and modifier_panel_register().
Definition at line 819 of file vse_effect_text.cc.
References blender::seq::CharInfo::advance_x, blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BLF_disable(), BLF_enable(), BLF_glyph_advance(), BLF_is_builtin(), BLF_NO_FALLBACK, BLI_str_utf8_size_safe(), build_character_info(), blender::seq::CharInfo::byte_length, data, blender::seq::CharInfo::index, blender::seq::CharInfo::offset, and str.
Referenced by build_character_info(), and text_effect_calc_runtime().
| void blender::seq::cache_cleanup | ( | Scene * | scene | ) |
Definition at line 49 of file strip_relations.cc.
References final_image_cache_clear(), intra_frame_cache_invalidate(), preview_cache_invalidate(), source_image_cache_clear(), and thumbnail_cache_clear().
Referenced by do_render_full_pipeline(), relations_free_imbuf(), screen_render_exec(), screen_render_invoke(), blender::ed::vse::sequencer_refresh_all_exec(), and wm_set_working_color_space_exec().
| void blender::seq::cache_cleanup_final | ( | Scene * | scene | ) |
Definition at line 63 of file strip_relations.cc.
References final_image_cache_clear().
Referenced by update_sequencer().
| void blender::seq::cache_cleanup_intra | ( | Scene * | scene | ) |
Definition at line 58 of file strip_relations.cc.
References intra_frame_cache_invalidate().
Referenced by update_sequencer().
| void blender::seq::cache_settings_changed | ( | Scene * | scene | ) |
Definition at line 68 of file strip_relations.cc.
References Editing::cache_flag, Scene::ed, final_image_cache_clear(), SEQ_CACHE_STORE_FINAL_OUT, SEQ_CACHE_STORE_RAW, and source_image_cache_clear().
|
static |
Definition at line 979 of file vse_effect_text.cc.
References anchor_offset_get(), BLF_bounds_max(), BLI_rctf_size_y(), calc_boundbox(), blender::math::ceil(), data, blender::seq::TextVarsRuntime::font, blender::seq::TextVarsRuntime::line_height, blender::seq::TextVarsRuntime::lines, blender::seq::TextVarsRuntime::text_boundbox, text_box_width_get(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by calc_boundbox(), and text_effect_calc_runtime().
|
static |
Definition at line 447 of file render.cc.
References Strip::data, blender::math::from_loc_rot_scale(), blender::math::from_origin_transform(), image_transform_origin_get(), StripData::transform, and transform().
Referenced by input_preprocess().
Definition at line 96 of file vse_effect_wipe.cc.
Referenced by calc_wipe_blend().
Definition at line 104 of file vse_effect_wipe.cc.
References angle(), atan2f, calc_wipe_band(), data, blender::math::distance(), blender::math::dot(), float, blender::math::length_squared(), M_PI, output, SEQ_WIPE_CLOCK, SEQ_WIPE_DOUBLE, SEQ_WIPE_IRIS, SEQ_WIPE_SINGLE, x, and y.
Referenced by do_wipe_effect().
| bool blender::seq::can_use_proxy | ( | const RenderData * | context, |
| const Strip * | strip, | ||
| IMB_Proxy_Size | psize ) |
Definition at line 194 of file proxy.cc.
References StripProxy::build_size_flags, Strip::data, Strip::flag, IMB_PROXY_NONE, StripData::proxy, and SEQ_USE_PROXY.
Referenced by seq_proxy_fetch(), seq_render_movie_strip_view(), and seq_render_strip().
| SeqTimelineChannel * blender::seq::channel_get_by_index | ( | const ListBase * | channels, |
| int | channel_index ) |
Returns SeqTimelineChannel by index Note: Strip::channel and SeqTimelineChannel::index are both counted from 0, but index of 0 is never used. Therefore, it is valid to call SeqTimelineChannel(channels, strip->channel) to get channel corresponding to strip position.
Definition at line 60 of file channels.cc.
References BLI_findlink().
Referenced by channel_name_get(), blender::ed::vse::draw_channel_labels(), blender::ed::vse::draw_channel_widget_lock(), blender::ed::vse::draw_channel_widget_mute(), blender::ed::vse::find_unlocked_unmuted_channel(), render_is_muted(), blender::ed::vse::sequencer_meta_make_exec(), transform_is_locked(), and transform_seqbase_shuffle_ex().
| int blender::seq::channel_index_get | ( | const SeqTimelineChannel * | channel | ) |
Definition at line 71 of file channels.cc.
References SeqTimelineChannel::index.
| bool blender::seq::channel_is_locked | ( | const SeqTimelineChannel * | channel | ) |
Definition at line 76 of file channels.cc.
References SeqTimelineChannel::flag, and SEQ_CHANNEL_LOCK.
Referenced by blender::ed::vse::draw_channel_widget_lock(), blender::ed::vse::find_unlocked_unmuted_channel(), transform_is_locked(), and transform_seqbase_shuffle_ex().
| bool blender::seq::channel_is_muted | ( | const SeqTimelineChannel * | channel | ) |
Definition at line 81 of file channels.cc.
References SeqTimelineChannel::flag, and SEQ_CHANNEL_MUTE.
Referenced by blender::ed::vse::draw_channel_widget_mute(), blender::ed::vse::find_unlocked_unmuted_channel(), render_is_muted(), and transform_seqbase_shuffle_ex().
| char * blender::seq::channel_name_get | ( | ListBase * | channels, |
| const int | channel_index ) |
Definition at line 65 of file channels.cc.
References channel_get_by_index(), and SeqTimelineChannel::name.
Referenced by blender::ed::vse::draw_channel_labels().
The active displayed channels list, either from the root sequence or from a meta-strip.
Definition at line 28 of file channels.cc.
Referenced by blender::ed::vse::all_strips_from_context(), blender::ed::vse::can_select_handle(), blender::ed::vse::channel_draw_context_init(), blender::ed::transform::create_trans_seq_clamp_data(), blender::ed::transform::createTransSeqImageData(), blender::ed::vse::do_lasso_select_preview(), 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_snap_sources_preview(), blender::ed::transform::query_snap_targets_preview(), blender::ed::transform::query_snap_targets_timeline(), 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_frames(), blender::ed::transform::SeqTransInfo(), 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_snap_exec(), blender::ed::vse::sequencer_swap_exec(), blender::ed::vse::slip_data_init(), blender::ed::vse::strip_get_text_strip_cb(), blender::ed::vse::strip_select_from_preview(), strip_topmost_get(), strip_transform_handle_overwrite(), time_find_next_prev_edit(), blender::ed::vse::timeline_draw_context_get(), and transform_seqbase_shuffle_ex().
Definition at line 44 of file channels.cc.
References BLI_addtail(), LISTBASE_FOREACH, and MEM_dupallocN().
Referenced by strip_duplicate().
| void blender::seq::channels_ensure | ( | ListBase * | channels | ) |
Definition at line 33 of file channels.cc.
References BLI_addtail(), DATA_, i, SeqTimelineChannel::index, MAX_CHANNELS, MEM_callocN(), SeqTimelineChannel::name, and SNPRINTF_UTF8.
Referenced by blo_do_versions_300(), editing_ensure(), strip_alloc(), and strip_meta_channels_ensure().
| void blender::seq::channels_free | ( | ListBase * | channels | ) |
Definition at line 53 of file channels.cc.
References LISTBASE_FOREACH_MUTABLE, and MEM_freeN().
Referenced by editing_free(), and seq_strip_free_ex().
Definition at line 41 of file media_presence.cc.
References BLI_exists(), BLI_path_abs(), BLI_path_join, check_media_missing(), Strip::data, StripData::dirpath, ELEM, FILE_MAX, StripElem::filename, i, Scene::id, ID_BLEND_PATH_FROM_GLOBAL, LISTBASE_FOREACH, MEM_allocN_len, Strip::seqbase, STRIP_TYPE_IMAGE, STRIP_TYPE_META, STRIP_TYPE_MOVIE, StripData::stripdata, and Strip::type.
Referenced by check_media_missing(), and media_presence_is_missing().
|
static |
Definition at line 29 of file media_presence.cc.
References BLI_exists(), BLI_path_abs(), FILE_MAX, bSound::filepath, bSound::id, ID_BLEND_PATH_FROM_GLOBAL, and STRNCPY().
Referenced by media_presence_is_missing().
|
static |
Definition at line 371 of file vse_effect_text.cc.
References blender::math::clamp(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by draw_text_shadow().
|
static |
Definition at line 177 of file iterator.cc.
References Strip::channel, and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_if().
Referenced by query_rendered_strips().
|
static |
Definition at line 217 of file iterator.cc.
References must_render_strip(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_if(), render_is_muted(), STRIP_TYPE_SOUND_RAM, and Strip::type.
Referenced by query_rendered_strips().
|
static |
Definition at line 28 of file MOD_color_balance.cc.
References CLAMP, FLT_MAX, in, mul(), powf, and x.
Referenced by blender::seq::ColorBalanceApplyOp::apply(), and make_cb_table_lgg().
|
static |
Definition at line 42 of file MOD_color_balance.cc.
References CLAMP, FLT_MAX, in, mul(), power(), powf, and x.
Referenced by blender::seq::ColorBalanceApplyOp::apply(), and make_cb_table_sop().
| void blender::seq::color_mix_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 394 of file vse_effect_blend.cc.
References blender::seq::EffectHandle::copy, copy_effect_default(), do_colormix_effect(), blender::seq::EffectHandle::early_out, early_out_mul_input2(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::free, free_effect_default(), blender::seq::EffectHandle::init, and init_colormix_effect().
Referenced by effect_handle_get().
|
static |
Definition at line 257 of file MOD_color_balance.cc.
References apply_modifier_op(), blender::seq::ColorBalanceApplyOp::init(), and mask().
|
static |
Definition at line 240 of file MOD_color_balance.cc.
References ColorBalanceModifierData::color_balance, ColorBalanceModifierData::color_multiply, StripColorBalance::gain, StripColorBalance::gamma, StripColorBalance::lift, StripColorBalance::method, StripColorBalance::offset, StripColorBalance::power, and StripColorBalance::slope.
Definition at line 266 of file MOD_color_balance.cc.
References BLI_assert_unreachable, C, col, uiLayout::column(), draw_mask_input_type_settings(), uiLayout::grid_flow(), IFACE_, Panel::layout, uiLayout::panel_prop(), uiLayout::prop(), ptr, RNA_enum_get(), RNA_pointer_get(), SEQ_COLOR_BALANCE_METHOD_LIFTGAMMAGAIN, SEQ_COLOR_BALANCE_METHOD_SLOPEOFFSETPOWER, split(), uiLayout::split(), UI_ITEM_NONE, UI_panel_custom_data_get(), uiTemplateColorPicker(), and uiLayout::use_property_split_set().
Referenced by colorBalance_register().
|
static |
Definition at line 367 of file MOD_color_balance.cc.
References colorBalance_panel_draw(), eSeqModifierType_ColorBalance, and modifier_panel_register().
|
static |
Definition at line 400 of file vse_effect_text.cc.
References col, load_premul_pixel(), output, blender::threading::parallel_for(), store_premul_pixel(), x, rcti::xmax, rcti::xmin, y, rcti::ymax, and rcti::ymin.
Referenced by draw_text_shadow().
|
static |
Definition at line 199 of file MOD_compositor.cc.
References ensure_linear_float_buffer(), blender::compositor::Evaluator::evaluate(), blender::seq::CompositorContext::get_result_translation(), IMB_byte_from_float(), IMB_dupImBuf(), IMB_free_float_pixels(), IMB_freeImBuf(), is_linear_float_buffer(), mask(), SequencerCompositorModifierData::node_group, and seq_imbuf_to_sequencer_space().
|
static |
Definition at line 156 of file MOD_compositor.cc.
References SequencerCompositorModifierData::node_group.
Definition at line 242 of file MOD_compositor.cc.
References C, draw_mask_input_type_settings(), IFACE_, Panel::layout, uiLayout::panel_prop(), ptr, UI_panel_custom_data_get(), uiTemplateID(), and uiLayout::use_property_split_set().
Referenced by compositor_modifier_register().
|
static |
Definition at line 264 of file MOD_compositor.cc.
References compositor_modifier_panel_draw(), eSeqModifierType_Compositor, and modifier_panel_register().
| void blender::seq::connect | ( | blender::VectorSet< Strip * > & | strip_list | ) |
Definition at line 102 of file strip_connect.cc.
References BLI_addtail(), disconnect(), MEM_callocN(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_if(), and StripConnection::strip_ref.
Connect strips so that they may be selected together. Any connections the strips already have will be severed before reconnection.
Definition at line 90 of file strip_connect.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), and connect().
Referenced by connect(), blender::ed::vse::sequencer_add_movie_multiple_strips(), blender::ed::vse::sequencer_add_movie_single_strip(), and blender::ed::vse::sequencer_connect_exec().
| blender::VectorSet< Strip * > blender::seq::connected_strips_get | ( | const Strip * | strip | ) |
Returns a list of strips that the strip is connected to. NOTE: This does not include strip itself. This list is empty if strip is not connected.
Definition at line 119 of file strip_connect.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), Strip::connections, and LISTBASE_FOREACH.
Referenced by are_strips_connected_together(), query_strip_connected_and_effect_chain(), blender::ed::vse::select_connected_keys(), blender::ed::vse::sequencer_select_connected_strips(), blender::ed::vse::sequencer_select_exec(), and blender::ed::vse::slip_data_init().
Definition at line 29 of file strip_connect.cc.
References BLI_addtail(), LISTBASE_FOREACH, and MEM_dupallocN().
Referenced by strip_duplicate().
|
static |
Definition at line 60 of file strip_retiming.cc.
References float, Scene::r, time_get_rounded_sound_offset(), time_media_playback_rate_factor_get(), and time_start_frame_get().
Referenced by retiming_add_key(), and retiming_transition_key_frame_set().
|
static |
Definition at line 865 of file render.cc.
References BKE_movieclip_convert_multilayer_ibuf(), ImBuf::channels, ImBufFloatBuffer::data, ImBuf::float_buffer, IB_PROFILE_LINEAR_RGB, IB_TAKE_OWNERSHIP, IMB_assign_float_buffer(), IMB_buffer_float_from_float_threaded(), MEM_malloc_arrayN(), ImBuf::x, and ImBuf::y.
Referenced by seq_render_image_strip_view().
Definition at line 378 of file vse_effect_blend.cc.
References Strip::effectdata, and MEM_dupallocN().
Referenced by color_mix_effect_get_handle().
Definition at line 44 of file vse_effect_gaussian_blur.cc.
References Strip::effectdata, and MEM_dupallocN().
Referenced by gaussian_blur_effect_get_handle().
Definition at line 154 of file vse_effect_glow.cc.
References Strip::effectdata, and MEM_dupallocN().
Referenced by glow_effect_get_handle().
Definition at line 42 of file vse_effect_solid_color.cc.
References Strip::effectdata, and MEM_dupallocN().
Referenced by solid_color_effect_get_handle().
Definition at line 61 of file vse_effect_speed.cc.
References Strip::effectdata, MEM_dupallocN(), and v.
Referenced by speed_effect_get_handle().
Definition at line 281 of file vse_effect_text.cc.
References BLI_strdup_null(), data, effect_text_font_load(), Strip::effectdata, flag, LIB_ID_CREATE_NO_USER_REFCOUNT, and MEM_dupallocN().
Referenced by text_effect_get_handle().
Definition at line 178 of file vse_effect_wipe.cc.
References Strip::effectdata, and MEM_dupallocN().
Referenced by wipe_effect_get_handle().
|
static |
Definition at line 953 of file render.cc.
References col, IB_byte_data, IMB_allocImBuf(), IMB_rectfill(), max_ii(), and SEQ_EDIT_SHOW_MISSING_MEDIA.
Referenced by seq_render_image_strip(), seq_render_movie_strip(), and seq_render_scene_strip().
| void blender::seq::cross_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 116 of file vse_effect_cross.cc.
References do_cross_effect(), blender::seq::EffectHandle::early_out, early_out_fade(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::get_default_fac, and get_default_fac_fade().
Referenced by effect_handle_for_blend_mode_get(), and effect_handle_get().
|
static |
Definition at line 72 of file MOD_curves.cc.
References apply_modifier_op(), BKE_curvemapping_init(), BKE_curvemapping_premultiply(), BKE_curvemapping_set_black_white(), blender::seq::CurvesApplyOp::curve_mapping, CurvesModifierData::curve_mapping, and mask().
|
static |
Definition at line 40 of file MOD_curves.cc.
References BKE_curvemapping_copy_data(), and CurvesModifierData::curve_mapping.
|
static |
Definition at line 33 of file MOD_curves.cc.
References BKE_curvemapping_free_data(), and CurvesModifierData::curve_mapping.
|
static |
Definition at line 26 of file MOD_curves.cc.
References BKE_curvemapping_set_defaults(), CurvesModifierData::curve_mapping, and HD_AUTO.
Definition at line 91 of file MOD_curves.cc.
References C, draw_mask_input_type_settings(), IFACE_, Panel::layout, uiLayout::panel_prop(), ptr, UI_panel_custom_data_get(), and uiTemplateCurveMapping().
Referenced by curves_register().
|
static |
Definition at line 116 of file MOD_curves.cc.
References BKE_curvemapping_blend_read(), and CurvesModifierData::curve_mapping.
|
static |
Definition at line 105 of file MOD_curves.cc.
References curves_panel_draw(), eSeqModifierType_Curves, and modifier_panel_register().
|
static |
Definition at line 110 of file MOD_curves.cc.
References BKE_curvemapping_blend_write(), and CurvesModifierData::curve_mapping.
| void blender::seq::cut_one_way_connections | ( | Strip * | strip | ) |
Ensure that the strip has only bidirectional connections (expected behavior).
Definition at line 68 of file strip_connect.cc.
References BLI_remlink(), Strip::connections, LISTBASE_FOREACH, and LISTBASE_FOREACH_MUTABLE.
Referenced by seq_duplicate_postprocess().
| bool blender::seq::disconnect | ( | blender::VectorSet< Strip * > & | strip_list | ) |
Definition at line 58 of file strip_connect.cc.
References disconnect().
| bool blender::seq::disconnect | ( | Strip * | strip | ) |
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 37 of file strip_connect.cc.
References BLI_listbase_is_empty(), BLI_remlink(), Strip::connections, LISTBASE_FOREACH, LISTBASE_FOREACH_MUTABLE, and strip_connections_free().
Referenced by connect(), disconnect(), edit_strip_split(), seq_strip_free_ex(), blender::ed::vse::sequencer_connect_exec(), and blender::ed::vse::sequencer_disconnect_exec().
|
static |
Definition at line 49 of file vse_effect_add_sub_mul.cc.
References apply_effect_op(), blender::seq::AddEffectOp::factor, and prepare_effect_imbufs().
Referenced by add_effect_get_handle().
|
static |
Definition at line 76 of file vse_effect_adjustment.cc.
References do_adjustment_impl(), out, and state.
Referenced by adjustment_effect_get_handle().
|
static |
Definition at line 34 of file vse_effect_adjustment.cc.
References Strip::channel, clamp_i(), do_adjustment_impl(), get_channels_by_strip(), get_seqbase_by_strip(), i, lookup_meta_by_strip(), seq_render_give_ibuf_seqbase(), state, time_left_handle_frame_get(), and time_right_handle_frame_get().
Referenced by do_adjustment(), and do_adjustment_impl().
|
static |
Definition at line 78 of file vse_effect_blend.cc.
References apply_effect_op(), blender::seq::AlphaOverEffectOp::factor, and prepare_effect_imbufs().
Referenced by alpha_over_effect_get_handle().
|
static |
Definition at line 128 of file vse_effect_blend.cc.
References apply_effect_op(), blender::seq::AlphaUnderEffectOp::factor, and prepare_effect_imbufs().
Referenced by alpha_under_effect_get_handle().
|
static |
Definition at line 239 of file vse_effect_blend.cc.
References apply_blend_function(), blend_color_add_byte(), blend_color_burn_byte(), blend_color_color_byte(), blend_color_darken_byte(), blend_color_difference_byte(), blend_color_dodge_byte(), blend_color_exclusion_byte(), blend_color_hardlight_byte(), blend_color_hue_byte(), blend_color_lighten_byte(), blend_color_linearburn_byte(), blend_color_linearlight_byte(), blend_color_luminosity_byte(), blend_color_mul_byte(), blend_color_overlay_byte(), blend_color_pinlight_byte(), blend_color_saturation_byte(), blend_color_screen_byte(), blend_color_softlight_byte(), blend_color_sub_byte(), blend_color_vividlight_byte(), out, size(), STRIP_BLEND_ADD, STRIP_BLEND_BLEND_COLOR, STRIP_BLEND_COLOR_BURN, STRIP_BLEND_DARKEN, STRIP_BLEND_DIFFERENCE, STRIP_BLEND_DODGE, STRIP_BLEND_EXCLUSION, STRIP_BLEND_HARD_LIGHT, STRIP_BLEND_HUE, STRIP_BLEND_LIGHTEN, STRIP_BLEND_LIN_LIGHT, STRIP_BLEND_LINEAR_BURN, STRIP_BLEND_MUL, STRIP_BLEND_OVERLAY, STRIP_BLEND_PIN_LIGHT, STRIP_BLEND_SATURATION, STRIP_BLEND_SCREEN, STRIP_BLEND_SOFT_LIGHT, STRIP_BLEND_SUB, STRIP_BLEND_VALUE, and STRIP_BLEND_VIVID_LIGHT.
Referenced by blender::seq::BlendModeEffectOp::apply().
|
static |
Definition at line 163 of file vse_effect_blend.cc.
References apply_blend_function(), blend_color_add_float(), blend_color_burn_float(), blend_color_color_float(), blend_color_darken_float(), blend_color_difference_float(), blend_color_dodge_float(), blend_color_exclusion_float(), blend_color_hardlight_float(), blend_color_hue_float(), blend_color_lighten_float(), blend_color_linearburn_float(), blend_color_linearlight_float(), blend_color_luminosity_float(), blend_color_mul_float(), blend_color_overlay_float(), blend_color_pinlight_float(), blend_color_saturation_float(), blend_color_screen_float(), blend_color_softlight_float(), blend_color_sub_float(), blend_color_vividlight_float(), out, size(), STRIP_BLEND_ADD, STRIP_BLEND_BLEND_COLOR, STRIP_BLEND_COLOR_BURN, STRIP_BLEND_DARKEN, STRIP_BLEND_DIFFERENCE, STRIP_BLEND_DODGE, STRIP_BLEND_EXCLUSION, STRIP_BLEND_HARD_LIGHT, STRIP_BLEND_HUE, STRIP_BLEND_LIGHTEN, STRIP_BLEND_LIN_LIGHT, STRIP_BLEND_LINEAR_BURN, STRIP_BLEND_MUL, STRIP_BLEND_OVERLAY, STRIP_BLEND_PIN_LIGHT, STRIP_BLEND_SATURATION, STRIP_BLEND_SCREEN, STRIP_BLEND_SOFT_LIGHT, STRIP_BLEND_SUB, STRIP_BLEND_VALUE, and STRIP_BLEND_VIVID_LIGHT.
Referenced by blender::seq::BlendModeEffectOp::apply().
|
static |
Definition at line 329 of file vse_effect_blend.cc.
References apply_effect_op(), blender::seq::BlendModeEffectOp::blend_mode, Strip::blend_mode, blender::seq::BlendModeEffectOp::factor, and prepare_effect_imbufs().
Referenced by blend_mode_effect_get_handle().
|
static |
Definition at line 361 of file vse_effect_blend.cc.
References apply_effect_op(), blender::seq::BlendModeEffectOp::blend_mode, data, Strip::effectdata, blender::seq::BlendModeEffectOp::factor, and prepare_effect_imbufs().
Referenced by color_mix_effect_get_handle().
|
static |
Definition at line 47 of file vse_effect_cross.cc.
References apply_effect_op(), blender::seq::CrossEffectOp::factor, and prepare_effect_imbufs().
Referenced by cross_effect_get_handle().
|
static |
Definition at line 101 of file vse_effect_cross.cc.
References apply_effect_op(), blender::seq::GammaCrossEffectOp::factor, and prepare_effect_imbufs().
Referenced by gamma_cross_effect_get_handle().
|
static |
Definition at line 141 of file vse_effect_gaussian_blur.cc.
References data, ImBufFloatBuffer::data, Strip::effectdata, ImBuf::float_buffer, get_render_scale_factor(), make_gaussian_blur_kernel(), out, blender::threading::parallel_for(), and prepare_effect_imbufs().
Referenced by gaussian_blur_effect_get_handle().
|
static |
Definition at line 226 of file vse_effect_glow.cc.
References ImBuf::byte_buffer, ImBufByteBuffer::data, ImBufFloatBuffer::data, do_glow_effect_byte(), do_glow_effect_float(), ImBuf::float_buffer, out, and prepare_effect_imbufs().
Referenced by glow_effect_get_handle().
|
static |
Definition at line 159 of file vse_effect_glow.cc.
References blur_isolate_highlights(), GlowVars::bNoComp, blender::Array< T, InlineBufferCapacity, Allocator >::data(), GlowVars::dDist, GlowVars::dQuality, Strip::effectdata, GlowVars::fBoost, GlowVars::fClamp, blender::IndexRange::first(), GlowVars::fMini, glow_blur_bitmap(), IB_PROFILE_SRGB, IMB_buffer_byte_from_float(), IMB_colormanagement_transform_byte_to_float(), out, blender::threading::parallel_for(), blender::IndexRange::size(), x, and y.
Referenced by do_glow_effect().
|
static |
Definition at line 202 of file vse_effect_glow.cc.
References blur_isolate_highlights(), GlowVars::bNoComp, GlowVars::dDist, GlowVars::dQuality, Strip::effectdata, GlowVars::fBoost, GlowVars::fClamp, GlowVars::fMini, glow_blur_bitmap(), out, x, and y.
Referenced by do_glow_effect().
|
static |
Definition at line 139 of file vse_effect_add_sub_mul.cc.
References apply_effect_op(), blender::seq::MulEffectOp::factor, and prepare_effect_imbufs().
Referenced by mul_effect_get_handle().
|
static |
Definition at line 32 of file vse_effect_multi_camera.cc.
References Strip::channel, get_channels_by_strip(), get_seqbase_by_strip(), Strip::multicam_source, out, seq_render_give_ibuf_seqbase(), and state.
Referenced by multi_camera_effect_get_handle().
|
static |
Used for meta-strips & scenes with SEQ_SCENE_STRIPS flag set.
Definition at line 1675 of file render.cc.
References BKE_animsys_evaluate_all_animation(), BLI_listbase_is_empty(), Strip::flag, get_seqbase_from_strip(), intra_frame_cache_set_cur_frame(), Strip::scene, seq_render_strip_stack(), SEQ_SCENE_STRIPS, and state.
Referenced by do_render_strip_uncached().
|
static |
Definition at line 1715 of file render.cc.
References BLI_linklist_index(), ImBufFloatBuffer::data, do_render_strip_seqbase(), Strip::flag, ImBuf::float_buffer, give_frame_index(), i, IMB_dupImBuf(), IMB_freeImBuf(), LinkNode::link, LinkNode::next, round_fl_to_int(), blender::seq::RenderData::scene, Strip::scene, seq_imbuf_assign_spaces(), seq_imbuf_to_sequencer_space(), seq_render_effect_strip_impl(), seq_render_image_strip(), seq_render_mask_strip(), seq_render_movie_strip(), seq_render_movieclip_strip(), seq_render_scene_strip(), SEQ_SCENE_STRIPS, blender::seq::RenderData::skip_cache, state, STRIP_TYPE_IMAGE, STRIP_TYPE_MASK, STRIP_TYPE_META, STRIP_TYPE_MOVIE, STRIP_TYPE_MOVIECLIP, STRIP_TYPE_SCENE, and Strip::type.
Referenced by seq_render_strip().
|
static |
Definition at line 52 of file vse_effect_solid_color.cc.
References Strip::effectdata, out, blender::threading::parallel_for(), and prepare_effect_imbufs().
Referenced by solid_color_effect_get_handle().
|
static |
Definition at line 186 of file vse_effect_speed.cc.
References effect_handle_get(), Strip::effectdata, blender::seq::EffectHandle::execute, SpeedControlVars::flags, IMB_dupImBuf(), out, SEQ_SPEED_USE_INTERPOLATION, speed_effect_interpolation_ratio_get(), state, and STRIP_TYPE_CROSS.
Referenced by speed_effect_get_handle().
|
static |
Definition at line 94 of file vse_effect_add_sub_mul.cc.
References apply_effect_op(), blender::seq::SubEffectOp::factor, and prepare_effect_imbufs().
Referenced by sub_effect_get_handle().
|
static |
Definition at line 1042 of file vse_effect_text.cc.
References BLF_BOLD, BLF_buffer(), BLF_disable(), BLF_ITALIC, BLF_NONE, data, do_text_effect(), draw_text_outline(), draw_text_shadow(), Strip::effectdata, fill_rect_alpha_under(), g_font_map, blender::seq::TextVarsRuntime::line_height, lock, out, prepare_effect_imbufs(), SEQ_TEXT_BOLD, SEQ_TEXT_BOX, SEQ_TEXT_ITALIC, SEQ_TEXT_SHADOW, blender::seq::TextVarsRuntime::text_boundbox, text_draw(), text_effect_calc_runtime(), text_effect_font_init(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by do_text_effect(), and text_effect_get_handle().
|
static |
Definition at line 220 of file vse_effect_wipe.cc.
References ImBuf::byte_buffer, ImBufByteBuffer::data, ImBufFloatBuffer::data, do_wipe_effect(), ImBuf::float_buffer, out, and prepare_effect_imbufs().
|
static |
Definition at line 184 of file vse_effect_wipe.cc.
References blend(), calc_wipe_blend(), col, data, Strip::effectdata, blender::IndexRange::first(), load_premul_pixel(), out, blender::threading::parallel_for(), store_premul_pixel(), T, x, and y.
Referenced by do_wipe_effect(), and wipe_effect_get_handle().
Definition at line 1098 of file sequencer.cc.
References foreach_strip(), and strip_doversion_250_sound_proxy_update_cb().
Referenced by do_versions_after_setup().
| void blender::seq::draw_mask_input_type_settings | ( | const bContext * | C, |
| uiLayout * | layout, | ||
| PointerRNA * | ptr ) |
Definition at line 147 of file sequencer/intern/modifiers/modifier.cc.
References C, col, uiLayout::column(), CTX_data_sequencer_scene(), editing_get(), Scene::id, IFACE_, meta_stack_active_get(), MetaStack::parent_strip, uiLayout::prop(), ptr, RNA_enum_get(), RNA_pointer_create_discrete(), STRIP_MASK_INPUT_STRIP, UI_ITEM_NONE, UI_ITEM_R_EXPAND, and uiLayout::use_property_split_set().
Referenced by brightcontrast_panel_draw(), colorBalance_panel_draw(), compositor_modifier_panel_draw(), curves_panel_draw(), hue_correct_panel_draw(), maskmodifier_panel_draw(), tonemapmodifier_panel_draw(), and whiteBalance_panel_draw().
|
static |
Definition at line 575 of file vse_effect_text.cc.
References BLF_buffer(), BLI_rcti_pad(), clamp_i(), blender::Array< T, InlineBufferCapacity, Allocator >::data(), data, blender::seq::TextVarsRuntime::font, blender::seq::TextVarsRuntime::line_height, out, blender::threading::parallel_for(), SEQ_TEXT_OUTLINE, size(), blender::seq::TextVarsRuntime::text_boundbox, text_draw(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by do_text_effect().
|
static |
Definition at line 428 of file vse_effect_text.cc.
References BLI_rcti_pad(), BLI_rcti_translate(), clamp_rect(), composite_shadow(), cosf, blender::Array< T, InlineBufferCapacity, Allocator >::data(), data, blender::IndexRange::first(), initialize_shadow_alpha(), make_gaussian_blur_kernel(), out, blender::threading::parallel_for(), sinf, blender::IndexRange::size(), text_gaussian_blur_x(), text_gaussian_blur_y(), rcti::ymax, and rcti::ymin.
Referenced by do_text_effect().
|
static |
Definition at line 29 of file vse_effect_adjustment.cc.
References NoInput.
Referenced by adjustment_effect_get_handle().
|
static |
Definition at line 47 of file vse_effect_solid_color.cc.
References NoInput.
Referenced by solid_color_effect_get_handle().
| StripEarlyOut blender::seq::early_out_fade | ( | const Strip * | , |
| float | fac ) |
Definition at line 117 of file effects.cc.
References DoEffect, UseInput1, and UseInput2.
Referenced by cross_effect_get_handle(), gamma_cross_effect_get_handle(), and wipe_effect_get_handle().
|
static |
Definition at line 49 of file vse_effect_gaussian_blur.cc.
References data, DoEffect, Strip::effectdata, and UseInput1.
Referenced by gaussian_blur_effect_get_handle().
| StripEarlyOut blender::seq::early_out_mul_input1 | ( | const Strip * | , |
| float | fac ) |
Definition at line 136 of file effects.cc.
References DoEffect, and UseInput2.
Referenced by alpha_over_effect_get_handle().
| StripEarlyOut blender::seq::early_out_mul_input2 | ( | const Strip * | , |
| float | fac ) |
Definition at line 128 of file effects.cc.
References DoEffect, and UseInput1.
Referenced by add_effect_get_handle(), blend_mode_effect_get_handle(), color_mix_effect_get_handle(), mul_effect_get_handle(), and sub_effect_get_handle().
|
static |
Definition at line 27 of file vse_effect_multi_camera.cc.
References NoInput.
Referenced by multi_camera_effect_get_handle().
|
static |
Definition at line 112 of file effects.cc.
References DoEffect.
Referenced by effect_handle_for_blend_mode_get(), and effect_handle_get().
|
static |
Definition at line 69 of file vse_effect_speed.cc.
References DoEffect.
Referenced by speed_effect_get_handle().
|
static |
Definition at line 297 of file vse_effect_text.cc.
References effects_can_render_text(), NoInput, and UseInput1.
Referenced by text_effect_get_handle().
Definition at line 70 of file proxy_job.cc.
References C, CTX_data_depsgraph_pointer(), CTX_data_main(), CTX_data_sequencer_scene(), blender::seq::ProxyJob::depsgraph, depsgraph, blender::seq::ProxyJob::main, MEM_callocN(), NC_SCENE, ND_SEQUENCER, proxy_endjob(), proxy_freejob(), proxy_startjob(), blender::seq::ProxyJob::scene, WM_jobs_callbacks(), WM_jobs_customdata_get(), WM_jobs_customdata_set(), and WM_jobs_timer().
Referenced by blender::ed::vse::seq_build_proxy(), and blender::ed::vse::seq_proxy_build_job().
Definition at line 87 of file proxy_job.cc.
References C, CTX_data_sequencer_scene(), CTX_wm_manager(), CTX_wm_window(), WM_JOB_PROGRESS, WM_JOB_TYPE_SEQ_BUILD_PROXY, and WM_jobs_get().
Referenced by blender::ed::vse::seq_build_proxy(), and blender::ed::vse::seq_proxy_build_job().
Flag strip and its users (effects) for removal.
Definition at line 165 of file strip_edit.cc.
References edit_flag_for_removal(), StripRuntime::flag, LISTBASE_FOREACH, Strip::runtime, Strip::seqbase, sequencer_flag_users_for_removal(), STRIP_MARK_FOR_DELETE, STRIP_TYPE_META, and Strip::type.
Referenced by edit_flag_for_removal(), edit_strip_split(), blender::ed::transform::seq_transform_cancel(), blender::ed::vse::sequencer_delete_exec(), blender::ed::vse::sequencer_meta_separate_exec(), blender::ed::vse::sequencer_separate_images_exec(), strip_transform_handle_overwrite(), and strip_transform_handle_overwrite_split().
| bool blender::seq::edit_move_strip_to_meta | ( | Scene * | scene, |
| Strip * | src_strip, | ||
| Strip * | dst_stripm, | ||
| const char ** | r_error_str ) |
Move strip to meta-strip.
| scene | Scene containing the editing |
| src_strip | Strip to move |
| dst_stripm | Target meta-strip |
| r_error_str | Error message |
Definition at line 215 of file strip_edit.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), edit_move_strip_to_seqbase(), editing_get(), exists_in_seqbase(), get_seqbase_by_strip(), iterator_set_expand(), N_, query_strip_effect_chain(), Strip::seqbase, STRIP_TYPE_META, time_update_meta_strip_range(), and Strip::type.
| bool blender::seq::edit_move_strip_to_seqbase | ( | Scene * | scene, |
| ListBase * | seqbase, | ||
| Strip * | strip, | ||
| ListBase * | dst_seqbase ) |
Move strip to seqbase.
| scene | Scene containing the editing |
| seqbase | seqbase where strip is located |
| strip | Strip to move |
| dst_seqbase | Target seqbase |
Definition at line 197 of file strip_edit.cc.
References BLI_addtail(), BLI_remlink(), relations_invalidate_cache(), transform_seqbase_shuffle(), and transform_test_overlap().
Referenced by edit_move_strip_to_meta().
Remove all flagged strips, return true if strip is removed.
Definition at line 182 of file strip_edit.cc.
References BLI_remlink(), Scene::ed, edit_remove_flagged_strips(), free_animdata(), LISTBASE_FOREACH_MUTABLE, strip_free(), strip_lookup_invalidate(), STRIP_MARK_FOR_DELETE, and STRIP_TYPE_META.
Referenced by edit_remove_flagged_strips(), edit_strip_split(), blender::ed::transform::seq_transform_cancel(), blender::ed::vse::sequencer_delete_exec(), blender::ed::vse::sequencer_meta_separate_exec(), blender::ed::vse::sequencer_separate_images_exec(), strip_transform_handle_overwrite(), and strip_transform_handle_overwrite_split().
| bool blender::seq::edit_remove_gaps | ( | Scene * | scene, |
| ListBase * | seqbase, | ||
| int | initial_frame, | ||
| bool | remove_all_gaps ) |
Find gap after initial_frame and move strips on right side to close the gap
| scene | Scene in which strips are located |
| seqbase | ListBase in which strips are located |
| initial_frame | frame on timeline from where gaps are searched for |
| remove_all_gaps | remove all gaps instead of one gap |
Definition at line 499 of file strip_edit.cc.
References blender::seq::GapInfo::gap_exists, blender::seq::GapInfo::gap_length, blender::seq::GapInfo::gap_start_frame, seq_time_gap_info_get(), and transform_offset_after_frame().
Referenced by blender::ed::vse::sequencer_gap_remove_exec().
Definition at line 523 of file strip_edit.cc.
References BLI_str_utf8_invalid_strip(), BLI_strncpy_utf8(), Scene::ed, MAX_NAME, Strip::name, and strip_lookup_invalidate().
Referenced by blender::ed::vse::sequencer_change_effect_type_exec(), strip_add_set_name(), and strip_unique_name_set().
| Strip * blender::seq::edit_strip_split | ( | Main * | bmain, |
| Scene * | scene, | ||
| ListBase * | seqbase, | ||
| Strip * | strip, | ||
| int | timeline_frame, | ||
| eSplitMethod | method, | ||
| bool | ignore_connections, | ||
| const char ** | r_error ) |
Split Strip at timeline_frame in two.
| bmain | Main in which Strip is located |
| scene | Scene in which Strip is located |
| seqbase | ListBase in which Strip is located |
| strip | Strip to be split |
| timeline_frame | frame at which strip is split. |
| method | affects type of offset to be applied to resize Strip |
Definition at line 410 of file strip_edit.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), All, animation_backup_original(), animation_duplicate_backup_to_scene(), animation_restore_original(), BLI_addtail(), BLI_movelisttolist(), BLI_remlink(), disconnect(), edit_flag_for_removal(), edit_remove_flagged_strips(), ensure_unique_name(), ListBase::first, iterator_set_expand(), Strip::next, query_strip_connected_and_effect_chain(), query_strip_effect_chain(), seq_edit_split_handle_strip_offsets(), seq_edit_split_intersect_check(), seq_edit_split_operation_permitted_check(), seqbase_duplicate_recursive(), time_left_handle_frame_get(), and time_right_handle_frame_get().
Referenced by blender::ed::vse::sequencer_split_exec(), and strip_transform_handle_overwrite_split().
| bool blender::seq::edit_strip_swap | ( | Scene * | scene, |
| Strip * | strip_a, | ||
| Strip * | strip_b, | ||
| const char ** | r_error_str ) |
Definition at line 44 of file strip_edit.cc.
References Strip::blend_mode, Strip::blend_opacity, BLI_strncpy(), Strip::channel, editing_get(), effect_get_num_inputs(), Strip::endofs, N_, name, Strip::name, Strip::next, Strip::prev, Strip::start, Strip::startofs, strip_lookup_invalidate(), strip_time_effect_range_set(), STRIP_TYPE_SOUND_RAM, STRNCPY(), time_strip_length_get(), and Strip::type.
Referenced by blender::ed::vse::sequencer_swap_data_exec().
| void blender::seq::edit_update_muting | ( | Editing * | ed | ) |
Definition at line 126 of file strip_edit.cc.
References MetaStack::parent_strip, and strip_update_muting_recursive().
Referenced by eval_strips().
Definition at line 291 of file sequencer.cc.
References channels_ensure(), Scene::ed, MEM_callocN(), SEQ_CACHE_PREFETCH_ENABLE, SEQ_CACHE_STORE_FINAL_OUT, SEQ_CACHE_STORE_RAW, and SEQ_EDIT_SHOW_MISSING_MEDIA.
Referenced by new_sequencer_scene_exec(), blender::ed::vse::sequencer_add_effect_strip_exec(), blender::ed::vse::sequencer_add_image_strip_exec(), blender::ed::vse::sequencer_add_mask_strip_exec(), blender::ed::vse::sequencer_add_movie_multiple_strips(), blender::ed::vse::sequencer_add_movie_single_strip(), blender::ed::vse::sequencer_add_movieclip_strip_exec(), blender::ed::vse::sequencer_add_scene_asset_invoke(), blender::ed::vse::sequencer_add_scene_strip_exec(), blender::ed::vse::sequencer_add_scene_strip_new_exec(), blender::ed::vse::sequencer_add_sound_multiple_strips(), blender::ed::vse::sequencer_add_sound_single_strip(), blender::ed::vse::sequencer_clipboard_paste_exec(), blender::ed::vse::sequencer_drop_copy(), blender::ed::vse::sequencer_generic_invoke_xy_guess_channel(), and blender::ed::vse::update_overlay_strip_position_data().
| void blender::seq::editing_free | ( | Scene * | scene, |
| const bool | do_id_user ) |
Definition at line 305 of file sequencer.cc.
References BLI_freelistN(), channels_free(), Scene::ed, final_image_cache_destroy(), intra_frame_cache_destroy(), LISTBASE_FOREACH_MUTABLE, media_presence_free(), MEM_freeN(), preview_cache_destroy(), seq_free_strip_recurse(), seq_prefetch_free(), source_image_cache_destroy(), strip_lookup_free(), and thumbnail_cache_destroy().
Referenced by BKE_scene_duplicate(), and scene_free_data().
Definition at line 286 of file sequencer.cc.
References Scene::ed.
Referenced by blender::ed::vse::all_strips_from_context(), animchan_sync_fcurve_scene(), blo_do_versions_290(), blo_do_versions_300(), blo_do_versions_440(), blo_do_versions_500(), blender::ed::outliner::TreeDisplaySequencer::build_tree(), blender::ed::vse::can_select_handle(), blender::ed::vse::channel_draw_context_init(), composite_get_from_context(), 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(), do_versions_after_linking_300(), do_versions_after_linking_400(), blender::ed::vse::draw_channels(), draw_mask_input_type_settings(), blender::ed::vse::draw_timeline_seq_display(), blender::ed::vse::draw_timeline_sfra_efra(), ED_imbuf_sample_poll(), edit_move_strip_to_meta(), edit_strip_swap(), ensure_change_frame_keylist(), blender::ed::vse::find_neighboring_strip(), blender::ed::vse::find_next_prev_strip(), blender::ed::transform::freeSeqData(), blender::ed::vse::freeze_frame_add_from_retiming_selection(), blender::ed::space_node::get_context_path_node_compositor(), 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_snap_sources_preview(), blender::ed::transform::query_snap_sources_timeline(), blender::ed::transform::query_snap_targets_preview(), blender::ed::transform::query_snap_targets_timeline(), blender::ed::transform::recalcData_sequencer_retiming(), relations_check_scene_recursion(), relations_free_all_anim_ibufs(), relations_invalidate_compositor_modifiers(), relations_invalidate_scene_strips(), render_give_ibuf(), blender::ed::vse::retiming_key_add_to_editable_strips(), retiming_key_overlap(), blender::ed::vse::retiming_poll(), screen_ctx_selected_editable_strips(), screen_ctx_selected_strips(), screen_ctx_strips(), blender::ed::vse::segment_speed_set_exec(), select_active_get(), select_active_get_pair(), select_active_set(), 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(), 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(), seq_meta_stack_alloc(), seq_prefetch_frames(), seq_prefetch_must_skip_frame(), seq_prefetch_scene_strip_is_rendered(), seq_prefetch_update_active_seqbase(), blender::ed::vse::seq_proxy_build_job(), seq_proxy_get_filepath(), blender::ed::transform::seq_transform_cancel(), 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(), sequencer_all_free_anim_ibufs(), blender::ed::vse::sequencer_box_select_exec(), 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::ed::vse::sequencer_lock_exec(), blender::ed::vse::sequencer_main_clamp_view(), 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_refresh_all_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_mode_is_active(), 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_scene_frame_range_update_exec(), blender::ed::vse::sequencer_scene_frame_range_update_poll(), blender::ed::vse::sequencer_select_exec(), blender::ed::vse::sequencer_select_grouped_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(), sequencer_skip_for_handle_tweak(), 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_color_tag_set_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(), skip_fcurve_selected_data(), blender::ed::vse::slip_data_init(), blender::ed::transform::snap_data_build_timeline(), sound_pack_exec(), sound_poll(), 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_retiming_transition_offset(), blender::ed::vse::strip_select_from_preview(), blender::ed::vse::strip_speed_get(), blender::ed::vse::strip_speed_set_exec(), strip_transform_handle_overwrite(), time_find_next_prev_edit(), blender::ed::vse::timeline_draw_context_get(), transform_seqbase_shuffle_ex(), 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(), update_sequencer(), blender::ed::vse::vse_circle_select_exec(), and blender::ed::vse::vse_lasso_select_exec().
| int blender::seq::effect_get_num_inputs | ( | int | strip_type | ) |
Definition at line 327 of file effects.cc.
References effect_handle_get(), blender::seq::EffectHandle::execute, and blender::seq::EffectHandle::num_inputs.
Referenced by add_effect_strip(), blender::ed::vse::can_select_handle(), blender::ed::transform::create_trans_seq_clamp_data(), edit_strip_swap(), must_render_strip(), blender::ed::transform::query_snap_targets_timeline(), seq_edit_split_operation_permitted_check(), seq_render_effect_strip_impl(), seq_render_preprocess_ibuf(), blender::ed::vse::sequencer_add_effect_strip_exec(), blender::ed::vse::sequencer_add_effect_strip_invoke(), blender::ed::vse::sequencer_add_effect_strip_poll_property(), blender::ed::vse::sequencer_change_effect_type_exec(), blender::ed::vse::sequencer_reassign_inputs_exec(), blender::ed::vse::sequencer_swap_exec(), blender::ed::vse::sequencer_swap_inputs_exec(), blender::ed::vse::sequencer_swap_inputs_poll(), strip_transform_handle_overwrite_trim(), transform_strip_can_be_translated(), and version_set_seq_single_frame_content().
|
static |
Definition at line 228 of file effects.cc.
References add_effect_get_handle(), alpha_over_effect_get_handle(), alpha_under_effect_get_handle(), blend(), blend_mode_effect_get_handle(), blender::seq::EffectHandle::copy, cross_effect_get_handle(), blender::seq::EffectHandle::early_out, early_out_noop(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::free, free_noop(), gamma_cross_effect_get_handle(), blender::seq::EffectHandle::get_default_fac, get_default_fac_noop(), blender::seq::EffectHandle::init, init_noop(), blender::seq::EffectHandle::load, load_noop(), mul_effect_get_handle(), blender::seq::EffectHandle::num_inputs, num_inputs_default(), STRIP_BLEND_ADD, STRIP_BLEND_ALPHAOVER, STRIP_BLEND_ALPHAUNDER, STRIP_BLEND_BLEND_COLOR, STRIP_BLEND_COLOR_BURN, STRIP_BLEND_CROSS, STRIP_BLEND_DARKEN, STRIP_BLEND_DIFFERENCE, STRIP_BLEND_DODGE, STRIP_BLEND_EXCLUSION, STRIP_BLEND_GAMCROSS, STRIP_BLEND_HARD_LIGHT, STRIP_BLEND_HUE, STRIP_BLEND_LIGHTEN, STRIP_BLEND_LIN_LIGHT, STRIP_BLEND_LINEAR_BURN, STRIP_BLEND_MUL, STRIP_BLEND_OVERLAY, STRIP_BLEND_PIN_LIGHT, STRIP_BLEND_SATURATION, STRIP_BLEND_SCREEN, STRIP_BLEND_SOFT_LIGHT, STRIP_BLEND_SUB, STRIP_BLEND_VALUE, STRIP_BLEND_VIVID_LIGHT, and sub_effect_get_handle().
Referenced by strip_blend_mode_handle_get().
| EffectHandle blender::seq::effect_handle_get | ( | StripType | strip_type | ) |
Definition at line 159 of file effects.cc.
References add_effect_get_handle(), adjustment_effect_get_handle(), alpha_over_effect_get_handle(), alpha_under_effect_get_handle(), color_mix_effect_get_handle(), blender::seq::EffectHandle::copy, cross_effect_get_handle(), blender::seq::EffectHandle::early_out, early_out_noop(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::free, free_noop(), gamma_cross_effect_get_handle(), gaussian_blur_effect_get_handle(), blender::seq::EffectHandle::get_default_fac, get_default_fac_noop(), glow_effect_get_handle(), blender::seq::EffectHandle::init, init_noop(), blender::seq::EffectHandle::load, load_noop(), mul_effect_get_handle(), multi_camera_effect_get_handle(), blender::seq::EffectHandle::num_inputs, num_inputs_default(), solid_color_effect_get_handle(), speed_effect_get_handle(), STRIP_TYPE_ADD, STRIP_TYPE_ADJUSTMENT, STRIP_TYPE_ALPHAOVER, STRIP_TYPE_ALPHAUNDER, STRIP_TYPE_COLOR, STRIP_TYPE_COLORMIX, STRIP_TYPE_CROSS, STRIP_TYPE_GAMCROSS, STRIP_TYPE_GAUSSIAN_BLUR, STRIP_TYPE_GLOW, STRIP_TYPE_MUL, STRIP_TYPE_MULTICAM, STRIP_TYPE_SPEED, STRIP_TYPE_SUB, STRIP_TYPE_TEXT, STRIP_TYPE_WIPE, sub_effect_get_handle(), text_effect_get_handle(), and wipe_effect_get_handle().
Referenced by do_speed_effect(), effect_get_num_inputs(), strip_blend_mode_handle_get(), and strip_effect_handle_get().
| void blender::seq::effect_text_font_load | ( | TextVars * | data, |
| const bool | do_id_user ) |
Definition at line 229 of file vse_effect_text.cc.
References BKE_id_full_name_get(), BLI_path_abs(), data, FILE_MAX, VFont::filepath, VFont::id, ID_BLEND_PATH_FROM_GLOBAL, id_us_plus(), MAX_ID_FULL_NAME, name, VFont::packedfile, pf, strip_load_font_file(), strip_load_font_mem(), and STRNCPY().
Referenced by copy_text_effect(), load_text_effect(), and text_effect_font_init().
| void blender::seq::effect_text_font_unload | ( | TextVars * | data, |
| const bool | do_id_user ) |
Definition at line 210 of file vse_effect_text.cc.
References data, id_us_min(), and strip_unload_font().
Referenced by free_text_effect().
| bool blender::seq::effects_can_render_text | ( | const Strip * | strip | ) |
Definition at line 156 of file vse_effect_text.cc.
References data, Strip::effectdata, SEQ_TEXT_OUTLINE, and SEQ_TEXT_SHADOW.
Referenced by early_out_text(), blender::ed::vse::sequencer_text_editing_poll(), and blender::ed::vse::text_edit_draw().
|
static |
Definition at line 62 of file final_image_cache.cc.
References Scene::ed, EditingRuntime::final_image_cache, and Editing::runtime.
Referenced by final_image_cache_put().
|
static |
Definition at line 169 of file MOD_compositor.cc.
References ImBuf::channels, COLOR_ROLE_SCENE_LINEAR, ImBufFloatBuffer::data, ImBuf::float_buffer, IMB_colormanagement_assign_float_colorspace(), IMB_colormanagement_get_float_colorspace(), IMB_colormanagement_role_colorspace_name_get(), IMB_colormanagement_transform_float(), IMB_float_from_byte(), is_linear_float_buffer(), ImBuf::x, and ImBuf::y.
Referenced by compositor_modifier_apply().
|
static |
Definition at line 61 of file preview_cache.cc.
References Scene::ed, EditingRuntime::preview_cache, and Editing::runtime.
Referenced by preview_cache_set_gpu_display_texture(), and preview_cache_set_gpu_texture().
|
static |
Definition at line 76 of file source_image_cache.cc.
References Scene::ed, Editing::runtime, and EditingRuntime::source_image_cache.
Referenced by source_image_cache_put().
|
static |
Definition at line 145 of file thumbnail_cache.cc.
References Scene::ed, Editing::runtime, and EditingRuntime::thumbnail_cache.
Referenced by thumbnail_cache_get().
Ensure, that provided Strip has unique name. If animation data exists for this Strip, it will be duplicated and mapped onto new name
| strip | Strip which name will be ensured to be unique |
| scene | Scene in which name must be unique |
Definition at line 501 of file sequencer/intern/utils.cc.
References Scene::adt, BKE_animdata_fix_paths_rename(), Scene::ed, ensure_unique_name(), Scene::id, LISTBASE_FOREACH, name, Strip::name, Editing::seqbase, Strip::seqbase, STRIP_NAME_MAXSTR, STRIP_TYPE_META, strip_unique_name_set(), STRNCPY_UTF8, and Strip::type.
Referenced by edit_strip_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().
| blender::seq::ENUM_OPERATORS | ( | StripDuplicate | , |
| StripDuplicate::All | ) |
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 1235 of file sequencer.cc.
References BKE_sound_ensure_scene(), DEG_debug_print_eval(), depsgraph, Scene::ed, edit_update_muting(), foreach_strip(), Scene::id, ID::name, sound_update_bounds_all(), and strip_sound_update_cb().
| bool blender::seq::evict_caches_if_full | ( | Scene * | scene | ) |
Definition at line 87 of file strip_relations.cc.
References Editing::cache_flag, divide_ceil_ul(), Scene::ed, final_image_cache_evict(), final_image_cache_get_image_count(), i, is_cache_full(), SEQ_CACHE_STORE_FINAL_OUT, source_image_cache_evict(), and source_image_cache_get_image_count().
Referenced by render_give_ibuf(), and seq_prefetch_is_cache_full().
Definition at line 426 of file strip_relations.cc.
References exists_in_seqbase(), LISTBASE_FOREACH, Strip::seqbase, and STRIP_TYPE_META.
Referenced by edit_move_strip_to_meta(), and exists_in_seqbase().
|
static |
Definition at line 259 of file strip_transform.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add().
Referenced by strip_transform_handle_expand_to_fit(), and strip_transform_handle_overlap_shuffle().
Return whether the fcurve targets the given strip.
Definition at line 36 of file animation.cc.
References blender::animrig::fcurve_matches_collection_path(), and Strip::name.
Referenced by blender::ed::vse::sequencer_copy_animation_listbase(), and blender::ed::vse::sequencer_copy_animation_to_vector().
|
static |
Definition at line 706 of file vse_effect_text.cc.
References abs, ImBuf::byte_buffer, blender::math::clamp(), col, ImBufByteBuffer::data, fill_rect_alpha_under(), blender::IndexRange::from_begin_end(), load_premul_pixel(), blender::math::min(), blender::threading::parallel_for(), powf, store_premul_pixel(), straight_to_premul_v4_v4(), ImBuf::x, x, ImBuf::y, and y.
Referenced by do_text_effect(), and fill_rect_alpha_under().
| size_t blender::seq::final_image_cache_calc_memory_size | ( | const Scene * | scene | ) |
Definition at line 176 of file final_image_cache.cc.
References final_image_cache_mutex, IMB_get_size_in_memory(), lock, blender::seq::FinalImageCache::map_, query_final_image_cache(), and size().
Referenced by is_cache_full().
| void blender::seq::final_image_cache_clear | ( | Scene * | scene | ) |
Definition at line 142 of file final_image_cache.cc.
References blender::seq::FinalImageCache::clear(), Scene::ed, EditingRuntime::final_image_cache, final_image_cache_mutex, lock, query_final_image_cache(), and Editing::runtime.
Referenced by cache_cleanup(), cache_cleanup_final(), and cache_settings_changed().
| void blender::seq::final_image_cache_destroy | ( | Scene * | scene | ) |
Definition at line 151 of file final_image_cache.cc.
References BLI_assert, Scene::ed, EditingRuntime::final_image_cache, final_image_cache_mutex, lock, query_final_image_cache(), and Editing::runtime.
Referenced by editing_free().
| bool blender::seq::final_image_cache_evict | ( | Scene * | scene | ) |
Definition at line 200 of file final_image_cache.cc.
References Editing::cache_flag, Scene::ed, final_image_cache_mutex, IMB_freeImBuf(), lock, blender::seq::FinalImageCache::map_, PEFRA, PSFRA, query_final_image_cache(), Scene::r, SEQ_CACHE_STORE_FINAL_OUT, and seq_prefetch_get_time_range().
Referenced by evict_caches_if_full().
| ImBuf * blender::seq::final_image_cache_get | ( | Scene * | scene, |
| float | timeline_frame, | ||
| int | view_id, | ||
| int | display_channel ) |
Definition at line 79 of file final_image_cache.cc.
References final_image_cache_mutex, IMB_refImBuf(), lock, blender::seq::FinalImageCache::map_, query_final_image_cache(), and blender::math::round().
Referenced by render_give_ibuf().
| size_t blender::seq::final_image_cache_get_image_count | ( | const Scene * | scene | ) |
Definition at line 190 of file final_image_cache.cc.
References final_image_cache_mutex, lock, blender::seq::FinalImageCache::map_, and query_final_image_cache().
Referenced by evict_caches_if_full().
| void blender::seq::final_image_cache_invalidate_frame_range | ( | Scene * | scene, |
| const float | timeline_frame_start, | ||
| const float | timeline_frame_end ) |
Definition at line 120 of file final_image_cache.cc.
References blender::math::ceil(), final_image_cache_mutex, blender::math::floor(), IMB_freeImBuf(), lock, blender::seq::FinalImageCache::map_, and query_final_image_cache().
Referenced by invalidate_final_cache_strip_range().
| void blender::seq::final_image_cache_iterate | ( | Scene * | scene, |
| void * | userdata, | ||
| void | callback_itervoid *userdata, int timeline_frame ) |
Definition at line 162 of file final_image_cache.cc.
References final_image_cache_mutex, lock, blender::seq::FinalImageCache::map_, and query_final_image_cache().
Referenced by blender::ed::vse::draw_cache_view().
| void blender::seq::final_image_cache_put | ( | Scene * | scene, |
| float | timeline_frame, | ||
| int | view_id, | ||
| int | display_channel, | ||
| ImBuf * | image ) |
Definition at line 99 of file final_image_cache.cc.
References ensure_final_image_cache(), final_image_cache_mutex, IMB_freeImBuf(), IMB_refImBuf(), lock, blender::seq::FinalImageCache::map_, and blender::math::round().
Referenced by render_give_ibuf().
|
static |
Definition at line 111 of file preview_cache.cc.
References blender::seq::PreviewCacheItem::display_channel, blender::seq::PreviewCacheItem::display_texture, blender::seq::PreviewCache::items, blender::seq::PreviewCacheItem::last_used, blender::seq::PreviewCacheItem::texture, blender::seq::PreviewCache::tick_count, and blender::seq::PreviewCacheItem::timeline_frame.
Referenced by preview_cache_set_gpu_display_texture(), and preview_cache_set_gpu_texture().
| void blender::seq::fontmap_clear | ( | ) |
Definition at line 74 of file vse_effect_text.cc.
References BLF_unload_id(), and g_font_map.
Referenced by BKE_blender_free().
| void blender::seq::foreach_strip | ( | ListBase * | seqbase, |
| blender::FunctionRef< bool(Strip *)> | callback ) |
Same as above, but using a more modern FunctionRef as callback.
Definition at line 64 of file iterator.cc.
References strip_for_each_recursive().
| void blender::seq::foreach_strip | ( | ListBase * | seqbase, |
| ForEachFunc | callback, | ||
| void * | user_data ) |
Utility function to recursively iterate through all sequence strips in a seqbase list. Uses callback to do operations on each element. The callback can stop the iteration if needed.
| seqbase | ListBase of sequences to be iterated over. |
| callback | query function callback, returns false if iteration should stop. |
| user_data | pointer to user data that can be used in the callback function. |
Definition at line 59 of file iterator.cc.
References strip_for_each_recursive().
Referenced by animdata_filter_dopesheet_scene(), blend_read(), blend_write(), blo_do_versions_250(), blo_do_versions_260(), blo_do_versions_270(), blo_do_versions_280(), blo_do_versions_300(), blo_do_versions_410(), blo_do_versions_420(), blo_do_versions_440(), blo_do_versions_500(), blo_do_versions_pre250(), blender::deg::DepsgraphNodeBuilder::build_scene_sequencer(), blender::deg::DepsgraphRelationBuilder::build_scene_sequencer(), do_versions_after_linking_300(), do_versions_after_linking_400(), doversion_250_sound_proxy_update(), eval_strips(), IMB_colormanagement_check_file_config(), blender::deg::SequencerBackup::init_from_scene(), relations_check_uids_unique_and_report(), blender::deg::SequencerBackup::restore_to_scene(), scene_foreach_id(), scene_foreach_path(), seq_update_scene_strip_sound(), blender::ed::vse::sequencer_export_subtitles_exec(), sequencer_substitute_transform_effects(), sound_update_animation_flags(), strip_unique_name_set(), version_seq_text_from_legacy(), version_sequencer_update_overdrop(), and version_system_idprops_generate().
| void blender::seq::foreach_strip_modifier_id | ( | Strip * | strip, |
| const FunctionRef< void(ID *)> | fn ) |
Definition at line 596 of file sequencer/intern/modifiers/modifier.cc.
References eSeqModifierType_Compositor, LISTBASE_FOREACH, and Strip::modifiers.
Definition at line 74 of file animation.cc.
References AnimData::action, Scene::adt, animation_keyframes_exist(), blender::animrig::fcurves_in_action_slot_filtered(), and AnimData::slot_handle.
Referenced by edit_remove_flagged_strips().
|
static |
Definition at line 383 of file vse_effect_blend.cc.
References Strip::effectdata, and MEM_SAFE_FREE.
Referenced by color_mix_effect_get_handle().
|
static |
Definition at line 39 of file vse_effect_gaussian_blur.cc.
References Strip::effectdata, and MEM_SAFE_FREE.
Referenced by gaussian_blur_effect_get_handle().
|
static |
Definition at line 149 of file vse_effect_glow.cc.
References Strip::effectdata, and MEM_SAFE_FREE.
Referenced by glow_effect_get_handle().
|
static |
Definition at line 105 of file effects.cc.
Referenced by effect_handle_for_blend_mode_get(), and effect_handle_get().
|
static |
Definition at line 37 of file vse_effect_solid_color.cc.
References Strip::effectdata, and MEM_SAFE_FREE.
Referenced by solid_color_effect_get_handle().
|
static |
Definition at line 52 of file vse_effect_speed.cc.
References Strip::effectdata, MEM_freeN(), MEM_SAFE_FREE, and v.
Referenced by speed_effect_get_handle().
| void blender::seq::free_strip_proxy | ( | Strip * | strip | ) |
Definition at line 636 of file proxy.cc.
References StripProxy::anim, Strip::data, MOV_close(), and StripData::proxy.
Referenced by add_reload_new_file().
|
static |
Definition at line 262 of file vse_effect_text.cc.
References data, effect_text_font_unload(), Strip::effectdata, MEM_freeN(), and MEM_SAFE_FREE.
Referenced by text_effect_get_handle().
|
static |
Definition at line 173 of file vse_effect_wipe.cc.
References Strip::effectdata, and MEM_SAFE_FREE.
Referenced by wipe_effect_get_handle().
|
static |
Definition at line 548 of file strip_retiming.cc.
References blender::math::clamp(), float, blender::Bounds< T >::max, blender::Bounds< T >::min, Scene::r, retiming_add_key(), retiming_is_last_key(), retiming_key_timeline_frame_get(), SeqRetimingKey::strip_frame_index, strip_retiming_clamp_bounds_get(), and time_media_playback_rate_factor_get().
Referenced by retiming_add_freeze_frame().
| void blender::seq::gamma_cross_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 123 of file vse_effect_cross.cc.
References do_gammacross_effect(), blender::seq::EffectHandle::early_out, early_out_fade(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::get_default_fac, and get_default_fac_fade().
Referenced by effect_handle_for_blend_mode_get(), and effect_handle_get().
Definition at line 67 of file vse_effect_cross.cc.
References UNLIKELY.
Referenced by blender::seq::GammaCrossEffectOp::apply().
| void blender::seq::gaussian_blur_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 228 of file vse_effect_gaussian_blur.cc.
References blender::seq::EffectHandle::copy, copy_gaussian_blur_effect(), do_gaussian_blur_effect(), blender::seq::EffectHandle::early_out, early_out_gaussian_blur(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::free, free_gaussian_blur_effect(), gaussian_blur_effect_get_handle(), blender::seq::EffectHandle::init, init_gaussian_blur_effect(), blender::seq::EffectHandle::num_inputs, and num_inputs_gaussian_blur().
Referenced by effect_handle_get(), and gaussian_blur_effect_get_handle().
|
static |
Definition at line 59 of file vse_effect_gaussian_blur.cc.
References blender::math::is_math_float_type, blender::math::max(), blender::math::min(), T, x, and y.
|
static |
Definition at line 101 of file vse_effect_gaussian_blur.cc.
References blender::math::is_math_float_type, blender::math::max(), blender::math::min(), T, x, and y.
|
static |
Definition at line 521 of file render.cc.
References fabsf, IMB_FILTER_BILINEAR, IMB_FILTER_BOX, IMB_FILTER_CUBIC_MITCHELL, IMB_FILTER_NEAREST, rot, roundf, and transform().
Referenced by sequencer_preprocess_transform_crop().
Definition at line 86 of file channels.cc.
References Strip::channels, and lookup_meta_by_strip().
Referenced by do_adjustment_impl(), and do_multicam().
| void blender::seq::get_default_fac_fade | ( | const Scene * | scene, |
| const Strip * | strip, | ||
| float | timeline_frame, | ||
| float * | fac ) |
Definition at line 152 of file effects.cc.
References blender::math::clamp(), float, time_left_handle_frame_get(), and time_strip_length_get().
Referenced by cross_effect_get_handle(), gamma_cross_effect_get_handle(), and wipe_effect_get_handle().
|
static |
Definition at line 144 of file effects.cc.
Referenced by effect_handle_for_blend_mode_get(), and effect_handle_get().
| const char * blender::seq::get_default_stripname_by_type | ( | int | type | ) |
Definition at line 112 of file sequencer/intern/utils.cc.
References BLT_I18NCONTEXT_ID_SEQUENCE, CTX_DATA_, STRIP_TYPE_ADD, STRIP_TYPE_ADJUSTMENT, STRIP_TYPE_ALPHAOVER, STRIP_TYPE_ALPHAUNDER, STRIP_TYPE_COLOR, STRIP_TYPE_COLORMIX, STRIP_TYPE_CROSS, STRIP_TYPE_GAMCROSS, STRIP_TYPE_GAUSSIAN_BLUR, STRIP_TYPE_GLOW, STRIP_TYPE_IMAGE, STRIP_TYPE_MASK, STRIP_TYPE_META, STRIP_TYPE_MOVIE, STRIP_TYPE_MOVIECLIP, STRIP_TYPE_MUL, STRIP_TYPE_MULTICAM, STRIP_TYPE_SCENE, STRIP_TYPE_SOUND_RAM, STRIP_TYPE_SPEED, STRIP_TYPE_SUB, STRIP_TYPE_TEXT, and STRIP_TYPE_WIPE.
Referenced by blender::ed::vse::sequencer_change_effect_type_exec(), and strip_give_name().
|
static |
Definition at line 1390 of file render.cc.
References DAG_EVAL_VIEWPORT, DEG_debug_name_set(), DEG_get_input_view_layer(), DEG_graph_new(), DEG_graph_replace_owners(), DEG_graph_tag_relations_update(), depsgraph, and Scene::runtime.
Referenced by seq_render_scene_strip_ex().
|
static |
Definition at line 86 of file media_presence.cc.
References Scene::ed, EditingRuntime::media_presence, and Editing::runtime.
Referenced by media_presence_is_missing(), and media_presence_set_missing().
|
static |
Definition at line 155 of file prefetch.cc.
References blender::seq::PrefetchJob::context, and seq_prefetch_job_get().
Referenced by prefetch_get_original_scene(), and prefetch_get_original_scene_and_strip().
|
static |
Definition at line 177 of file thumbnail_cache.cc.
References BLI_path_abs(), BLI_path_join, Strip::data, StripData::dirpath, FILE_MAX, StripElem::filename, Scene::id, ID_BLEND_PATH_FROM_GLOBAL, render_give_stripelem(), STRIP_TYPE_IMAGE, STRIP_TYPE_MOVIE, StripData::stripdata, and Strip::type.
Referenced by thumbnail_cache_get().
| float blender::seq::get_render_scale_factor | ( | const RenderData & | context | ) |
Definition at line 2124 of file render.cc.
References get_render_scale_factor().
| 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 2118 of file render.cc.
References rendersize_to_scale_factor(), and SEQ_RENDER_SIZE_SCENE.
Referenced by do_gaussian_blur_effect(), get_render_scale_factor(), get_strip_screen_quad(), input_preprocess(), blender::ed::vse::sequencer_ibuf_get(), and text_effect_line_size_get().
In cases where we don't know the strip's listbase.
Definition at line 368 of file sequencer/intern/utils.cc.
References BLI_findindex(), editing_get(), lookup_meta_by_strip(), and Strip::seqbase.
Referenced by do_adjustment_impl(), do_multicam(), and edit_move_strip_to_meta().
| ListBase * blender::seq::get_seqbase_from_strip | ( | Strip * | strip, |
| ListBase ** | r_channels, | ||
| int * | r_offset ) |
Definition at line 180 of file sequencer/intern/utils.cc.
References Strip::channels, editing_get(), Strip::flag, Scene::r, Strip::scene, SEQ_SCENE_STRIPS, Strip::seqbase, STRIP_TYPE_META, STRIP_TYPE_SCENE, time_start_frame_get(), and Strip::type.
Referenced by do_render_strip_seqbase(), and blender::ed::vse::drawmeta_contents().
Definition at line 403 of file sequencer/intern/utils.cc.
References BLI_listbase_is_empty(), get_strip_by_name(), LISTBASE_FOREACH, name, and STREQ.
Referenced by animchan_sync_fcurve_scene(), get_strip_by_name(), and skip_fcurve_selected_data().
Definition at line 209 of file sequencer/intern/modifiers/modifier.cc.
References PointerRNA::data, StripModifierData::ui_expand_flag, and UI_panel_custom_data_get().
Referenced by modifier_panel_register().
| StripScreenQuad blender::seq::get_strip_screen_quad | ( | const RenderData * | context, |
| const Strip * | strip ) |
Definition at line 280 of file render.cc.
References get_render_scale_factor(), image_transform_final_quad_get(), quad, x, and y.
Referenced by blender::seq::OpaqueQuadTracker::add_occluder(), blender::seq::OpaqueQuadTracker::is_occluded(), and is_strip_covering_screen().
|
static |
Definition at line 394 of file strip_relations.cc.
References BLI_gset_insert(), BLI_gset_lookup(), BLI_session_uid_is_generated(), Strip::name, printf, Strip::runtime, and StripRuntime::session_uid.
Referenced by relations_check_uids_unique_and_report().
|
static |
Definition at line 93 of file source_image_cache.cc.
References Strip::anim_startofs, give_frame_index(), STRIP_TYPE_MOVIE, STRIP_TYPE_SCENE, and Strip::type.
Referenced by source_image_cache_get(), and source_image_cache_put().
| float blender::seq::give_frame_index | ( | const Scene * | scene, |
| const Strip * | strip, | ||
| float | timeline_frame ) |
Definition at line 52 of file strip_time.cc.
References clamp_f(), Strip::flag, float, fmodf, Strip::len, max_ff(), Scene::r, retiming_is_active(), SEQ_REVERSE_FRAMES, strip_retiming_evaluate(), STRIP_TYPE_IMAGE, Strip::strobe, time_content_end_frame_get(), time_media_playback_rate_factor_get(), time_right_handle_frame_get(), time_start_frame_get(), transform_single_image_check(), and Strip::type.
Referenced by ANIM_draw_scene_strip_range(), do_render_strip_uncached(), blender::ed::vse::draw_seq_waveform_overlay(), give_cache_frame_index(), render_give_stripelem(), seq_prefetch_scene_strip_is_rendered(), seq_proxy_fetch(), seq_render_movie_strip_custom_file_proxy(), seq_render_movie_strip_view(), strip_speed_effect_target_frame_get(), blender::ed::vse::sync_active_scene_and_time_with_scene_strip(), and thumbnail_cache_get().
|
static |
Definition at line 24 of file vse_effect_glow.cc.
References exp, filter, float, M_PI, blender::math::max(), blender::math::min(), blender::threading::parallel_for(), x, and y.
Referenced by do_glow_effect_byte(), and do_glow_effect_float().
| void blender::seq::glow_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 262 of file vse_effect_glow.cc.
References blender::seq::EffectHandle::copy, copy_glow_effect(), do_glow_effect(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::free, free_glow_effect(), blender::seq::EffectHandle::init, init_glow_effect(), blender::seq::EffectHandle::num_inputs, and num_inputs_glow().
Referenced by effect_handle_get().
|
static |
Definition at line 933 of file vse_effect_text.cc.
References data, horizontal_alignment_offset_get(), SEQ_TEXT_ALIGN_X_CENTER, and SEQ_TEXT_ALIGN_X_RIGHT.
Referenced by apply_text_alignment(), and horizontal_alignment_offset_get().
|
static |
Definition at line 107 of file MOD_hue_correct.cc.
References apply_modifier_op(), BKE_curvemapping_init(), blender::seq::HueCorrectApplyOp::curve_mapping, HueCorrectModifierData::curve_mapping, and mask().
|
static |
Definition at line 53 of file MOD_hue_correct.cc.
References BKE_curvemapping_copy_data(), and HueCorrectModifierData::curve_mapping.
|
static |
Definition at line 46 of file MOD_hue_correct.cc.
References BKE_curvemapping_free_data(), and HueCorrectModifierData::curve_mapping.
|
static |
Definition at line 27 of file MOD_hue_correct.cc.
References BKE_curvemap_reset(), BKE_curvemapping_set_defaults(), CurveMapping::clipr, CurveMapping::cm, CUMA_USE_WRAPPING, CurveMapping::cur, HueCorrectModifierData::curve_mapping, CURVE_PRESET_MID8, CurveMapping::flag, HD_AUTO, Positive, and CurveMapping::preset.
Definition at line 118 of file MOD_hue_correct.cc.
References C, draw_mask_input_type_settings(), IFACE_, Panel::layout, uiLayout::panel_prop(), ptr, UI_panel_custom_data_get(), and uiTemplateCurveMapping().
Referenced by hue_correct_register().
|
static |
Definition at line 143 of file MOD_hue_correct.cc.
References BKE_curvemapping_blend_read(), and HueCorrectModifierData::curve_mapping.
|
static |
Definition at line 132 of file MOD_hue_correct.cc.
References eSeqModifierType_HueCorrect, hue_correct_panel_draw(), and modifier_panel_register().
|
static |
Definition at line 137 of file MOD_hue_correct.cc.
References BKE_curvemapping_blend_write(), and HueCorrectModifierData::curve_mapping.
| blender::float2 blender::seq::image_preview_unit_from_px | ( | const Scene * | scene, |
| const float2 | co_src ) |
Definition at line 745 of file strip_transform.cc.
References Scene::r.
Referenced by blender::ed::vse::sequencer_set_2d_cursor_exec().
| blender::float2 blender::seq::image_preview_unit_to_px | ( | const Scene * | scene, |
| const float2 | co_src ) |
Definition at line 740 of file strip_transform.cc.
References Scene::r.
Referenced by blender::ed::transform::calculateCenterCursor2D(), blender::ed::transform::gizmo2d_calc_bounds(), blender::ed::transform::gizmo2d_calc_transform_pivot(), blender::ed::vse::sequencer_preview_draw_overlays(), and blender::ed::transform::setTransformViewAspect().
|
static |
Definition at line 198 of file thumbnail_cache.cc.
References float, round_fl_to_int(), and THUMB_SIZE.
Referenced by scale_to_thumbnail_size().
| blender::Bounds< blender::float2 > blender::seq::image_transform_bounding_box_from_collection | ( | Scene * | scene, |
| blender::Span< Strip * > | strips, | ||
| bool | apply_rotation ) |
Get viewport axis aligned bounding box from a collection of sequences. The collection must have one or more strips
| scene | Scene in which strips are located |
| strips | Collection of strips to get the bounding box from |
| apply_rotation | Include strip rotation transform in the bounding box calculation |
| r_min | Minimum x and y values |
| r_max | Maximum x and y values |
Definition at line 755 of file strip_transform.cc.
References image_transform_quad_get(), blender::bounds::merge(), blender::bounds::min_max(), negative_bounds(), and quad.
Referenced by blender::ed::transform::gizmo2d_calc_bounds(), and blender::ed::vse::seq_view_collection_rect_preview().
| blender::Array< blender::float2 > blender::seq::image_transform_final_quad_get | ( | const Scene * | scene, |
| const Strip * | strip ) |
Get 4 corner points of strip image. Corner vectors are in viewport space. Indices correspond to following corners (assuming no rotation): 3–0 | | 2–1
Definition at line 735 of file strip_transform.cc.
References strip_image_transform_quad_get_ex().
Referenced by blender::ed::transform::calculate_translation_offset(), get_strip_screen_quad(), blender::ed::transform::points_build_3x3_grid(), blender::ed::transform::points_build_sources_preview_image(), blender::ed::transform::points_build_targets_preview_image(), blender::ed::transform::store_transform_properties(), blender::ed::vse::strip_box_select_rect_image_isect(), blender::ed::vse::strip_draw_image_origin_and_outline(), and blender::ed::vse::strip_point_image_isect().
| blender::float3x3 blender::seq::image_transform_matrix_get | ( | const Scene * | scene, |
| const Strip * | strip ) |
Get strip image transformation matrix. Pivot point is set to correspond with viewport coordinate system
Definition at line 697 of file strip_transform.cc.
References seq_image_transform_matrix_get_ex().
Referenced by blender::seq::CompositorContext::CompositorContext(), blender::ed::vse::cursor_set_by_mouse_position(), blender::ed::transform::store_transform_properties(), blender::ed::vse::text_edit_draw_cursor(), and blender::ed::vse::text_selection_draw().
| blender::float2 blender::seq::image_transform_mirror_factor_get | ( | const Strip * | strip | ) |
Definition at line 599 of file strip_transform.cc.
References Strip::flag, SEQ_FLIPX, and SEQ_FLIPY.
Referenced by blender::ed::transform::calculate_new_origin_position(), blender::ed::transform::calculate_translation_offset(), blender::ed::transform::gizmo2d_calc_rotation(), image_transform_origin_offset_pixelspace_get(), blender::ed::transform::SeqToTransData(), blender::ed::vse::sequencer_clipboard_paste_exec(), blender::ed::transform::store_transform_properties(), strip_image_transform_quad_get_ex(), blender::ed::transform::transform_orientation_matrix_get(), and blender::ed::transform::transform_result_get().
Get strip transform origin relative value. This function is mainly needed to recalculate text strip origin position.
| render_size | Size of image canvas in pixels |
| strip | Strip to calculate origin for |
Definition at line 646 of file strip_transform.cc.
References Strip::data, Scene::r, STRIP_TYPE_TEXT, StripData::transform, transform(), transform_image_raw_size_get(), and Strip::type.
Referenced by calc_strip_transform_matrix().
| blender::float2 blender::seq::image_transform_origin_offset_pixelspace_get | ( | const Scene * | scene, |
| const Strip * | strip ) |
Get strip transform origin offset from image center NOTE: This function does not apply axis mirror.
Definition at line 667 of file strip_transform.cc.
References Strip::data, image_transform_mirror_factor_get(), Scene::r, StripData::transform, transform(), and transform_image_raw_size_get().
Referenced by blender::ed::vse::do_lasso_select_preview(), blender::ed::transform::points_build_sources_preview_image(), blender::ed::transform::points_build_sources_preview_origin(), blender::ed::transform::points_build_targets_preview_image(), blender::ed::transform::seq_get_strip_pivot_median(), blender::ed::transform::SeqToTransData(), blender::ed::vse::sequencer_clipboard_paste_exec(), blender::ed::vse::strip_circle_select_radius_image_isect(), blender::ed::vse::strip_draw_image_origin_and_outline(), and blender::ed::vse::strip_select_from_preview().
| blender::Array< blender::float2 > blender::seq::image_transform_quad_get | ( | const Scene * | scene, |
| const Strip * | strip, | ||
| bool | apply_rotation ) |
Get 4 corner points of strip image, optionally without rotation component applied. Corner vectors are in viewport space.
| scene | Scene in which strips are located |
| strip | Strip to calculate transformed image quad |
| apply_rotation | Apply strip rotation transform to the quad |
Definition at line 730 of file strip_transform.cc.
References strip_image_transform_quad_get_ex().
Referenced by image_transform_bounding_box_from_collection().
Definition at line 253 of file sequencer/intern/utils.cc.
References StripAnim::anim, FILE_MAX, proxy_dir_get(), seq_proxy_index_dir_set(), and use_proxy().
Referenced by open_anim_file_multiview(), and strip_open_anim_file().
|
static |
Definition at line 24 of file vse_effect_blend.cc.
References Strip::input1, and Strip::input2.
Referenced by alpha_over_effect_get_handle(), and alpha_under_effect_get_handle().
|
static |
Definition at line 348 of file vse_effect_blend.cc.
References data, Strip::effectdata, MEM_callocN(), MEM_freeN(), and STRIP_BLEND_OVERLAY.
Referenced by color_mix_effect_get_handle().
|
static |
Definition at line 22 of file vse_effect_gaussian_blur.cc.
References data, Strip::effectdata, MEM_callocN(), and MEM_freeN().
Referenced by gaussian_blur_effect_get_handle().
|
static |
Definition at line 127 of file vse_effect_glow.cc.
References GlowVars::bNoComp, GlowVars::dDist, GlowVars::dQuality, Strip::effectdata, GlowVars::fBoost, GlowVars::fClamp, GlowVars::fMini, MEM_callocN(), and MEM_freeN().
Referenced by glow_effect_get_handle().
|
static |
Definition at line 101 of file effects.cc.
Referenced by effect_handle_for_blend_mode_get(), and effect_handle_get().
|
static |
Definition at line 20 of file vse_effect_solid_color.cc.
References SolidColorVars::col, Strip::effectdata, MEM_callocN(), and MEM_freeN().
Referenced by solid_color_effect_get_handle().
|
static |
Definition at line 26 of file vse_effect_speed.cc.
References Strip::effectdata, MEM_callocN(), MEM_freeN(), SEQ_SPEED_STRETCH, and v.
Referenced by speed_effect_get_handle().
|
static |
Definition at line 172 of file vse_effect_text.cc.
References BLI_strdup(), copy_v4_fl(), data, DEG2RADF, Strip::effectdata, MEM_callocN(), MEM_freeN(), SEQ_TEXT_ALIGN_X_CENTER, and SEQ_TEXT_ALIGN_Y_CENTER.
Referenced by text_effect_get_handle().
|
static |
Definition at line 159 of file vse_effect_wipe.cc.
References Strip::effectdata, MEM_callocN(), and MEM_freeN().
Referenced by wipe_effect_get_handle().
|
static |
Definition at line 379 of file vse_effect_text.cc.
References blender::math::clamp(), input, blender::threading::parallel_for(), x, rcti::xmax, rcti::xmin, y, rcti::ymax, and rcti::ymin.
Referenced by draw_text_shadow().
|
static |
Definition at line 626 of file render.cc.
References Strip::blend_mode, Strip::blend_opacity, ImBuf::byte_buffer, calc_strip_transform_matrix(), ImBufByteBuffer::data, ImBufFloatBuffer::data, ELEM, ListBase::first, Strip::flag, ImBuf::float_buffer, blender::math::from_location(), get_render_scale_factor(), IB_byte_data, IB_float_data, IMB_allocImBuf(), IMB_filtery(), IMB_flipx(), IMB_flipy(), IMB_free_byte_pixels(), IMB_freeImBuf(), IMB_makeSingleUser(), IMB_metadata_copy(), IMB_saturation(), blender::math::invert(), modifier_apply_stack(), Strip::modifiers, mul(), Strip::mul, multiply_ibuf(), blender::seq::ModifierApplyContext::result_translation, Strip::sat, SEQ_FILTERY, SEQ_FLIPX, SEQ_FLIPY, seq_imbuf_assign_spaces(), seq_imbuf_to_sequencer_space(), SEQ_MAKE_FLOAT, SEQ_MULTIPLY_ALPHA, seq_need_scale_to_render_size(), sequencer_preprocess_transform_crop(), sequencer_use_crop(), sequencer_use_transform(), state, STRIP_BLEND_REPLACE, STRIP_TYPE_MOVIE, STRIP_TYPE_MOVIECLIP, Strip::type, ImBuf::x, x, ImBuf::y, and y.
Referenced by seq_render_preprocess_ibuf().
| void blender::seq::intra_frame_cache_destroy | ( | Scene * | scene | ) |
Definition at line 161 of file intra_frame_cache.cc.
References Scene::ed, EditingRuntime::intra_frame_cache, query_intra_frame_cache(), and Editing::runtime.
Referenced by editing_free().
Definition at line 128 of file intra_frame_cache.cc.
References blender::seq::IntraFrameCache::composite, blender::seq::StripImageMap::get(), and query_intra_frame_cache().
Referenced by seq_render_strip_stack().
Definition at line 119 of file intra_frame_cache.cc.
References blender::seq::StripImageMap::get(), blender::seq::IntraFrameCache::preprocessed, and query_intra_frame_cache().
Referenced by seq_render_strip().
| void blender::seq::intra_frame_cache_invalidate | ( | Scene * | scene | ) |
Definition at line 51 of file intra_frame_cache.cc.
References blender::seq::StripImageMap::clear(), blender::seq::IntraFrameCache::composite, blender::seq::IntraFrameCache::height, blender::seq::IntraFrameCache::preprocessed, query_intra_frame_cache(), blender::seq::IntraFrameCache::timeline_frame, blender::seq::IntraFrameCache::view_id, and blender::seq::IntraFrameCache::width.
Referenced by cache_cleanup(), cache_cleanup_intra(), and relations_invalidate_cache().
Definition at line 64 of file intra_frame_cache.cc.
References blender::seq::IntraFrameCache::composite, blender::seq::StripImageMap::invalidate(), blender::seq::IntraFrameCache::preprocessed, and query_intra_frame_cache().
| void blender::seq::intra_frame_cache_put_composite | ( | Scene * | scene, |
| const Strip * | strip, | ||
| ImBuf * | image ) |
Definition at line 149 of file intra_frame_cache.cc.
References blender::seq::IntraFrameCache::composite, Scene::ed, EditingRuntime::intra_frame_cache, blender::seq::StripImageMap::put(), and Editing::runtime.
Referenced by seq_render_strip_stack().
| void blender::seq::intra_frame_cache_put_preprocessed | ( | Scene * | scene, |
| const Strip * | strip, | ||
| ImBuf * | image ) |
Definition at line 137 of file intra_frame_cache.cc.
References Scene::ed, EditingRuntime::intra_frame_cache, blender::seq::IntraFrameCache::preprocessed, blender::seq::StripImageMap::put(), and Editing::runtime.
Referenced by seq_render_strip().
| void blender::seq::intra_frame_cache_set_cur_frame | ( | Scene * | scene, |
| float | frame, | ||
| int | view_id, | ||
| int | width, | ||
| int | height ) |
Definition at line 169 of file intra_frame_cache.cc.
References blender::seq::StripImageMap::clear(), blender::seq::IntraFrameCache::composite, blender::seq::IntraFrameCache::height, blender::seq::IntraFrameCache::preprocessed, query_intra_frame_cache(), blender::seq::IntraFrameCache::timeline_frame, blender::seq::IntraFrameCache::view_id, and blender::seq::IntraFrameCache::width.
Referenced by do_render_strip_seqbase(), proxy_rebuild(), render_give_ibuf(), and render_give_ibuf_direct().
Definition at line 133 of file strip_relations.cc.
References final_image_cache_invalidate_frame_range(), time_left_handle_frame_get(), and time_right_handle_frame_get().
Referenced by relations_invalidate_cache().
|
static |
Definition at line 196 of file strip_relations.cc.
References ListBase::first, invalidate_movieclip_strips(), Strip::next, and relations_invalidate_cache_raw().
Referenced by invalidate_movieclip_strips(), and relations_invalidate_movieclip_strips().
Definition at line 140 of file strip_relations.cc.
References editing_get(), lookup_meta_by_strip(), and relations_invalidate_cache_raw().
Referenced by relations_invalidate_cache().
Definition at line 75 of file vse_effect_cross.cc.
References sqrtf_signed().
Referenced by blender::seq::GammaCrossEffectOp::apply().
| bool blender::seq::is_cache_full | ( | const Scene * | scene | ) |
Definition at line 80 of file strip_relations.cc.
References final_image_cache_calc_memory_size(), source_image_cache_calc_memory_size(), and U.
Referenced by evict_caches_if_full().
|
static |
Definition at line 163 of file MOD_compositor.cc.
References ImBufFloatBuffer::colorspace, ImBufFloatBuffer::data, ImBuf::float_buffer, and IMB_colormanagement_space_is_scene_linear().
Referenced by compositor_modifier_apply(), and ensure_linear_float_buffer().
|
static |
Definition at line 1879 of file render.cc.
References Strip::blend_mode, Strip::blend_opacity, ELEM, eSeqModifierType_Compositor, eSeqModifierType_Mask, Strip::flag, LISTBASE_FOREACH, Strip::modifiers, Strip::mul, SEQ_MULTIPLY_ALPHA, STRIP_BLEND_ALPHAOVER, and STRIP_MODIFIER_FLAG_MUTE.
Referenced by seq_render_strip_stack().
|
static |
Definition at line 297 of file render.cc.
References b, isect_point_quad_v2(), blender::seq::StripScreenQuad::v0, blender::seq::StripScreenQuad::v1, blender::seq::StripScreenQuad::v2, and blender::seq::StripScreenQuad::v3.
Referenced by blender::seq::OpaqueQuadTracker::is_occluded(), and is_strip_covering_screen().
| bool blender::seq::is_strip_connected | ( | const Strip * | strip | ) |
Check whether a strip has any connections.
Definition at line 130 of file strip_connect.cc.
References BLI_listbase_is_empty(), and Strip::connections.
Referenced by blender::ed::vse::select_connected_keys(), seq_duplicate_postprocess(), seq_new_fix_links_recursive(), seq_strip_free_ex(), blender::ed::vse::sequencer_select_exec(), blender::ed::vse::strip_draw_context_get(), and strip_duplicate().
|
static |
Definition at line 492 of file render.cc.
References float, get_strip_screen_quad(), is_quad_a_inside_b(), and quad.
Referenced by sequencer_preprocess_transform_crop().
| bool blender::seq::is_valid_strip_channel | ( | const Strip * | strip | ) |
Definition at line 836 of file sequencer.cc.
References Strip::channel, and MAX_CHANNELS.
Referenced by link_recurs_seq().
| void blender::seq::iterator_set_expand | ( | const Scene * | scene, |
| ListBase * | seqbase, | ||
| blender::VectorSet< Strip * > & | strips, | ||
| void | strip_query_funcconst Scene *scene, Strip *strip_reference, ListBase *seqbase, blender::VectorSet< Strip * > &strips ) |
Expand set by running strip_query_func() for each strip, which will be used as reference. Results of these queries will be merged into provided collection.
| seqbase | ListBase in which strips are queried |
| strips | set of strips to be expanded |
| strip_query_func | query function callback |
Definition at line 82 of file iterator.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple(), and query_by_reference().
Referenced by edit_move_strip_to_meta(), edit_strip_split(), blender::ed::transform::flushTransSeq(), blender::ed::transform::freeSeqData(), blender::ed::transform::query_snap_targets_timeline(), blender::ed::transform::query_time_dependent_strips_strips(), blender::ed::transform::recalcData_sequencer_retiming(), retiming_key_overlap(), blender::ed::vse::select_grouped_effect_link(), blender::ed::vse::sequencer_clipboard_copy_exec(), blender::ed::vse::sequencer_meta_make_exec(), and strip_transform_handle_overwrite_trim().
|
static |
Definition at line 509 of file vse_effect_text.cc.
References blender::math::distance_squared(), input, JFA_INVALID, output, blender::threading::parallel_for(), size(), blender::seq::JFACoord::x, x, blender::seq::JFACoord::y, and y.
|
static |
Definition at line 103 of file effects.cc.
Referenced by effect_handle_for_blend_mode_get(), and effect_handle_get().
Definition at line 260 of file sequencer/intern/modifiers/modifier.cc.
References ptr.
Definition at line 253 of file sequencer/intern/modifiers/modifier.cc.
References ptr, and straight_uchar_to_premul_float().
Referenced by blender::seq::ColorBalanceApplyOp::apply(), blender::seq::ColorBalanceApplyOp::apply(), blender::seq::CurvesApplyOp::apply(), and blender::seq::WhiteBalanceApplyOp::apply().
Definition at line 282 of file sequencer/intern/modifiers/modifier.cc.
References ptr.
Definition at line 275 of file sequencer/intern/modifiers/modifier.cc.
References ptr, and rgba_uchar_to_float().
Referenced by blender::seq::BrightContrastApplyOp::apply(), and blender::seq::HueCorrectApplyOp::apply().
|
inline |
Definition at line 55 of file effects.hh.
References ptr.
|
inline |
Definition at line 48 of file effects.hh.
References ptr, and straight_uchar_to_premul_float().
Referenced by blender::seq::AlphaOverEffectOp::apply(), blender::seq::AlphaUnderEffectOp::apply(), blender::seq::GammaCrossEffectOp::apply(), composite_shadow(), do_wipe_effect(), and fill_rect_alpha_under().
|
static |
Definition at line 41 of file vse_effect_speed.cc.
References Strip::effectdata, and v.
Referenced by speed_effect_get_handle().
|
static |
Definition at line 275 of file vse_effect_text.cc.
References data, effect_text_font_load(), and Strip::effectdata.
Referenced by text_effect_get_handle().
Find meta strip, that contains strip key. If lookup hash doesn't exist, it will be created. If hash is tagged as invalid, it will be rebuilt.
| key | pointer to Strip inside of meta strip |
Definition at line 194 of file strip_lookup.cc.
References BLI_assert, lock, lookup_lock, and strip_lookup_update_if_needed().
Referenced by do_adjustment_impl(), get_channels_by_strip(), get_seqbase_by_strip(), invalidate_raw_cache_of_parent_meta(), meta_stack_set(), retiming_key_timeline_frame_set(), retiming_reset(), seq_meta_stack_alloc(), sound_pitch_get(), strip_add_generic_update(), strip_retiming_range_data_get(), strip_time_translate_handles(), time_left_handle_frame_set(), time_right_handle_frame_set(), time_start_frame_set(), time_update_meta_strip_range(), and transform_translate_strip().
| 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 213 of file strip_lookup.cc.
References BLI_assert, lock, lookup_lock, and strip_lookup_update_if_needed().
Find a strip with a given name. If lookup hash doesn't exist, it will be created. If hash is tagged as invalid, it will be rebuilt.
Definition at line 154 of file strip_lookup.cc.
References BLI_assert, lock, lookup_lock, and strip_lookup_update_if_needed().
| Span< Strip * > blender::seq::lookup_strips_by_compositor_node_group | ( | Editing * | ed, |
| const bNodeTree * | key ) |
Find all strips using provided compositor node tree as a modifier
Definition at line 182 of file strip_lookup.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::as_span(), BLI_assert, lock, lookup_lock, NTREE_COMPOSIT, strip_lookup_update_if_needed(), and bNodeTree::type.
Referenced by relations_invalidate_compositor_modifiers().
Find a strips using provided scene as input
Definition at line 163 of file strip_lookup.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::as_span(), BLI_assert, lock, lookup_lock, and strip_lookup_update_if_needed().
Referenced by relations_invalidate_scene_strips().
| Map< const Scene *, VectorSet< Strip * > > & blender::seq::lookup_strips_by_scene_map_get | ( | Editing * | ed | ) |
Returns Map of scenes to scene strips
Definition at line 173 of file strip_lookup.cc.
References BLI_assert, lock, lookup_lock, and strip_lookup_update_if_needed().
Referenced by query_scene_strips().
|
static |
Definition at line 62 of file MOD_color_balance.cc.
References CB_TABLE_SIZE, color_balance_lgg(), float, i, mul(), and x.
Referenced by blender::seq::ColorBalanceApplyOp::init().
|
static |
Definition at line 71 of file MOD_color_balance.cc.
References CB_TABLE_SIZE, color_balance_sop(), float, i, mul(), power(), and x.
Referenced by blender::seq::ColorBalanceApplyOp::init().
| blender::Array< float > blender::seq::make_gaussian_blur_kernel | ( | float | rad, |
| int | size ) |
Definition at line 80 of file effects.cc.
References i, R_FILTER_GAUSS, RE_filter_value(), size(), and sum().
Referenced by do_gaussian_blur_effect(), and draw_text_shadow().
|
static |
Definition at line 211 of file thumbnail_cache.cc.
References ImBuf::byte_buffer, ImBufByteBuffer::data, ImBufFloatBuffer::data, ImBuf::float_buffer, IMB_free_byte_pixels(), IMB_thumb_load_image(), LoadLargeFiles, seq_imbuf_assign_spaces(), seq_imbuf_to_sequencer_space(), and THUMB_SIZE.
|
static |
Definition at line 56 of file sequencer/intern/modifiers/MOD_mask.cc.
References apply_modifier_op(), mask(), and R_IMF_PLANES_RGBA.
Definition at line 72 of file sequencer/intern/modifiers/MOD_mask.cc.
References C, draw_mask_input_type_settings(), Panel::layout, ptr, and UI_panel_custom_data_get().
Referenced by maskmodifier_register().
|
static |
Definition at line 80 of file sequencer/intern/modifiers/MOD_mask.cc.
References eSeqModifierType_Mask, maskmodifier_panel_draw(), and modifier_panel_register().
| void blender::seq::media_presence_free | ( | Scene * | scene | ) |
Free media presence cache, if it was created.
Definition at line 171 of file media_presence.cc.
References Scene::ed, lock, EditingRuntime::media_presence, presence_lock, and Editing::runtime.
Referenced by editing_free(), and blender::ed::vse::sequencer_refresh_all_exec().
Invalidate media presence cache for the given sound.
Definition at line 163 of file media_presence.cc.
References Scene::ed, lock, blender::seq::MediaPresence::map_sound, EditingRuntime::media_presence, presence_lock, Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), and Editing::runtime.
Invalidate media presence cache for the given strip.
Definition at line 155 of file media_presence.cc.
References Scene::ed, lock, blender::seq::MediaPresence::map_seq, EditingRuntime::media_presence, presence_lock, Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), and Editing::runtime.
Referenced by relations_invalidate_cache().
Check whether a sequence strip has missing media. Results of the query for this strip will be cached into MediaPresence cache. The cache will be created on demand.
| scene | Scene to query. |
| strip | Sequencer strip. |
Definition at line 95 of file media_presence.cc.
References Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), check_media_missing(), check_sound_media_missing(), Scene::ed, get_media_presence_cache(), lock, Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), blender::seq::MediaPresence::map_seq, blender::seq::MediaPresence::map_sound, presence_lock, Strip::sound, STRIP_TYPE_SOUND_RAM, and Strip::type.
Referenced by skip_modifier().
Set or change the missing media cache value for a given strip.
Definition at line 136 of file media_presence.cc.
References Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_overwrite(), Scene::ed, get_media_presence_cache(), lock, blender::seq::MediaPresence::map_seq, blender::seq::MediaPresence::map_sound, presence_lock, Strip::sound, STRIP_TYPE_SOUND_RAM, and Strip::type.
Referenced by seq_render_image_strip(), and seq_render_movie_strip().
Get MetaStack that corresponds to current level that is being viewed
Definition at line 454 of file sequencer.cc.
Referenced by draw_mask_input_type_settings(), meta_stack_pop(), seq_prefetch_update_active_seqbase(), seq_update_meta_disp_range(), sequencer_all_free_anim_ibufs(), sequencer_remove_listbase_pointers(), and blender::ed::vse::sequencer_view_all_exec().
Close last Meta strip open for editing.
| ed | sequence editor data |
Definition at line 484 of file sequencer.cc.
References BLI_remlink(), MEM_freeN(), meta_stack_active_get(), MetaStack::old_strip, and MetaStack::parent_strip.
Referenced by blender::ed::vse::sequencer_meta_toggle_exec().
Open Meta strip content for editing.
| ed | sequence editor data |
| dst | meta strip or NULL for top level view |
Definition at line 463 of file sequencer.cc.
References BLI_freelistN(), editing_get(), lookup_meta_by_strip(), and seq_meta_stack_alloc().
Referenced by blender::ed::vse::sequencer_meta_toggle_exec(), and sequencer_remove_listbase_pointers().
|
static |
Definition at line 101 of file strip_time.cc.
References Strip::endofs, Strip::len, and Strip::start.
Referenced by strip_update_sound_bounds_recursive(), and strip_update_sound_bounds_recursive_impl().
|
static |
Definition at line 96 of file strip_time.cc.
References Strip::start, and Strip::startofs.
Referenced by strip_update_sound_bounds_recursive(), and strip_update_sound_bounds_recursive_impl().
| void blender::seq::modifier_apply_stack | ( | ModifierApplyContext & | context, |
| int | timeline_frame ) |
Definition at line 467 of file sequencer/intern/modifiers/modifier.cc.
References blender::seq::StripModifierTypeInfo::apply, IMB_freeImBuf(), LISTBASE_FOREACH, mask(), modifier_render_mask_input(), modifier_type_info_get(), render_imbuf_from_sequencer_space(), seq_imbuf_to_sequencer_space(), SEQ_USE_LINEAR_MODIFIERS, skip_modifier(), STRIP_MASK_TIME_RELATIVE, and STRIP_MODIFIER_FLAG_MUTE.
Referenced by input_preprocess().
| void blender::seq::modifier_blend_read_data | ( | BlendDataReader * | reader, |
| ListBase * | lb ) |
Definition at line 634 of file sequencer/intern/modifiers/modifier.cc.
References blender::seq::StripModifierTypeInfo::blend_read, BLO_read_struct, BLO_read_struct_list, LISTBASE_FOREACH, and modifier_type_info_get().
Referenced by strip_read_data_cb().
| void blender::seq::modifier_blend_write | ( | BlendWriter * | writer, |
| ListBase * | modbase ) |
Definition at line 617 of file sequencer/intern/modifiers/modifier.cc.
References blender::seq::StripModifierTypeInfo::blend_write, BLO_write_struct, BLO_write_struct_by_name(), LISTBASE_FOREACH, modifier_type_info_get(), and blender::seq::StripModifierTypeInfo::struct_name.
Referenced by strip_write_data_cb().
| void blender::seq::modifier_clear | ( | Strip * | strip | ) |
Definition at line 409 of file sequencer/intern/modifiers/modifier.cc.
References BLI_listbase_clear(), ListBase::first, modifier_free(), Strip::modifiers, and StripModifierData::next.
Referenced by seq_strip_free_ex().
| StripModifierData * blender::seq::modifier_copy | ( | Strip & | strip_dst, |
| StripModifierData * | mod_src ) |
Definition at line 518 of file sequencer/intern/modifiers/modifier.cc.
References BLI_addtail(), BLI_uniquename(), blender::seq::StripModifierTypeInfo::copy_data, MEM_dupallocN(), modifier_type_info_get(), Strip::modifiers, name, StripModifierData::name, offsetof, and StripModifierData::type.
Referenced by modifier_list_copy(), and blender::ed::vse::strip_modifier_copy_exec().
| StripModifierData * blender::seq::modifier_find_by_name | ( | Strip * | strip, |
| const char * | name ) |
Definition at line 444 of file sequencer/intern/modifiers/modifier.cc.
References BLI_findstring(), Strip::modifiers, name, and offsetof.
Referenced by blender::ed::vse::modifier_move_to_index_exec(), blender::ed::vse::modifier_set_active_exec(), blender::ed::vse::strip_modifier_equalizer_redefine_exec(), blender::ed::vse::strip_modifier_move_exec(), and blender::ed::vse::strip_modifier_remove_exec().
| void blender::seq::modifier_free | ( | StripModifierData * | smd | ) |
Definition at line 421 of file sequencer/intern/modifiers/modifier.cc.
References blender::seq::StripModifierTypeInfo::free_data, MEM_freeN(), modifier_type_info_get(), and StripModifierData::type.
Referenced by modifier_clear(), modifier_remove(), blender::ed::vse::strip_modifier_copy_exec(), and blender::ed::vse::strip_modifier_remove_exec().
| StripModifierData * blender::seq::modifier_get_active | ( | const Strip * | strip | ) |
Definition at line 555 of file sequencer/intern/modifiers/modifier.cc.
References BLI_assert, ELEM, LISTBASE_FOREACH, Strip::modifiers, and STRIP_MODIFIER_FLAG_ACTIVE.
Referenced by buttons_context_path_strip_modifier(), composite_get_from_context(), and blender::ed::space_node::get_context_path_node_compositor().
|
static |
Definition at line 55 of file sequencer/intern/modifiers/modifier.cc.
References LISTBASE_FOREACH, and Strip::modifiers.
Referenced by modifier_persistent_uid_init().
Definition at line 537 of file sequencer/intern/modifiers/modifier.cc.
References LISTBASE_FOREACH, modifier_copy(), and Strip::modifiers.
Referenced by strip_duplicate().
| bool blender::seq::modifier_move_to_index | ( | Strip * | strip, |
| StripModifierData * | smd, | ||
| const int | new_index ) |
Definition at line 549 of file sequencer/intern/modifiers/modifier.cc.
References BLI_findindex(), BLI_listbase_move_index(), and Strip::modifiers.
Referenced by blender::ed::vse::modifier_move_to_index_exec().
| StripModifierData * blender::seq::modifier_new | ( | Strip * | strip, |
| const char * | name, | ||
| int | type ) |
Definition at line 366 of file sequencer/intern/modifiers/modifier.cc.
References BLI_addtail(), BLT_I18NCONTEXT_ID_SEQUENCE, CTX_DATA_, StripModifierData::flag, blender::seq::StripModifierTypeInfo::init_data, MEM_callocN(), modifier_set_active(), modifier_type_info_get(), modifier_unique_name(), Strip::modifiers, blender::seq::StripModifierTypeInfo::name, name, StripModifierData::name, STRIP_MODIFIER_FLAG_EXPANDED, STRNCPY_UTF8, blender::seq::StripModifierTypeInfo::struct_size, StripModifierData::type, StripModifierData::ui_expand_flag, and UI_PANEL_DATA_EXPAND_ROOT.
Referenced by strip_colorbalance_update_cb(), and blender::ed::vse::strip_modifier_add_exec().
Definition at line 99 of file sequencer/intern/modifiers/modifier.cc.
References uiLayout::alignment_set(), uiLayout::emboss_set(), Panel::layout, StripModifierData::name, blender::ui::None, uiLayout::op(), uiLayout::prop(), ptr, blender::ui::Right, RNA_string_set(), RNA_struct_ui_icon(), uiLayout::row(), uiLayout::separator(), Panel::sizex, UI_ITEM_NONE, UI_panel_context_pointer_set(), UI_panel_custom_data_get(), and UI_UNIT_X.
Referenced by modifier_panel_register().
| PanelType * blender::seq::modifier_panel_register | ( | ARegionType * | region_type, |
| const eStripModifierType | type, | ||
| PanelDrawFn | draw ) |
Definition at line 223 of file sequencer/intern/modifiers/modifier.cc.
References PanelType::active_property, BLI_addtail(), BLT_I18NCONTEXT_DEFAULT_BPYRNA, PanelType::context, PanelType::draw, PanelType::draw_header, PanelType::flag, PanelType::get_list_data_expand_flag, get_strip_modifier_expand_flag(), PanelType::idname, PanelType::label, MEM_callocN(), modifier_panel_header(), modifier_reorder(), modifier_type_panel_id(), modifier_ui_poll(), PANEL_TYPE_HEADER_EXPAND, PANEL_TYPE_INSTANCED, ARegionType::paneltypes, PanelType::poll, PanelType::reorder, PanelType::set_list_data_expand_flag, set_strip_modifier_expand_flag(), STRNCPY_UTF8, and PanelType::translation_context.
Referenced by brightcontrast_register(), colorBalance_register(), compositor_modifier_register(), curves_register(), hue_correct_register(), maskmodifier_register(), sound_equalizermodifier_register(), and whiteBalance_register().
| void blender::seq::modifier_persistent_uid_init | ( | const Strip & | strip, |
| StripModifierData & | smd ) |
Definition at line 65 of file sequencer/intern/modifiers/modifier.cc.
References blender::get_default_hash(), blender::RandomNumberGenerator::get_int32(), hash, modifier_has_persistent_uid(), StripModifierData::name, and StripModifierData::persistent_uid.
Referenced by blender::ed::vse::strip_modifier_add_exec(), and blender::ed::vse::strip_modifier_copy_exec().
| bool blender::seq::modifier_persistent_uids_are_valid | ( | const Strip & | strip | ) |
Definition at line 82 of file sequencer/intern/modifiers/modifier.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), LISTBASE_FOREACH, Strip::modifiers, and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
Referenced by strip_duplicate().
| bool blender::seq::modifier_remove | ( | Strip * | strip, |
| StripModifierData * | smd ) |
Definition at line 397 of file sequencer/intern/modifiers/modifier.cc.
References BLI_findindex(), BLI_remlink(), modifier_free(), and Strip::modifiers.
|
static |
timeline_frame is offset by fra_offset only in case we are using a real mask.
Definition at line 300 of file sequencer/intern/modifiers/modifier.cc.
References seq_render_mask(), seq_render_strip(), state, STRIP_MASK_INPUT_ID, and STRIP_MASK_INPUT_STRIP.
Referenced by modifier_apply_stack().
Move a modifier to the index it's moved to after a drag and drop.
Definition at line 195 of file sequencer/intern/modifiers/modifier.cc.
References C, PointerRNA::data, blender::wm::InvokeDefault, StripModifierData::name, ot, RNA_int_set(), RNA_string_set(), UI_panel_custom_data_get(), WM_operator_name_call_ptr(), WM_operator_properties_create_ptr(), WM_operator_properties_free(), and WM_operatortype_find().
Referenced by modifier_panel_register().
| void blender::seq::modifier_set_active | ( | Strip * | strip, |
| StripModifierData * | smd ) |
Definition at line 577 of file sequencer/intern/modifiers/modifier.cc.
References BLI_assert, BLI_findindex(), StripModifierData::flag, LISTBASE_FOREACH, Strip::modifiers, and STRIP_MODIFIER_FLAG_ACTIVE.
Referenced by modifier_new(), and blender::ed::vse::modifier_set_active_exec().
| const StripModifierTypeInfo * blender::seq::modifier_type_info_get | ( | int | type | ) |
Definition at line 358 of file sequencer/intern/modifiers/modifier.cc.
References modifiersTypes, and NUM_STRIP_MODIFIER_TYPES.
Referenced by do_version_curvemapping_walker(), ED_spacetype_buttons(), modifier_apply_stack(), modifier_blend_read_data(), modifier_blend_write(), modifier_copy(), modifier_free(), modifier_new(), modifier_type_panel_id(), modifier_unique_name(), and uiTemplateStripModifiers().
| void blender::seq::modifier_type_panel_id | ( | eStripModifierType | type, |
| char * | r_idname ) |
Definition at line 589 of file sequencer/intern/modifiers/modifier.cc.
References BLI_string_join, blender::seq::StripModifierTypeInfo::idname, PanelType::idname, modifier_type_info_get(), and STRIP_MODIFIER_TYPE_PANEL_PREFIX.
Referenced by modifier_panel_register(), and strip_modifier_panel_id().
|
static |
Definition at line 337 of file sequencer/intern/modifiers/modifier.cc.
References INIT_TYPE, None, and types.
Referenced by modifiers_init().
Definition at line 182 of file sequencer/intern/modifiers/modifier.cc.
References C, CTX_data_sequencer_scene(), and select_active_get().
Referenced by modifier_panel_register().
| void blender::seq::modifier_unique_name | ( | Strip * | strip, |
| StripModifierData * | smd ) |
Definition at line 432 of file sequencer/intern/modifiers/modifier.cc.
References BLI_uniquename(), BLT_I18NCONTEXT_ID_SEQUENCE, CTX_DATA_, modifier_type_info_get(), Strip::modifiers, blender::seq::StripModifierTypeInfo::name, name, StripModifierData::name, offsetof, and StripModifierData::type.
Referenced by modifier_new().
| void blender::seq::modifiers_init | ( | ) |
Definition at line 353 of file sequencer/intern/modifiers/modifier.cc.
References modifier_types_init(), and modifiersTypes.
Referenced by main(), and BlendfileLoadingBaseTest::SetUpTestCase().
| void blender::seq::mul_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 166 of file vse_effect_add_sub_mul.cc.
References do_mul_effect(), blender::seq::EffectHandle::early_out, early_out_mul_input2(), and blender::seq::EffectHandle::execute.
Referenced by effect_handle_for_blend_mode_get(), and effect_handle_get().
| void blender::seq::multi_camera_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 64 of file vse_effect_multi_camera.cc.
References do_multicam(), blender::seq::EffectHandle::early_out, early_out_multicam(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::num_inputs, and num_inputs_multicam().
Referenced by effect_handle_get().
|
static |
Definition at line 589 of file render.cc.
References BLI_assert_msg, ImBuf::byte_buffer, ImBuf::channels, ImBufByteBuffer::data, ImBufFloatBuffer::data, blender::IndexRange::first(), ImBuf::float_buffer, i, IMB_get_pixel_count(), min_ii(), blender::threading::parallel_for(), and ptr.
Referenced by input_preprocess().
Definition at line 184 of file iterator.cc.
References Strip::channel, effect_get_num_inputs(), relation_is_effect_of_strip(), STRIP_BLEND_REPLACE, and Strip::type.
Referenced by collection_filter_rendered_strips(), and blender::ed::vse::sequencer_clipboard_paste_exec().
Definition at line 1158 of file sequencer.cc.
References bSound::id, Scene::id, ID_RECALC_AUDIO, ID_RECALC_SYNC_TO_EVAL, ID::recalc, and Strip::sound.
Referenced by seq_update_sound_strips().
Definition at line 750 of file strip_transform.cc.
Referenced by image_transform_bounding_box_from_collection().
|
static |
Definition at line 24 of file vse_effect_adjustment.cc.
Referenced by adjustment_effect_get_handle().
|
static |
Definition at line 32 of file vse_effect_solid_color.cc.
Referenced by solid_color_effect_get_handle().
|
static |
Definition at line 107 of file effects.cc.
Referenced by effect_handle_for_blend_mode_get(), and effect_handle_get().
|
static |
Definition at line 34 of file vse_effect_gaussian_blur.cc.
Referenced by gaussian_blur_effect_get_handle().
|
static |
Definition at line 144 of file vse_effect_glow.cc.
Referenced by glow_effect_get_handle().
|
static |
Definition at line 22 of file vse_effect_multi_camera.cc.
Referenced by multi_camera_effect_get_handle().
|
static |
Definition at line 47 of file vse_effect_speed.cc.
Referenced by speed_effect_get_handle().
|
static |
Definition at line 292 of file vse_effect_text.cc.
Referenced by text_effect_get_handle().
|
static |
Definition at line 168 of file vse_effect_wipe.cc.
Referenced by wipe_effect_get_handle().
Definition at line 42 of file animation.cc.
References AnimData::action, Scene::adt, animation_keyframes_exist(), DEG_id_tag_update(), blender::animrig::fcurves_in_action_slot_filtered(), i, bAction::id, ID_RECALC_ANIMATION, AnimData::slot_handle, BezTriple::vec, and FPoint::vec.
Referenced by blender::ed::transform::flushTransSeq(), blender::ed::vse::sequencer_reassign_inputs_exec(), blender::ed::vse::sequencer_snap_exec(), strip_time_slip_strip_ex(), transform_seqbase_shuffle_time(), and transform_translate_strip().
|
static |
Definition at line 264 of file sequencer/intern/utils.cc.
References StripAnim::anim, Strip::anims, BKE_scene_multiview_view_id_suffix_get(), BKE_scene_multiview_view_prefix_get(), BLI_addtail(), Scene::ed, FILE_MAX, i, index_dir_set(), MEM_mallocN(), MOV_set_multiview_suffix(), open_anim_filepath(), Scene::r, R_IMF_VIEWS_INDIVIDUAL, relations_strip_free_anim(), seq_num_files(), SNPRINTF, and Strip::views_format.
Referenced by strip_open_anim_file().
|
static |
Definition at line 207 of file sequencer/intern/utils.cc.
References StripAnim::anim, StripData::colorspace_settings, Strip::data, Strip::flag, IB_animdeinterlace, IB_byte_data, ColorManagedColorspaceSettings::name, openanim(), openanim_noload(), SEQ_FILTERY, and Strip::streamindex.
Referenced by open_anim_file_multiview(), and strip_open_anim_file().
Definition at line 131 of file prefetch.cc.
References LISTBASE_FOREACH, Strip::name, original_strip_get(), Strip::seqbase, STREQ, and STRIP_TYPE_META.
Referenced by original_strip_get(), original_strip_get(), prefetch_get_original_scene_and_strip(), and seq_prefetch_update_active_seqbase().
Definition at line 149 of file prefetch.cc.
References Scene::ed, and original_strip_get().
|
static |
Definition at line 368 of file strip_transform.cc.
References STRIP_OVERLAP_IS_FULL, STRIP_OVERLAP_IS_INSIDE, STRIP_OVERLAP_LEFT_SIDE, STRIP_OVERLAP_NONE, STRIP_OVERLAP_RIGHT_SIDE, time_left_handle_frame_get(), and time_right_handle_frame_get().
Referenced by strip_transform_handle_overwrite().
|
static |
Definition at line 62 of file MOD_tonemap.cc.
References count, i, IMB_colormanagement_colorspace_to_scene_linear(), and straight_uchar_to_premul_float().
Referenced by blender::seq::TonemapApplyOp::apply().
|
static |
Definition at line 53 of file MOD_tonemap.cc.
References count, and IMB_colormanagement_colorspace_to_scene_linear().
| Scene * blender::seq::prefetch_get_original_scene | ( | const RenderData * | context | ) |
Definition at line 161 of file prefetch.cc.
References get_original_context().
Referenced by render_give_ibuf(), seq_render_preprocess_ibuf(), and seq_render_scene_strip_ex().
| Scene * blender::seq::prefetch_get_original_scene_and_strip | ( | const RenderData * | context, |
| const Strip *& | strip ) |
Definition at line 173 of file prefetch.cc.
References get_original_context(), and original_strip_get().
Referenced by source_image_cache_get(), and source_image_cache_put().
Definition at line 644 of file prefetch.cc.
References bScreen::animtimer, C, SpaceSeq::cache_overlay, CTX_wm_screen(), CTX_wm_space_seq(), SequencerCacheOverlay::flag, bScreen::scrubbing, SEQ_CACHE_SHOW, seq_prefetch_job_is_running(), and seq_prefetch_job_is_waiting().
Referenced by blender::ed::vse::seq_prefetch_wm_notify().
| void blender::seq::prefetch_stop | ( | Scene * | scene | ) |
Use also to update scene and context changes This function should almost always be called by cache invalidation, not directly.
Definition at line 310 of file prefetch.cc.
References BLI_condition_notify_one(), blender::seq::PrefetchJob::prefetch_suspend_cond, blender::seq::PrefetchJob::running, seq_prefetch_job_get(), and blender::seq::PrefetchJob::stop.
Referenced by prefetch_stop_all(), relations_free_imbuf(), relations_invalidate_cache(), seq_prefetch_free(), blender::ed::vse::sequencer_delete_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_separate_images_exec(), blender::ed::vse::sequencer_split_exec(), and update_sequencer().
| void blender::seq::prefetch_stop_all | ( | ) |
Definition at line 300 of file prefetch.cc.
References G, and prefetch_stop().
Referenced by WM_jobs_kill_all(), and wm_set_working_color_space_exec().
| ImBuf * blender::seq::prepare_effect_imbufs | ( | const RenderData * | context, |
| ImBuf * | ibuf1, | ||
| ImBuf * | ibuf2, | ||
| bool | uninitialized_pixels ) |
Definition at line 28 of file effects.cc.
References ImBuf::byte_buffer, ImBufByteBuffer::data, ImBufFloatBuffer::data, ImBuf::float_buffer, IB_byte_data, IB_float_data, IB_uninitialized_pixels, IMB_allocImBuf(), IMB_byte_from_float(), IMB_colormanagement_assign_float_colorspace(), IMB_metadata_copy(), ColorManagedColorspaceSettings::name, out, seq_imbuf_to_sequencer_space(), Scene::sequencer_colorspace_settings, x, and y.
Referenced by do_add_effect(), do_alphaover_effect(), do_alphaunder_effect(), do_blend_mode_effect(), do_colormix_effect(), do_cross_effect(), do_gammacross_effect(), do_gaussian_blur_effect(), do_glow_effect(), do_mul_effect(), do_solid_color(), do_sub_effect(), do_text_effect(), and do_wipe_effect().
| void blender::seq::preview_cache_destroy | ( | Scene * | scene | ) |
Definition at line 191 of file preview_cache.cc.
References Scene::ed, EditingRuntime::preview_cache, query_preview_cache(), and Editing::runtime.
Referenced by editing_free().
| gpu::Texture * blender::seq::preview_cache_get_gpu_display_texture | ( | Scene * | scene, |
| int | timeline_frame, | ||
| int | display_channel ) |
Definition at line 91 of file preview_cache.cc.
References blender::seq::PreviewCacheItem::display_channel, blender::seq::PreviewCacheItem::display_texture, blender::seq::PreviewCache::items, blender::seq::PreviewCacheItem::last_used, query_preview_cache(), blender::seq::PreviewCache::tick_count, and blender::seq::PreviewCacheItem::timeline_frame.
Referenced by blender::ed::vse::sequencer_draw_scopes(), and blender::ed::vse::update_gpu_scopes().
| gpu::Texture * blender::seq::preview_cache_get_gpu_texture | ( | Scene * | scene, |
| int | timeline_frame, | ||
| int | display_channel ) |
Definition at line 73 of file preview_cache.cc.
References blender::seq::PreviewCacheItem::display_channel, blender::seq::PreviewCache::items, blender::seq::PreviewCacheItem::last_used, query_preview_cache(), blender::seq::PreviewCacheItem::texture, blender::seq::PreviewCache::tick_count, and blender::seq::PreviewCacheItem::timeline_frame.
Referenced by blender::ed::vse::sequencer_draw_scopes(), and blender::ed::vse::sequencer_preview_region_draw().
| void blender::seq::preview_cache_invalidate | ( | Scene * | scene | ) |
Definition at line 183 of file preview_cache.cc.
References blender::seq::PreviewCache::clear(), and query_preview_cache().
Referenced by cache_cleanup(), relations_invalidate_cache(), and blender::ed::vse::sequencer_scopes_tag_refresh().
| void blender::seq::preview_cache_set_gpu_display_texture | ( | Scene * | scene, |
| int | timeline_frame, | ||
| int | display_channel, | ||
| gpu::Texture * | texture ) |
Definition at line 162 of file preview_cache.cc.
References blender::seq::PreviewCacheItem::display_channel, blender::seq::PreviewCacheItem::display_texture, ensure_preview_cache(), find_slot(), GPU_TEXTURE_FREE_SAFE, blender::seq::PreviewCacheItem::last_used, texture(), blender::seq::PreviewCache::tick_count, and blender::seq::PreviewCacheItem::timeline_frame.
Referenced by blender::ed::vse::update_gpu_scopes().
| void blender::seq::preview_cache_set_gpu_texture | ( | Scene * | scene, |
| int | timeline_frame, | ||
| int | display_channel, | ||
| gpu::Texture * | texture ) |
Definition at line 139 of file preview_cache.cc.
References blender::seq::PreviewCacheItem::display_channel, blender::seq::PreviewCacheItem::display_texture, ensure_preview_cache(), find_slot(), GPU_TEXTURE_FREE_SAFE, blender::seq::PreviewCacheItem::last_used, blender::seq::PreviewCacheItem::texture, texture(), blender::seq::PreviewCache::tick_count, and blender::seq::PreviewCacheItem::timeline_frame.
Referenced by blender::ed::vse::sequencer_preview_region_draw().
|
static |
Definition at line 235 of file sequencer/intern/utils.cc.
References BKE_main_blendfile_path_from_global(), BLI_path_abs(), BLI_strncpy(), Strip::data, StripProxy::dirpath, FILE_MAX, StripData::proxy, SEQ_EDIT_PROXY_DIR_STORAGE, and use_proxy().
Referenced by index_dir_set().
|
static |
Definition at line 56 of file proxy_job.cc.
References editing_get(), LISTBASE_FOREACH, NC_SCENE, ND_SEQUENCER, proxy_rebuild_finish(), blender::seq::ProxyJob::queue, relations_free_imbuf(), blender::seq::ProxyJob::scene, blender::seq::ProxyJob::stop, and WM_main_add_notifier().
Referenced by ED_seq_proxy_job_get().
|
static |
Definition at line 29 of file proxy_job.cc.
References BLI_freelistN(), MEM_freeN(), and blender::seq::ProxyJob::queue.
Referenced by ED_seq_proxy_job_get().
| void blender::seq::proxy_rebuild | ( | IndexBuildContext * | context, |
| wmJobWorkerStatus * | worker_status ) |
Definition at line 516 of file proxy.cc.
References BKE_render_resolution(), Strip::data, wmJobWorkerStatus::do_update, Strip::flag, float, G, IMB_PROXY_100, IMB_PROXY_25, IMB_PROXY_50, IMB_PROXY_75, intra_frame_cache_set_cur_frame(), blender::seq::RenderData::is_proxy_render, MOV_proxy_builder_process(), wmJobWorkerStatus::progress, StripData::proxy, Scene::r, blender::seq::RenderData::rectx, blender::seq::RenderData::recty, render_new_render_data(), blender::seq::RenderData::scene, seq_proxy_build_frame(), SEQ_RENDER_SIZE_PROXY_100, SEQ_STORAGE_PROXY_CUSTOM_FILE, SEQ_USE_PROXY, blender::seq::RenderData::skip_cache, state, wmJobWorkerStatus::stop, StripProxy::storage, STRIP_TYPE_MOVIE, time_left_handle_frame_get(), time_right_handle_frame_get(), Strip::type, and blender::seq::RenderData::view_id.
Referenced by proxy_startjob(), and blender::ed::vse::sequencer_rebuild_proxy_exec().
| bool blender::seq::proxy_rebuild_context | ( | Main * | bmain, |
| Depsgraph * | depsgraph, | ||
| Scene * | scene, | ||
| Strip * | strip, | ||
| blender::Set< std::string > * | processed_paths, | ||
| ListBase * | queue, | ||
| bool | build_only_on_bad_performance ) |
Definition at line 431 of file proxy.cc.
References StripAnim::anim, Strip::anims, BLI_addtail(), BLI_findlink(), BLI_genericNodeN(), StripProxy::build_flags, StripProxy::build_size_flags, StripProxy::build_tc_flags, Strip::data, depsgraph, Strip::flag, i, MEM_callocN(), MEM_freeN(), MOV_proxy_builder_start(), StripData::proxy, StripProxy::quality, relations_strip_free_anim(), Strip::runtime, Selected, seq_proxy_context_count(), seq_proxy_multiview_context_invalid(), seq_proxy_need_rebuild(), SEQ_PROXY_SKIP_EXISTING, SEQ_USE_PROXY, StripRuntime::session_uid, strip_duplicate_recursive(), strip_open_anim_file(), STRIP_TYPE_MOVIE, and Strip::type.
Referenced by blender::ed::vse::seq_build_proxy(), blender::ed::vse::seq_proxy_build_job(), and blender::ed::vse::sequencer_rebuild_proxy_exec().
| void blender::seq::proxy_rebuild_finish | ( | IndexBuildContext * | context, |
| bool | stop ) |
Definition at line 598 of file proxy.cc.
References LISTBASE_FOREACH, MEM_freeN(), MOV_close_proxies(), MOV_proxy_builder_finish(), and seq_free_strip_recurse().
Referenced by proxy_endjob(), and blender::ed::vse::sequencer_rebuild_proxy_exec().
| void blender::seq::proxy_set | ( | Strip * | strip, |
| bool | value ) |
Definition at line 613 of file proxy.cc.
References Strip::data, Strip::flag, StripData::proxy, seq_strip_proxy_alloc(), and SEQ_USE_PROXY.
Referenced by blender::ed::vse::seq_build_proxy(), blender::ed::vse::sequencer_enable_proxies_exec(), and strip_read_data_cb().
|
static |
Definition at line 39 of file proxy_job.cc.
References LISTBASE_FOREACH, proxy_rebuild(), blender::seq::ProxyJob::queue, blender::seq::ProxyJob::stop, and wmJobWorkerStatus::stop.
Referenced by ED_seq_proxy_job_get().
| blender::VectorSet< Strip * > blender::seq::query_all_strips | ( | ListBase * | seqbase | ) |
Query all strips in seqbase. This does not include strips nested in meta strips.
| seqbase | ListBase in which strips are queried |
Definition at line 143 of file iterator.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), and LISTBASE_FOREACH.
Referenced by blender::ed::vse::all_strips_from_context(), blender::ed::vse::deselect_all_strips(), seq_get_snap_targets(), seq_time_gap_info_get(), and blender::ed::vse::sequencer_clipboard_paste_exec().
| blender::VectorSet< Strip * > blender::seq::query_all_strips_recursive | ( | const ListBase * | seqbase | ) |
Query all strips in seqbase and nested meta strips.
| seqbase | ListBase in which strips are queried |
Definition at line 111 of file iterator.cc.
References query_all_strips_recursive().
|
static |
Definition at line 101 of file iterator.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), LISTBASE_FOREACH, query_all_strips_recursive(), and STRIP_TYPE_META.
Referenced by query_all_strips_recursive(), and query_all_strips_recursive().
| blender::VectorSet< Strip * > blender::seq::query_by_reference | ( | Strip * | strip_reference, |
| const Scene * | scene, | ||
| ListBase * | seqbase, | ||
| void | strip_query_funcconst Scene *scene, Strip *strip_reference, ListBase *seqbase, blender::VectorSet< Strip * > &strips ) |
Query strips from seqbase. strip_reference is used by query function as filter condition.
| strip_reference | reference strip for query function |
| seqbase | ListBase in which strips are queried |
| strip_query_func | query function callback |
Definition at line 69 of file iterator.cc.
Referenced by iterator_set_expand(), and strip_transform_handle_overwrite_trim().
|
static |
Definition at line 71 of file final_image_cache.cc.
References Scene::ed, EditingRuntime::final_image_cache, and Editing::runtime.
Referenced by final_image_cache_calc_memory_size(), final_image_cache_clear(), final_image_cache_destroy(), final_image_cache_evict(), final_image_cache_get(), final_image_cache_get_image_count(), final_image_cache_invalidate_frame_range(), and final_image_cache_iterate().
|
static |
Definition at line 43 of file intra_frame_cache.cc.
References Scene::ed, EditingRuntime::intra_frame_cache, and Editing::runtime.
Referenced by intra_frame_cache_destroy(), intra_frame_cache_get_composite(), intra_frame_cache_get_preprocessed(), intra_frame_cache_invalidate(), intra_frame_cache_invalidate(), and intra_frame_cache_set_cur_frame().
|
static |
Definition at line 335 of file strip_transform.cc.
References blender::Span< T >::contains(), query_unselected_strips(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_if(), and transform_test_overlap().
Referenced by strip_transform_handle_overwrite().
|
static |
Definition at line 53 of file preview_cache.cc.
References Scene::ed, EditingRuntime::preview_cache, and Editing::runtime.
Referenced by preview_cache_destroy(), preview_cache_get_gpu_display_texture(), preview_cache_get_gpu_texture(), and preview_cache_invalidate().
| blender::VectorSet< Strip * > blender::seq::query_rendered_strips | ( | const Scene * | scene, |
| ListBase * | channels, | ||
| ListBase * | seqbase, | ||
| int | timeline_frame, | ||
| int | displayed_channel ) |
Query strips that are rendered at timeline_frame when displayed channel is viewed
| seqbase | ListBase in which strips are queried |
| timeline_frame | viewed frame |
| displayed_channel | viewed channel. when set to 0, no channel filter is applied |
Definition at line 228 of file iterator.cc.
References collection_filter_channel_up_to_incl(), collection_filter_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(), 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_snap_sources_preview(), blender::ed::transform::query_snap_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(), seq_shown_strips_get(), blender::ed::vse::sequencer_drop_copy(), and blender::ed::vse::strip_select_from_preview().
|
static |
Definition at line 273 of file strip_transform.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Span< T >::contains(), blender::Span< T >::is_empty(), LISTBASE_FOREACH, MAXFRAME, min_ii(), SELECT, and time_left_handle_frame_get().
Referenced by strip_transform_handle_expand_to_fit().
|
static |
Definition at line 414 of file prefetch.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple(), lookup_strips_by_scene_map_get(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by seq_prefetch_must_skip_frame(), and seq_prefetch_scene_strip_is_rendered().
| blender::VectorSet< Strip * > blender::seq::query_selected_strips | ( | ListBase * | seqbase | ) |
Query all selected strips in seqbase.
| seqbase | ListBase in which strips are queried |
Definition at line 152 of file iterator.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), LISTBASE_FOREACH, and SELECT.
Referenced by blender::ed::transform::create_trans_seq_clamp_data(), blender::ed::transform::query_snap_sources_timeline(), blender::ed::transform::query_time_dependent_strips_strips(), blender::ed::vse::selected_strips_from_context(), blender::ed::vse::sequencer_clipboard_copy_exec(), blender::ed::vse::sequencer_connect_exec(), blender::ed::vse::sequencer_disconnect_exec(), blender::ed::vse::sequencer_meta_make_exec(), blender::ed::vse::sequencer_retiming_reset_exec(), blender::ed::vse::sequencer_select_exec(), blender::ed::vse::slip_data_init(), and blender::ed::vse::strip_effect_get_new_inputs().
|
static |
Definition at line 85 of file source_image_cache.cc.
References Scene::ed, Editing::runtime, and EditingRuntime::source_image_cache.
Referenced by 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(), source_image_cache_invalidate_strip(), and source_image_cache_iterate().
| void blender::seq::query_strip_connected_and_effect_chain | ( | const Scene * | scene, |
| Strip * | reference_strip, | ||
| ListBase * | seqbase, | ||
| blender::VectorSet< Strip * > & | r_strips ) |
Query all connected strips, as well as all effect strips directly or indirectly connected to those connected strips. These steps repeat until there are no new strips to process.
| strip_reference | reference strip |
| seqbase | ListBase in which strips are queried |
| strips | set of strips to be filled |
Definition at line 283 of file iterator.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), connected_strips_get(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Vector< T, InlineBufferCapacity, Allocator >::pop_last(), and query_strip_effect_chain().
Referenced by edit_strip_split(), and blender::ed::vse::sequencer_meta_make_exec().
| void blender::seq::query_strip_effect_chain | ( | const Scene * | scene, |
| Strip * | reference_strip, | ||
| ListBase * | seqbase, | ||
| blender::VectorSet< Strip * > & | r_strips ) |
Query all effect strips that are directly or indirectly connected to strip_reference. This includes all effects of strip_reference, strips used by another inputs and their effects, so that whole chain is fully independent of other strips.
| strip_reference | reference strip |
| seqbase | ListBase in which strips are queried |
| strips | set of strips to be filled |
Definition at line 254 of file iterator.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), Strip::input1, Strip::input2, LISTBASE_FOREACH, and query_strip_effect_chain().
Referenced by edit_move_strip_to_meta(), edit_strip_split(), blender::ed::transform::flushTransSeq(), blender::ed::transform::freeSeqData(), query_strip_connected_and_effect_chain(), query_strip_effect_chain(), blender::ed::transform::query_time_dependent_strips_strips(), blender::ed::transform::recalcData_sequencer_retiming(), retiming_key_overlap(), blender::ed::vse::select_grouped_effect_link(), blender::ed::vse::sequencer_clipboard_copy_exec(), and strip_transform_handle_overwrite_trim().
|
static |
Definition at line 163 of file iterator.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), LISTBASE_FOREACH, and time_strip_intersects_frame().
Referenced by query_rendered_strips().
| blender::VectorSet< Strip * > blender::seq::query_strips_recursive_at_frame | ( | const Scene * | scene, |
| const ListBase * | seqbase, | ||
| int | timeline_frame ) |
Query strips at timeline_frame in seqbase and nested meta strips.
| seqbase | ListBase in which strips are queried |
| timeline_frame | viewed frame |
Definition at line 134 of file iterator.cc.
References query_strips_recursive_at_frame().
|
static |
Definition at line 118 of file iterator.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), LISTBASE_FOREACH, query_strips_recursive_at_frame(), STRIP_TYPE_META, and time_strip_intersects_frame().
Referenced by blender::ed::vse::get_scene_strip_for_time_sync(), query_strips_recursive_at_frame(), and query_strips_recursive_at_frame().
|
static |
Definition at line 438 of file thumbnail_cache.cc.
References blender::math::abs(), BLI_assert_msg, C, Strip::channel, Strip::data, blender::seq::ThumbGenerationJob::ensure_job(), blender::seq::ThumbnailCache::logical_time_, blender::seq::ThumbnailCache::map_, blender::math::max(), StripElem::orig_height, StripElem::orig_width, query_thumbnail(), blender::seq::ThumbnailCache::requests_, Strip::streamindex, StripData::stripdata, and Strip::type.
Referenced by query_thumbnail(), and thumbnail_cache_get().
|
static |
Definition at line 154 of file thumbnail_cache.cc.
References Scene::ed, Editing::runtime, and EditingRuntime::thumbnail_cache.
Referenced by thumbnail_cache_clear(), thumbnail_cache_destroy(), thumbnail_cache_discard_requests_outside(), thumbnail_cache_invalidate_strip(), and thumbnail_cache_maintain_capacity().
| blender::VectorSet< Strip * > blender::seq::query_unselected_strips | ( | ListBase * | seqbase | ) |
Query all unselected strips in seqbase.
| seqbase | ListBase in which strips are queried |
Definition at line 242 of file iterator.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), LISTBASE_FOREACH, and SELECT.
Referenced by query_overwrite_targets().
Check if one strip is input to the other.
Definition at line 44 of file strip_relations.cc.
References ELEM, input, Strip::input1, and Strip::input2.
Referenced by must_render_strip(), blender::ed::transform::query_strip_effects_fn(), blender::ed::vse::select_grouped_effect(), sequencer_flag_users_for_removal(), and shuffle_strip_time_offset_get().
| bool blender::seq::relations_check_scene_recursion | ( | Scene * | scene, |
| ReportList * | reports ) |
Definition at line 320 of file strip_relations.cc.
References BKE_reportf(), editing_get(), LISTBASE_FOREACH, Strip::name, RPT_WARNING, sequencer_check_scene_recursion(), sequencer_strip_generates_image(), STRIP_TYPE_SCENE, and time_left_handle_frame_get().
Referenced by screen_render_invoke().
| 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 412 of file strip_relations.cc.
References BLI_gset_free(), BLI_gset_new(), BLI_session_uid_ghash_compare(), BLI_session_uid_ghash_hash(), Scene::ed, foreach_strip(), get_uids_cb(), and Editing::seqbase.
| void blender::seq::relations_free_all_anim_ibufs | ( | Scene * | scene, |
| int | timeline_frame ) |
Release FFmpeg handles of strips that are not currently displayed to minimize memory usage.
Definition at line 285 of file strip_relations.cc.
References editing_get(), MAXFRAME, and sequencer_all_free_anim_ibufs().
Referenced by render_give_ibuf().
Definition at line 221 of file strip_relations.cc.
References cache_cleanup(), Scene::ed, LISTBASE_FOREACH, prefetch_stop(), Scene::r, relations_free_imbuf(), relations_strip_free_anim(), strip_effect_speed_rebuild_map(), STRIP_TYPE_META, STRIP_TYPE_MOVIE, STRIP_TYPE_SCENE, STRIP_TYPE_SPEED, and time_strip_intersects_frame().
Referenced by do_render_sequencer(), proxy_endjob(), relations_free_imbuf(), blender::ed::vse::sequencer_rebuild_proxy_exec(), and blender::ed::vse::sequencer_refresh_all_exec().
Invalidates various caches related to a given strip:
Definition at line 156 of file strip_relations.cc.
References DEG_id_tag_update(), Strip::effectdata, Scene::id, ID_RECALC_SEQUENCER_STRIPS, intra_frame_cache_invalidate(), invalidate_final_cache_strip_range(), invalidate_raw_cache_of_parent_meta(), media_presence_invalidate_strip(), prefetch_stop(), preview_cache_invalidate(), strip_effect_speed_rebuild_map(), STRIP_TYPE_SPEED, and Strip::type.
Referenced by edit_move_strip_to_seqbase(), blender::ed::transform::image_origin_set(), blender::ed::transform::image_transform_set(), invalidate_strip_caches(), blender::ed::vse::modifier_move_to_index_exec(), blender::ed::transform::recalcData_sequencer(), blender::ed::transform::recalcData_sequencer_retiming(), relations_invalidate_cache_raw(), relations_invalidate_compositor_modifiers(), blender::ed::outliner::sequence_fn(), 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_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::ed::vse::slip_strips_delta(), strip_add_generic_update(), blender::ed::vse::strip_modifier_add_exec(), blender::ed::vse::strip_modifier_copy_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_offset_after_frame().
Does everything relations_invalidate_cache does, plus invalidates cached raw source images of the strip.
Definition at line 150 of file strip_relations.cc.
References relations_invalidate_cache(), and source_image_cache_invalidate_strip().
Referenced by add_reload_new_file(), blender::ed::vse::freeze_frame_add_from_retiming_selection(), blender::ed::vse::freeze_frame_add_from_strip_selection(), blender::ed::vse::freeze_frame_add_new_for_strip(), invalidate_movieclip_strips(), invalidate_raw_cache_of_parent_meta(), relations_invalidate_scene_strips(), scene_new_sequencer_exec(), blender::ed::vse::segment_speed_set_exec(), seq_strip_free_ex(), blender::ed::vse::sequencer_change_path_exec(), blender::ed::vse::sequencer_change_scene_exec(), blender::ed::vse::sequencer_retiming_key_delete_exec(), blender::ed::vse::sequencer_scene_frame_range_update_exec(), blender::ed::vse::sequencer_swap_data_exec(), blender::ed::vse::strip_speed_set_exec(), blender::ed::vse::text_editing_update(), and blender::ed::vse::transition_add_new_for_strip().
| void blender::seq::relations_invalidate_compositor_modifiers | ( | const Main * | bmain, |
| const bNodeTree * | node_tree ) |
Invalidates the cache for all strips that uses the given node tree as a compositor modifier.
Definition at line 185 of file strip_relations.cc.
References editing_get(), LISTBASE_FOREACH, lookup_strips_by_compositor_node_group(), relations_invalidate_cache(), and Main::scenes.
Referenced by update_sequencer().
Definition at line 210 of file strip_relations.cc.
References ListBase::first, invalidate_movieclip_strips(), and Main::scenes.
| void blender::seq::relations_invalidate_scene_strips | ( | const Main * | bmain, |
| const Scene * | scene_target ) |
Definition at line 174 of file strip_relations.cc.
References editing_get(), LISTBASE_FOREACH, lookup_strips_by_scene(), relations_invalidate_cache_raw(), and Main::scenes.
Referenced by update_sequencer().
Check if "strip_main" (indirectly) uses strip "strip".
Definition at line 349 of file strip_relations.cc.
References Strip::input1, Strip::input2, LISTBASE_FOREACH, Strip::modifiers, and relations_render_loop_check().
Referenced by relations_render_loop_check(), seq_prefetch_scene_strip_is_rendered(), and blender::ed::vse::sequencer_reassign_inputs_exec().
| void blender::seq::relations_session_uid_generate | ( | Strip * | strip | ) |
Generate new UID for the given strip.
Definition at line 389 of file strip_relations.cc.
References BLI_session_uid_generate(), Strip::runtime, and StripRuntime::session_uid.
Referenced by strip_alloc(), strip_duplicate(), and strip_read_data_cb().
| void blender::seq::relations_strip_free_anim | ( | Strip * | strip | ) |
Function to free imbuf and anim data on changes.
Definition at line 374 of file strip_relations.cc.
References StripAnim::anim, Strip::anims, BLI_freelinkN(), BLI_listbase_clear(), ListBase::last, and MOV_close().
Referenced by add_reload_new_file(), open_anim_file_multiview(), proxy_rebuild_context(), relations_free_imbuf(), seq_strip_free_ex(), sequencer_all_free_anim_ibufs(), blender::ed::vse::sequencer_change_path_exec(), and strip_open_anim_file().
| ImBuf * blender::seq::render_give_ibuf | ( | const RenderData * | context, |
| float | timeline_frame, | ||
| int | chanshown ) |
Definition at line 2028 of file render.cc.
References BLI_findlink(), BLI_listbase_count(), BLI_listbase_is_empty(), Editing::cache_flag, Strip::channels, count, Scene::ed, editing_get(), evict_caches_if_full(), final_image_cache_get(), final_image_cache_put(), intra_frame_cache_set_cur_frame(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), lock, max_ii(), MetaStack::old_strip, out, prefetch_get_original_scene(), relations_free_all_anim_ibufs(), SEQ_CACHE_STORE_FINAL_OUT, seq_prefetch_start(), seq_render_mutex, seq_render_strip_stack(), seq_shown_strips_get(), Strip::seqbase, and state.
Referenced by screen_opengl_render_apply(), seq_prefetch_frames(), and blender::ed::vse::sequencer_ibuf_get().
| ImBuf * blender::seq::render_give_ibuf_direct | ( | const RenderData * | context, |
| float | timeline_frame, | ||
| Strip * | strip ) |
Definition at line 2100 of file render.cc.
References intra_frame_cache_set_cur_frame(), seq_render_strip(), and state.
Referenced by blender::ed::vse::sequencer_ibuf_get().
| StripElem * blender::seq::render_give_stripelem | ( | const Scene * | scene, |
| const Strip * | strip, | ||
| int | timeline_frame ) |
Definition at line 238 of file render.cc.
References Strip::anim_startofs, Strip::data, give_frame_index(), round_fl_to_int(), STRIP_TYPE_IMAGE, StripData::stripdata, and Strip::type.
Referenced by add_image_load_file(), get_path_from_strip(), seq_proxy_get_filepath(), seq_render_image_strip(), blender::ed::vse::sequencer_rendersize_exec(), blender::ed::vse::sequencer_separate_images_exec(), and blender::ed::vse::sequencer_strip_transform_fit_exec().
Definition at line 167 of file render.cc.
References ImBuf::channels, COLOR_ROLE_SCENE_LINEAR, ImBufFloatBuffer::data, ImBuf::float_buffer, IMB_colormanagement_assign_float_colorspace(), IMB_colormanagement_role_colorspace_name_get(), IMB_colormanagement_transform_float(), ColorManagedColorspaceSettings::name, Scene::sequencer_colorspace_settings, ImBuf::x, and ImBuf::y.
Referenced by modifier_apply_stack(), and seq_process_render_image().
Check if strip is muted for rendering. This function also checks SeqTimelineChannel flag.
Definition at line 2110 of file render.cc.
References Strip::channel, channel_get_by_index(), channel_is_muted(), Strip::flag, and SEQ_MUTE.
Referenced by collection_filter_rendered_strips(), blender::ed::vse::get_scene_strip_for_time_sync(), blender::ed::transform::query_snap_targets_timeline(), RE_seq_render_active(), blender::ed::vse::strip_draw_context_get(), blender::ed::vse::strip_get_text_strip_cb(), strip_topmost_get(), strip_update_muting_recursive(), and time_find_next_prev_edit().
| void blender::seq::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 ) |
Definition at line 210 of file render.cc.
References blender::seq::RenderData::bmain, blender::seq::RenderData::depsgraph, depsgraph, blender::seq::RenderData::gpu_offscreen, blender::seq::RenderData::gpu_viewport, blender::seq::RenderData::ignore_missing_media, blender::seq::RenderData::is_prefetch_render, blender::seq::RenderData::is_proxy_render, blender::seq::RenderData::motion_blur_samples, blender::seq::RenderData::motion_blur_shutter, blender::seq::RenderData::preview_render_size, blender::seq::RenderData::rectx, blender::seq::RenderData::recty, blender::seq::RenderData::render, blender::seq::RenderData::scene, SEQ_TASK_MAIN_RENDER, blender::seq::RenderData::skip_cache, blender::seq::RenderData::task_id, and blender::seq::RenderData::view_id.
Referenced by proxy_rebuild(), screen_opengl_render_apply(), seq_prefetch_update_context(), and blender::ed::vse::sequencer_ibuf_get().
Definition at line 189 of file render.cc.
References COLOR_ROLE_SCENE_LINEAR, IMB_colormanagement_role_colorspace_name_get(), IMB_colormanagement_transform_v4(), ColorManagedColorspaceSettings::name, Scene::sequencer_colorspace_settings, and srgb_to_linearrgb_v4().
Referenced by sequencer_sample_apply().
| IMB_Proxy_Size blender::seq::rendersize_to_proxysize | ( | eSpaceSeq_Proxy_RenderSize | render_size | ) |
Definition at line 72 of file proxy.cc.
References IMB_PROXY_100, IMB_PROXY_25, IMB_PROXY_50, IMB_PROXY_75, IMB_PROXY_NONE, SEQ_RENDER_SIZE_PROXY_100, SEQ_RENDER_SIZE_PROXY_25, SEQ_RENDER_SIZE_PROXY_50, and SEQ_RENDER_SIZE_PROXY_75.
Referenced by blender::ed::vse::seq_get_proxy_size_flags(), seq_proxy_fetch(), seq_render_movie_strip_view(), seq_render_movieclip_strip(), seq_render_strip(), strip_convert_transform_crop(), and strip_convert_transform_crop_2().
| float blender::seq::rendersize_to_scale_factor | ( | eSpaceSeq_Proxy_RenderSize | render_size | ) |
Definition at line 88 of file proxy.cc.
References SEQ_RENDER_SIZE_PROXY_25, SEQ_RENDER_SIZE_PROXY_50, and SEQ_RENDER_SIZE_PROXY_75.
Referenced by get_render_scale_factor(), seq_proxy_get_filepath(), strip_convert_transform_crop(), and strip_convert_transform_crop_2().
| SeqRetimingKey * blender::seq::retiming_add_freeze_frame | ( | const Scene * | scene, |
| Strip * | strip, | ||
| SeqRetimingKey * | key, | ||
| const int | offset ) |
Definition at line 586 of file strip_retiming.cc.
References freeze_key_pair_create(), SeqRetimingKey::retiming_factor, retiming_key_is_transition_type(), SEQ_FREEZE_FRAME_IN, and SEQ_FREEZE_FRAME_OUT.
Referenced by blender::ed::vse::freeze_frame_add_new_for_strip().
| SeqRetimingKey * blender::seq::retiming_add_key | ( | const Scene * | scene, |
| Strip * | strip, | ||
| int | timeline_frame ) |
Add new retiming key. This function always reallocates memory, so when function is used all stored pointers will become invalid.
Definition at line 370 of file strip_retiming.cc.
References content_frame_index_get(), and strip_retiming_add_key().
Referenced by blender::ed::vse::ensure_left_and_right_keys(), blender::ed::vse::freeze_frame_add_new_for_strip(), freeze_key_pair_create(), blender::ed::vse::realize_fake_keys(), blender::ed::vse::realize_fake_keys_in_rect(), blender::ed::vse::retiming_key_add_new_for_strip(), and blender::ed::vse::transition_add_new_for_strip().
| SeqRetimingKey * blender::seq::retiming_add_transition | ( | const Scene * | scene, |
| Strip * | strip, | ||
| SeqRetimingKey * | key, | ||
| float | offset ) |
Definition at line 610 of file strip_retiming.cc.
References BLI_assert, blender::math::clamp(), SeqRetimingKey::flag, blender::Bounds< T >::max, blender::Bounds< T >::min, SeqRetimingKey::original_retiming_factor, SeqRetimingKey::original_strip_frame_index, SeqRetimingKey::retiming_factor, retiming_is_last_key(), retiming_key_index_get(), Strip::retiming_keys, SEQ_FREEZE_FRAME_IN, SEQ_SPEED_TRANSITION_IN, SEQ_SPEED_TRANSITION_OUT, SeqRetimingKey::strip_frame_index, strip_retiming_add_key(), strip_retiming_clamp_bounds_get(), and strip_retiming_remove_key_ex().
Referenced by strip_retiming_fix_transition(), strip_retiming_transition_offset(), and blender::ed::vse::transition_add_new_for_strip().
| void blender::seq::retiming_data_clear | ( | Strip * | strip | ) |
Definition at line 123 of file strip_retiming.cc.
References Strip::flag, MEM_freeN(), Strip::retiming_keys, Strip::retiming_keys_num, and SEQ_SHOW_RETIMING.
Referenced by retiming_reset(), and version_seq_fix_broken_sound_strips().
| void blender::seq::retiming_data_ensure | ( | Strip * | strip | ) |
Definition at line 106 of file strip_retiming.cc.
References Strip::len, MEM_calloc_arrayN(), SeqRetimingKey::retiming_factor, retiming_is_active(), retiming_is_allowed(), Strip::retiming_keys, Strip::retiming_keys_num, and SeqRetimingKey::strip_frame_index.
Referenced by blender::ed::vse::ensure_left_and_right_keys(), blender::ed::vse::realize_fake_keys(), and versioning_convert_strip_speed_factor().
| bool blender::seq::retiming_data_is_editable | ( | const Strip * | strip | ) |
Definition at line 165 of file strip_retiming.cc.
References Strip::flag, and SEQ_SHOW_RETIMING.
Referenced by blender::ed::vse::fake_keys_draw(), blender::ed::vse::is_mouse_over_retiming_key(), blender::ed::transform::recalcData_sequencer_retiming(), blender::ed::vse::retime_key_draw(), blender::ed::vse::retiming_mouseover_key_get(), blender::ed::vse::sequencer_retiming_box_select_exec(), blender::ed::vse::sequencer_retiming_data_show_exec(), blender::ed::vse::sequencer_retiming_draw_continuity(), blender::ed::vse::sequencer_retiming_mode_is_active(), blender::ed::vse::sequencer_retiming_select_all_exec(), and blender::ed::vse::sequencer_select_exec().
| SeqRetimingKey * blender::seq::retiming_find_segment_start_key | ( | const Strip * | strip, |
| float | frame_index ) |
Definition at line 84 of file strip_retiming.cc.
References retiming_is_last_key(), and retiming_keys_get().
Referenced by blender::ed::vse::retiming_key_add_new_for_strip(), strip_retiming_add_key(), and strip_retiming_evaluate().
| bool blender::seq::retiming_is_active | ( | const Strip * | strip | ) |
Definition at line 160 of file strip_retiming.cc.
References Strip::retiming_keys_num.
Referenced by blender::ed::vse::fake_keys_draw(), give_frame_index(), retiming_data_ensure(), sequencer_strip_to_keylist(), and time_strip_length_get().
| bool blender::seq::retiming_is_allowed | ( | const Strip * | strip | ) |
Definition at line 170 of file strip_retiming.cc.
References ELEM, Strip::len, STRIP_TYPE_IMAGE, STRIP_TYPE_MASK, STRIP_TYPE_META, STRIP_TYPE_MOVIE, STRIP_TYPE_MOVIECLIP, STRIP_TYPE_SCENE, STRIP_TYPE_SOUND_RAM, and Strip::type.
Referenced by blender::ed::vse::can_draw_retiming(), blender::ed::vse::freeze_frame_add_from_strip_selection(), retiming_data_ensure(), blender::ed::vse::retiming_key_add_from_selection(), blender::ed::vse::retiming_poll(), retiming_reset(), blender::ed::vse::sequencer_retiming_data_hide_selection(), blender::ed::vse::sequencer_retiming_data_show_selection(), strip_retiming_add_key(), blender::ed::vse::strip_speed_set_exec(), and versioning_convert_strip_speed_factor().
| bool blender::seq::retiming_is_last_key | ( | const Strip * | strip, |
| const SeqRetimingKey * | key ) |
Definition at line 45 of file strip_retiming.cc.
References retiming_key_index_get(), and Strip::retiming_keys_num.
Referenced by blender::ed::transform::create_trans_seq_clamp_data(), freeze_key_pair_create(), blender::ed::vse::retime_speed_text_draw(), retiming_add_transition(), retiming_find_segment_start_key(), retiming_remove_multiple_keys(), strip_retiming_clamp_bounds_get(), strip_retiming_clamp_timeline_frame(), strip_retiming_fix_transitions(), strip_retiming_remove_key_ex(), and blender::ed::vse::transition_add_new_for_strip().
| SeqRetimingKey * blender::seq::retiming_key_get_by_timeline_frame | ( | const Scene * | scene, |
| const Strip * | strip, | ||
| const int | timeline_frame ) |
Definition at line 70 of file strip_retiming.cc.
References retiming_key_timeline_frame_get(), and retiming_keys_get().
Referenced by blender::ed::vse::fake_keys_draw(), blender::ed::vse::select_connected_keys(), blender::ed::vse::transition_add_new_for_strip(), and blender::ed::vse::try_to_realize_fake_keys().
| int blender::seq::retiming_key_index_get | ( | const Strip * | strip, |
| const SeqRetimingKey * | key ) |
Definition at line 55 of file strip_retiming.cc.
References Strip::retiming_keys.
Referenced by retiming_add_transition(), retiming_is_last_key(), retiming_key_speed_get(), retiming_key_timeline_frame_set(), blender::ed::transform::SeqToTransData(), strip_retiming_fix_transitions(), and strip_retiming_remove_transition().
| bool blender::seq::retiming_key_is_freeze_frame | ( | const SeqRetimingKey * | key | ) |
Definition at line 264 of file strip_retiming.cc.
References SeqRetimingKey::flag, SEQ_FREEZE_FRAME_IN, and SEQ_FREEZE_FRAME_OUT.
Referenced by blender::ed::vse::retime_key_draw(), retiming_remove_multiple_keys(), and strip_retiming_remove_key_ex().
| bool blender::seq::retiming_key_is_transition_start | ( | const SeqRetimingKey * | key | ) |
Definition at line 248 of file strip_retiming.cc.
References SeqRetimingKey::flag, and SEQ_SPEED_TRANSITION_IN.
Referenced by blender::ed::vse::freeze_frame_add_new_for_strip(), blender::ed::vse::label_str_get(), blender::ed::vse::retiming_key_add_new_for_strip(), retiming_remove_multiple_keys(), blender::seq::RetimingRangeData::RetimingRangeData(), strip_retiming_evaluate(), and strip_retiming_fix_transitions().
| bool blender::seq::retiming_key_is_transition_type | ( | const SeqRetimingKey * | key | ) |
Definition at line 243 of file strip_retiming.cc.
References SeqRetimingKey::flag, SEQ_SPEED_TRANSITION_IN, and SEQ_SPEED_TRANSITION_OUT.
Referenced by blender::ed::transform::create_trans_seq_clamp_data(), blender::ed::transform::recalcData_sequencer_retiming(), blender::ed::vse::retime_key_draw(), retiming_add_freeze_frame(), retiming_remove_key(), and retiming_remove_multiple_keys().
Definition at line 133 of file strip_retiming.cc.
References active_seqbase_get(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple(), editing_get(), iterator_set_expand(), query_strip_effect_chain(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), and transform_handle_overlap().
Referenced by retiming_reset().
| float blender::seq::retiming_key_speed_get | ( | const Strip * | strip, |
| const SeqRetimingKey * | key ) |
Definition at line 814 of file strip_retiming.cc.
References BLI_assert, Strip::len, SeqRetimingKey::retiming_factor, retiming_key_index_get(), round_fl_to_int(), and SeqRetimingKey::strip_frame_index.
Referenced by blender::ed::vse::label_str_get(), blender::seq::RetimingRangeData::RetimingRangeData(), strip_retiming_transition_is_linear(), and blender::ed::vse::strip_speed_get().
| void blender::seq::retiming_key_speed_set | ( | const Scene * | scene, |
| Strip * | strip, | ||
| SeqRetimingKey * | key, | ||
| const float | speed, | ||
| bool | keep_retiming ) |
Definition at line 831 of file strip_retiming.cc.
References float, Strip::len, Scene::r, SeqRetimingKey::retiming_factor, retiming_key_timeline_frame_get(), retiming_key_timeline_frame_set(), round_fl_to_int(), SeqRetimingKey::strip_frame_index, and time_media_playback_rate_factor_get().
Referenced by blender::ed::vse::segment_speed_set_exec(), and blender::ed::vse::strip_speed_set_exec().
| int blender::seq::retiming_key_timeline_frame_get | ( | const Scene * | scene, |
| const Strip * | strip, | ||
| const SeqRetimingKey * | key ) |
Definition at line 762 of file strip_retiming.cc.
References float, Scene::r, round_fl_to_int(), SeqRetimingKey::strip_frame_index, time_get_rounded_sound_offset(), time_media_playback_rate_factor_get(), and time_start_frame_get().
Referenced by blender::ed::vse::freeze_frame_add_from_retiming_selection(), freeze_key_pair_create(), blender::ed::vse::key_x_get(), blender::ed::transform::points_build_sources_timeline_retiming(), blender::ed::transform::points_build_targets_timeline(), retiming_key_get_by_timeline_frame(), retiming_key_speed_set(), retiming_key_timeline_frame_set(), blender::ed::vse::select_connected_keys(), blender::ed::transform::SeqToTransData(), blender::ed::vse::sequencer_retiming_box_select_exec(), blender::ed::vse::sequencer_select_exec(), sequencer_strip_to_keylist(), strip_retiming_clamp_bounds_get(), strip_retiming_clamp_timeline_frame(), time_strip_length_get(), blender::ed::vse::transition_add_from_retiming_selection(), and blender::ed::transform::visible_retiming_keys_get().
| void blender::seq::retiming_key_timeline_frame_set | ( | const Scene * | scene, |
| Strip * | strip, | ||
| SeqRetimingKey * | key, | ||
| int | timeline_frame, | ||
| bool | keep_retiming ) |
Definition at line 773 of file strip_retiming.cc.
References Scene::ed, SeqRetimingKey::flag, float, i, lookup_meta_by_strip(), Scene::r, retiming_key_index_get(), retiming_key_timeline_frame_get(), retiming_keys_get(), SEQ_lookup_effects_by_strip(), SEQ_SPEED_TRANSITION_OUT, Strip::start, SeqRetimingKey::strip_frame_index, strip_retiming_clamp_timeline_frame(), strip_retiming_key_offset(), strip_time_update_effects_strip_range(), time_left_handle_frame_get(), time_media_playback_rate_factor_get(), time_right_handle_frame_get(), and time_update_meta_strip_range().
Referenced by blender::ed::transform::recalcData_sequencer_retiming(), and retiming_key_speed_set().
| int blender::seq::retiming_keys_count | ( | const Strip * | strip | ) |
Definition at line 101 of file strip_retiming.cc.
References Strip::retiming_keys_num.
Referenced by retiming_remove_multiple_keys(), blender::ed::vse::sequencer_retiming_draw_continuity(), strip_read_data_cb(), strip_retiming_add_key(), strip_retiming_remove_key_ex(), strip_write_data_cb(), and versioning_convert_strip_speed_factor().
| blender::MutableSpan< SeqRetimingKey > blender::seq::retiming_keys_get | ( | const Strip * | strip | ) |
Definition at line 39 of file strip_retiming.cc.
References handles, Strip::retiming_keys, and Strip::retiming_keys_num.
Referenced by blender::ed::vse::mouse_over_key_get_from_strip(), blender::ed::transform::recalcData_sequencer_retiming(), retiming_find_segment_start_key(), retiming_key_get_by_timeline_frame(), retiming_key_timeline_frame_set(), retiming_remove_multiple_keys(), retiming_selection_clear(), retiming_selection_contains(), retiming_selection_get(), blender::seq::RetimingRangeData::RetimingRangeData(), blender::ed::vse::sequencer_retiming_box_select_exec(), blender::ed::vse::sequencer_retiming_draw_continuity(), blender::ed::vse::sequencer_retiming_keys_draw(), blender::ed::vse::sequencer_retiming_select_all_exec(), blender::ed::vse::sequencer_retiming_speed_draw(), sequencer_strip_to_keylist(), strip_retiming_fix_transitions(), versioning_convert_strip_speed_factor(), and blender::ed::transform::visible_retiming_keys_get().
| SeqRetimingKey * blender::seq::retiming_last_key_get | ( | const Strip * | strip | ) |
Definition at line 50 of file strip_retiming.cc.
References Strip::retiming_keys, and Strip::retiming_keys_num.
Referenced by blender::ed::vse::sequencer_retiming_select_linked_time(), strip_retiming_add_key(), and time_strip_length_get().
| void blender::seq::retiming_remove_key | ( | Strip * | strip, |
| SeqRetimingKey * | key ) |
Definition at line 517 of file strip_retiming.cc.
References retiming_key_is_transition_type(), strip_retiming_remove_key_ex(), and strip_retiming_remove_transition().
| void blender::seq::retiming_remove_multiple_keys | ( | Strip * | strip, |
| blender::Vector< SeqRetimingKey * > & | keys_to_remove ) |
Definition at line 419 of file strip_retiming.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append_non_duplicates(), blender::Vector< T, InlineBufferCapacity, Allocator >::contains(), MEM_calloc_arrayN(), MEM_freeN(), SeqRetimingKey::original_retiming_factor, SeqRetimingKey::original_strip_frame_index, blender::Vector< T, InlineBufferCapacity, Allocator >::remove_if(), SeqRetimingKey::retiming_factor, retiming_is_last_key(), retiming_key_is_freeze_frame(), retiming_key_is_transition_start(), retiming_key_is_transition_type(), Strip::retiming_keys, retiming_keys_count(), retiming_keys_get(), Strip::retiming_keys_num, SEQ_SPEED_TRANSITION_IN, SEQ_SPEED_TRANSITION_OUT, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), SeqRetimingKey::strip_frame_index, and strip_retiming_cleanup_freeze_frame().
Referenced by blender::ed::vse::sequencer_retiming_key_delete_exec().
Definition at line 145 of file strip_retiming.cc.
References Scene::ed, lookup_meta_by_strip(), retiming_data_clear(), retiming_is_allowed(), retiming_key_overlap(), SEQ_lookup_effects_by_strip(), strip_time_update_effects_strip_range(), and time_update_meta_strip_range().
Referenced by blender::ed::vse::sequencer_retiming_reset_exec().
| void blender::seq::retiming_selection_append | ( | SeqRetimingKey * | key | ) |
Definition at line 1156 of file strip_retiming.cc.
References SeqRetimingKey::flag, and SEQ_KEY_SELECTED.
Referenced by blender::ed::vse::freeze_frame_add_new_for_strip(), blender::ed::vse::select_key(), blender::ed::vse::sequencer_retiming_box_select_exec(), strip_retiming_transition_offset(), and blender::ed::vse::transition_add_new_for_strip().
| bool blender::seq::retiming_selection_clear | ( | const Editing * | ed | ) |
Definition at line 1143 of file strip_retiming.cc.
References LISTBASE_FOREACH, retiming_keys_get(), and SEQ_KEY_SELECTED.
Referenced by blender::ed::vse::select_key(), blender::ed::vse::sequencer_retiming_box_select_exec(), blender::ed::vse::sequencer_retiming_select_all_exec(), blender::ed::vse::sequencer_retiming_select_linked_time(), blender::ed::vse::sequencer_select_exec(), and blender::ed::vse::sequencer_select_handle_exec().
| bool blender::seq::retiming_selection_contains | ( | const Editing * | ed, |
| const SeqRetimingKey * | key ) |
Definition at line 1190 of file strip_retiming.cc.
References LISTBASE_FOREACH, retiming_keys_get(), and SEQ_KEY_SELECTED.
Referenced by blender::ed::vse::select_key(), blender::ed::vse::sequencer_retiming_box_select_exec(), blender::ed::vse::sequencer_retiming_key_select_exec(), and strip_retiming_transition_offset().
| void blender::seq::retiming_selection_copy | ( | SeqRetimingKey * | dst, |
| const SeqRetimingKey * | src ) |
Definition at line 1168 of file strip_retiming.cc.
References SeqRetimingKey::flag, retiming_selection_remove(), and SEQ_KEY_SELECTED.
Referenced by blender::ed::vse::select_connected_keys().
| blender::Map< SeqRetimingKey *, Strip * > blender::seq::retiming_selection_get | ( | const Editing * | ed | ) |
Definition at line 1174 of file strip_retiming.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), LISTBASE_FOREACH, retiming_keys_get(), and SEQ_KEY_SELECTED.
Referenced by blender::ed::transform::create_trans_seq_clamp_data(), blender::ed::transform::createTransSeqRetimingData(), blender::ed::vse::freeze_frame_add_from_retiming_selection(), blender::ed::vse::retiming_key_add_to_editable_strips(), retiming_selection_has_whole_transition(), blender::ed::vse::sequencer_retiming_key_delete_exec(), blender::ed::vse::sequencer_retiming_mode_is_active(), blender::ed::vse::sequencer_retiming_segment_speed_set_exec(), blender::ed::transform::snap_data_build_timeline(), blender::ed::vse::strip_speed_get(), blender::ed::vse::timeline_draw_context_get(), and blender::ed::vse::transition_add_from_retiming_selection().
| bool blender::seq::retiming_selection_has_whole_transition | ( | const Editing * | ed, |
| SeqRetimingKey * | key ) |
Definition at line 1202 of file strip_retiming.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), retiming_selection_get(), and retiming_transition_start_get().
Referenced by blender::ed::transform::create_trans_seq_clamp_data(), and blender::ed::transform::recalcData_sequencer_retiming().
| void blender::seq::retiming_selection_remove | ( | SeqRetimingKey * | key | ) |
Definition at line 1163 of file strip_retiming.cc.
References SeqRetimingKey::flag, and SEQ_KEY_SELECTED.
Referenced by blender::ed::vse::freeze_frame_add_new_for_strip(), retiming_selection_copy(), blender::ed::vse::select_key(), and blender::ed::vse::sequencer_retiming_box_select_exec().
Definition at line 1072 of file strip_retiming.cc.
References Strip::anim_startofs, BKE_sound_ensure_time_stretch_effect(), BKE_sound_set_scene_sound_pitch_at_frame(), BKE_sound_set_scene_sound_pitch_constant_range(), BKE_sound_set_scene_sound_time_stretch_at_frame(), BKE_sound_set_scene_sound_time_stretch_constant_range(), BKE_sound_update_sequence_handle(), blender::seq::RetimingRange::end, Strip::flag, float, i, Strip::len, bSound::playback_handle, Scene::r, blender::seq::RetimingRangeData::ranges, Strip::scene_sound, SEQ_AUDIO_PITCH_CORRECTION, Strip::sound, blender::seq::RetimingRange::speed, blender::seq::RetimingRange::speed_table, blender::seq::RetimingRange::start, Strip::start, strip_retiming_range_data_get(), time_get_rounded_sound_offset(), time_start_frame_get(), TRANSITION, and blender::seq::RetimingRange::type.
Referenced by strip_update_sound_properties().
| void blender::seq::retiming_transition_key_frame_set | ( | const Scene * | scene, |
| const Strip * | strip, | ||
| SeqRetimingKey * | key, | ||
| const int | timeline_frame ) |
Definition at line 375 of file strip_retiming.cc.
References content_frame_index_get(), fabs(), max_ff(), min_fff(), SeqRetimingKey::original_strip_frame_index, SeqRetimingKey::retiming_factor, retiming_transition_start_get(), SeqRetimingKey::strip_frame_index, and strip_retiming_segment_step_get().
Referenced by blender::ed::transform::recalcData_sequencer_retiming().
| SeqRetimingKey * blender::seq::retiming_transition_start_get | ( | SeqRetimingKey * | key | ) |
Definition at line 253 of file strip_retiming.cc.
References SeqRetimingKey::flag, SEQ_SPEED_TRANSITION_IN, and SEQ_SPEED_TRANSITION_OUT.
Referenced by blender::ed::transform::create_trans_seq_clamp_data(), retiming_selection_has_whole_transition(), and retiming_transition_key_frame_set().
|
static |
Definition at line 228 of file thumbnail_cache.cc.
References image_size_to_thumb_size(), IMB_scale(), Nearest, ImBuf::x, and ImBuf::y.
|
static |
Definition at line 78 of file MOD_tonemap.cc.
References ImBuf::byte_buffer, ImBufByteBuffer::colorspace, ImBufByteBuffer::data, IMB_colormanagement_scene_linear_to_colorspace(), premul_float_to_straight_uchar(), and blender::IndexRange::size().
Referenced by blender::seq::TonemapApplyOp::apply().
|
static |
Definition at line 100 of file MOD_tonemap.cc.
References ImBufFloatBuffer::colorspace, ImBufFloatBuffer::data, blender::IndexRange::first(), ImBuf::float_buffer, IMB_colormanagement_scene_linear_to_colorspace(), and blender::IndexRange::size().
Referenced by blender::seq::TonemapApplyOp::apply().
Definition at line 1181 of file sequencer.cc.
References LISTBASE_FOREACH, scene_sequencer_is_used(), SEQ_SCENE_STRIPS, and STRIP_TYPE_META.
Referenced by scene_sequencer_is_used(), and seq_update_scene_strip_sound().
Definition at line 21 of file strip_select.cc.
References editing_get().
Referenced by active_mask_get(), buttons_context_path_strip(), composite_get_from_context(), blender::ed::vse::cursor_set_by_mouse_position(), blender::ed::vse::draw_multicam_highlight(), 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(), blender::ed::vse::modifier_set_active_exec(), modifier_ui_poll(), blender::ed::vse::preview_draw_all_image_overlays(), scene_new_sequencer_enum_itemf(), scene_new_sequencer_exec(), scene_new_sequencer_poll(), screen_ctx_active_strip(), 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_draw_get_transform_preview(), blender::ed::vse::sequencer_draw_get_transform_preview_frame(), 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_retiming_data_show_exec(), blender::ed::vse::sequencer_select_grouped_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_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_draw_context_get(), blender::ed::vse::strip_effect_get_new_inputs(), blender::ed::vse::strip_modifier_add_exec(), blender::ed::vse::strip_modifier_copy_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::ed::vse::text_edit_draw(), blender::ed::vse::text_editing_update(), blender::ed::transform::transform_orientation_matrix_get(), and uiTemplateStripModifiers().
| bool blender::seq::select_active_get_pair | ( | Scene * | scene, |
| Strip ** | r_strip_act, | ||
| Strip ** | r_strip_other ) |
Definition at line 43 of file strip_select.cc.
References editing_get(), LISTBASE_FOREACH, SELECT, and select_active_get().
Referenced by blender::ed::vse::sequencer_swap_data_exec().
Definition at line 32 of file strip_select.cc.
References editing_get().
Referenced by blender::ed::outliner::outliner_select_sync_to_strip(), blender::ed::vse::select_strip_single(), blender::ed::vse::seq_load_apply_generic_options(), blender::ed::vse::seq_load_apply_generic_options_only_test_overlap(), blender::ed::vse::sequencer_add_duplicate_exec(), blender::ed::vse::sequencer_clipboard_paste_exec(), blender::ed::vse::sequencer_meta_make_exec(), blender::ed::vse::sequencer_meta_toggle_exec(), blender::ed::vse::sequencer_select_set_active(), blender::ed::vse::sequencer_write_copy_paste_file(), and blender::ed::outliner::tree_element_strip_activate().
| void blender::seq::seq_anim_add_suffix | ( | Scene * | scene, |
| MovieReader * | anim, | ||
| const int | view_id ) |
Definition at line 23 of file multiview.cc.
References BKE_scene_multiview_view_id_suffix_get(), MOV_set_multiview_suffix(), and Scene::r.
Referenced by add_movie_strip(), and add_reload_new_file().
|
static |
Definition at line 510 of file sequencer.cc.
References BKE_layer_collection_resync_allow(), BKE_layer_collection_resync_forbid(), BKE_libblock_relink_to_newid(), BKE_main_collection_sync(), BKE_main_id_newptr_and_tag_clear(), BLI_assert, cut_one_way_connections(), Data, FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, Mask::id, MovieClip::id, Scene::id, ID_REMAP_FORCE_OBDATA_IN_EDITMODE, ID_REMAP_SKIP_USER_CLEAR, ID_TAG_NEW, Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), is_strip_connected(), blender::seq::StripDuplicateContext::masks, blender::seq::StripDuplicateContext::movieclips, ID::newid, blender::seq::StripDuplicateContext::scenes, seq_new_fix_links_recursive(), ID::tag, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by seqbase_duplicate_recursive(), and strip_duplicate_recursive().
|
static |
Definition at line 356 of file strip_edit.cc.
References Strip::input1, Strip::input2, seq_edit_split_effect_inputs_intersect(), and seq_edit_split_intersect_check().
Referenced by seq_edit_split_effect_inputs_intersect(), and seq_edit_split_operation_permitted_check().
|
static |
Definition at line 326 of file strip_edit.cc.
References seq_edit_split_intersect_check(), seq_split_set_left_hold_offset(), seq_split_set_right_hold_offset(), SPLIT_HARD, SPLIT_SOFT, time_left_handle_frame_set(), and time_right_handle_frame_set().
Referenced by edit_strip_split().
|
static |
Definition at line 318 of file strip_edit.cc.
References time_left_handle_frame_get(), and time_right_handle_frame_get().
Referenced by edit_strip_split(), seq_edit_split_effect_inputs_intersect(), seq_edit_split_handle_strip_offsets(), and seq_edit_split_operation_permitted_check().
|
static |
Definition at line 378 of file strip_edit.cc.
References channels_displayed_get(), editing_get(), effect_get_num_inputs(), ELEM, seq_edit_split_effect_inputs_intersect(), seq_edit_split_intersect_check(), STRIP_TYPE_CROSS, STRIP_TYPE_GAMCROSS, STRIP_TYPE_WIPE, and transform_is_locked().
Referenced by edit_strip_split().
|
static |
Definition at line 104 of file sequencer.cc.
References data, MEM_freeN(), MOV_close(), and printf.
Referenced by seq_strip_free_ex().
Cache must be freed before calling this function since it leaves the Editing::seqbase in an invalid state.
Definition at line 274 of file sequencer.cc.
References ListBase::first, Strip::next, seq_free_strip_recurse(), seq_strip_free_ex(), and Strip::seqbase.
Referenced by editing_free(), proxy_rebuild_finish(), and seq_free_strip_recurse().
|
static |
Definition at line 1227 of file render.cc.
References BKE_movieclip_get_ibuf_flag(), BKE_movieclip_get_stable_ibuf(), Strip::clip, Strip::clip_flag, MovieClip::flag, MOVIECLIP_CACHE_SKIP, and SEQ_MOVIECLIP_RENDER_STABILIZED.
Referenced by seq_render_movieclip_strip().
|
static |
Definition at line 933 of file render.cc.
References BKE_scene_multiview_view_prefix_get(), Strip::flag, Scene::r, R_MULTIVIEW, and SEQ_USE_VIEWS.
Referenced by seq_render_image_strip().
|
static |
Definition at line 680 of file strip_transform.cc.
References Strip::data, blender::math::from_loc_rot_scale(), blender::math::from_origin_transform(), StripData::transform, transform(), and transform_image_raw_size_get().
Referenced by image_transform_matrix_get(), and strip_image_transform_quad_get_ex().
Definition at line 102 of file render.cc.
References ImBufFloatBuffer::data, ImBuf::float_buffer, IMB_colormanagement_assign_byte_colorspace(), IMB_colormanagement_assign_float_colorspace(), ColorManagedColorspaceSettings::name, and Scene::sequencer_colorspace_settings.
Referenced by do_render_strip_uncached(), input_preprocess(), make_thumb_for_image(), seq_imbuf_to_sequencer_space(), seq_proxy_fetch(), seq_render_strip(), and seq_render_strip_stack().
| void blender::seq::seq_imbuf_to_sequencer_space | ( | const Scene * | scene, |
| ImBuf * | ibuf, | ||
| bool | make_float ) |
Definition at line 115 of file render.cc.
References ImBuf::byte_buffer, ImBuf::channels, ImBufByteBuffer::data, ImBufFloatBuffer::data, ImBuf::float_buffer, IMB_alloc_float_pixels(), IMB_colormanagement_get_float_colorspace(), IMB_colormanagement_get_rect_colorspace(), IMB_colormanagement_transform_byte_to_float(), IMB_colormanagement_transform_float(), IMB_free_byte_pixels(), ColorManagedColorspaceSettings::name, seq_imbuf_assign_spaces(), Scene::sequencer_colorspace_settings, STREQ, ImBuf::x, and ImBuf::y.
Referenced by compositor_modifier_apply(), do_render_strip_uncached(), input_preprocess(), make_thumb_for_image(), modifier_apply_stack(), prepare_effect_imbufs(), seq_render_image_strip_view(), seq_render_movie_strip_view(), and seq_render_scene_strip_ex().
|
static |
Definition at line 391 of file render.cc.
References Strip::blend_mode, Strip::blend_opacity, ListBase::first, Strip::flag, Strip::modifiers, mul(), Strip::mul, Strip::sat, SEQ_FILTERY, SEQ_FLIPX, SEQ_FLIPY, SEQ_MAKE_FLOAT, sequencer_use_crop(), sequencer_use_transform(), and STRIP_BLEND_REPLACE.
Referenced by seq_render_strip().
| blender::Span< Strip * > blender::seq::SEQ_lookup_effects_by_strip | ( | Editing * | ed, |
| const Strip * | key ) |
Find effect strips, that use strip strip as one of inputs. If lookup hash doesn't exist, it will be created. If hash is tagged as invalid, it will be rebuilt.
| key | pointer to Strip inside of meta strip |
Definition at line 203 of file strip_lookup.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::as_span(), BLI_assert, lock, lookup_lock, and strip_lookup_update_if_needed().
Referenced by retiming_key_timeline_frame_set(), retiming_reset(), strip_time_slip_strip_ex(), strip_time_translate_handles(), strip_time_update_effects_strip_range(), time_left_handle_frame_set(), time_right_handle_frame_set(), time_start_frame_set(), time_update_meta_strip_range(), and transform_translate_strip().
Definition at line 438 of file sequencer.cc.
References BLI_addhead(), MetaStack::disp_range, editing_get(), lookup_meta_by_strip(), MEM_mallocN(), MetaStack::old_strip, MetaStack::parent_strip, time_left_handle_frame_get(), and time_right_handle_frame_get().
Referenced by meta_stack_set().
| void blender::seq::seq_multiview_name | ( | Scene * | scene, |
| const int | view_id, | ||
| const char * | prefix, | ||
| const char * | ext, | ||
| char * | r_path, | ||
| size_t | r_size ) |
Definition at line 42 of file multiview.cc.
References BKE_scene_multiview_view_id_suffix_get(), BLI_assert, BLI_snprintf(), and Scene::r.
Referenced by add_movie_strip(), add_reload_new_file(), seq_proxy_multiview_context_invalid(), and seq_render_image_strip_view().
|
static |
Definition at line 1828 of file render.cc.
References Strip::blend_mode, ELEM, STRIP_BLEND_ALPHAOVER, and STRIP_BLEND_ALPHAUNDER.
Referenced by seq_render_strip_stack_apply_effect(), and strip_get_early_out_for_blend_mode().
|
static |
Definition at line 1105 of file sequencer.cc.
References BKE_sound_remove_scene_sound(), and Strip::scene_sound.
Referenced by seq_update_scene_strip_sound().
|
static |
Effect, mask and scene in strip input strips are rendered in 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 434 of file render.cc.
References Strip::flag, SEQ_SCENE_STRIPS, STRIP_TYPE_MASK, STRIP_TYPE_META, STRIP_TYPE_SCENE, and Strip::type.
Referenced by input_preprocess().
|
static |
Definition at line 335 of file sequencer.cc.
References Strip::connections, Strip::input1, Strip::input2, is_strip_connected(), LISTBASE_FOREACH, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default(), Strip::modifiers, seq_new_fix_links_recursive(), Strip::seqbase, STRIP_TYPE_META, and Strip::type.
Referenced by seq_duplicate_postprocess(), and seq_new_fix_links_recursive().
| int blender::seq::seq_num_files | ( | Scene * | scene, |
| char | views_format, | ||
| bool | is_multiview ) |
The number of files will vary according to the stereo format.
Definition at line 29 of file multiview.cc.
References BKE_scene_multiview_num_views_get(), Scene::r, and R_IMF_VIEWS_STEREO_3D.
Referenced by add_movie_strip(), add_reload_new_file(), open_anim_file_multiview(), seq_render_image_strip(), and seq_render_movie_strip().
|
static |
Definition at line 204 of file prefetch.cc.
References BKE_animsys_eval_context_construct(), blender::seq::PrefetchJob::depsgraph, and seq_prefetch_cfra().
Referenced by seq_prefetch_frames().
|
static |
Definition at line 191 of file prefetch.cc.
References blender::seq::PrefetchJob::cfra, blender::seq::PrefetchJob::num_frames_prefetched, PEFRA, PSFRA, and blender::seq::PrefetchJob::scene.
Referenced by seq_prefetch_anim_eval_context(), seq_prefetch_frames(), seq_prefetch_get_time_range(), seq_prefetch_must_skip_frame(), and seq_prefetch_update_depsgraph().
|
static |
Definition at line 502 of file prefetch.cc.
References BLI_condition_wait(), BLI_mutex_lock(), BLI_mutex_unlock(), Editing::cache_flag, Scene::ed, blender::seq::PrefetchJob::prefetch_suspend_cond, blender::seq::PrefetchJob::prefetch_suspend_mutex, blender::seq::PrefetchJob::scene, SEQ_CACHE_PREFETCH_ENABLE, seq_prefetch_need_suspend(), seq_prefetch_update_area(), blender::seq::PrefetchJob::stop, and blender::seq::PrefetchJob::waiting.
Referenced by seq_prefetch_frames().
|
static |
Definition at line 516 of file prefetch.cc.
References active_seqbase_get(), ADT_RECALC_ALL, BKE_animdata_from_id(), BKE_animsys_evaluate_animdata(), Editing::cache_flag, blender::seq::PrefetchJob::cfra, channels_displayed_get(), blender::seq::PrefetchJob::context_cpy, Scene::ed, editing_get(), Scene::id, IMB_freeImBuf(), blender::seq::PrefetchJob::num_frames_prefetched, Editing::prefetch_job, render_give_ibuf(), blender::seq::PrefetchJob::running, blender::seq::PrefetchJob::scene, blender::seq::RenderData::scene, blender::seq::PrefetchJob::scene_eval, SEQ_CACHE_ALL_TYPES, SEQ_CACHE_PREFETCH_ENABLE, seq_prefetch_anim_eval_context(), seq_prefetch_cfra(), seq_prefetch_do_suspend(), seq_prefetch_must_skip_frame(), seq_prefetch_update_area(), seq_prefetch_update_depsgraph(), blender::seq::PrefetchJob::stop, blender::seq::PrefetchJob::timeline_end, and blender::seq::PrefetchJob::timeline_start.
Referenced by seq_prefetch_start_ex().
| void blender::seq::seq_prefetch_free | ( | Scene * | scene | ) |
Definition at line 395 of file prefetch.cc.
References BKE_main_free(), BLI_condition_end(), BLI_mutex_end(), BLI_threadpool_end(), BLI_threadpool_remove(), blender::seq::PrefetchJob::bmain_eval, Scene::ed, Editing::prefetch_job, prefetch_stop(), blender::seq::PrefetchJob::prefetch_suspend_cond, blender::seq::PrefetchJob::prefetch_suspend_mutex, seq_prefetch_free_depsgraph(), seq_prefetch_job_get(), and blender::seq::PrefetchJob::threads.
Referenced by editing_free().
|
static |
Definition at line 227 of file prefetch.cc.
References DEG_graph_free(), blender::seq::PrefetchJob::depsgraph, and blender::seq::PrefetchJob::scene_eval.
Referenced by seq_prefetch_free(), and seq_prefetch_update_scene().
| void blender::seq::seq_prefetch_get_time_range | ( | Scene * | scene, |
| int * | r_start, | ||
| int * | r_end ) |
Definition at line 209 of file prefetch.cc.
References Editing::cache_flag, blender::seq::PrefetchJob::cfra, Scene::ed, blender::seq::PrefetchJob::running, SEQ_CACHE_PREFETCH_ENABLE, seq_prefetch_cfra(), and seq_prefetch_job_get().
Referenced by final_image_cache_evict(), and source_image_cache_evict().
|
static |
Definition at line 243 of file prefetch.cc.
References BKE_view_layer_default_render(), blender::seq::PrefetchJob::bmain_eval, Editing::cache_flag, DAG_EVAL_RENDER, DEG_debug_name_set(), DEG_get_evaluated_scene(), DEG_graph_build_for_render_pipeline(), DEG_graph_new(), blender::seq::PrefetchJob::depsgraph, Scene::ed, blender::seq::PrefetchJob::scene, blender::seq::PrefetchJob::scene_eval, and seq_prefetch_update_depsgraph().
Referenced by seq_prefetch_start_ex(), and seq_prefetch_update_scene().
|
static |
Definition at line 186 of file prefetch.cc.
References evict_caches_if_full().
Referenced by seq_prefetch_need_suspend().
|
static |
Definition at line 90 of file prefetch.cc.
References Scene::ed, and Editing::prefetch_job.
Referenced by get_original_context(), prefetch_stop(), seq_prefetch_free(), seq_prefetch_get_time_range(), seq_prefetch_job_is_running(), seq_prefetch_job_is_waiting(), seq_prefetch_job_scrubbing_set(), seq_prefetch_resume(), seq_prefetch_start_ex(), seq_prefetch_update_context(), and seq_prefetch_update_scene().
| bool blender::seq::seq_prefetch_job_is_running | ( | Scene * | scene | ) |
Definition at line 98 of file prefetch.cc.
References blender::seq::PrefetchJob::running, and seq_prefetch_job_get().
Referenced by prefetch_need_redraw(), and seq_prefetch_start().
|
static |
Definition at line 120 of file prefetch.cc.
References seq_prefetch_job_get(), and blender::seq::PrefetchJob::waiting.
Referenced by prefetch_need_redraw().
|
static |
Definition at line 109 of file prefetch.cc.
References blender::seq::PrefetchJob::is_scrubbing, and seq_prefetch_job_get().
Referenced by seq_prefetch_start().
|
static |
Definition at line 486 of file prefetch.cc.
References editing_get(), query_scene_strips(), blender::seq::PrefetchJob::scene_eval, seq_prefetch_cfra(), seq_prefetch_scene_strip_is_rendered(), and state.
Referenced by seq_prefetch_frames().
|
static |
Definition at line 496 of file prefetch.cc.
References blender::seq::PrefetchJob::is_scrubbing, blender::seq::PrefetchJob::num_frames_prefetched, blender::seq::PrefetchJob::scene, seq_prefetch_is_cache_full(), and blender::seq::PrefetchJob::timeline_length.
Referenced by seq_prefetch_do_suspend().
|
static |
Definition at line 386 of file prefetch.cc.
References BLI_condition_notify_one(), blender::seq::PrefetchJob::prefetch_suspend_cond, seq_prefetch_job_get(), and blender::seq::PrefetchJob::waiting.
Referenced by seq_prefetch_start().
|
static |
Definition at line 426 of file prefetch.cc.
References editing_get(), give_frame_index(), query_scene_strips(), Scene::r, relations_render_loop_check(), seq_prefetch_scene_strip_is_rendered(), SEQ_SCENE_STRIPS, seq_shown_strips_get(), state, STRIP_TYPE_META, and STRIP_TYPE_SCENE.
Referenced by seq_prefetch_must_skip_frame(), and seq_prefetch_scene_strip_is_rendered().
| void blender::seq::seq_prefetch_start | ( | const RenderData * | context, |
| float | timeline_frame ) |
Start or resume prefetching.
Definition at line 619 of file prefetch.cc.
References Scene::ed, G, SEQ_CACHE_ALL_TYPES, SEQ_CACHE_PREFETCH_ENABLE, seq_prefetch_job_is_running(), seq_prefetch_job_scrubbing_set(), seq_prefetch_resume(), and seq_prefetch_start_ex().
Referenced by render_give_ibuf().
|
static |
Definition at line 576 of file prefetch.cc.
References BKE_main_new(), BLI_condition_init(), BLI_mutex_init(), BLI_threadpool_init(), BLI_threadpool_insert(), BLI_threadpool_remove(), blender::seq::PrefetchJob::bmain, blender::seq::PrefetchJob::bmain_eval, Editing::cache_flag, blender::seq::PrefetchJob::cache_flags, blender::seq::PrefetchJob::cfra, Scene::ed, blender::seq::PrefetchJob::num_frames_prefetched, PEFRA, blender::seq::PrefetchJob::prefetch_suspend_cond, blender::seq::PrefetchJob::prefetch_suspend_mutex, PSFRA, blender::seq::PrefetchJob::running, blender::seq::PrefetchJob::scene, seq_prefetch_frames(), seq_prefetch_init_depsgraph(), seq_prefetch_job_get(), seq_prefetch_update_active_seqbase(), seq_prefetch_update_context(), seq_prefetch_update_scene(), blender::seq::PrefetchJob::stop, blender::seq::PrefetchJob::threads, blender::seq::PrefetchJob::timeline_end, blender::seq::PrefetchJob::timeline_length, blender::seq::PrefetchJob::timeline_start, and blender::seq::PrefetchJob::waiting.
Referenced by seq_prefetch_start().
|
static |
Definition at line 372 of file prefetch.cc.
References Editing::current_meta_strip, editing_get(), meta_stack_active_get(), original_strip_get(), MetaStack::parent_strip, blender::seq::PrefetchJob::scene, and blender::seq::PrefetchJob::scene_eval.
Referenced by seq_prefetch_start_ex().
|
static |
Definition at line 262 of file prefetch.cc.
References Editing::cache_flag, blender::seq::PrefetchJob::cache_flags, blender::seq::PrefetchJob::cfra, Scene::ed, blender::seq::PrefetchJob::num_frames_prefetched, PEFRA, PSFRA, Scene::r, blender::seq::PrefetchJob::scene, blender::seq::PrefetchJob::timeline_end, blender::seq::PrefetchJob::timeline_length, and blender::seq::PrefetchJob::timeline_start.
Referenced by seq_prefetch_do_suspend(), and seq_prefetch_frames().
|
static |
Definition at line 326 of file prefetch.cc.
References blender::seq::PrefetchJob::bmain, blender::seq::PrefetchJob::bmain_eval, blender::seq::PrefetchJob::context, blender::seq::PrefetchJob::context_cpy, blender::seq::PrefetchJob::depsgraph, blender::seq::RenderData::is_prefetch_render, render_new_render_data(), blender::seq::PrefetchJob::scene, blender::seq::PrefetchJob::scene_eval, seq_prefetch_job_get(), SEQ_TASK_PREFETCH_RENDER, and blender::seq::RenderData::task_id.
Referenced by seq_prefetch_start_ex().
|
static |
Definition at line 236 of file prefetch.cc.
References DEG_evaluate_on_framechange(), DEG_ids_clear_recalc(), blender::seq::PrefetchJob::depsgraph, and seq_prefetch_cfra().
Referenced by seq_prefetch_frames(), and seq_prefetch_init_depsgraph().
|
static |
Definition at line 359 of file prefetch.cc.
References blender::seq::PrefetchJob::scene, seq_prefetch_free_depsgraph(), seq_prefetch_init_depsgraph(), and seq_prefetch_job_get().
Referenced by seq_prefetch_start_ex().
|
static |
Definition at line 265 of file proxy.cc.
References BLI_exists(), BLI_file_ensure_parent_dir_exists(), ImBufFloatBuffer::data, Strip::data, ImbFormatOptions::flag, ImBuf::float_buffer, ImBuf::foptions, ImBuf::ftype, IB_byte_data, IB_float_data, IMB_freeImBuf(), IMB_FTYPE_JPG, IMB_FTYPE_OPENEXR, IMB_save_image(), IMB_scale_into_new(), Nearest, OPENEXR_HALF, ImBuf::planes, StripData::proxy, PROXY_MAXFILE, ImbFormatOptions::quality, StripProxy::quality, R_IMF_EXR_CODEC_DWAA, seq_proxy_get_filepath(), seq_render_strip(), state, ImBuf::x, and ImBuf::y.
Referenced by proxy_rebuild().
This returns the maximum possible number of required contexts
Definition at line 386 of file proxy.cc.
References Strip::anims, BKE_scene_multiview_num_views_get(), BLI_listbase_count(), Scene::r, R_IMF_VIEWS_INDIVIDUAL, R_IMF_VIEWS_MULTIVIEW, R_IMF_VIEWS_STEREO_3D, R_MULTIVIEW, STRIP_TYPE_IMAGE, STRIP_TYPE_MOVIE, Strip::type, and Strip::views_format.
Referenced by proxy_rebuild_context().
| ImBuf * blender::seq::seq_proxy_fetch | ( | const RenderData * | context, |
| Strip * | strip, | ||
| int | timeline_frame ) |
Definition at line 205 of file proxy.cc.
References StripAnim::anim, StripProxy::anim, Strip::anim_startofs, Strip::anims, BLI_exists(), can_use_proxy(), StripData::colorspace_settings, Strip::data, ListBase::first, give_frame_index(), IB_byte_data, IB_metadata, IMB_load_image_from_filepath(), IMB_PROXY_NONE, IMB_TC_NONE, MOV_calc_frame_index_with_timecode(), MOV_decode_frame(), ColorManagedColorspaceSettings::name, openanim(), StripData::proxy, PROXY_MAXFILE, rendersize_to_proxysize(), round_fl_to_int(), seq_imbuf_assign_spaces(), seq_proxy_get_filepath(), SEQ_STORAGE_PROXY_CUSTOM_FILE, StripProxy::storage, strip_open_anim_file(), and StripProxy::tc.
Referenced by seq_render_image_strip().
| bool blender::seq::seq_proxy_get_custom_file_filepath | ( | Strip * | strip, |
| char * | filepath, | ||
| const int | view_id ) |
Definition at line 102 of file proxy.cc.
References BKE_main_blendfile_path_from_global(), BLI_path_abs(), BLI_path_join, BLI_snprintf(), BLI_strncpy(), Strip::data, StripProxy::dirpath, FILE_MAX, StripProxy::filename, StripData::proxy, PROXY_MAXFILE, and SNPRINTF.
Referenced by seq_proxy_get_filepath(), and seq_render_movie_strip_custom_file_proxy().
|
static |
Definition at line 130 of file proxy.cc.
References BKE_main_blendfile_path_from_global(), BLI_path_abs(), BLI_snprintf(), Strip::data, StripData::dirpath, StripProxy::dirpath, editing_get(), StripData::proxy, PROXY_MAXFILE, render_give_stripelem(), rendersize_to_scale_factor(), SEP_STR, SEQ_EDIT_PROXY_DIR_STORAGE, seq_proxy_get_custom_file_filepath(), SEQ_STORAGE_PROXY_CUSTOM_DIR, SEQ_STORAGE_PROXY_CUSTOM_FILE, SNPRINTF, StripProxy::storage, and STRNCPY().
Referenced by seq_proxy_build_frame(), and seq_proxy_fetch().
| void blender::seq::seq_proxy_index_dir_set | ( | MovieReader * | anim, |
| const char * | base_dir ) |
Definition at line 626 of file proxy.cc.
References BLI_path_join, dirname(), FILE_MAX, FILE_MAXFILE, MOV_get_filename(), and MOV_set_custom_proxy_dir().
Referenced by index_dir_set().
|
static |
Returns whether the file this context would read from even exist, if not, don't create the context.
| prefix_vars | Stores prefix variables for reuse, these variables are for internal use, the caller must not depend on them. |
Definition at line 346 of file proxy.cc.
References BKE_scene_multiview_view_prefix_get(), BLI_access(), BLI_path_abs(), BLI_path_join, Strip::data, StripData::dirpath, blender::seq::MultiViewPrefixVars::ext, FILE_MAX, StripElem::filename, Scene::id, ID_BLEND_PATH_FROM_GLOBAL, blender::seq::MultiViewPrefixVars::prefix, Scene::r, R_IMF_VIEWS_INDIVIDUAL, R_MULTIVIEW, seq_multiview_name(), STRIP_TYPE_IMAGE, StripData::stripdata, Strip::type, and Strip::views_format.
Referenced by proxy_rebuild_context().
|
static |
Definition at line 420 of file proxy.cc.
References StripProxy::build_flags, StripProxy::build_size_flags, Strip::data, MOV_get_existing_proxies(), StripData::proxy, and SEQ_PROXY_SKIP_EXISTING.
Referenced by proxy_rebuild_context().
|
static |
Definition at line 766 of file render.cc.
References DoEffect, blender::seq::EffectHandle::early_out, Strip::effect_fader, effect_get_num_inputs(), Strip::effectdata, evaluate_fcurve(), blender::seq::EffectHandle::execute, Strip::flag, SpeedControlVars::flags, blender::seq::EffectHandle::get_default_fac, i, IB_byte_data, Scene::id, id_data_find_fcurve(), IMB_allocImBuf(), IMB_freeImBuf(), input, Strip::input1, Strip::input2, NoInput, out, seq_render_strip(), SEQ_SPEED_USE_INTERPOLATION, SEQ_USE_EFFECT_DEFAULT_FADE, state, strip_effect_handle_get(), strip_speed_effect_target_frame_get(), STRIP_TYPE_SPEED, Strip::type, UseInput1, and UseInput2.
Referenced by do_render_strip_uncached().
| ImBuf * blender::seq::seq_render_give_ibuf_seqbase | ( | const RenderData * | context, |
| SeqRenderState * | state, | ||
| float | timeline_frame, | ||
| int | chan_shown, | ||
| ListBase * | channels, | ||
| ListBase * | seqbasep ) |
Definition at line 2089 of file render.cc.
References seq_render_strip_stack(), and state.
Referenced by do_adjustment_impl(), and do_multicam().
|
static |
Definition at line 970 of file render.cc.
References BKE_scene_multiview_num_views_get(), BLI_path_abs(), BLI_path_join, create_missing_media_image(), Strip::data, StripData::dirpath, FILE_MAX, StripElem::filename, ID_BLEND_PATH_FROM_GLOBAL, IMB_freeImBuf(), IMB_ImBufFromStereo3d(), media_presence_set_missing(), MEM_calloc_arrayN(), MEM_freeN(), StripElem::orig_height, StripElem::orig_width, R_IMF_VIEWS_STEREO_3D, render_give_stripelem(), seq_image_strip_is_multiview_render(), seq_num_files(), seq_proxy_fetch(), seq_render_image_strip_view(), seq_render_preprocess_ibuf(), state, Strip::stereo3d_format, blender::seq::RenderData::view_id, Strip::views_format, ImBuf::x, and ImBuf::y.
Referenced by do_render_strip_uncached().
|
static |
Render individual view for multi-view or single (default view) for mono-view.
Definition at line 892 of file render.cc.
References Strip::alpha_mode, BKE_scene_multiview_view_prefix_get(), ImBuf::byte_buffer, StripData::colorspace_settings, convert_multilayer_ibuf(), ImBufByteBuffer::data, ImBufFloatBuffer::data, Strip::data, FILE_MAX, flag, ImBuf::float_buffer, IB_alphamode_premul, IB_byte_data, IB_metadata, IB_multilayer, IMB_free_byte_pixels(), IMB_load_image_from_filepath(), ColorManagedColorspaceSettings::name, SEQ_ALPHA_PREMUL, seq_imbuf_to_sequencer_space(), and seq_multiview_name().
Referenced by seq_render_image_strip().
| ImBuf * blender::seq::seq_render_mask | ( | Depsgraph * | depsgraph, |
| int | width, | ||
| int | height, | ||
| const Mask * | mask, | ||
| float | frame_index, | ||
| bool | make_float ) |
Definition at line 1297 of file render.cc.
References ADT_RECALC_ANIM, BKE_animdata_from_id(), BKE_animsys_eval_context_construct(), BKE_animsys_evaluate_animdata(), BKE_id_copy_ex(), BKE_id_free(), BKE_mask_evaluate(), BKE_maskrasterize_buffer(), BKE_maskrasterize_handle_free(), BKE_maskrasterize_handle_init(), BKE_maskrasterize_handle_new(), ImBuf::byte_buffer, ImBufByteBuffer::data, ImBufFloatBuffer::data, depsgraph, ImBuf::float_buffer, i, IB_byte_data, IB_float_data, IB_uninitialized_pixels, Mask::id, IMB_allocImBuf(), LIB_ID_COPY_LOCALIZE, LIB_ID_COPY_NO_ANIMDATA, mask(), MEM_freeN(), and MEM_malloc_arrayN().
Referenced by modifier_render_mask_input(), and seq_render_mask_strip().
|
static |
Definition at line 1382 of file render.cc.
References Strip::flag, Strip::mask, SEQ_MAKE_FLOAT, and seq_render_mask().
Referenced by do_render_strip_uncached().
|
static |
Definition at line 1143 of file render.cc.
References StripAnim::anim, Strip::anims, BKE_scene_multiview_num_views_get(), BLI_listbase_count_is_equal_to(), create_missing_media_image(), Strip::data, ListBase::first, Strip::flag, IMB_freeImBuf(), IMB_ImBufFromStereo3d(), media_presence_set_missing(), MEM_calloc_arrayN(), MEM_freeN(), MOV_get_fps(), StripAnim::next, StripElem::orig_fps, StripElem::orig_height, StripElem::orig_width, R_IMF_VIEWS_STEREO_3D, R_MULTIVIEW, seq_num_files(), seq_render_movie_strip_view(), seq_render_preprocess_ibuf(), SEQ_USE_VIEWS, state, Strip::stereo3d_format, strip_open_anim_file(), StripData::stripdata, blender::seq::RenderData::view_id, Strip::views_format, ImBuf::x, and ImBuf::y.
Referenced by do_render_strip_uncached().
|
static |
Definition at line 1055 of file render.cc.
References StripProxy::anim, Strip::anim_startofs, StripData::colorspace_settings, Strip::data, give_frame_index(), IB_byte_data, IMB_PROXY_NONE, IMB_TC_NONE, MOV_decode_frame(), ColorManagedColorspaceSettings::name, openanim(), StripData::proxy, PROXY_MAXFILE, round_fl_to_int(), and seq_proxy_get_custom_file_filepath().
Referenced by seq_render_movie_strip_view().
|
static |
Definition at line 1079 of file render.cc.
References Strip::data, Strip::flag, IMB_TC_NONE, StripData::proxy, SEQ_USE_PROXY, and StripProxy::tc.
Referenced by seq_render_movie_strip_view().
|
static |
Render individual view for multi-view or single (default view) for mono-view.
Definition at line 1092 of file render.cc.
References StripAnim::anim, Strip::anim_startofs, ImBuf::byte_buffer, can_use_proxy(), ImBufByteBuffer::data, ImBufFloatBuffer::data, Strip::data, ImBuf::float_buffer, give_frame_index(), IMB_free_byte_pixels(), IMB_PROXY_NONE, MOV_decode_frame(), StripData::proxy, rendersize_to_proxysize(), round_fl_to_int(), SEQ_EDIT_PROXY_DIR_STORAGE, seq_imbuf_to_sequencer_space(), seq_render_movie_strip_custom_file_proxy(), seq_render_movie_strip_timecode_get(), SEQ_STORAGE_PROXY_CUSTOM_FILE, and StripProxy::storage.
Referenced by seq_render_movie_strip().
|
static |
Definition at line 1241 of file render.cc.
References Strip::anim_startofs, BKE_movieclip_proxy_enabled(), BKE_movieclip_user_set_frame(), Strip::clip, Strip::clip_flag, DNA_struct_default_get, IMB_PROXY_100, IMB_PROXY_25, IMB_PROXY_50, IMB_PROXY_75, IMB_PROXY_NONE, MCLIP_PROXY_RENDER_SIZE_100, MCLIP_PROXY_RENDER_SIZE_25, MCLIP_PROXY_RENDER_SIZE_50, MCLIP_PROXY_RENDER_SIZE_75, MCLIP_PROXY_RENDER_SIZE_FULL, MCLIP_PROXY_RENDER_UNDISTORT, MCLIP_PROXY_RENDER_USE_FALLBACK_RENDER, MovieClipUser::render_flag, MovieClipUser::render_size, rendersize_to_proxysize(), seq_get_movieclip_ibuf(), SEQ_MOVIECLIP_RENDER_UNDISTORTED, and MovieClip::start_frame.
Referenced by do_render_strip_uncached().
|
static |
Definition at line 734 of file render.cc.
References Editing::cache_flag, Scene::ed, effect_get_num_inputs(), input_preprocess(), prefetch_get_original_scene(), SEQ_CACHE_STORE_RAW, source_image_cache_put(), state, STRIP_TYPE_ADJUSTMENT, Strip::type, ImBuf::x, and ImBuf::y.
Referenced by seq_render_image_strip(), seq_render_movie_strip(), and seq_render_strip().
|
static |
Definition at line 1629 of file render.cc.
References BKE_scene_get_depsgraph(), BKE_scene_graph_update_for_newframe(), BKE_view_layer_default_render(), create_missing_media_image(), depsgraph, Scene::r, R_NO_CAMERA_SWITCH, Strip::scene, and seq_render_scene_strip_ex().
Referenced by do_render_strip_uncached().
|
static |
Definition at line 1410 of file render.cc.
References Strip::anim_startofs, BKE_render_resolution(), BKE_scene_camera_switch_update(), BKE_scene_frame_set(), BKE_scene_graph_update_for_newframe(), BKE_scene_multiview_num_views_get(), BKE_scene_multiview_render_view_name_get(), BKE_view_layer_default_render(), BLI_assert, ImBuf::byte_buffer, Editing::cache_flag, Scene::camera, Scene::compositing_node_group, ImBufByteBuffer::data, ImBufFloatBuffer::data, DEG_get_evaluated(), DEG_get_evaluated_scene(), depsgraph, Scene::ed, ListBase::first, Strip::flag, ImBuf::float_buffer, floorf, G, get_depsgraph_for_scene_strip(), IB_byte_data, IB_float_data, RenderResult::ibuf, IMB_allocImBuf(), IMB_freeImBuf(), MEM_calloc_arrayN(), MEM_freeN(), OB_RENDER, prefetch_get_original_scene(), Scene::r, R_DOCOMP, R_DOSEQ, R_NO_CAMERA_SWITCH, R_SEQ_OVERRIDE_SCENE_SETTINGS, RE_AcquireResultImage(), RE_display_free(), RE_display_share(), RE_GetSceneRender(), RE_NewSceneRender(), RE_ReleaseResultImage(), RE_RenderFrame(), RenderResult::rectx, RenderResult::recty, Strip::scene, Strip::scene_camera, SEQ_CACHE_STORE_RAW, seq_imbuf_to_sequencer_space(), SEQ_SCENE_NO_ANNOTATION, Editing::seqbase, source_image_cache_put(), V3D_OFSDRAW_NONE, V3D_OFSDRAW_OVERRIDE_SCENE_SETTINGS, V3D_OFSDRAW_SHOW_ANNOTATION, view3d_fn, and blender::seq::RenderData::view_id.
Referenced by seq_render_scene_strip().
| ImBuf * blender::seq::seq_render_strip | ( | const RenderData * | context, |
| SeqRenderState * | state, | ||
| Strip * | strip, | ||
| float | timeline_frame ) |
Definition at line 1791 of file render.cc.
References can_use_proxy(), do_render_strip_uncached(), IB_byte_data, IMB_allocImBuf(), intra_frame_cache_get_preprocessed(), intra_frame_cache_put_preprocessed(), rendersize_to_proxysize(), seq_imbuf_assign_spaces(), seq_input_have_to_preprocess(), seq_render_preprocess_ibuf(), source_image_cache_get(), and state.
Referenced by modifier_render_mask_input(), render_give_ibuf_direct(), seq_proxy_build_frame(), seq_render_effect_strip_impl(), and seq_render_strip_stack().
|
static |
Definition at line 1902 of file render.cc.
References blender::seq::OpaqueQuadTracker::add_occluder(), Strip::blend_mode, ImBufFloatBuffer::data, DoEffect, ELEM, ImBuf::float_buffer, i, IB_byte_data, IB_float_data, IMB_allocImBuf(), IMB_freeImBuf(), IMB_metadata_copy(), intra_frame_cache_get_composite(), intra_frame_cache_put_composite(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::seq::OpaqueQuadTracker::is_occluded(), is_opaque_alpha_over(), NoInput, out, ImBuf::planes, R_IMF_PLANES_BW, R_IMF_PLANES_RGB, R_IMF_PLANES_RGBA, seq_imbuf_assign_spaces(), seq_render_strip(), seq_render_strip_stack_apply_effect(), seq_shown_strips_get(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), source_image_cache_get(), state, STRIP_BLEND_REPLACE, strip_get_early_out_for_blend_mode(), UseInput1, and UseInput2.
Referenced by do_render_strip_seqbase(), render_give_ibuf(), and seq_render_give_ibuf_seqbase().
|
static |
Definition at line 1854 of file render.cc.
References Strip::blend_opacity, BLI_assert, blender::seq::EffectHandle::execute, out, seq_must_swap_input_in_blend_mode(), state, and strip_blend_mode_handle_get().
Referenced by seq_render_strip_stack().
|
static |
Definition at line 850 of file sequencer.cc.
References Strip::data, and StripData::done.
Referenced by blend_write().
| blender::Vector< Strip * > blender::seq::seq_shown_strips_get | ( | const Scene * | scene, |
| ListBase * | channels, | ||
| ListBase * | seqbase, | ||
| const int | timeline_frame, | ||
| const int | chanshown ) |
Definition at line 258 of file render.cc.
References b, blender::Vector< T, InlineBufferCapacity, Allocator >::begin(), BLI_assert_msg, blender::Vector< T, InlineBufferCapacity, Allocator >::end(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::extract_vector(), MAX_CHANNELS, query_rendered_strips(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), and UNLIKELY.
Referenced by render_give_ibuf(), seq_prefetch_scene_strip_is_rendered(), and seq_render_strip_stack().
|
static |
Definition at line 290 of file strip_edit.cc.
References add_reload_new_file(), Strip::anim_startofs, Strip::endofs, float, Scene::r, round_fl_to_int(), Strip::start, Strip::startofs, time_content_end_frame_get(), time_left_handle_frame_set(), time_media_playback_rate_factor_get(), and time_start_frame_get().
Referenced by seq_edit_split_handle_strip_offsets().
|
static |
Definition at line 263 of file strip_edit.cc.
References add_reload_new_file(), Strip::anim_endofs, Strip::endofs, float, Scene::r, round_fl_to_int(), Strip::start, Strip::startofs, time_content_end_frame_get(), time_media_playback_rate_factor_get(), time_right_handle_frame_set(), and time_start_frame_get().
Referenced by seq_edit_split_handle_strip_offsets().
|
static |
Definition at line 86 of file sequencer.cc.
References data, MEM_callocN(), SEQ_TRANSFORM_FILTER_AUTO, and STRIP_TYPE_SOUND_RAM.
Referenced by strip_alloc().
|
static |
Definition at line 180 of file sequencer.cc.
References BKE_sound_remove_scene_sound(), Strip::channels, channels_free(), Strip::clip, Strip::data, disconnect(), Scene::ed, ELEM, blender::seq::EffectHandle::free, Mask::id, MovieClip::id, id_us_min(), IDP_FreePropertyContent_ex(), is_strip_connected(), Strip::mask, MEM_freeN(), modifier_clear(), Strip::prop, relations_invalidate_cache_raw(), relations_strip_free_anim(), Strip::retiming_keys, Strip::retiming_keys_num, Strip::scene_sound, seq_free_strip(), Strip::sound, Strip::stereo3d_format, strip_effect_handle_get(), STRIP_TYPE_META, STRIP_TYPE_SCENE, STRIP_TYPE_SOUND_RAM, Strip::system_properties, and Strip::type.
Referenced by seq_free_strip_recurse(), and strip_free().
| StripProxy * blender::seq::seq_strip_proxy_alloc | ( | ) |
Definition at line 77 of file sequencer.cc.
References StripProxy::build_tc_flags, MEM_callocN(), StripProxy::quality, SEQ_PROXY_TC_RECORD_RUN, SEQ_PROXY_TC_RECORD_RUN_NO_GAPS, and StripProxy::tc.
Referenced by proxy_set().
| void blender::seq::seq_time_gap_info_get | ( | const Scene * | scene, |
| ListBase * | seqbase, | ||
| int | initial_frame, | ||
| GapInfo * | r_gap_info ) |
Find first gap between strips after initial_frame and describe it by filling data of r_gap_info
| scene | Scene in which strips are located. |
| seqbase | ListBase in which strips are located. |
| initial_frame | frame on timeline from where gaps are searched for. |
| r_gap_info | data structure describing gap, that will be filled in by this function. |
Definition at line 382 of file strip_time.cc.
References blender::seq::GapInfo::gap_exists, blender::seq::GapInfo::gap_length, blender::seq::GapInfo::gap_start_frame, query_all_strips(), strip_exists_at_frame(), timeline_boundbox(), rctf::xmax, and rctf::xmin.
Referenced by edit_remove_gaps().
Definition at line 1196 of file sequencer.cc.
References Scene::audio, BKE_sound_set_scene_volume(), Scene::ed, foreach_strip(), Strip::scene, scene_sequencer_is_used(), seq_mute_sound_strips_cb(), Editing::seqbase, Scene::sound_scene, STRIP_TYPE_SCENE, Strip::type, and AudioData::volume.
Referenced by strip_sound_update_cb().
Definition at line 1164 of file sequencer.cc.
References BKE_sound_update_scene_sound(), BLI_listbase_is_empty(), Strip::modifiers, must_update_strip_sound(), Strip::scene_sound, Strip::sound, and strip_update_sound_modifiers().
Referenced by strip_sound_update_cb().
|
static |
Definition at line 784 of file sequencer.cc.
References All, BLI_assert, flag, LISTBASE_FOREACH, SELECT, Strip::seqbase, seqbase_dupli_recursive(), strip_duplicate(), and STRIP_TYPE_META.
Referenced by seqbase_dupli_recursive(), and seqbase_duplicate_recursive().
| void blender::seq::seqbase_duplicate_recursive | ( | Main * | bmain, |
| const Scene * | scene_src, | ||
| Scene * | scene_dst, | ||
| ListBase * | nseqbase, | ||
| const ListBase * | seqbase, | ||
| const StripDuplicate | dupe_flag, | ||
| const int | flag ) |
Definition at line 819 of file sequencer.cc.
References flag, seq_duplicate_postprocess(), and seqbase_dupli_recursive().
Referenced by edit_strip_split(), scene_copy_data(), blender::ed::vse::sequencer_add_duplicate_exec(), blender::ed::vse::sequencer_clipboard_paste_exec(), and blender::ed::vse::sequencer_write_copy_paste_file().
|
static |
Definition at line 62 of file sequencer/intern/utils.cc.
References blender::seq::StripUniqueInfo::count, LISTBASE_FOREACH, blender::seq::StripUniqueInfo::match, blender::seq::StripUniqueInfo::name_dest, blender::seq::StripUniqueInfo::name_src, SNPRINTF, STREQ, blender::seq::StripUniqueInfo::strip, and STRIP_NAME_MAXSTR.
Referenced by seqbase_unique_name_recursive_fn(), and strip_unique_name_set().
|
static |
Definition at line 74 of file sequencer/intern/utils.cc.
References ListBase::first, Strip::seqbase, and seqbase_unique_name().
Referenced by strip_unique_name_set().
| int blender::seq::sequence_supports_modifiers | ( | Strip * | strip | ) |
Definition at line 544 of file sequencer/intern/modifiers/modifier.cc.
References STRIP_TYPE_SOUND_RAM, and Strip::type.
|
static |
Definition at line 253 of file strip_relations.cc.
References editing_get(), ListBase::first, max_ii(), MAXFRAME, meta_stack_active_get(), min_ii(), Strip::next, MetaStack::parent_strip, relations_strip_free_anim(), sequencer_all_free_anim_ibufs(), STRIP_TYPE_META, time_left_handle_frame_get(), time_right_handle_frame_get(), and time_strip_intersects_frame().
Referenced by relations_free_all_anim_ibufs(), and sequencer_all_free_anim_ibufs().
Definition at line 296 of file strip_relations.cc.
References Scene::ed, LISTBASE_FOREACH, SEQ_SCENE_STRIPS, Editing::seqbase, sequencer_check_scene_recursion(), STRIP_TYPE_META, and STRIP_TYPE_SCENE.
Referenced by relations_check_scene_recursion(), and sequencer_check_scene_recursion().
|
static |
Definition at line 141 of file strip_edit.cc.
References Scene::ed, LISTBASE_FOREACH, relation_is_effect_of_strip(), Editing::seqbase, sequencer_flag_users_for_removal(), STRIP_MARK_FOR_DELETE, and STRIP_TYPE_META.
Referenced by edit_flag_for_removal(), and sequencer_flag_users_for_removal().
|
static |
Definition at line 478 of file render.cc.
References BLI_rctf_init(), StripCrop::bottom, StripData::crop, Strip::data, in, left, StripCrop::left, StripCrop::right, StripCrop::top, and top.
Referenced by sequencer_preprocess_transform_crop().
|
static |
Definition at line 540 of file render.cc.
References Strip::data, filter, get_auto_filter(), IMB_FILTER_BILINEAR, IMB_FILTER_BOX, IMB_FILTER_CUBIC_BSPLINE, IMB_FILTER_CUBIC_MITCHELL, IMB_FILTER_NEAREST, IMB_transform(), IMB_TRANSFORM_MODE_CROP_SRC, in, is_strip_covering_screen(), out, R_IMF_PLANES_RGBA, SEQ_TRANSFORM_FILTER_AUTO, SEQ_TRANSFORM_FILTER_BILINEAR, SEQ_TRANSFORM_FILTER_BOX, SEQ_TRANSFORM_FILTER_CUBIC_BSPLINE, SEQ_TRANSFORM_FILTER_CUBIC_MITCHELL, SEQ_TRANSFORM_FILTER_NEAREST, sequencer_image_crop_init(), StripData::transform, and transform().
Referenced by input_preprocess().
| bool blender::seq::sequencer_strip_generates_image | ( | Strip * | strip | ) |
Definition at line 455 of file sequencer/intern/utils.cc.
References STRIP_TYPE_COLOR, STRIP_TYPE_IMAGE, STRIP_TYPE_MASK, STRIP_TYPE_MOVIE, STRIP_TYPE_MOVIECLIP, STRIP_TYPE_SCENE, STRIP_TYPE_TEXT, and Strip::type.
Referenced by relations_check_scene_recursion().
|
static |
Definition at line 381 of file render.cc.
References StripCrop::bottom, StripData::crop, Strip::data, StripCrop::left, StripCrop::right, and StripCrop::top.
Referenced by input_preprocess(), and seq_input_have_to_preprocess().
|
static |
Definition at line 368 of file render.cc.
References Strip::data, StripData::transform, and transform().
Referenced by input_preprocess(), and seq_input_have_to_preprocess().
| 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 ) |
Definition at line 470 of file sequencer/intern/utils.cc.
References Strip::data, float, image_height, image_width, SEQ_SCALE_TO_FILL, SEQ_SCALE_TO_FIT, SEQ_STRETCH_TO_FILL, SEQ_USE_ORIGINAL_SIZE, StripData::transform, and transform().
Referenced by add_image_strip(), add_movie_strip(), and blender::ed::vse::sequencer_strip_transform_fit_exec().
|
static |
Definition at line 216 of file sequencer/intern/modifiers/modifier.cc.
References PointerRNA::data, StripModifierData::ui_expand_flag, and UI_panel_custom_data_get().
Referenced by modifier_panel_register().
|
static |
Definition at line 158 of file strip_transform.cc.
References BLI_assert, Strip::channel, time_left_handle_frame_get(), and time_right_handle_frame_get().
Referenced by shuffle_strip_time_offset_get().
|
static |
Definition at line 171 of file strip_transform.cc.
References LISTBASE_FOREACH, max_ii(), min_ii(), relation_is_effect_of_strip(), shuffle_strip_test_overlap(), time_left_handle_frame_get(), and time_right_handle_frame_get().
Referenced by transform_seqbase_shuffle_time().
|
static |
Definition at line 450 of file sequencer/intern/modifiers/modifier.cc.
References StripModifierData::mask_input_type, StripModifierData::mask_strip, StripModifierData::mask_time, media_presence_is_missing(), strip_has_valid_data(), STRIP_MASK_INPUT_STRIP, STRIP_MASK_TIME_RELATIVE, and time_strip_intersects_frame().
Referenced by modifier_apply_stack().
| void blender::seq::solid_color_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 101 of file vse_effect_solid_color.cc.
References blender::seq::EffectHandle::copy, copy_solid_color(), do_solid_color(), blender::seq::EffectHandle::early_out, early_out_color(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::free, free_solid_color(), blender::seq::EffectHandle::init, init_solid_color(), blender::seq::EffectHandle::num_inputs, num_inputs_color(), and solid_color_effect_get_handle().
Referenced by effect_handle_get(), and solid_color_effect_get_handle().
| void blender::seq::sound_blend_read_data | ( | BlendDataReader * | reader, |
| ListBase * | lb ) |
| void blender::seq::sound_blend_write | ( | BlendWriter * | writer, |
| ListBase * | soundbase ) |
| EQCurveMappingData * blender::seq::sound_equalizer_add | ( | SoundEqualizerModifierData * | semd, |
| float | minX, | ||
| float | maxX ) |
Definition at line 159 of file sequencer/intern/sound.cc.
References BKE_curvemap_reset(), BKE_curvemapping_set_defaults(), BLI_addtail(), CurveMapping::cm, EQCurveMappingData::curve_mapping, CURVE_PRESET_CONSTANT_MEDIAN, SoundEqualizerModifierData::graphics, HD_AUTO_ANIM, MEM_callocN(), Negative, CurveMapping::preset, SOUND_EQUALIZER_DEFAULT_MAX_DB, SOUND_EQUALIZER_DEFAULT_MAX_FREQ, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by sound_equalizermodifier_add_graph(), sound_equalizermodifier_init_data(), and sound_equalizermodifier_set_graphs().
| EQCurveMappingData * blender::seq::sound_equalizermodifier_add_graph | ( | SoundEqualizerModifierData * | semd, |
| float | min_freq, | ||
| float | max_freq ) |
Definition at line 214 of file sequencer/intern/sound.cc.
References sound_equalizer_add().
| void blender::seq::sound_equalizermodifier_copy_data | ( | StripModifierData * | target, |
| StripModifierData * | smd ) |
Definition at line 257 of file sequencer/intern/sound.cc.
References BKE_curvemapping_copy_data(), BLI_addtail(), BLI_listbase_clear(), EQCurveMappingData::curve_mapping, SoundEqualizerModifierData::graphics, LISTBASE_FOREACH, MEM_dupallocN(), EQCurveMappingData::next, and EQCurveMappingData::prev.
Definition at line 30 of file MOD_sound_equalizer.cc.
References uiLayout::alignment_set(), blender::ui::Center, col, uiLayout::column(), uiLayout::grid_flow(), uiLayout::label(), Panel::layout, ptr, blender::ui::Right, RNA_BEGIN, RNA_END, RNA_float_get(), RNA_pointer_get(), split(), UI_panel_custom_data_get(), uiTemplateCurveMapping(), and uiLayout::use_property_split_set().
Referenced by sound_equalizermodifier_register().
| void blender::seq::sound_equalizermodifier_free | ( | StripModifierData * | smd | ) |
Definition at line 244 of file sequencer/intern/sound.cc.
References BKE_curvemapping_free_data(), BLI_listbase_clear(), SoundEqualizerModifierData::graphics, StripModifierDataRuntime::last_buf, LISTBASE_FOREACH_MUTABLE, MEM_freeN(), and StripModifierData::runtime.
Referenced by sound_equalizermodifier_set_graphs().
| void blender::seq::sound_equalizermodifier_init_data | ( | StripModifierData * | smd | ) |
Definition at line 237 of file sequencer/intern/sound.cc.
References sound_equalizer_add(), SOUND_EQUALIZER_DEFAULT_MAX_FREQ, and SOUND_EQUALIZER_DEFAULT_MIN_FREQ.
|
static |
Definition at line 73 of file MOD_sound_equalizer.cc.
References BKE_curvemapping_blend_read(), BLO_read_struct_list, SoundEqualizerModifierData::graphics, and LISTBASE_FOREACH.
| void * blender::seq::sound_equalizermodifier_recreator | ( | Strip * | strip, |
| StripModifierData * | smd, | ||
| void * | sound_in, | ||
| bool & | needs_update ) |
Definition at line 274 of file sequencer/intern/sound.cc.
References BKE_curvemap_evaluateF(), BKE_curvemapping_init(), BLI_listbase_is_empty(), ceil, CurveMapping::cm, CurveMapping::curr, fabs(), float, SoundEqualizerModifierData::graphics, i, StripModifierDataRuntime::last_buf, StripModifierDataRuntime::last_sound_in, StripModifierDataRuntime::last_sound_out, LISTBASE_FOREACH, MEM_calloc_arrayN(), MEM_freeN(), StripModifierData::runtime, SOUND_EQUALIZER_DEFAULT_MAX_DB, SOUND_EQUALIZER_DEFAULT_MAX_FREQ, SOUND_EQUALIZER_SIZE_CONVERSION, SOUND_EQUALIZER_SIZE_DEFINITION, UNUSED_VARS, rctf::xmax, and rctf::xmin.
|
static |
Definition at line 57 of file MOD_sound_equalizer.cc.
References eSeqModifierType_SoundEqualizer, modifier_panel_register(), and sound_equalizermodifier_draw().
| void blender::seq::sound_equalizermodifier_remove_graph | ( | SoundEqualizerModifierData * | semd, |
| EQCurveMappingData * | eqcmd ) |
Definition at line 230 of file sequencer/intern/sound.cc.
References BLI_remlink_safe(), SoundEqualizerModifierData::graphics, and MEM_freeN().
| void blender::seq::sound_equalizermodifier_set_graphs | ( | SoundEqualizerModifierData * | semd, |
| int | number ) |
Definition at line 197 of file sequencer/intern/sound.cc.
References sound_equalizer_add(), SOUND_EQUALIZER_DEFAULT_MAX_FREQ, SOUND_EQUALIZER_DEFAULT_MIN_FREQ, and sound_equalizermodifier_free().
Referenced by blender::ed::vse::strip_modifier_equalizer_redefine_exec().
|
static |
Definition at line 63 of file MOD_sound_equalizer.cc.
References BKE_curvemapping_blend_write(), BLO_write_struct_by_name(), SoundEqualizerModifierData::graphics, and LISTBASE_FOREACH.
| void * blender::seq::sound_modifier_recreator | ( | Strip * | strip, |
| StripModifierData * | smd, | ||
| void * | sound, | ||
| bool & | needs_update ) |
Definition at line 361 of file sequencer/intern/sound.cc.
References StripModifierData::flag, blender::seq::SoundModifierWorkerInfo::recreator, sound_modifier_worker_info_get(), STRIP_MODIFIER_FLAG_MUTE, and StripModifierData::type.
Referenced by strip_update_sound_modifiers().
| const SoundModifierWorkerInfo * blender::seq::sound_modifier_worker_info_get | ( | int | type | ) |
Definition at line 351 of file sequencer/intern/sound.cc.
References i, and workersSoundModifiers.
Referenced by sound_modifier_recreator().
Definition at line 150 of file sequencer/intern/sound.cc.
References Scene::ed, lookup_meta_by_strip(), sound_pitch_get(), and Strip::speed_factor.
Referenced by sound_pitch_get().
Definition at line 143 of file sequencer/intern/sound.cc.
References Scene::ed, Editing::seqbase, and strip_update_sound_recursive().
Definition at line 108 of file sequencer/intern/sound.cc.
References Strip::anim_startofs, BKE_sound_move_scene_sound(), BKE_sound_move_scene_sound_defaults(), Scene::r, Strip::scene, Strip::scene_sound, Strip::startofs, STRIP_TYPE_SCENE, time_left_handle_frame_get(), time_right_handle_frame_get(), and Strip::type.
Referenced by sound_update_bounds_all().
| void blender::seq::sound_update_bounds_all | ( | Scene * | scene | ) |
Definition at line 92 of file sequencer/intern/sound.cc.
References Scene::ed, ELEM, LISTBASE_FOREACH, sound_update_bounds(), STRIP_TYPE_META, STRIP_TYPE_SCENE, STRIP_TYPE_SOUND_RAM, and strip_update_sound_bounds_recursive().
Referenced by eval_strips().
Definition at line 81 of file sequencer/intern/sound.cc.
References Scene::ed, Editing::seqbase, and UNUSED_VARS.
| size_t blender::seq::source_image_cache_calc_memory_size | ( | const Scene * | scene | ) |
Definition at line 239 of file source_image_cache.cc.
References IMB_get_size_in_memory(), lock, blender::seq::SourceImageCache::map_, query_source_image_cache(), size(), and source_image_cache_mutex.
Referenced by is_cache_full().
| void blender::seq::source_image_cache_clear | ( | Scene * | scene | ) |
Definition at line 199 of file source_image_cache.cc.
References blender::seq::SourceImageCache::clear(), Scene::ed, lock, query_source_image_cache(), Editing::runtime, EditingRuntime::source_image_cache, and source_image_cache_mutex.
Referenced by cache_cleanup(), and cache_settings_changed().
| void blender::seq::source_image_cache_destroy | ( | Scene * | scene | ) |
Definition at line 208 of file source_image_cache.cc.
References BLI_assert, Scene::ed, lock, query_source_image_cache(), Editing::runtime, EditingRuntime::source_image_cache, and source_image_cache_mutex.
Referenced by editing_free().
| bool blender::seq::source_image_cache_evict | ( | Scene * | scene | ) |
Definition at line 269 of file source_image_cache.cc.
References Editing::cache_flag, Scene::ed, IMB_freeImBuf(), lock, blender::seq::SourceImageCache::map_, PEFRA, PSFRA, query_source_image_cache(), Scene::r, SEQ_CACHE_STORE_RAW, seq_prefetch_get_time_range(), and source_image_cache_mutex.
Referenced by evict_caches_if_full().
| ImBuf * blender::seq::source_image_cache_get | ( | const RenderData * | context, |
| const Strip * | strip, | ||
| float | timeline_frame ) |
Definition at line 107 of file source_image_cache.cc.
References give_cache_frame_index(), IMB_refImBuf(), lock, blender::seq::SourceImageCache::map_, prefetch_get_original_scene_and_strip(), query_source_image_cache(), blender::seq::SourceImageCache::remove_entry(), blender::math::round(), source_image_cache_mutex, STRIP_TYPE_SCENE, Strip::type, ImBuf::x, and ImBuf::y.
Referenced by seq_render_strip(), and seq_render_strip_stack().
| size_t blender::seq::source_image_cache_get_image_count | ( | const Scene * | scene | ) |
Definition at line 255 of file source_image_cache.cc.
References count, lock, blender::seq::SourceImageCache::map_, query_source_image_cache(), and source_image_cache_mutex.
Referenced by evict_caches_if_full().
Definition at line 190 of file source_image_cache.cc.
References lock, query_source_image_cache(), blender::seq::SourceImageCache::remove_entry(), and source_image_cache_mutex.
Referenced by relations_invalidate_cache_raw().
| void blender::seq::source_image_cache_iterate | ( | Scene * | scene, |
| void * | userdata, | ||
| void | callback_itervoid *userdata, const Strip *strip, int timeline_frame ) |
Definition at line 219 of file source_image_cache.cc.
References lock, blender::seq::SourceImageCache::map_, query_source_image_cache(), source_image_cache_mutex, and Strip::start.
Referenced by blender::ed::vse::draw_cache_view().
| void blender::seq::source_image_cache_put | ( | const RenderData * | context, |
| const Strip * | strip, | ||
| float | timeline_frame, | ||
| ImBuf * | image ) |
Definition at line 153 of file source_image_cache.cc.
References BLI_assert_msg, ensure_source_image_cache(), give_cache_frame_index(), IMB_freeImBuf(), IMB_refImBuf(), lock, blender::seq::SourceImageCache::map_, prefetch_get_original_scene_and_strip(), blender::math::round(), source_image_cache_mutex, and Strip::start.
Referenced by seq_render_preprocess_ibuf(), and seq_render_scene_strip_ex().
| void blender::seq::speed_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 209 of file vse_effect_speed.cc.
References blender::seq::EffectHandle::copy, copy_speed_effect(), do_speed_effect(), blender::seq::EffectHandle::early_out, early_out_speed(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::free, free_speed_effect(), blender::seq::EffectHandle::init, init_speed_effect(), blender::seq::EffectHandle::load, load_speed_effect(), blender::seq::EffectHandle::num_inputs, and num_inputs_speed().
Referenced by effect_handle_get().
|
static |
Definition at line 177 of file vse_effect_speed.cc.
References floor, and strip_speed_effect_target_frame_get().
Referenced by do_speed_effect().
|
inline |
Definition at line 78 of file effects.hh.
|
inline |
Definition at line 70 of file effects.hh.
Definition at line 270 of file sequencer/intern/modifiers/modifier.cc.
References ptr.
Definition at line 265 of file sequencer/intern/modifiers/modifier.cc.
References premul_float_to_straight_uchar(), and ptr.
Referenced by blender::seq::ColorBalanceApplyOp::apply(), blender::seq::ColorBalanceApplyOp::apply(), blender::seq::CurvesApplyOp::apply(), and blender::seq::WhiteBalanceApplyOp::apply().
Definition at line 292 of file sequencer/intern/modifiers/modifier.cc.
References ptr.
Definition at line 287 of file sequencer/intern/modifiers/modifier.cc.
References ptr, and rgba_float_to_uchar().
Referenced by blender::seq::BrightContrastApplyOp::apply(), and blender::seq::HueCorrectApplyOp::apply().
|
inline |
Definition at line 65 of file effects.hh.
|
inline |
Definition at line 60 of file effects.hh.
References premul_float_to_straight_uchar().
Referenced by blender::seq::AlphaOverEffectOp::apply(), blender::seq::AlphaUnderEffectOp::apply(), blender::seq::GammaCrossEffectOp::apply(), composite_shadow(), do_wipe_effect(), and fill_rect_alpha_under().
Definition at line 79 of file strip_add.cc.
References Scene::ed, lookup_meta_by_strip(), relations_invalidate_cache(), Editing::seqbase, strip_lookup_invalidate(), strip_time_effect_range_set(), strip_unique_name_set(), and time_update_meta_strip_range().
Referenced by add_effect_strip(), add_image_strip(), add_mask_strip(), add_meta_strip(), add_movie_strip(), add_movieclip_strip(), and add_scene_strip().
Definition at line 89 of file strip_add.cc.
References edit_strip_name_set(), load_data(), strip_give_name(), STRIP_TYPE_MASK, STRIP_TYPE_MOVIECLIP, STRIP_TYPE_SCENE, and Strip::type.
Referenced by add_effect_strip(), add_image_strip(), add_mask_strip(), add_meta_strip(), add_movie_strip(), add_movieclip_strip(), and add_scene_strip().
|
static |
Definition at line 113 of file strip_add.cc.
References COLOR_ROLE_DEFAULT_BYTE, StripData::colorspace_settings, Strip::data, ColorManagedDisplaySettings::display_device, Scene::display_settings, IMB_colormanagement_display_get_default_view_transform_name(), IMB_colormanagement_display_get_named(), IMB_colormanagement_role_colorspace_name_get(), load_data(), ColorManagedColorspaceSettings::name, SEQ_LOAD_SET_VIEW_TRANSFORM, STREQ, STRNCPY_UTF8, Scene::view_settings, and ColorManagedViewSettings::view_transform.
Referenced by add_image_strip(), and add_movie_strip().
Definition at line 136 of file sequencer.cc.
References Strip::blend_mode, Strip::blend_opacity, BLI_addtail(), Strip::channels, channels_ensure(), Strip::color_tag, Strip::data, Strip::flag, ID_SEQ, Strip::media_playback_rate, MEM_callocN(), Strip::mul, Strip::name, relations_session_uid_generate(), Strip::sat, Strip::scene_sound, SELECT, seq_strip_alloc(), Strip::speed_factor, Strip::start, Strip::stereo3d_format, STRIP_BLEND_ALPHAOVER, STRIP_BLEND_CROSS, strip_channel_set(), STRIP_COLOR_NONE, STRIP_TYPE_ADJUSTMENT, STRIP_TYPE_META, Strip::type, and Strip::volume.
Referenced by add_effect_strip(), add_image_strip(), add_mask_strip(), add_meta_strip(), add_movie_strip(), add_movieclip_strip(), add_scene_strip(), and blender::ed::vse::sequencer_meta_make_exec().
|
static |
Duplicate the animation in src that matches items in strip into dst.
Definition at line 145 of file animation.cc.
References blender::animrig::action_fcurve_attach(), BKE_fcurve_copy(), BLI_assert_msg, BLI_listbase_is_empty(), blender::seq::AnimationBackup::channelbag, blender::seq::AnimationBackup::curves, blender::animrig::Channelbag::fcurves(), blender::animrig::fcurves_in_listbase_filtered(), blender::animrig::fcurves_in_span_filtered(), FCurve::grp, LISTBASE_FOREACH, Strip::seqbase, strip_animation_duplicate(), STRIP_TYPE_META, and Strip::type.
Referenced by animation_duplicate_backup_to_scene(), and strip_animation_duplicate().
| EffectHandle blender::seq::strip_blend_mode_handle_get | ( | Strip * | strip | ) |
Definition at line 305 of file effects.cc.
References Strip::blend_mode, effect_handle_for_blend_mode_get(), effect_handle_get(), StripRuntime::flag, blender::seq::EffectHandle::load, Strip::runtime, STRIP_BLEND_REPLACE, STRIP_EFFECT_NOT_LOADED, and Strip::type.
Referenced by seq_render_strip_stack_apply_effect(), and strip_get_early_out_for_blend_mode().
|
static |
Definition at line 58 of file strip_lookup.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), eSeqModifierType_Compositor, LISTBASE_FOREACH, Strip::modifiers, and SequencerCompositorModifierData::node_group.
Referenced by strip_lookup_build_from_seqbase().
|
static |
Definition at line 49 of file strip_lookup.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), and Strip::scene.
Referenced by strip_lookup_build_from_seqbase().
Definition at line 162 of file thumbnail_cache.cc.
References Strip::data, Scene::ed, ELEM, StripElem::orig_height, StripElem::orig_width, STRIP_TYPE_IMAGE, STRIP_TYPE_MOVIE, StripData::stripdata, and Strip::type.
Referenced by blender::ed::vse::get_seq_strip_thumbnails(), thumbnail_cache_get(), and thumbnail_cache_invalidate_strip().
| void blender::seq::strip_channel_set | ( | Strip * | strip, |
| int | channel ) |
Set strip channel. This value is clamped to valid values.
Definition at line 587 of file strip_transform.cc.
References Strip::channel, blender::math::clamp(), and MAX_CHANNELS.
Referenced by blender::ed::transform::flushTransSeq(), blender::ed::vse::sequencer_add_movie_multiple_strips(), blender::ed::vse::sequencer_add_movie_single_strip(), blender::ed::vse::sequencer_meta_make_exec(), strip_alloc(), transform_seqbase_shuffle_ex(), and blender::ed::vse::update_overlay_strip_position_data().
|
static |
Definition at line 17 of file strip_connect.cc.
References BLI_listbase_clear(), Strip::connections, and LISTBASE_FOREACH_MUTABLE.
Referenced by disconnect().
|
static |
Definition at line 1082 of file sequencer.cc.
References BKE_main_blendfile_path(), BKE_sound_new_file(), BLI_path_abs(), BLI_path_join, Strip::data, StripData::dirpath, FILE_MAX, StripElem::filename, Strip::sound, STRIP_TYPE_SOUND_HD, STRIP_TYPE_SOUND_RAM, StripData::stripdata, and Strip::type.
Referenced by doversion_250_sound_proxy_update().
|
static |
Duplicate the drivers in src that matches items in strip into dst.
Definition at line 188 of file animation.cc.
References BKE_fcurve_copy(), BLI_addtail(), AnimData::drivers, blender::seq::AnimationBackup::drivers, blender::animrig::fcurves_in_listbase_filtered(), LISTBASE_FOREACH, Strip::seqbase, strip_drivers_duplicate(), STRIP_TYPE_META, and Strip::type.
Referenced by animation_duplicate_backup_to_scene(), and strip_drivers_duplicate().
|
static |
Definition at line 592 of file sequencer.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), StripProxy::anim, Strip::anims, BKE_id_copy_for_duplicate(), BKE_scene_duplicate(), BKE_sound_scene_add_scene_sound_defaults(), BLI_addtail(), BLI_assert, BLI_assert_unreachable, BLI_listbase_clear(), Strip::channels, channels_duplicate(), Strip::clip, Strip::connections, connections_duplicate(), blender::seq::EffectHandle::copy, StripData::crop, Data, Strip::data, Scene::ed, ListBase::first, flag, Mask::id, MovieClip::id, id_us_plus(), IDP_CopyProperty_ex(), is_strip_connected(), LIB_ID_COPY_DEFAULT, LIB_ID_CREATE_NO_MAIN, LIB_ID_CREATE_NO_USER_REFCOUNT, LIB_ID_DUPLICATE_IS_ROOT_ID, LIB_ID_DUPLICATE_IS_SUBPROCESS, Strip::mask, blender::seq::StripDuplicateContext::masks, MEM_dupallocN(), modifier_list_copy(), modifier_persistent_uids_are_valid(), Strip::modifiers, blender::seq::StripDuplicateContext::movieclips, Strip::prop, StripData::proxy, relations_session_uid_generate(), Strip::retiming_keys, Strip::retiming_keys_num, SCE_COPY_FULL, Strip::scene, Strip::scene_sound, blender::seq::StripDuplicateContext::scenes, Editing::seqbase, Strip::seqbase, Strip::sound, Strip::stereo3d_format, strip_effect_handle_get(), STRIP_TYPE_IMAGE, STRIP_TYPE_MASK, STRIP_TYPE_META, STRIP_TYPE_MOVIE, STRIP_TYPE_MOVIECLIP, STRIP_TYPE_SCENE, STRIP_TYPE_SOUND_RAM, strip_unique_name_set(), StripData::stripdata, Strip::system_properties, StripData::transform, Strip::type, U, UniqueName, USER_DUP_LINKED_ID, and USER_DUP_OBJECT.
Referenced by seqbase_dupli_recursive(), and strip_duplicate_recursive_impl().
| Strip * blender::seq::strip_duplicate_recursive | ( | Main * | bmain, |
| const Scene * | scene_src, | ||
| Scene * | scene_dst, | ||
| ListBase * | new_seq_list, | ||
| Strip * | strip, | ||
| const StripDuplicate | dupe_flag ) |
Definition at line 766 of file sequencer.cc.
References seq_duplicate_postprocess(), and strip_duplicate_recursive_impl().
Referenced by proxy_rebuild_context(), and blender::ed::vse::sequencer_separate_images_exec().
|
static |
Definition at line 746 of file sequencer.cc.
References LISTBASE_FOREACH, Strip::seqbase, strip_duplicate(), strip_duplicate_recursive_impl(), STRIP_TYPE_META, and Strip::type.
Referenced by strip_duplicate_recursive(), and strip_duplicate_recursive_impl().
| EffectHandle blender::seq::strip_effect_handle_get | ( | Strip * | strip | ) |
Get the effect handle for a given strip, and load the strip if it has not been loaded already. If strip is not an effect strip, returns empty EffectHandle.
Definition at line 290 of file effects.cc.
References effect_handle_get(), StripRuntime::flag, blender::seq::EffectHandle::load, Strip::runtime, STRIP_EFFECT_NOT_LOADED, and Strip::type.
Referenced by add_effect_strip(), seq_render_effect_strip_impl(), seq_strip_free_ex(), blender::ed::vse::sequencer_change_effect_type_exec(), strip_duplicate(), strip_speed_effect_target_frame_get(), and strip_update_effectdata_cb().
Definition at line 110 of file vse_effect_speed.cc.
References Strip::effectdata, strip_effect_speed_rebuild_map(), and v.
Referenced by strip_speed_effect_target_frame_get().
Build frame map when speed in mode SEQ_SPEED_MULTIPLY is animated. This is, because target_frame value is integrated over time.
Definition at line 79 of file vse_effect_speed.cc.
References CLAMP, Strip::effectdata, evaluate_fcurve(), Strip::input1, MEM_freeN(), MEM_malloc_arrayN(), strip_effect_speed_speed_factor_curve_get(), time_left_handle_frame_get(), time_right_handle_frame_get(), time_strip_length_get(), and v.
Referenced by relations_free_imbuf(), relations_invalidate_cache(), and strip_effect_speed_frame_map_ensure().
|
static |
Definition at line 74 of file vse_effect_speed.cc.
References Scene::id, and id_data_find_fcurve().
Referenced by strip_effect_speed_rebuild_map(), and strip_speed_effect_target_frame_get().
|
static |
Definition at line 370 of file strip_time.cc.
References time_strip_intersects_frame().
Referenced by seq_time_gap_info_get().
|
static |
Definition at line 42 of file iterator.cc.
References LISTBASE_FOREACH, strip_for_each_recursive(), and STRIP_TYPE_META.
|
static |
Definition at line 26 of file iterator.cc.
References LISTBASE_FOREACH, strip_for_each_recursive(), and STRIP_TYPE_META.
Referenced by foreach_strip(), foreach_strip(), strip_for_each_recursive(), and strip_for_each_recursive().
Definition at line 269 of file sequencer.cc.
References seq_strip_free_ex().
Referenced by edit_remove_flagged_strips().
Only use as last resort when the StripElem is available but not the Strip. (needed for RNA)
Definition at line 383 of file sequencer/intern/utils.cc.
References ARRAY_HAS_ITEM, Strip::data, ListBase::first, Strip::len, Strip::next, Strip::seqbase, strip_from_strip_elem(), and StripData::stripdata.
Referenced by strip_from_strip_elem().
|
static |
Definition at line 1833 of file render.cc.
References Strip::blend_opacity, DoEffect, blender::seq::EffectHandle::early_out, ELEM, NoInput, seq_must_swap_input_in_blend_mode(), strip_blend_mode_handle_get(), UseInput1, and UseInput2.
Referenced by seq_render_strip_stack().
| const char * blender::seq::strip_give_name | ( | const Strip * | strip | ) |
Definition at line 166 of file sequencer/intern/utils.cc.
References Strip::data, DATA_, StripData::dirpath, get_default_stripname_by_type(), name, and Strip::type.
Referenced by blender::ed::vse::draw_seq_text_get_name(), blender::ed::vse::sequencer_change_effect_type_exec(), and strip_add_set_name().
| 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 439 of file sequencer/intern/utils.cc.
References Strip::clip, Strip::mask, Strip::scene, Strip::sound, STRIP_TYPE_MASK, STRIP_TYPE_MOVIECLIP, STRIP_TYPE_SCENE, STRIP_TYPE_SOUND_RAM, and Strip::type.
Referenced by skip_modifier().
|
static |
Definition at line 702 of file strip_transform.cc.
References StripCrop::bottom, StripData::crop, Strip::data, i, image_transform_mirror_factor_get(), StripCrop::left, quad, Scene::r, blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), StripCrop::right, seq_image_transform_matrix_get_ex(), StripCrop::top, transform_image_raw_size_get(), and blender::math::transform_point().
Referenced by image_transform_final_quad_get(), and image_transform_quad_get().
|
static |
Definition at line 86 of file vse_effect_text.cc.
References BLF_addref_id(), BLF_is_loaded_id(), BLF_load_unique(), g_font_map, and lock.
Referenced by effect_text_font_load().
|
static |
Definition at line 113 of file vse_effect_text.cc.
References BLF_addref_id(), BLF_is_loaded_id(), BLF_load_mem_unique(), data, g_font_map, lock, and name.
Referenced by effect_text_font_load().
|
static |
Definition at line 38 of file strip_lookup.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), and input.
Referenced by strip_lookup_build_effect().
|
static |
Definition at line 110 of file strip_lookup.cc.
References strip_lookup_build_from_seqbase().
Referenced by strip_lookup_rebuild().
|
static |
Definition at line 77 of file strip_lookup.cc.
References Strip::input1, Strip::input2, and strip_lookup_append_effect().
Referenced by strip_lookup_build_from_seqbase().
|
static |
Definition at line 87 of file strip_lookup.cc.
References Strip::channels, LISTBASE_FOREACH, strip_by_compositor_node_group_lookup_build(), strip_by_scene_lookup_build(), strip_lookup_build_effect(), strip_lookup_build_from_seqbase(), and STRIP_TYPE_META.
Referenced by strip_lookup_build(), and strip_lookup_build_from_seqbase().
| void blender::seq::strip_lookup_free | ( | Editing * | ed | ) |
Free lookup hash data.
Definition at line 147 of file strip_lookup.cc.
References BLI_assert, lock, lookup_lock, and strip_lookup_free().
|
static |
Definition at line 122 of file strip_lookup.cc.
Referenced by editing_free(), strip_lookup_free(), and strip_lookup_rebuild().
| void blender::seq::strip_lookup_invalidate | ( | const Editing * | ed | ) |
Mark strip lookup as invalid (i.e. will need rebuilding).
Definition at line 222 of file strip_lookup.cc.
References lock, and lookup_lock.
Referenced by edit_remove_flagged_strips(), edit_strip_name_set(), edit_strip_swap(), blender::ed::vse::sequencer_meta_make_exec(), blender::ed::vse::sequencer_reassign_inputs_exec(), and strip_add_generic_update().
|
static |
Definition at line 116 of file strip_lookup.cc.
Referenced by strip_lookup_rebuild().
|
static |
Definition at line 128 of file strip_lookup.cc.
References strip_lookup_build(), strip_lookup_free(), and strip_lookup_new().
Referenced by strip_lookup_update_if_needed().
|
static |
Definition at line 135 of file strip_lookup.cc.
References strip_lookup_rebuild().
Referenced by lookup_meta_by_strip(), lookup_strip_by_channel_owner(), lookup_strip_by_name(), lookup_strips_by_compositor_node_group(), lookup_strips_by_scene(), lookup_strips_by_scene_map_get(), and SEQ_lookup_effects_by_strip().
Definition at line 301 of file sequencer/intern/utils.cc.
References Strip::anims, BLI_addtail(), BLI_path_abs(), BLI_path_join, Strip::data, StripData::dirpath, Scene::ed, FILE_MAX, StripElem::filename, ListBase::first, Strip::flag, Scene::id, ID_BLEND_PATH_FROM_GLOBAL, index_dir_set(), MEM_mallocN(), open_anim_file_multiview(), open_anim_filepath(), Scene::r, R_MULTIVIEW, relations_strip_free_anim(), SEQ_USE_VIEWS, and StripData::stripdata.
Referenced by proxy_rebuild_context(), seq_proxy_fetch(), seq_render_movie_strip(), and time_strip_fps_get().
|
static |
Definition at line 955 of file sequencer.cc.
References StripProxy::anim, Strip::anims, BLI_assert_unreachable, BLI_listbase_clear(), BLO_read_string(), BLO_read_struct, BLO_read_struct_array, BLO_read_struct_list, Strip::channels, Strip::connections, StripData::crop, Strip::data, StripData::done, Strip::effectdata, ELEM, Strip::flag, StripRuntime::flag, IDP_BlendDataRead, Strip::input1, Strip::input2, LISTBASE_FOREACH, modifier_blend_read_data(), Strip::modifiers, Strip::prop, StripData::proxy, proxy_set(), relations_session_uid_generate(), Strip::retiming_keys, retiming_keys_count(), Strip::runtime, TextVars::runtime, Strip::scene_sound, SEQ_USE_PROXY, size(), Strip::stereo3d_format, STRIP_EFFECT_NOT_LOADED, STRIP_FONT_NOT_LOADED, STRIP_TYPE_COLOR, STRIP_TYPE_COLORMIX, STRIP_TYPE_GAUSSIAN_BLUR, STRIP_TYPE_GLOW, STRIP_TYPE_IMAGE, STRIP_TYPE_MOVIE, STRIP_TYPE_SOUND_HD, STRIP_TYPE_SOUND_RAM, STRIP_TYPE_SPEED, STRIP_TYPE_TEXT, STRIP_TYPE_TRANSFORM_LEGACY, STRIP_TYPE_WIPE, StripData::stripdata, Strip::system_properties, TextVars::text_blf_id, TextVars::text_len_bytes, TextVars::text_ptr, StripData::transform, and Strip::type.
Referenced by blend_read().
|
static |
Definition at line 317 of file strip_retiming.cc.
References BLI_assert, SeqRetimingKey::flag, MEM_calloc_arrayN(), MEM_freeN(), SeqRetimingKey::retiming_factor, retiming_find_segment_start_key(), retiming_is_allowed(), Strip::retiming_keys, retiming_keys_count(), Strip::retiming_keys_num, retiming_last_key_get(), SEQ_FREEZE_FRAME_IN, SEQ_SPEED_TRANSITION_IN, SeqRetimingKey::strip_frame_index, and strip_retiming_evaluate().
Referenced by retiming_add_key(), retiming_add_transition(), and strip_retiming_remove_transition().
|
static |
Definition at line 528 of file strip_retiming.cc.
References blender::Bounds< T >::max, MAXFRAMEF, blender::Bounds< T >::min, MINAFRAMEF, retiming_is_last_key(), retiming_key_timeline_frame_get(), and SeqRetimingKey::strip_frame_index.
Referenced by freeze_key_pair_create(), and retiming_add_transition().
|
static |
Definition at line 687 of file strip_retiming.cc.
References SeqRetimingKey::flag, MAXFRAME, retiming_is_last_key(), retiming_key_timeline_frame_get(), SEQ_SPEED_TRANSITION_IN, and SeqRetimingKey::strip_frame_index.
Referenced by retiming_key_timeline_frame_set().
|
static |
Definition at line 649 of file strip_retiming.cc.
References float, Scene::r, SeqRetimingKey::strip_frame_index, and time_media_playback_rate_factor_get().
Referenced by strip_retiming_transition_offset().
|
static |
Definition at line 405 of file strip_retiming.cc.
References SeqRetimingKey::flag, SEQ_FREEZE_FRAME_IN, and SEQ_FREEZE_FRAME_OUT.
Referenced by retiming_remove_multiple_keys(), and strip_retiming_remove_key_ex().
Definition at line 290 of file strip_retiming.cc.
References BLI_assert, SeqRetimingKey::retiming_factor, retiming_find_segment_start_key(), retiming_key_is_transition_start(), Strip::retiming_keys, SeqRetimingKey::strip_frame_index, strip_retiming_evaluate_arc_segment(), strip_retiming_segment_step_get(), strip_retiming_transition_is_linear(), and UNUSED_VARS_NDEBUG.
Referenced by blender::seq::RetimingRange::claculate_speed_table_from_seq(), give_frame_index(), and strip_retiming_add_key().
|
static |
Definition at line 280 of file strip_retiming.cc.
References pow, SeqRetimingKey::retiming_factor, sqrt, strip_retiming_line_segments_tangent_circle(), and y.
Referenced by strip_retiming_evaluate().
|
static |
Definition at line 716 of file strip_retiming.cc.
References BLI_assert, float, SeqRetimingKey::original_strip_frame_index, Scene::r, retiming_add_transition(), Strip::retiming_keys_num, SeqRetimingKey::strip_frame_index, strip_retiming_remove_transition(), time_media_playback_rate_factor_get(), and UNUSED_VARS_NDEBUG.
Referenced by strip_retiming_fix_transitions().
|
static |
Definition at line 728 of file strip_retiming.cc.
References retiming_is_last_key(), retiming_key_index_get(), retiming_key_is_transition_start(), retiming_keys_get(), and strip_retiming_fix_transition().
Referenced by strip_retiming_key_offset().
|
static |
Definition at line 748 of file strip_retiming.cc.
References SeqRetimingKey::flag, SEQ_SPEED_TRANSITION_IN, SeqRetimingKey::strip_frame_index, strip_retiming_fix_transitions(), and strip_retiming_transition_offset().
Referenced by retiming_key_timeline_frame_set().
|
static |
Definition at line 211 of file strip_retiming.cc.
References copy_v2_v2_db(), isect_seg_seg_v2_lambda_mu_db(), len_v2v2_db(), strip_retiming_segment_as_line_segment(), sub_v2_v2v2_db(), and v2.
Referenced by strip_retiming_evaluate_arc_segment().
|
static |
Definition at line 1058 of file strip_retiming.cc.
References Scene::ed, and lookup_meta_by_strip().
Referenced by retiming_sound_animation_data_set().
|
static |
Definition at line 472 of file strip_retiming.cc.
References MEM_calloc_arrayN(), MEM_freeN(), retiming_is_last_key(), retiming_key_is_freeze_frame(), Strip::retiming_keys, retiming_keys_count(), Strip::retiming_keys_num, SeqRetimingKey::strip_frame_index, and strip_retiming_cleanup_freeze_frame().
Referenced by retiming_add_transition(), retiming_remove_key(), and strip_retiming_remove_transition().
|
static |
Definition at line 496 of file strip_retiming.cc.
References SeqRetimingKey::flag, SeqRetimingKey::original_retiming_factor, SeqRetimingKey::original_strip_frame_index, SeqRetimingKey::retiming_factor, retiming_key_index_get(), Strip::retiming_keys, SEQ_SPEED_TRANSITION_OUT, strip_retiming_add_key(), and strip_retiming_remove_key_ex().
Referenced by retiming_remove_key(), strip_retiming_fix_transition(), and strip_retiming_transition_offset().
|
static |
Definition at line 200 of file strip_retiming.cc.
References SeqRetimingKey::retiming_factor, and SeqRetimingKey::strip_frame_index.
Referenced by strip_retiming_line_segments_tangent_circle().
|
static |
Definition at line 186 of file strip_retiming.cc.
References SeqRetimingKey::strip_frame_index.
Referenced by strip_retiming_segment_step_get().
|
static |
Definition at line 192 of file strip_retiming.cc.
References SeqRetimingKey::retiming_factor, and strip_retiming_segment_length_get().
Referenced by retiming_transition_key_frame_set(), and strip_retiming_evaluate().
|
static |
Definition at line 272 of file strip_retiming.cc.
References abs, and retiming_key_speed_get().
Referenced by strip_retiming_evaluate().
|
static |
Definition at line 665 of file strip_retiming.cc.
References editing_get(), float, SeqRetimingKey::original_strip_frame_index, Scene::r, retiming_add_transition(), retiming_selection_append(), retiming_selection_contains(), SeqRetimingKey::strip_frame_index, strip_retiming_clamp_transition_offset(), strip_retiming_remove_transition(), and time_media_playback_rate_factor_get().
Referenced by strip_retiming_key_offset().
|
static |
Definition at line 1219 of file sequencer.cc.
References Strip::scene_sound, seq_update_scene_strip_sound(), seq_update_sound_strips(), strip_update_mix_sounds(), and strip_update_sound_properties().
Referenced by eval_strips().
| float blender::seq::strip_speed_effect_target_frame_get | ( | Scene * | scene, |
| Strip * | strip_speed, | ||
| float | timeline_frame, | ||
| int | input ) |
Override timeline_frame when rendering speed effect input.
Definition at line 120 of file vse_effect_speed.cc.
References ceil, CLAMP, Strip::effectdata, SpeedControlVars::flags, SpeedControlVars::frameMap, give_frame_index(), input, Strip::input1, round_fl_to_int(), SEQ_SPEED_FRAME_NUMBER, SEQ_SPEED_LENGTH, SEQ_SPEED_MULTIPLY, SEQ_SPEED_STRETCH, SEQ_SPEED_USE_INTERPOLATION, SpeedControlVars::speed_control_type, SpeedControlVars::speed_fader, SpeedControlVars::speed_fader_frame_number, SpeedControlVars::speed_fader_length, Strip::start, Strip::startofs, strip_effect_handle_get(), strip_effect_speed_frame_map_ensure(), strip_effect_speed_speed_factor_curve_get(), time_left_handle_frame_get(), time_right_handle_frame_get(), and time_strip_length_get().
Referenced by seq_render_effect_strip_impl(), and speed_effect_interpolation_ratio_get().
Definition at line 190 of file strip_time.cc.
References Strip::anim_endofs, Strip::anim_startofs, Strip::enddisp, Strip::endofs, Strip::input1, Strip::input2, Strip::len, max_ii(), min_ii(), Strip::start, Strip::startdisp, Strip::startofs, time_left_handle_frame_get(), and time_right_handle_frame_get().
Referenced by edit_strip_swap(), strip_add_generic_update(), and strip_time_update_effects_strip_range().
| float blender::seq::strip_time_media_playback_rate_factor_get | ( | const Scene * | scene, |
| const Strip * | strip ) |
|
static |
Definition at line 562 of file strip_time.cc.
References BLI_listbase_is_empty(), Scene::ed, Strip::enddisp, Strip::endofs, Strip::input1, Strip::input2, LISTBASE_FOREACH, offset_animdata(), SEQ_lookup_effects_by_strip(), Strip::seqbase, Strip::sound_offset, Strip::start, Strip::startdisp, Strip::startofs, strip_time_slip_strip_ex(), strip_time_update_effects_strip_range(), STRIP_TYPE_META, STRIP_TYPE_SOUND_RAM, time_left_handle_frame_get(), time_right_handle_frame_get(), and Strip::type.
Referenced by strip_time_slip_strip_ex(), and time_slip_strip().
| void blender::seq::strip_time_translate_handles | ( | const Scene * | scene, |
| Strip * | strip, | ||
| const int | offset ) |
Definition at line 550 of file strip_time.cc.
References Scene::ed, Strip::enddisp, Strip::endofs, lookup_meta_by_strip(), SEQ_lookup_effects_by_strip(), Strip::startdisp, Strip::startofs, strip_time_update_effects_strip_range(), and time_update_meta_strip_range().
Referenced by transform_translate_strip().
| void blender::seq::strip_time_update_effects_strip_range | ( | const Scene * | scene, |
| blender::Span< Strip * > | effects ) |
Update strip startdisp and enddisp (n-input effects have no length to calculate these).
| void blender::seq::strip_time_update_effects_strip_range | ( | const Scene * | scene, |
| const blender::Span< Strip * > | effects ) |
Definition at line 221 of file strip_time.cc.
References Scene::ed, SEQ_lookup_effects_by_strip(), strip_time_effect_range_set(), and strip_time_update_effects_strip_range().
Referenced by retiming_key_timeline_frame_set(), retiming_reset(), strip_time_slip_strip_ex(), strip_time_translate_handles(), strip_time_update_effects_strip_range(), time_left_handle_frame_set(), time_right_handle_frame_set(), time_start_frame_set(), time_update_meta_strip_range(), and transform_translate_strip().
Definition at line 333 of file sequencer/intern/utils.cc.
References Strip::channel, channels_displayed_get(), Scene::ed, ELEM, LISTBASE_FOREACH, render_is_muted(), STRIP_TYPE_COLOR, STRIP_TYPE_IMAGE, STRIP_TYPE_META, STRIP_TYPE_MOVIE, STRIP_TYPE_SCENE, STRIP_TYPE_TEXT, and time_strip_intersects_frame().
Referenced by stampdata().
|
static |
Definition at line 304 of file strip_transform.cc.
References extract_standalone_strips(), Scene::markers, MAX_CHANNELS, query_right_side_strips(), and transform_seqbase_shuffle_time().
Referenced by transform_handle_overlap().
|
static |
Definition at line 511 of file strip_transform.cc.
References extract_standalone_strips(), Scene::markers, and transform_seqbase_shuffle_time().
Referenced by transform_handle_overlap().
|
static |
Definition at line 469 of file strip_transform.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), channels_displayed_get(), edit_flag_for_removal(), edit_remove_flagged_strips(), editing_get(), ELEM, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), overlap_description_get(), query_overwrite_targets(), STRIP_OVERLAP_IS_FULL, STRIP_OVERLAP_IS_INSIDE, STRIP_OVERLAP_LEFT_SIDE, STRIP_OVERLAP_RIGHT_SIDE, strip_transform_handle_overwrite_split(), strip_transform_handle_overwrite_trim(), and transform_is_locked().
Referenced by transform_handle_overlap().
|
static |
Definition at line 401 of file strip_transform.cc.
References edit_flag_for_removal(), edit_remove_flagged_strips(), edit_strip_split(), SPLIT_SOFT, time_left_handle_frame_get(), and time_right_handle_frame_get().
Referenced by strip_transform_handle_overwrite().
|
static |
Definition at line 440 of file strip_transform.cc.
References BLI_assert, effect_get_num_inputs(), iterator_set_expand(), query_by_reference(), query_strip_effect_chain(), STRIP_OVERLAP_LEFT_SIDE, STRIP_OVERLAP_RIGHT_SIDE, time_left_handle_frame_get(), time_left_handle_frame_set(), time_right_handle_frame_get(), and time_right_handle_frame_set().
Referenced by strip_transform_handle_overwrite().
Definition at line 82 of file sequencer/intern/utils.cc.
References blender::seq::StripUniqueInfo::count, dot(), edit_strip_name_set(), foreach_strip(), blender::seq::StripUniqueInfo::match, Strip::name, blender::seq::StripUniqueInfo::name_dest, blender::seq::StripUniqueInfo::name_src, seqbase_unique_name(), seqbase_unique_name_recursive_fn(), blender::seq::StripUniqueInfo::strip, and STRNCPY().
Referenced by do_versions_seq_unique_name_all_strips(), ensure_unique_name(), blender::ed::vse::sequencer_meta_make_exec(), strip_add_generic_update(), and strip_duplicate().
|
static |
Definition at line 140 of file vse_effect_text.cc.
References BLF_unload_id(), g_font_map, and lock.
Referenced by effect_text_font_unload().
Definition at line 1116 of file sequencer.cc.
References BKE_sound_add_scene_sound_defaults(), BKE_sound_ensure_scene(), BKE_sound_scene_add_scene_sound_defaults(), Strip::scene, Strip::scene_sound, Strip::sound, STRIP_TYPE_SCENE, and Strip::type.
Referenced by strip_sound_update_cb().
|
static |
Definition at line 99 of file strip_edit.cc.
References BKE_sound_mute_scene_sound(), ELEM, LISTBASE_FOREACH, render_is_muted(), STRIP_TYPE_META, STRIP_TYPE_SCENE, STRIP_TYPE_SOUND_RAM, and strip_update_muting_recursive().
Referenced by edit_update_muting(), and strip_update_muting_recursive().
Definition at line 148 of file strip_time.cc.
References metastrip_end_get(), metastrip_start_get(), and strip_update_sound_bounds_recursive_impl().
Referenced by sound_update_bounds_all(), and time_update_meta_strip_range().
|
static |
Definition at line 106 of file strip_time.cc.
References BKE_sound_move_scene_sound(), ELEM, LISTBASE_FOREACH, max_ii(), metastrip_end_get(), metastrip_start_get(), min_ii(), Strip::seqbase, STRIP_TYPE_META, STRIP_TYPE_SCENE, STRIP_TYPE_SOUND_RAM, and strip_update_sound_bounds_recursive_impl().
Referenced by strip_update_sound_bounds_recursive(), and strip_update_sound_bounds_recursive_impl().
|
static |
Definition at line 1143 of file sequencer.cc.
References BKE_sound_update_sequence_handle(), LISTBASE_FOREACH, Strip::modifiers, bSound::playback_handle, Strip::scene_sound, Strip::sound, and sound_modifier_recreator().
Referenced by seq_update_sound_strips().
|
static |
Definition at line 1133 of file sequencer.cc.
References BKE_scene_frame_get(), BKE_sound_set_scene_sound_pan_at_frame(), BKE_sound_set_scene_sound_volume_at_frame(), Strip::flag, Strip::pan, retiming_sound_animation_data_set(), Strip::scene_sound, SEQ_AUDIO_PAN_ANIMATED, SEQ_AUDIO_VOLUME_ANIMATED, and Strip::volume.
Referenced by strip_sound_update_cb().
|
static |
Definition at line 129 of file sequencer/intern/sound.cc.
References BKE_sound_update_scene_sound(), LISTBASE_FOREACH, STRIP_TYPE_META, STRIP_TYPE_SOUND_RAM, and strip_update_sound_recursive().
Referenced by sound_update(), and strip_update_sound_recursive().
|
static |
Definition at line 858 of file sequencer.cc.
References BLO_write_is_undo(), BLO_write_string(), BLO_write_struct, BLO_write_struct_array, Strip::channels, Strip::connections, data, Strip::data, StripData::done, Strip::effectdata, ELEM, IDP_BlendWrite(), LISTBASE_FOREACH, MEM_allocN_len, modifier_blend_write(), Strip::modifiers, Strip::prop, Strip::retiming_keys, retiming_keys_count(), size(), Strip::stereo3d_format, STRIP_TYPE_COLOR, STRIP_TYPE_COLORMIX, STRIP_TYPE_GAUSSIAN_BLUR, STRIP_TYPE_GLOW, STRIP_TYPE_IMAGE, STRIP_TYPE_MOVIE, STRIP_TYPE_SOUND_RAM, STRIP_TYPE_SPEED, STRIP_TYPE_TEXT, STRIP_TYPE_WIPE, STRNCPY_UTF8, Strip::system_properties, TextVars::text_legacy, TextVars::text_ptr, and Strip::type.
Referenced by blend_write().
| void blender::seq::sub_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 160 of file vse_effect_add_sub_mul.cc.
References do_sub_effect(), blender::seq::EffectHandle::early_out, early_out_mul_input2(), and blender::seq::EffectHandle::execute.
Referenced by effect_handle_for_blend_mode_get(), and effect_handle_get().
Definition at line 923 of file vse_effect_text.cc.
References text_box_width_get().
Referenced by apply_text_alignment(), calc_boundbox(), and text_box_width_get().
|
static |
Definition at line 555 of file vse_effect_text.cc.
References BLF_buffer_col(), BLF_disable(), BLF_draw_buffer(), BLF_enable(), BLF_is_builtin(), BLF_NO_FALLBACK, BLF_position(), blender::seq::CharInfo::byte_length, blender::seq::LineInfo::characters, blender::seq::TextVarsRuntime::font, blender::seq::TextVarsRuntime::lines, blender::seq::CharInfo::offset, and blender::seq::CharInfo::position.
Referenced by do_text_effect(), and draw_text_outline().
| TextVarsRuntime * blender::seq::text_effect_calc_runtime | ( | const Strip * | strip, |
| int | font, | ||
| const int2 | image_size ) |
Definition at line 1025 of file vse_effect_text.cc.
References apply_text_alignment(), apply_word_wrapping(), BLF_descender(), BLF_height_max(), BLI_strlen_utf8(), build_character_info(), calc_boundbox(), blender::seq::TextVarsRuntime::character_count, data, Strip::effectdata, blender::seq::TextVarsRuntime::font, blender::seq::TextVarsRuntime::font_descender, blender::seq::TextVarsRuntime::line_height, and text_effect_calc_runtime().
Referenced by do_text_effect(), text_effect_calc_runtime(), and transform_image_raw_size_get().
| int blender::seq::text_effect_font_init | ( | const RenderData * | context, |
| const Strip * | strip, | ||
| FontFlags | font_flags ) |
Definition at line 794 of file vse_effect_text.cc.
References BLF_enable(), BLF_is_loaded_id(), blf_mono_font_render, BLF_size(), data, effect_text_font_load(), Strip::effectdata, STRIP_FONT_NOT_LOADED, text_effect_font_init(), and text_effect_line_size_get().
Referenced by do_text_effect(), text_effect_font_init(), and transform_image_raw_size_get().
| void blender::seq::text_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 1097 of file vse_effect_text.cc.
References blender::seq::EffectHandle::copy, copy_text_effect(), do_text_effect(), blender::seq::EffectHandle::early_out, early_out_text(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::free, free_text_effect(), blender::seq::EffectHandle::init, init_text_effect(), blender::seq::EffectHandle::load, load_text_effect(), blender::seq::EffectHandle::num_inputs, num_inputs_text(), and text_effect_get_handle().
Referenced by effect_handle_get(), and text_effect_get_handle().
|
static |
Definition at line 780 of file vse_effect_text.cc.
References data, Strip::effectdata, get_render_scale_factor(), and text_effect_line_size_get().
Referenced by text_effect_font_init(), and text_effect_line_size_get().
|
static |
Definition at line 308 of file vse_effect_text.cc.
References blender::math::max(), blender::math::min(), x, rcti::xmax, rcti::xmin, and y.
Referenced by draw_text_shadow().
|
static |
Definition at line 340 of file vse_effect_text.cc.
References blender::math::max(), blender::math::min(), x, rcti::xmax, rcti::xmin, y, rcti::ymax, and rcti::ymin.
Referenced by draw_text_shadow().
| void blender::seq::thumbnail_cache_clear | ( | Scene * | scene | ) |
Definition at line 616 of file thumbnail_cache.cc.
References Scene::ed, lock, query_thumbnail_cache(), Editing::runtime, thumb_cache_mutex, EditingRuntime::thumbnail_cache, and thumbnail_cache_clear().
Referenced by cache_cleanup(), and thumbnail_cache_clear().
| void blender::seq::thumbnail_cache_destroy | ( | Scene * | scene | ) |
Definition at line 625 of file thumbnail_cache.cc.
References BLI_assert, Scene::ed, lock, query_thumbnail_cache(), Editing::runtime, thumb_cache_mutex, EditingRuntime::thumbnail_cache, and thumbnail_cache_destroy().
Referenced by editing_free(), and thumbnail_cache_destroy().
Discard in-flight thumbnail loading requests that are outside of the given view (X coordinate: timeline frames, Y coordinate: channels).
Definition at line 604 of file thumbnail_cache.cc.
References lock, query_thumbnail_cache(), blender::seq::ThumbnailCache::requests_, thumb_cache_mutex, thumbnail_cache_discard_requests_outside(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by blender::ed::vse::draw_seq_strips(), and thumbnail_cache_discard_requests_outside().
| 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 502 of file thumbnail_cache.cc.
References Strip::anim_startofs, C, ensure_thumbnail_cache(), get_path_from_strip(), give_frame_index(), IMB_refImBuf(), lock, query_thumbnail(), blender::math::round(), strip_can_have_thumbnail(), STRIP_TYPE_MOVIE, thumb_cache_mutex, thumbnail_cache_get(), and Strip::type.
Referenced by blender::ed::vse::get_seq_strip_thumbnails(), and thumbnail_cache_get().
Definition at line 532 of file thumbnail_cache.cc.
References BLI_path_abs(), BLI_path_join, Strip::data, StripData::dirpath, ELEM, FILE_MAX, StripElem::filename, i, Scene::id, ID_BLEND_PATH_FROM_GLOBAL, lock, MEM_allocN_len, query_thumbnail_cache(), blender::seq::ThumbnailCache::remove_entry(), strip_can_have_thumbnail(), STRIP_TYPE_IMAGE, STRIP_TYPE_MOVIE, StripData::stripdata, thumb_cache_mutex, thumbnail_cache_invalidate_strip(), and Strip::type.
Referenced by blender::ed::vse::sequencer_reload_exec(), and thumbnail_cache_invalidate_strip().
| void blender::seq::thumbnail_cache_maintain_capacity | ( | Scene * | scene | ) |
If total amount of resident thumbnails is too large, try to remove oldest-used ones to keep the cache size in check.
Definition at line 561 of file thumbnail_cache.cc.
References i, IMB_freeImBuf(), lock, blender::seq::ThumbnailCache::logical_time_, blender::seq::ThumbnailCache::map_, MAX_THUMBNAILS, query_thumbnail_cache(), blender::seq::ThumbnailCache::remove_entry(), thumb_cache_mutex, and thumbnail_cache_maintain_capacity().
Referenced by blender::ed::vse::draw_seq_strips(), and thumbnail_cache_maintain_capacity().
Get timeline frame where strip content ends.
Definition at line 475 of file strip_time.cc.
References time_start_frame_get(), and time_strip_length_get().
Referenced by blender::ed::transform::flushTransSeq(), give_frame_index(), blender::ed::transform::points_build_targets_timeline(), blender::ed::vse::realize_fake_keys_in_rect(), blender::ed::vse::right_fake_key_frame_get(), seq_split_set_left_hold_offset(), seq_split_set_right_hold_offset(), blender::ed::vse::sequencer_visible_strips_get(), blender::ed::vse::slip_apply_clamp(), blender::ed::vse::slip_strips_delta(), blender::ed::vse::strip_draw_context_get(), time_has_right_still_frames(), time_right_handle_frame_get(), and time_right_handle_frame_set().
| int blender::seq::time_find_next_prev_edit | ( | Scene * | scene, |
| int | timeline_frame, | ||
| short | side, | ||
| bool | do_skip_mute, | ||
| bool | do_center, | ||
| bool | do_unselected ) |
Find start or end position of next or previous strip.
| scene | Video editing scene |
| timeline_frame | reference frame for searching |
| side | direction of searching, SIDE_LEFT, SIDE_RIGHT or SIDE_BOTH. |
| do_center | find closest strip center if true, otherwise finds closest handle position. |
| do_unselected | only find closest position of unselected strip. |
Definition at line 237 of file strip_time.cc.
References abs, channels_displayed_get(), editing_get(), i, LISTBASE_FOREACH, MAXFRAME, render_is_muted(), SELECT, SIDE_BOTH, SIDE_LEFT, SIDE_RIGHT, time_left_handle_frame_get(), and time_right_handle_frame_get().
Referenced by blender::ed::vse::strip_jump_internal().
Get the sound offset (if any) and round it to the nearest integer. This is mostly used in places where subframe data is not allowed (like re-timing key positions). Returns zero if strip is not a sound strip or if there is no offset.
Definition at line 631 of file strip_time.cc.
References bSound::offset_time, round_fl_to_int(), Strip::sound, Strip::sound_offset, STRIP_TYPE_SOUND_RAM, and Strip::type.
Referenced by content_frame_index_get(), blender::ed::vse::fake_retiming_key_init(), blender::ed::vse::left_fake_key_frame_get(), retiming_key_timeline_frame_get(), retiming_sound_animation_data_set(), blender::ed::vse::right_fake_key_frame_get(), and time_strip_length_get().
| void blender::seq::time_handles_frame_set | ( | const Scene * | scene, |
| Strip * | strip, | ||
| int | left_handle_timeline_frame, | ||
| int | right_handle_timeline_frame ) |
This function has same effect as calling @time_right_handle_frame_set and @time_right_handle_frame_set. If both handles are to be set after strip length changes, it is recommended to use this function as the order of setting handles is important. See #131731.
Definition at line 541 of file strip_time.cc.
References time_left_handle_frame_set(), and time_right_handle_frame_set().
Referenced by add_reload_new_file(), and blender::ed::vse::sequencer_scene_frame_range_update_exec().
Returns true if at beginning of strip there is no content to be rendered.
Definition at line 433 of file strip_time.cc.
References time_left_handle_frame_get(), and time_start_frame_get().
Referenced by time_has_still_frames().
Returns true if at end of strip there is no content to be rendered.
Definition at line 438 of file strip_time.cc.
References time_content_end_frame_get(), and time_right_handle_frame_get().
Referenced by time_has_still_frames().
Returns true if strip has frames without content to render.
Definition at line 443 of file strip_time.cc.
References time_has_left_still_frames(), and time_has_right_still_frames().
Get timeline frame where strip boundary starts.
Definition at line 480 of file strip_time.cc.
References Strip::input1, Strip::input2, Strip::start, Strip::startdisp, and Strip::startofs.
Referenced by add_reload_new_file(), ANIM_draw_scene_strip_range(), append_sequencer_strip_snap_target(), blender::ed::vse::can_select_handle(), blender::ed::transform::create_trans_seq_clamp_data(), do_adjustment_impl(), blender::ed::vse::draw_cache_stripe(), blender::ed::vse::drawmeta_contents(), edit_strip_split(), blender::ed::transform::effect_input_get(), blender::ed::vse::find_neighboring_strip(), blender::ed::vse::find_next_prev_strip(), blender::ed::transform::flushTransSeq(), get_default_fac_fade(), blender::ed::vse::inner_clickable_handle_size_get(), invalidate_final_cache_strip_range(), blender::ed::vse::left_fake_key_frame_get(), blender::ed::vse::mouse_over_key_get_from_strip(), overlap_description_get(), blender::ed::vse::padded_strips_under_mouse_get(), blender::ed::transform::points_build_sources_timeline_strips(), blender::ed::transform::points_build_targets_timeline(), proxy_rebuild(), blender::ed::vse::query_lower_channel_strips(), query_right_side_strips(), blender::ed::vse::realize_fake_keys(), blender::ed::vse::realize_fake_keys_in_rect(), relations_check_scene_recursion(), retiming_key_timeline_frame_set(), blender::ed::vse::select_active_side(), blender::ed::vse::select_active_side_range(), blender::ed::vse::select_grouped_time_overlap(), blender::ed::vse::select_linked_time_strip(), seq_edit_split_intersect_check(), seq_meta_stack_alloc(), seq_update_meta_disp_range(), blender::ed::vse::seq_view_collection_rect_timeline(), blender::ed::transform::SeqToTransData(), blender::ed::transform::SeqTransInfo(), blender::ed::vse::sequencer_add_movie_multiple_strips(), blender::ed::vse::sequencer_add_movie_sync_sound_strip(), blender::ed::vse::sequencer_add_sound_multiple_strips(), sequencer_all_free_anim_ibufs(), blender::ed::vse::sequencer_box_select_exec(), blender::ed::vse::sequencer_clipboard_paste_exec(), blender::ed::vse::sequencer_draw_get_transform_preview_frame(), blender::ed::vse::sequencer_export_subtitles_exec(), blender::ed::vse::sequencer_main_cursor(), blender::ed::vse::sequencer_meta_make_exec(), blender::ed::vse::sequencer_reassign_inputs_exec(), blender::ed::vse::sequencer_retiming_box_select_exec(), blender::ed::vse::sequencer_scene_frame_range_update_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_split_invoke(), blender::ed::vse::sequencer_visible_strips_get(), shuffle_strip_test_overlap(), shuffle_strip_time_offset_get(), blender::ed::vse::slip_apply_clamp(), blender::ed::vse::slip_data_init(), blender::ed::vse::slip_strips_delta(), sound_update_bounds(), blender::ed::vse::strip_cmp_time_startdisp_channel(), blender::ed::vse::strip_draw_context_get(), strip_effect_speed_rebuild_map(), blender::ed::vse::strip_handle_draw_size_get(), blender::ed::vse::strip_rectf(), strip_speed_effect_target_frame_get(), blender::ed::vse::strip_start_screenspace_get(), strip_time_effect_range_set(), strip_time_slip_strip_ex(), strip_transform_handle_overwrite_split(), strip_transform_handle_overwrite_trim(), blender::ed::vse::strips_are_adjacent(), blender::ed::vse::swap_strips(), time_find_next_prev_edit(), time_has_left_still_frames(), time_right_handle_frame_set(), time_strip_intersects_frame(), time_update_meta_strip_range(), timeline_expand_boundbox(), transform_offset_after_frame(), blender::ed::transform::transform_seq_slide_cursor_get(), transform_seqbase_shuffle_ex(), transform_test_overlap(), transform_translate_strip(), and versioning_convert_strip_speed_factor().
| void blender::seq::time_left_handle_frame_set | ( | const Scene * | scene, |
| Strip * | strip, | ||
| int | timeline_frame ) |
Set frame where strip boundary starts. This function moves only handle, content is not moved.
Definition at line 498 of file strip_time.cc.
References Scene::ed, Strip::endofs, lookup_meta_by_strip(), SEQ_lookup_effects_by_strip(), Strip::startdisp, Strip::startofs, strip_time_update_effects_strip_range(), time_right_handle_frame_get(), time_start_frame_get(), time_start_frame_set(), time_update_meta_strip_range(), and transform_single_image_check().
Referenced by blender::ed::transform::flushTransSeq(), seq_edit_split_handle_strip_offsets(), seq_split_set_left_hold_offset(), seq_update_meta_disp_range(), blender::ed::vse::sequencer_add_movie_sync_sound_strip(), blender::ed::vse::sequencer_reassign_inputs_exec(), blender::ed::vse::sequencer_snap_exec(), strip_transform_handle_overwrite_trim(), and time_handles_frame_set().
Get difference between scene and movie strip frame-rate. Returns 1.0f for all other strip types.
Definition at line 41 of file strip_time.cc.
References Strip::flag, Strip::media_playback_rate, and SEQ_AUTO_PLAYBACK_RATE.
Referenced by content_frame_index_get(), blender::ed::vse::fake_retiming_key_init(), freeze_key_pair_create(), give_frame_index(), blender::ed::vse::retiming_key_add_new_for_strip(), retiming_key_speed_set(), retiming_key_timeline_frame_get(), retiming_key_timeline_frame_set(), seq_split_set_left_hold_offset(), seq_split_set_right_hold_offset(), strip_retiming_clamp_transition_offset(), strip_retiming_fix_transition(), strip_retiming_transition_offset(), and time_strip_length_get().
Get timeline frame where strip boundary ends.
Definition at line 489 of file strip_time.cc.
References Strip::enddisp, Strip::endofs, Strip::input1, Strip::input2, and time_content_end_frame_get().
Referenced by add_reload_new_file(), ANIM_draw_scene_strip_range(), append_sequencer_strip_snap_target(), blender::ed::vse::can_select_handle(), blender::ed::transform::create_trans_seq_clamp_data(), do_adjustment_impl(), do_versions_sequencer_speed_effect_recursive(), blender::ed::vse::draw_cache_stripe(), blender::ed::vse::drawmeta_contents(), edit_strip_split(), blender::ed::vse::find_neighboring_strip(), blender::ed::vse::find_next_prev_strip(), blender::ed::transform::flushTransSeq(), give_frame_index(), blender::ed::vse::inner_clickable_handle_size_get(), invalidate_final_cache_strip_range(), blender::ed::vse::mouse_over_key_get_from_strip(), overlap_description_get(), blender::ed::vse::padded_strips_under_mouse_get(), blender::ed::transform::points_build_sources_timeline_strips(), blender::ed::transform::points_build_targets_timeline(), proxy_rebuild(), blender::ed::vse::query_lower_channel_strips(), blender::ed::vse::realize_fake_keys(), blender::ed::vse::realize_fake_keys_in_rect(), retiming_key_timeline_frame_set(), blender::ed::vse::right_fake_key_frame_get(), blender::ed::vse::select_grouped_time_overlap(), blender::ed::vse::select_linked_time_strip(), seq_edit_split_intersect_check(), seq_meta_stack_alloc(), seq_update_meta_disp_range(), blender::ed::vse::seq_view_collection_rect_timeline(), blender::ed::transform::SeqToTransData(), blender::ed::transform::SeqTransInfo(), blender::ed::vse::sequencer_add_movie_multiple_strips(), blender::ed::vse::sequencer_add_movie_sync_sound_strip(), blender::ed::vse::sequencer_add_sound_multiple_strips(), sequencer_all_free_anim_ibufs(), blender::ed::vse::sequencer_box_select_exec(), blender::ed::vse::sequencer_draw_get_transform_preview_frame(), blender::ed::vse::sequencer_export_subtitles_exec(), blender::ed::vse::sequencer_generic_invoke_xy_guess_channel(), blender::ed::vse::sequencer_main_cursor(), blender::ed::vse::sequencer_meta_make_exec(), blender::ed::vse::sequencer_retiming_box_select_exec(), blender::ed::vse::sequencer_scene_frame_range_update_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_split_exec(), blender::ed::vse::sequencer_split_invoke(), blender::ed::vse::sequencer_visible_strips_get(), shuffle_strip_test_overlap(), shuffle_strip_time_offset_get(), blender::ed::vse::slip_apply_clamp(), blender::ed::vse::slip_data_init(), blender::ed::vse::slip_strips_delta(), sound_update_bounds(), blender::ed::vse::strip_draw_context_get(), strip_effect_speed_rebuild_map(), blender::ed::vse::strip_end_screenspace_get(), blender::ed::vse::strip_get_text_strip_cb(), blender::ed::vse::strip_handle_draw_size_get(), blender::ed::vse::strip_rectf(), strip_speed_effect_target_frame_get(), strip_time_effect_range_set(), strip_time_slip_strip_ex(), strip_transform_handle_overwrite_split(), strip_transform_handle_overwrite_trim(), blender::ed::vse::strips_are_adjacent(), blender::ed::vse::swap_strips(), time_find_next_prev_edit(), time_has_right_still_frames(), time_left_handle_frame_set(), time_strip_intersects_frame(), time_update_meta_strip_range(), timeline_expand_boundbox(), blender::ed::transform::transform_seq_slide_cursor_get(), transform_seqbase_shuffle_ex(), transform_test_overlap(), and transform_translate_strip().
| void blender::seq::time_right_handle_frame_set | ( | const Scene * | scene, |
| Strip * | strip, | ||
| int | timeline_frame ) |
Set frame where strip boundary ends. This function moves only handle, content is not moved.
Definition at line 525 of file strip_time.cc.
References Scene::ed, Strip::enddisp, Strip::endofs, lookup_meta_by_strip(), SEQ_lookup_effects_by_strip(), strip_time_update_effects_strip_range(), time_content_end_frame_get(), time_left_handle_frame_get(), and time_update_meta_strip_range().
Referenced by add_effect_strip(), blender::ed::transform::flushTransSeq(), seq_edit_split_handle_strip_offsets(), seq_split_set_right_hold_offset(), seq_update_meta_disp_range(), blender::ed::vse::sequencer_add_image_strip_exec(), blender::ed::vse::sequencer_add_movie_sync_sound_strip(), blender::ed::vse::sequencer_snap_exec(), strip_transform_handle_overwrite_trim(), time_handles_frame_set(), and versioning_convert_strip_speed_factor().
| 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 625 of file strip_time.cc.
References strip_time_slip_strip_ex().
Referenced by blender::ed::vse::slip_strips_delta().
Get timeline frame where strip content starts.
Definition at line 462 of file strip_time.cc.
References Strip::start.
Referenced by add_image_load_file(), blender::seq::RetimingRange::claculate_speed_table_from_seq(), content_frame_index_get(), blender::ed::vse::fake_retiming_key_init(), blender::ed::transform::flushTransSeq(), get_seqbase_from_strip(), give_frame_index(), blender::ed::vse::left_fake_key_frame_get(), blender::ed::transform::points_build_targets_timeline(), blender::ed::vse::realize_fake_keys_in_rect(), blender::ed::vse::retiming_key_add_new_for_strip(), retiming_key_timeline_frame_get(), retiming_sound_animation_data_set(), blender::seq::RetimingRangeData::RetimingRangeData(), seq_split_set_left_hold_offset(), seq_split_set_right_hold_offset(), blender::ed::vse::sequencer_visible_strips_get(), blender::ed::vse::slip_apply_clamp(), blender::ed::vse::slip_strips_delta(), blender::ed::vse::strip_draw_context_get(), time_content_end_frame_get(), time_has_left_still_frames(), time_left_handle_frame_set(), and time_strip_length_get().
Set frame where strip content starts. This function will also move strip handles.
Definition at line 467 of file strip_time.cc.
References Scene::ed, lookup_meta_by_strip(), SEQ_lookup_effects_by_strip(), Strip::start, strip_time_update_effects_strip_range(), and time_update_meta_strip_range().
Referenced by time_left_handle_frame_set().
Get FPS rate of source media. Movie, scene and movie-clip strips are supported. Returns 0 for unsupported strip or if media can't be loaded.
Definition at line 314 of file strip_time.cc.
References StripAnim::anim, Strip::anims, BKE_movieclip_get_fps(), BLI_listbase_is_empty(), Strip::clip, ListBase::first, float, MOV_get_fps(), Scene::r, Strip::scene, strip_open_anim_file(), STRIP_TYPE_MOVIE, STRIP_TYPE_MOVIECLIP, STRIP_TYPE_SCENE, and Strip::type.
| bool blender::seq::time_strip_intersects_frame | ( | const Scene * | scene, |
| const Strip * | strip, | ||
| int | timeline_frame ) |
Test if strip intersects with timeline frame.
| strip | Strip to be checked |
| timeline_frame | absolute frame position |
Definition at line 427 of file strip_time.cc.
References time_left_handle_frame_get(), and time_right_handle_frame_get().
Referenced by blender::ed::vse::have_free_channels(), query_strips_at_frame(), query_strips_recursive_at_frame(), relations_free_imbuf(), blender::ed::vse::sequencer_add_duplicate_exec(), sequencer_all_free_anim_ibufs(), blender::ed::vse::sequencer_select_side_of_frame_exec(), blender::ed::vse::sequencer_text_editing_active_poll(), blender::ed::vse::sequencer_unmute_exec(), skip_modifier(), strip_exists_at_frame(), strip_topmost_get(), and blender::ed::transform::visible_retiming_keys_get().
Get number of frames (in timeline) that can be rendered. This can change depending on scene FPS or strip speed factor.
Definition at line 448 of file strip_time.cc.
References float, Strip::len, Scene::r, retiming_is_active(), retiming_key_timeline_frame_get(), retiming_last_key_get(), time_get_rounded_sound_offset(), time_media_playback_rate_factor_get(), and time_start_frame_get().
Referenced by edit_strip_swap(), get_default_fac_fade(), blender::ed::vse::retiming_key_add_new_for_strip(), strip_effect_speed_rebuild_map(), strip_speed_effect_target_frame_get(), time_content_end_frame_get(), and time_update_meta_strip_range().
Update meta strip content start and end, update sound playback range. To be used after any contained strip length or position has changed.
Definition at line 154 of file strip_time.cc.
References Strip::anim_endofs, Strip::anim_startofs, BLI_listbase_is_empty(), Scene::ed, Strip::enddisp, Strip::endofs, Strip::len, LISTBASE_FOREACH, lookup_meta_by_strip(), max, max_ii(), MAXFRAME, min, min_ii(), SEQ_lookup_effects_by_strip(), Strip::seqbase, Strip::start, Strip::startdisp, Strip::startofs, strip_time_update_effects_strip_range(), strip_update_sound_bounds_recursive(), time_left_handle_frame_get(), time_right_handle_frame_get(), time_strip_length_get(), and time_update_meta_strip_range().
Referenced by edit_move_strip_to_meta(), retiming_key_timeline_frame_set(), retiming_reset(), strip_add_generic_update(), strip_time_translate_handles(), time_left_handle_frame_set(), time_right_handle_frame_set(), time_start_frame_set(), time_update_meta_strip_range(), transform_translate_strip(), and version_fix_seq_meta_range().
| void blender::seq::timeline_boundbox | ( | const Scene * | scene, |
| const ListBase * | seqbase, | ||
| rctf * | r_rect ) |
Define boundary rectangle of sequencer timeline and fill in rect data
| scene | Scene in which strips are located |
| seqbase | ListBase in which strips are located |
| rect | data structure describing rectangle, that will be filled in by this function |
Definition at line 364 of file strip_time.cc.
References timeline_expand_boundbox(), and timeline_init_boundbox().
Referenced by blender::ed::vse::draw_timeline_seq_display(), seq_time_gap_info_get(), and blender::ed::vse::seq_view_collection_rect_timeline().
| void blender::seq::timeline_expand_boundbox | ( | const Scene * | scene, |
| const ListBase * | seqbase, | ||
| rctf * | rect ) |
Stretch the given rectangle to include the given strips boundaries
| seqbase | ListBase in which strips are located |
| rect | output parameter to be filled with strips' boundaries |
Definition at line 350 of file strip_time.cc.
References LISTBASE_FOREACH, time_left_handle_frame_get(), time_right_handle_frame_get(), rctf::xmax, rctf::xmin, and rctf::ymax.
Referenced by blender::ed::vse::displayed_channel_range_get(), blender::ed::vse::sequencer_main_clamp_view(), blender::ed::vse::sequencer_view_all_exec(), and timeline_boundbox().
Initialize given rectangle with the Scene's timeline boundaries.
| scene | the Scene instance whose timeline boundaries are extracted from |
| rect | output parameter to be filled with timeline boundaries |
Definition at line 342 of file strip_time.cc.
References Scene::r, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by blender::ed::vse::sequencer_main_clamp_view(), blender::ed::vse::sequencer_view_all_exec(), and timeline_boundbox().
|
static |
Definition at line 220 of file MOD_tonemap.cc.
References blender::seq::AreaLuminance::color_sum, IMB_colormanagement_get_luminance(), L, blender::seq::AreaLuminance::log_sum, logf, blender::math::max(), blender::seq::AreaLuminance::max, blender::math::min(), blender::seq::AreaLuminance::min, blender::seq::AreaLuminance::pixel_count, blender::seq::AreaLuminance::sum, x, and y.
|
static |
Definition at line 242 of file MOD_tonemap.cc.
References init(), blender::threading::parallel_reduce(), and ImBuf::y.
Referenced by tonemapmodifier_apply().
|
static |
Definition at line 140 of file MOD_tonemap.cc.
References SequencerTonemapModifierData::adaptation, blender::seq::AvgLogLum::auto_key, blender::seq::AvgLogLum::cav, SequencerTonemapModifierData::contrast, SequencerTonemapModifierData::correction, expf, IMB_colormanagement_get_luminance(), input, SequencerTonemapModifierData::intensity, L, blender::seq::AvgLogLum::lav, mask(), powf, result, blender::seq::AvgLogLum::tmmd, x, and y.
Referenced by blender::seq::TonemapApplyOp::apply().
|
static |
Definition at line 109 of file MOD_tonemap.cc.
References blender::seq::AvgLogLum::al, blender::seq::AvgLogLum::igm, input, mask(), blender::math::max(), SequencerTonemapModifierData::offset, powf, result, blender::seq::AvgLogLum::tmmd, x, and y.
Referenced by blender::seq::TonemapApplyOp::apply().
|
static |
Definition at line 284 of file MOD_tonemap.cc.
References blender::seq::AvgLogLum::al, apply_modifier_op(), blender::seq::AvgLogLum::auto_key, blender::seq::AvgLogLum::cav, blender::seq::AreaLuminance::color_sum, blender::seq::TonemapApplyOp::data, exp, SequencerTonemapModifierData::gamma, blender::seq::TonemapApplyOp::ibuf, blender::seq::AvgLogLum::igm, SequencerTonemapModifierData::key, blender::seq::AvgLogLum::lav, log, blender::seq::AreaLuminance::log_sum, blender::seq::TonemapApplyOp::lum, mask(), blender::seq::AreaLuminance::max, blender::seq::AreaLuminance::min, blender::seq::AreaLuminance::pixel_count, blender::seq::AreaLuminance::sum, blender::seq::AvgLogLum::tmmd, tonemap_calc_input_luminance(), tonemapmodifier_apply(), blender::seq::TonemapApplyOp::type, and SequencerTonemapModifierData::type.
Referenced by tonemapmodifier_apply().
|
static |
Definition at line 38 of file MOD_tonemap.cc.
References SequencerTonemapModifierData::adaptation, SequencerTonemapModifierData::contrast, SequencerTonemapModifierData::correction, SequencerTonemapModifierData::gamma, SequencerTonemapModifierData::intensity, SequencerTonemapModifierData::key, SequencerTonemapModifierData::offset, SEQ_TONEMAP_RD_PHOTORECEPTOR, and SequencerTonemapModifierData::type.
Definition at line 314 of file MOD_tonemap.cc.
References BLI_assert_unreachable, C, col, uiLayout::column(), draw_mask_input_type_settings(), IFACE_, Panel::layout, uiLayout::panel_prop(), ptr, RNA_enum_get(), SEQ_TONEMAP_RD_PHOTORECEPTOR, SEQ_TONEMAP_RH_SIMPLE, tonemapmodifier_panel_draw(), UI_ITEM_NONE, UI_panel_custom_data_get(), and uiLayout::use_property_split_set().
Referenced by tonemapmodifier_panel_draw(), and tonemapmodifier_register().
|
static |
Definition at line 347 of file MOD_tonemap.cc.
References eSeqModifierType_Tonemap, modifier_panel_register(), tonemapmodifier_panel_draw(), and tonemapmodifier_register().
Referenced by tonemapmodifier_register().
| SequencerToolSettings * blender::seq::tool_settings_copy | ( | SequencerToolSettings * | tool_settings | ) |
Definition at line 841 of file sequencer.cc.
References MEM_dupallocN(), and tool_settings_copy().
Referenced by BKE_toolsettings_copy(), and tool_settings_copy().
| SequencerToolSettings * blender::seq::tool_settings_ensure | ( | Scene * | scene | ) |
Definition at line 375 of file sequencer.cc.
References ToolSettings::sequencer_tool_settings, tool_settings_init(), and Scene::toolsettings.
Referenced by blo_do_versions_300(), blo_do_versions_420(), blo_do_versions_430(), blo_do_versions_440(), blo_do_versions_450(), tool_settings_fit_method_get(), tool_settings_fit_method_set(), tool_settings_overlap_mode_get(), tool_settings_pivot_point_get(), tool_settings_snap_distance_get(), tool_settings_snap_flag_get(), and tool_settings_snap_mode_get().
| eSeqImageFitMethod blender::seq::tool_settings_fit_method_get | ( | Scene * | scene | ) |
Definition at line 391 of file sequencer.cc.
References SequencerToolSettings::fit_method, and tool_settings_ensure().
Referenced by blender::ed::vse::sequencer_add_image_strip_invoke(), and blender::ed::vse::sequencer_add_movie_strip_invoke().
| void blender::seq::tool_settings_fit_method_set | ( | Scene * | scene, |
| eSeqImageFitMethod | fit_method ) |
Definition at line 415 of file sequencer.cc.
References SequencerToolSettings::fit_method, and tool_settings_ensure().
Referenced by blender::ed::vse::load_data_init_from_operator().
| void blender::seq::tool_settings_free | ( | SequencerToolSettings * | tool_settings | ) |
Definition at line 386 of file sequencer.cc.
References MEM_freeN().
Referenced by BKE_toolsettings_free().
| SequencerToolSettings * blender::seq::tool_settings_init | ( | ) |
Definition at line 359 of file sequencer.cc.
References SequencerToolSettings::fit_method, MEM_callocN(), SequencerToolSettings::overlap_mode, SequencerToolSettings::pivot_point, SEQ_OVERLAP_SHUFFLE, SEQ_SCALE_TO_FIT, SEQ_SNAP_TO_CURRENT_FRAME, SEQ_SNAP_TO_FRAME_RANGE, SEQ_SNAP_TO_MARKERS, SEQ_SNAP_TO_PREVIEW_BORDERS, SEQ_SNAP_TO_PREVIEW_CENTER, SEQ_SNAP_TO_RETIMING, SEQ_SNAP_TO_STRIP_HOLD, SEQ_SNAP_TO_STRIPS, SEQ_SNAP_TO_STRIPS_PREVIEW, SequencerToolSettings::snap_distance, SequencerToolSettings::snap_mode, and V3D_AROUND_LOCAL_ORIGINS.
Referenced by blo_do_versions_290(), scene_init_data(), and tool_settings_ensure().
| eSeqOverlapMode blender::seq::tool_settings_overlap_mode_get | ( | Scene * | scene | ) |
Definition at line 421 of file sequencer.cc.
References SequencerToolSettings::overlap_mode, and tool_settings_ensure().
Referenced by blender::ed::vse::strip_data_outline_params_set(), and transform_handle_overlap().
| int blender::seq::tool_settings_pivot_point_get | ( | Scene * | scene | ) |
Definition at line 427 of file sequencer.cc.
References SequencerToolSettings::pivot_point, and tool_settings_ensure().
Referenced by blender::ed::transform::t_around_get().
| int blender::seq::tool_settings_snap_distance_get | ( | Scene * | scene | ) |
Definition at line 409 of file sequencer.cc.
References SequencerToolSettings::snap_distance, and tool_settings_ensure().
Referenced by blender::ed::transform::seq_snap_threshold_get_view_distance().
| short blender::seq::tool_settings_snap_flag_get | ( | Scene * | scene | ) |
Definition at line 403 of file sequencer.cc.
References SequencerToolSettings::snap_flag, and tool_settings_ensure().
Referenced by blender::ed::transform::query_snap_targets_timeline().
| short blender::seq::tool_settings_snap_mode_get | ( | Scene * | scene | ) |
Definition at line 397 of file sequencer.cc.
References SequencerToolSettings::snap_mode, and tool_settings_ensure().
Referenced by blender::ed::transform::snap_mode_from_spacetype(), and blender::ed::transform::snap_sequencer_to_closest_strip_calc().
| void blender::seq::transform_effect_get_handle | ( | EffectHandle & | rval | ) |
| void blender::seq::transform_handle_overlap | ( | Scene * | scene, |
| ListBase * | seqbasep, | ||
| blender::Span< Strip * > | transformed_strips, | ||
| blender::Span< Strip * > | time_dependent_strips, | ||
| bool | use_sync_markers ) |
Definition at line 534 of file strip_transform.cc.
References SEQ_OVERLAP_EXPAND, SEQ_OVERLAP_OVERWRITE, SEQ_OVERLAP_SHUFFLE, STRIP_OVERLAP, strip_transform_handle_expand_to_fit(), strip_transform_handle_overlap_shuffle(), strip_transform_handle_overwrite(), tool_settings_overlap_mode_get(), transform_seqbase_shuffle(), and transform_test_overlap().
| void blender::seq::transform_handle_overlap | ( | Scene * | scene, |
| ListBase * | seqbasep, | ||
| blender::Span< Strip * > | transformed_strips, | ||
| bool | use_sync_markers ) |
Definition at line 525 of file strip_transform.cc.
References transform_handle_overlap().
Referenced by blender::ed::transform::freeSeqData(), retiming_key_overlap(), blender::ed::vse::seq_load_apply_generic_options(), blender::ed::vse::sequencer_add_movie_multiple_strips(), blender::ed::vse::sequencer_add_movie_single_strip(), and transform_handle_overlap().
Get size of the image, which is produced by strip without any transformation.
| render_size | Size of image canvas in pixels |
| strip | Strip to calculate origin for |
Definition at line 612 of file strip_transform.cc.
References BLF_BOLD, BLF_disable(), BLF_ITALIC, BLF_NONE, BLI_rcti_size_x(), BLI_rcti_size_y(), Strip::clip, data, Strip::data, Strip::effectdata, ELEM, float, MovieClip::lastsize, StripElem::orig_height, StripElem::orig_width, Scene::r, SEQ_TEXT_BOLD, SEQ_TEXT_ITALIC, STRIP_TYPE_IMAGE, STRIP_TYPE_MOVIE, STRIP_TYPE_MOVIECLIP, STRIP_TYPE_TEXT, StripData::stripdata, blender::seq::TextVarsRuntime::text_boundbox, text_effect_calc_runtime(), text_effect_font_init(), and Strip::type.
Referenced by blender::ed::transform::calculate_new_origin_position(), image_transform_origin_get(), image_transform_origin_offset_pixelspace_get(), seq_image_transform_matrix_get_ex(), and strip_image_transform_quad_get_ex().
Check if strip can be moved. This function also checks SeqTimelineChannel flag.
Definition at line 592 of file strip_transform.cc.
References Strip::channel, channel_get_by_index(), channel_is_locked(), Strip::flag, StripRuntime::flag, Strip::runtime, SEQ_LOCK, and STRIP_IGNORE_CHANNEL_LOCK.
Referenced by blender::ed::vse::can_select_handle(), blender::ed::transform::create_trans_seq_clamp_data(), screen_ctx_selected_editable_strips(), seq_edit_split_operation_permitted_check(), blender::ed::transform::SeqTransInfo(), blender::ed::vse::sequencer_main_cursor(), blender::ed::vse::sequencer_offset_clear_exec(), blender::ed::vse::sequencer_snap_exec(), blender::ed::vse::sequencer_swap_exec(), blender::ed::vse::slip_data_init(), blender::ed::vse::strip_data_handle_flags_set(), blender::ed::vse::strip_data_lock_flags_set(), and strip_transform_handle_overwrite().
| void blender::seq::transform_offset_after_frame | ( | Scene * | scene, |
| ListBase * | seqbase, | ||
| int | delta, | ||
| int | timeline_frame ) |
Move strips and markers (if not locked) that start after timeline_frame by delta frames
| scene | Scene in which strips are located |
| seqbase | ListBase in which strips are located |
| delta | offset in frames to be applied |
| timeline_frame | frame on timeline from where strips are moved |
Definition at line 566 of file strip_transform.cc.
References LISTBASE_FOREACH, ToolSettings::lock_markers, Scene::markers, relations_invalidate_cache(), time_left_handle_frame_get(), Scene::toolsettings, and transform_translate_strip().
Referenced by edit_remove_gaps(), and blender::ed::vse::sequencer_gap_insert_exec().
| bool blender::seq::transform_seqbase_shuffle | ( | ListBase * | seqbasep, |
| Strip * | test, | ||
| Scene * | evil_scene ) |
Definition at line 153 of file strip_transform.cc.
References transform_seqbase_shuffle_ex().
Referenced by edit_move_strip_to_seqbase(), blender::ed::vse::segment_speed_set_exec(), blender::ed::vse::seq_load_apply_generic_options(), blender::ed::transform::seq_transform_cancel(), blender::ed::vse::sequencer_add_duplicate_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_offset_clear_exec(), blender::ed::vse::sequencer_reassign_inputs_exec(), blender::ed::vse::sequencer_reload_exec(), blender::ed::vse::sequencer_separate_images_exec(), blender::ed::vse::sequencer_snap_exec(), blender::ed::vse::sequencer_swap_exec(), blender::ed::vse::strip_speed_set_exec(), and transform_handle_overlap().
| bool blender::seq::transform_seqbase_shuffle_ex | ( | ListBase * | seqbasep, |
| Strip * | test, | ||
| Scene * | evil_scene, | ||
| int | channel_delta ) |
Definition at line 103 of file strip_transform.cc.
References BLI_assert, Strip::channel, channel_get_by_index(), channel_is_locked(), channel_is_muted(), channels_displayed_get(), editing_get(), ELEM, LISTBASE_FOREACH, MAX_CHANNELS, max_ii(), Strip::start, strip_channel_set(), time_left_handle_frame_get(), time_right_handle_frame_get(), transform_test_overlap(), and transform_translate_strip().
Referenced by transform_seqbase_shuffle().
| bool blender::seq::transform_seqbase_shuffle_time | ( | blender::Span< Strip * > | strips_to_shuffle, |
| blender::Span< Strip * > | time_dependent_strips, | ||
| ListBase * | seqbasep, | ||
| Scene * | evil_scene, | ||
| ListBase * | markers, | ||
| const bool | use_sync_markers ) |
Definition at line 223 of file strip_transform.cc.
References false, blender::Span< T >::is_empty(), LISTBASE_FOREACH, ToolSettings::lock_markers, offset_animdata(), SELECT, shuffle_strip_time_offset_get(), STRIP_OVERLAP, Scene::toolsettings, and transform_translate_strip().
| bool blender::seq::transform_seqbase_shuffle_time | ( | blender::Span< Strip * > | strips_to_shuffle, |
| ListBase * | seqbasep, | ||
| Scene * | evil_scene, | ||
| ListBase * | markers, | ||
| const bool | use_sync_markers ) |
Definition at line 212 of file strip_transform.cc.
References transform_seqbase_shuffle_time().
Referenced by strip_transform_handle_expand_to_fit(), strip_transform_handle_overlap_shuffle(), and transform_seqbase_shuffle_time().
| bool blender::seq::transform_single_image_check | ( | const Strip * | strip | ) |
Checks whether the strip functions as a single static display, which means it has only one unique frame of content and does not draw holds. This includes non-sequence image strips and all effect strips with no inputs (e.g. color, text).
Definition at line 40 of file strip_transform.cc.
References Strip::flag, and SEQ_SINGLE_FRAME_CONTENT.
Referenced by blender::ed::transform::create_trans_seq_clamp_data(), blender::ed::transform::flushTransSeq(), give_frame_index(), blender::ed::vse::sequencer_add_image_strip_exec(), blender::ed::vse::sequencer_main_cursor(), blender::ed::vse::slip_data_init(), blender::ed::vse::strip_draw_context_get(), and time_left_handle_frame_set().
| bool blender::seq::transform_strip_can_be_translated | ( | const Strip * | strip | ) |
Definition at line 45 of file strip_transform.cc.
References effect_get_num_inputs(), and Strip::type.
Referenced by blender::ed::transform::flushTransSeq(), blender::ed::transform::freeSeqData(), blender::ed::transform::query_time_dependent_strips_strips(), and blender::ed::vse::sequencer_snap_exec().
| bool blender::seq::transform_test_overlap | ( | const Scene * | scene, |
| ListBase * | seqbasep, | ||
| Strip * | test ) |
Definition at line 59 of file strip_transform.cc.
References ListBase::first, Strip::next, and transform_test_overlap().
Definition at line 50 of file strip_transform.cc.
References Strip::channel, time_left_handle_frame_get(), and time_right_handle_frame_get().
Referenced by edit_move_strip_to_seqbase(), blender::ed::transform::flushTransSeq(), query_overwrite_targets(), blender::ed::transform::recalcData_sequencer_retiming(), blender::ed::vse::segment_speed_set_exec(), blender::ed::vse::seq_load_apply_generic_options(), blender::ed::vse::seq_load_apply_generic_options_only_test_overlap(), blender::ed::transform::seq_transform_cancel(), blender::ed::vse::sequencer_add_duplicate_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_offset_clear_exec(), blender::ed::vse::sequencer_reassign_inputs_exec(), blender::ed::vse::sequencer_reload_exec(), blender::ed::vse::sequencer_separate_images_exec(), blender::ed::vse::sequencer_snap_exec(), blender::ed::vse::sequencer_swap_exec(), blender::ed::vse::strip_speed_set_exec(), transform_handle_overlap(), transform_seqbase_shuffle_ex(), transform_test_overlap(), and blender::ed::vse::update_overlay_strip_position_data().
Definition at line 74 of file strip_transform.cc.
References BLI_listbase_is_empty(), Scene::ed, Strip::enddisp, Strip::input1, Strip::input2, LISTBASE_FOREACH, lookup_meta_by_strip(), offset_animdata(), SEQ_lookup_effects_by_strip(), Strip::seqbase, Strip::start, Strip::startdisp, strip_time_translate_handles(), strip_time_update_effects_strip_range(), STRIP_TYPE_META, time_left_handle_frame_get(), time_right_handle_frame_get(), time_update_meta_strip_range(), transform_translate_strip(), and Strip::type.
Referenced by blender::ed::transform::flushTransSeq(), blender::ed::vse::sequencer_clipboard_paste_exec(), blender::ed::vse::sequencer_snap_exec(), blender::ed::vse::swap_strips(), transform_offset_after_frame(), transform_seqbase_shuffle_ex(), transform_seqbase_shuffle_time(), and transform_translate_strip().
Definition at line 228 of file sequencer/intern/utils.cc.
References Strip::data, StripData::proxy, SEQ_EDIT_PROXY_DIR_STORAGE, SEQ_STORAGE_PROXY_CUSTOM_DIR, and StripProxy::storage.
Referenced by index_dir_set(), and proxy_dir_get().
|
static |
Definition at line 65 of file MOD_white_balance.cc.
References apply_modifier_op(), data, FLT_MAX, mask(), and blender::seq::WhiteBalanceApplyOp::multiplier.
|
static |
Definition at line 24 of file MOD_white_balance.cc.
References copy_v3_fl(), and WhiteBalanceModifierData::white_value.
Definition at line 76 of file MOD_white_balance.cc.
References C, draw_mask_input_type_settings(), IFACE_, Panel::layout, uiLayout::panel_prop(), uiLayout::prop(), ptr, UI_ITEM_NONE, UI_panel_custom_data_get(), and uiLayout::use_property_split_set().
Referenced by whiteBalance_register().
|
static |
Definition at line 92 of file MOD_white_balance.cc.
References eSeqModifierType_WhiteBalance, modifier_panel_register(), and whiteBalance_panel_draw().
| void blender::seq::wipe_effect_get_handle | ( | EffectHandle & | rval | ) |
Definition at line 252 of file vse_effect_wipe.cc.
References blender::seq::EffectHandle::copy, copy_wipe_effect(), do_wipe_effect(), blender::seq::EffectHandle::early_out, early_out_fade(), blender::seq::EffectHandle::execute, blender::seq::EffectHandle::free, free_wipe_effect(), blender::seq::EffectHandle::get_default_fac, get_default_fac_fade(), blender::seq::EffectHandle::init, init_wipe_effect(), blender::seq::EffectHandle::num_inputs, and num_inputs_wipe().
Referenced by effect_handle_get().
Definition at line 853 of file vse_effect_text.cc.
References data, and wrap_width_get().
Referenced by apply_word_wrapping(), and wrap_width_get().
|
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 60 of file MOD_color_balance.cc.
Referenced by blender::seq::ColorBalanceApplyOp::apply(), make_cb_table_lgg(), and make_cb_table_sop().
|
static |
Definition at line 27 of file final_image_cache.cc.
Referenced by final_image_cache_calc_memory_size(), final_image_cache_clear(), final_image_cache_destroy(), final_image_cache_evict(), final_image_cache_get(), final_image_cache_get_image_count(), final_image_cache_invalidate_frame_range(), final_image_cache_iterate(), and final_image_cache_put().
|
static |
Definition at line 72 of file vse_effect_text.cc.
Referenced by do_text_effect(), fontmap_clear(), strip_load_font_file(), strip_load_font_mem(), and strip_unload_font().
|
constexpr |
Definition at line 502 of file vse_effect_text.cc.
Referenced by jump_flooding_pass().
|
static |
Definition at line 26 of file strip_lookup.cc.
Referenced by lookup_meta_by_strip(), lookup_strip_by_channel_owner(), lookup_strip_by_name(), lookup_strips_by_compositor_node_group(), lookup_strips_by_scene(), lookup_strips_by_scene_map_get(), SEQ_lookup_effects_by_strip(), strip_lookup_free(), and strip_lookup_invalidate().
|
constexpr |
Definition at line 28 of file SEQ_sequencer.hh.
Referenced by blo_do_versions_300(), channels_ensure(), blender::ed::transform::create_trans_seq_clamp_data(), blender::ed::transform::createTransSeqData(), blender::ed::vse::displayed_channel_range_get(), blender::ed::vse::drawmeta_contents(), file_read_reports_finalize(), blender::ed::vse::find_unlocked_unmuted_channel(), blender::ed::vse::have_free_channels(), is_valid_strip_channel(), RNA_api_strips(), rna_def_multicam(), rna_def_space_sequencer(), rna_def_strip(), blender::ed::vse::select_active_side_range(), seq_shown_strips_get(), blender::ed::vse::seq_view_collection_rect_timeline(), blender::ed::vse::sequencer_add_effect_strip_exec(), blender::ed::vse::sequencer_create(), blender::ed::vse::sequencer_generic_invoke_xy_guess_channel(), blender::ed::vse::sequencer_generic_props__internal(), blender::ed::vse::sequencer_select_side_exec(), strip_channel_set(), strip_transform_handle_expand_to_fit(), and transform_seqbase_shuffle_ex().
|
staticconstexpr |
Definition at line 38 of file thumbnail_cache.cc.
Referenced by thumbnail_cache_maintain_capacity().
|
static |
Definition at line 335 of file sequencer/intern/modifiers/modifier.cc.
Referenced by modifier_type_info_get(), and modifiers_init().
|
static |
Definition at line 27 of file media_presence.cc.
Referenced by media_presence_free(), media_presence_invalidate_sound(), media_presence_invalidate_strip(), media_presence_is_missing(), and media_presence_set_missing().
|
static |
Definition at line 95 of file render.cc.
Referenced by render_give_ibuf().
| StripModifierTypeInfo blender::seq::seqModifierType_BrightContrast |
Definition at line 106 of file MOD_brightness_contrast.cc.
| StripModifierTypeInfo blender::seq::seqModifierType_ColorBalance |
Definition at line 372 of file MOD_color_balance.cc.
| StripModifierTypeInfo blender::seq::seqModifierType_Compositor |
Definition at line 270 of file MOD_compositor.cc.
| StripModifierTypeInfo blender::seq::seqModifierType_Curves |
Definition at line 122 of file MOD_curves.cc.
| StripModifierTypeInfo blender::seq::seqModifierType_HueCorrect |
Definition at line 149 of file MOD_hue_correct.cc.
| StripModifierTypeInfo blender::seq::seqModifierType_Mask |
Definition at line 85 of file sequencer/intern/modifiers/MOD_mask.cc.
| StripModifierTypeInfo blender::seq::seqModifierType_None |
Definition at line 17 of file sequencer/intern/modifiers/MOD_none.cc.
| StripModifierTypeInfo blender::seq::seqModifierType_SoundEqualizer |
Definition at line 82 of file MOD_sound_equalizer.cc.
| StripModifierTypeInfo blender::seq::seqModifierType_Tonemap |
Definition at line 352 of file MOD_tonemap.cc.
| StripModifierTypeInfo blender::seq::seqModifierType_WhiteBalance |
Definition at line 97 of file MOD_white_balance.cc.
|
static |
Definition at line 27 of file source_image_cache.cc.
Referenced by 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(), source_image_cache_invalidate_strip(), source_image_cache_iterate(), and source_image_cache_put().
|
staticconstexpr |
Definition at line 91 of file SEQ_modifier.hh.
Referenced by modifier_type_panel_id().
|
static |
Definition at line 42 of file thumbnail_cache.cc.
Referenced by thumbnail_cache_clear(), thumbnail_cache_destroy(), thumbnail_cache_discard_requests_outside(), thumbnail_cache_get(), thumbnail_cache_invalidate_strip(), and thumbnail_cache_maintain_capacity().
|
staticconstexpr |
Definition at line 19 of file SEQ_thumbnail_cache.hh.
Referenced by image_size_to_thumb_size(), make_thumb_for_image(), and blender::ed::vse::strip_get_thumb_image_dimensions().
| DrawViewFn blender::seq::view3d_fn = nullptr |
Definition at line 96 of file render.cc.
Referenced by blender::ed::vse::ED_spacetype_sequencer(), and seq_render_scene_strip_ex().
| const SoundModifierWorkerInfo blender::seq::workersSoundModifiers[] |
Definition at line 42 of file sequencer/intern/sound.cc.
Referenced by sound_modifier_worker_info_get().