|
Blender V4.3
|
#include "BLI_map.hh"#include "MEM_guardedalloc.h"#include "BLI_set.hh"#include "DNA_scene_types.h"#include "DNA_space_types.h"#include "BKE_context.hh"#include "BKE_report.hh"#include "BKE_scene.hh"#include "ED_select_utils.hh"#include "ED_sequencer.hh"#include "SEQ_connect.hh"#include "SEQ_iterator.hh"#include "SEQ_relations.hh"#include "SEQ_retiming.hh"#include "SEQ_select.hh"#include "SEQ_sequencer.hh"#include "SEQ_time.hh"#include "SEQ_transform.hh"#include "WM_api.hh"#include "RNA_define.hh"#include "UI_view2d.hh"#include "sequencer_intern.hh"Go to the source code of this file.
|
static |
Definition at line 611 of file sequencer_retiming.cc.
References CTX_data_scene(), left_fake_key_frame_get(), right_fake_key_frame_get(), SEQ_retiming_add_key(), and SEQ_retiming_data_ensure().
Referenced by strip_speed_get(), and strip_speed_set_exec().
|
static |
Definition at line 356 of file sequencer_retiming.cc.
References CTX_data_scene(), freeze_frame_add_new_for_seq(), SEQ_editing_get(), SEQ_relations_invalidate_cache_raw(), SEQ_retiming_key_timeline_frame_get(), and SEQ_retiming_selection_get().
Referenced by sequencer_retiming_freeze_frame_add_exec().
|
static |
Definition at line 339 of file sequencer_retiming.cc.
References BKE_scene_frame_get(), CTX_data_scene(), ED_sequencer_selected_strips_from_context(), freeze_frame_add_new_for_seq(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_if(), SEQ_relations_invalidate_cache_raw(), and SEQ_retiming_is_allowed().
Referenced by sequencer_retiming_freeze_frame_add_exec().
|
static |
Definition at line 304 of file sequencer_retiming.cc.
References BKE_report(), CTX_data_scene(), ED_sequencer_deselect_all(), wmOperator::reports, RPT_WARNING, SEQ_relations_invalidate_cache_raw(), SEQ_retiming_add_freeze_frame(), SEQ_retiming_add_key(), SEQ_retiming_data_ensure(), SEQ_retiming_key_is_transition_start(), and SEQ_retiming_selection_append().
Referenced by freeze_frame_add_from_retiming_selection(), and freeze_frame_add_from_strip_selection().
Definition at line 868 of file sequencer_retiming.cc.
References CTX_data_scene(), max_ii(), min_ii(), SEQ_retiming_add_key(), SEQ_time_content_end_frame_get(), SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), SEQ_time_start_frame_get(), rctf::xmax, and rctf::xmin.
Referenced by sequencer_retiming_box_select_exec().
|
static |
Definition at line 211 of file sequencer_retiming.cc.
References OPERATOR_CANCELLED, OPERATOR_FINISHED, retiming_key_add_new_for_seq(), and SEQ_retiming_is_allowed().
Referenced by sequencer_retiming_key_add_exec().
|
static |
Definition at line 186 of file sequencer_retiming.cc.
References BKE_report(), BKE_scene_frame_get(), CTX_data_scene(), wmOperator::reports, RPT_WARNING, SEQ_retiming_add_key(), SEQ_retiming_data_ensure(), SEQ_retiming_find_segment_start_key(), SEQ_retiming_key_is_transition_start(), SEQ_time_media_playback_rate_factor_get(), SEQ_time_start_frame_get(), SEQ_time_strip_length_get(), and Sequence::start.
Referenced by retiming_key_add_from_selection(), and retiming_key_add_to_editable_strips().
|
static |
Definition at line 228 of file sequencer_retiming.cc.
References CTX_data_scene(), OPERATOR_CANCELLED, OPERATOR_FINISHED, retiming_key_add_new_for_seq(), SEQ_editing_get(), and SEQ_retiming_selection_get().
Referenced by sequencer_retiming_key_add_exec().
|
static |
Definition at line 131 of file sequencer_retiming.cc.
References Editing::act_seq, CTX_data_scene(), CTX_wm_operator_poll_msg_set(), SEQ_editing_get(), and SEQ_retiming_is_allowed().
Referenced by SEQUENCER_OT_retiming_freeze_frame_add(), SEQUENCER_OT_retiming_key_add(), SEQUENCER_OT_retiming_key_delete(), SEQUENCER_OT_retiming_reset(), SEQUENCER_OT_retiming_segment_speed_set(), and SEQUENCER_OT_retiming_transition_add().
|
static |
Definition at line 671 of file sequencer_retiming.cc.
References CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_float_get(), SEQ_active_seqbase_get(), SEQ_editing_get(), SEQ_relations_invalidate_cache_raw(), SEQ_retiming_key_speed_set(), SEQ_transform_seqbase_shuffle(), SEQ_transform_test_overlap(), and WM_event_add_notifier().
Referenced by sequencer_retiming_segment_speed_set_exec().
|
static |
Definition at line 788 of file sequencer_retiming.cc.
References SEQ_get_connected_strips(), SEQ_is_strip_connected(), SEQ_retiming_key_get_by_timeline_frame(), SEQ_retiming_key_timeline_frame_get(), and SEQ_retiming_selection_copy().
Referenced by sequencer_retiming_key_select_exec(), and sequencer_retiming_select_linked_time().
|
static |
Definition at line 763 of file sequencer_retiming.cc.
References SEQ_retiming_selection_append(), SEQ_retiming_selection_clear(), SEQ_retiming_selection_contains(), and SEQ_retiming_selection_remove().
Referenced by sequencer_retiming_key_select_exec(), and sequencer_retiming_select_linked_time().
| void SEQUENCER_OT_retiming_freeze_frame_add | ( | wmOperatorType * | ot | ) |
Definition at line 396 of file sequencer_retiming.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, retiming_poll(), RNA_def_int(), sequencer_retiming_freeze_frame_add_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_retiming_key_add | ( | wmOperatorType * | ot | ) |
Definition at line 273 of file sequencer_retiming.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, retiming_poll(), RNA_def_int(), sequencer_retiming_key_add_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_retiming_key_delete | ( | wmOperatorType * | ot | ) |
Definition at line 588 of file sequencer_retiming.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, retiming_poll(), sequencer_retiming_key_delete_exec(), and sequencer_retiming_key_delete_invoke().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_retiming_reset | ( | wmOperatorType * | ot | ) |
Definition at line 165 of file sequencer_retiming.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, retiming_poll(), and sequencer_retiming_reset_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_retiming_segment_speed_set | ( | wmOperatorType * | ot | ) |
Definition at line 728 of file sequencer_retiming.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, retiming_poll(), RNA_def_boolean(), RNA_def_float(), sequencer_retiming_segment_speed_set_exec(), sequencer_retiming_segment_speed_set_invoke(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_retiming_show | ( | wmOperatorType * | ot | ) |
Definition at line 114 of file sequencer_retiming.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_editing_initialized_and_active(), and sequencer_retiming_data_show_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_retiming_transition_add | ( | wmOperatorType * | ot | ) |
Definition at line 502 of file sequencer_retiming.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, retiming_poll(), RNA_def_int(), sequencer_retiming_transition_add_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| int sequencer_retiming_box_select_exec | ( | bContext * | C, |
| wmOperator * | op ) |
Definition at line 886 of file sequencer_retiming.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), CTX_data_scene(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, realize_fake_keys_in_rect(), RNA_enum_get(), SEL_OP_ADD, SEL_OP_AND, SEL_OP_SET, SEL_OP_SUB, SEL_OP_USE_PRE_DESELECT, SEL_OP_XOR, SEQ_editing_get(), SEQ_retiming_data_is_editable(), SEQ_retiming_key_timeline_frame_get(), SEQ_retiming_keys_get(), SEQ_retiming_selection_append(), SEQ_retiming_selection_clear(), SEQ_retiming_selection_contains(), SEQ_retiming_selection_remove(), SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), sequencer_visible_strips_get(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), UI_view2d_fromcontext(), UI_view2d_region_to_view_rctf(), WM_operator_properties_border_to_rctf(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by sequencer_box_select_exec().
|
static |
Definition at line 83 of file sequencer_retiming.cc.
References LISTBASE_FOREACH.
Referenced by sequencer_retiming_data_show_exec().
|
static |
Definition at line 70 of file sequencer_retiming.cc.
References LISTBASE_FOREACH, SELECT, and SEQ_retiming_is_allowed().
Referenced by sequencer_retiming_data_show_exec().
|
static |
Definition at line 90 of file sequencer_retiming.cc.
References CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, SEQ_editing_get(), SEQ_retiming_data_is_editable(), SEQ_select_active_get(), Editing::seqbasep, sequencer_retiming_data_hide_all(), sequencer_retiming_data_hide_selection(), sequencer_retiming_data_show_selection(), sequencer_retiming_mode_is_active(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_retiming_show().
|
static |
Definition at line 57 of file sequencer_retiming.cc.
References LISTBASE_FOREACH, SELECT, SEQ_retiming_is_allowed(), and SEQ_SHOW_RETIMING.
Referenced by sequencer_retiming_data_show_exec().
|
static |
Definition at line 373 of file sequencer_retiming.cc.
References CTX_data_scene(), freeze_frame_add_from_retiming_selection(), freeze_frame_add_from_strip_selection(), NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::ptr, RNA_int_get(), RNA_property_is_set(), RNA_struct_find_property(), sequencer_retiming_mode_is_active(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_retiming_freeze_frame_add().
|
static |
Definition at line 248 of file sequencer_retiming.cc.
References BKE_scene_frame_get(), CTX_data_scene(), ED_sequencer_selected_strips_from_context(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), NC_SCENE, ND_SEQUENCER, wmOperator::ptr, retiming_key_add_from_selection(), retiming_key_add_to_editable_strips(), RNA_int_get(), RNA_struct_property_is_set(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_retiming_key_add().
|
static |
Definition at line 534 of file sequencer_retiming.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::append_non_duplicates(), CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, SEQ_editing_get(), SEQ_relations_invalidate_cache_raw(), SEQ_retiming_remove_multiple_keys(), SEQ_retiming_selection_get(), sequencer_retiming_mode_is_active(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_retiming_key_delete(), and sequencer_retiming_key_delete_invoke().
|
static |
Definition at line 569 of file sequencer_retiming.cc.
References BLI_listbase_is_empty(), CTX_data_scene(), CTX_wm_region(), markers, wmEvent::mval, OPERATOR_PASS_THROUGH, RGN_TYPE_WINDOW, and sequencer_retiming_key_delete_exec().
Referenced by SEQUENCER_OT_retiming_key_delete().
| int sequencer_retiming_key_select_exec | ( | bContext * | C, |
| wmOperator * | op, | ||
| SeqRetimingKey * | key, | ||
| const Sequence * | key_owner ) |
Definition at line 829 of file sequencer_retiming.cc.
References CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_boolean_get(), select_connected_keys(), select_key(), SEQ_editing_get(), SEQ_retiming_selection_contains(), sequencer_retiming_select_linked_time(), and WM_event_add_notifier().
Referenced by sequencer_select_exec().
| bool sequencer_retiming_mode_is_active | ( | const bContext * | C | ) |
Definition at line 44 of file sequencer_retiming.cc.
References CTX_data_scene(), SEQ_editing_get(), SEQ_retiming_selection_get(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
Referenced by convert_type_get(), sequencer_box_select_exec(), sequencer_de_select_all_exec(), sequencer_retiming_data_show_exec(), sequencer_retiming_freeze_frame_add_exec(), sequencer_retiming_key_delete_exec(), sequencer_retiming_segment_speed_set_exec(), sequencer_retiming_transition_add_exec(), sequencer_select_exec(), strip_speed_get(), and transform_mode_init().
|
static |
Definition at line 152 of file sequencer_retiming.cc.
References CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, SEQ_editing_get(), SEQ_query_selected_strips(), SEQ_retiming_reset(), Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_retiming_reset().
|
static |
Definition at line 696 of file sequencer_retiming.cc.
References BKE_report(), CTX_data_scene(), OPERATOR_CANCELLED, wmOperator::reports, RPT_ERROR, segment_speed_set_exec(), SEQ_editing_get(), SEQ_retiming_selection_get(), sequencer_retiming_mode_is_active(), and strip_speed_set_exec().
Referenced by SEQUENCER_OT_retiming_segment_speed_set(), and sequencer_retiming_segment_speed_set_invoke().
|
static |
Definition at line 716 of file sequencer_retiming.cc.
References wmOperator::ptr, RNA_float_set(), RNA_struct_property_is_set(), sequencer_retiming_segment_speed_set_exec(), strip_speed_get(), and WM_operator_props_popup().
Referenced by SEQUENCER_OT_retiming_segment_speed_set().
| int sequencer_retiming_select_all_exec | ( | bContext * | C, |
| wmOperator * | op ) |
Definition at line 969 of file sequencer_retiming.cc.
References all_strips_from_context(), CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SEL_DESELECT, SEL_INVERT, SEL_SELECT, SEL_TOGGLE, SEQ_editing_get(), SEQ_KEY_SELECTED, SEQ_retiming_data_is_editable(), SEQ_retiming_keys_get(), SEQ_retiming_selection_clear(), and WM_event_add_notifier().
Referenced by sequencer_de_select_all_exec().
| int sequencer_retiming_select_linked_time | ( | bContext * | C, |
| wmOperator * | op, | ||
| SeqRetimingKey * | key, | ||
| const Sequence * | key_owner ) |
Definition at line 810 of file sequencer_retiming.cc.
References CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), select_connected_keys(), select_key(), SEQ_editing_get(), SEQ_retiming_last_key_get(), SEQ_retiming_selection_clear(), and WM_event_add_notifier().
Referenced by sequencer_retiming_key_select_exec().
|
static |
Definition at line 478 of file sequencer_retiming.cc.
References BKE_report(), CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::ptr, wmOperator::reports, RNA_int_get(), RNA_property_is_set(), RNA_struct_find_property(), RPT_WARNING, sequencer_retiming_mode_is_active(), transition_add_from_retiming_selection(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_retiming_transition_add().
|
static |
Definition at line 620 of file sequencer_retiming.cc.
References CTX_data_scene(), ED_sequencer_selected_strips_from_context(), ensure_left_and_right_keys(), SEQ_editing_get(), SEQ_retiming_key_speed_get(), SEQ_retiming_selection_get(), sequencer_retiming_mode_is_active(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
Referenced by sequencer_retiming_segment_speed_set_invoke().
|
static |
Definition at line 644 of file sequencer_retiming.cc.
References CTX_data_scene(), ED_sequencer_selected_strips_from_context(), ensure_left_and_right_keys(), NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_if(), RNA_float_get(), SEQ_active_seqbase_get(), SEQ_editing_get(), SEQ_relations_invalidate_cache_raw(), SEQ_retiming_is_allowed(), SEQ_retiming_key_speed_set(), SEQ_transform_seqbase_shuffle(), SEQ_transform_test_overlap(), and WM_event_add_notifier().
Referenced by sequencer_retiming_segment_speed_set_exec().
|
static |
Definition at line 462 of file sequencer_retiming.cc.
References CTX_data_scene(), SEQ_editing_get(), SEQ_retiming_key_timeline_frame_get(), SEQ_retiming_selection_get(), and transition_add_new_for_seq().
Referenced by sequencer_retiming_transition_add_exec().
|
static |
Definition at line 428 of file sequencer_retiming.cc.
References BKE_report(), CTX_data_scene(), ED_sequencer_deselect_all(), wmOperator::reports, RPT_WARNING, SEQ_relations_invalidate_cache_raw(), SEQ_retiming_add_key(), SEQ_retiming_add_transition(), SEQ_retiming_is_last_key(), SEQ_retiming_key_get_by_timeline_frame(), SEQ_retiming_selection_append(), and SeqRetimingKey::strip_frame_index.
Referenced by transition_add_from_retiming_selection().