51#define RNA_ENUM_SEQUENCER_VIDEO_MODIFIER_TYPE_ITEMS \
52 {eSeqModifierType_BrightContrast, "BRIGHT_CONTRAST", ICON_MOD_BRIGHTNESS_CONTRAST, "Brightness/Contrast", ""}, \
53 {eSeqModifierType_ColorBalance, "COLOR_BALANCE", ICON_MOD_COLOR_BALANCE, "Color Balance", ""}, \
54 {eSeqModifierType_Compositor, "COMPOSITOR", ICON_NODE_COMPOSITING, "Compositor", ""}, \
55 {eSeqModifierType_Curves, "CURVES", ICON_MOD_CURVES, "Curves", ""}, \
56 {eSeqModifierType_HueCorrect, "HUE_CORRECT", ICON_MOD_HUE_CORRECT, "Hue Correct", ""}, \
57 {eSeqModifierType_Mask, "MASK", ICON_MOD_MASK, "Mask", ""}, \
58 {eSeqModifierType_Tonemap, "TONEMAP", ICON_MOD_TONEMAP, "Tone Map", ""}, \
59 {eSeqModifierType_WhiteBalance, "WHITE_BALANCE", ICON_MOD_WHITE_BALANCE, "White Balance", ""}
61#define RNA_ENUM_SEQUENCER_AUDIO_MODIFIER_TYPE_ITEMS \
62 {eSeqModifierType_SoundEqualizer, "SOUND_EQUALIZER", ICON_NONE, "Sound Equalizer", ""}, \
63 {eSeqModifierType_Pitch, "PITCH", ICON_NONE, "Pitch", ""}, \
64 {eSeqModifierType_Echo, "ECHO", ICON_NONE, "Echo", ""}
70 {0,
nullptr, 0,
nullptr,
nullptr},
75 {0,
nullptr, 0,
nullptr,
nullptr},
80 {0,
nullptr, 0,
nullptr,
nullptr},
84 {
STRIP_COLOR_NONE,
"NONE", ICON_X,
"None",
"Assign no color tag to the collection"},
94 {0,
nullptr, 0,
nullptr,
nullptr},
102 "Fits the image bounds inside the canvas, avoiding crops while maintaining aspect ratio"},
107 "Fills the canvas edge-to-edge, cropping if needed, while maintaining aspect ratio"},
112 "Stretches image bounds to the canvas without preserving aspect ratio"},
117 "Display image at its original size"},
118 {0,
nullptr, 0,
nullptr,
nullptr},
124 ICON_SEQ_OVERLAP_RIPPLE,
126 "Push the strips that are in the way further along the timeline, keeping the spacing "
127 "between them intact"},
130 ICON_SEQ_OVERLAP_OVERWRITE,
132 "Replace the covered part of the strips that are in the way, trimming or splitting them"},
135 ICON_SEQ_OVERLAP_SHUFFLE,
137 "Move the transformed strips to the nearest free space, leaving every other strip where "
139 {0,
nullptr, 0,
nullptr,
nullptr},
147 "Shift pitch using semitones and cents"},
149 {0,
nullptr, 0,
nullptr,
nullptr},
157 "Prioritize high-quality pitch processing"},
163 "Prioritize consistency for dynamic pitch changes"},
164 {0,
nullptr, 0,
nullptr,
nullptr},
173# include <fmt/format.h>
219struct StripSearchData {
222 StripModifierData *smd;
227 Scene *scene = id_cast<Scene *>(ptr->owner_id);
244 Scene *scene = id_cast<Scene *>(ptr->owner_id);
248 Strip *strip =
static_cast<Strip *
>(ptr->data);
255static void rna_Strip_invalidate_preprocessed_update(
Main * ,
259 Scene *scene = id_cast<Scene *>(ptr->owner_id);
263 Strip *strip =
static_cast<Strip *
>(ptr->data);
273 rna_Strip_invalidate_raw_update(
nullptr,
nullptr, ptr);
280 Scene *scene = id_cast<Scene *>(ptr->owner_id);
284 Strip *strip =
static_cast<Strip *
>(ptr->data);
295 rna_Strip_invalidate_raw_update(bmain, scene, ptr);
302 Strip *strip =
static_cast<Strip *
>(ptr->data);
303 Scene *new_scene =
static_cast<Scene *
>(value.data);
305 if (strip->scene == new_scene) {
309 strip->scene = new_scene;
311 MEM_SAFE_DELETE(strip->scene_view_layer_name);
312 if (new_scene !=
nullptr) {
319 const Strip *strip =
static_cast<const Strip *
>(ptr->data);
320 Scene *scene = strip->scene;
321 if (scene ==
nullptr) {
331static bool rna_SceneStrip_view_layer_is_compatible(
const Scene *scene,
PointerRNA value)
333 if (scene ==
nullptr) {
336 if (value.owner_id !=
nullptr && value.owner_id != &scene->id) {
340 if (view_layer ==
nullptr) {
343 for (
const ViewLayer &vl : scene->view_layers) {
344 if (&vl == view_layer) {
351static void rna_SceneStrip_view_layer_set(
PointerRNA *ptr,
355 Strip *strip =
static_cast<Strip *
>(ptr->data);
356 if (strip->scene ==
nullptr) {
359 if (!rna_SceneStrip_view_layer_is_compatible(strip->scene, value)) {
363 if (view_layer ==
nullptr) {
364 MEM_delete(strip->scene_view_layer_name);
369 MEM_delete(strip->scene_view_layer_name);
370 strip->scene_view_layer_name =
BLI_strdup(view_layer->name);
375 const Strip *strip =
static_cast<const Strip *
>(ptr->data);
376 return rna_SceneStrip_view_layer_is_compatible(strip->scene, value);
381 Scene *scene =
reinterpret_cast<Scene *
>(ptr->owner_id);
384 rna_Strip_invalidate_raw_update(bmain, scene, ptr);
389 Strip *strip =
static_cast<Strip *
>(ptr->data);
390 if (strip->scene !=
nullptr) {
400static void add_strips_from_seqbase(
const ListBaseT<Strip> *seqbase,
Vector<Strip *> &strips)
402 for (
Strip &strip : *seqbase) {
403 strips.append(&strip);
406 add_strips_from_seqbase(&strip.seqbase, strips);
411struct StripsAllIterator {
412 Vector<Strip *> strips;
416static std::optional<std::string> rna_SequenceEditor_path(
const PointerRNA * )
418 return "sequence_editor";
423 Scene *scene = id_cast<Scene *>(ptr->owner_id);
426 StripsAllIterator *strip_iter = MEM_new<StripsAllIterator>(__func__);
427 strip_iter->index = 0;
428 add_strips_from_seqbase(&
ed->seqbase, strip_iter->strips);
431 iter->internal.custom = bli_iter;
432 bli_iter->data = strip_iter;
434 Strip **strip_arr = strip_iter->strips.begin();
435 bli_iter->current = *strip_arr;
436 iter->valid = bli_iter->current !=
nullptr;
442 StripsAllIterator *strip_iter =
static_cast<StripsAllIterator *
>(bli_iter->data);
445 Strip **strip_arr = strip_iter->strips.begin();
446 bli_iter->current = *(strip_arr + strip_iter->index);
448 iter->valid = bli_iter->current !=
nullptr && strip_iter->index < strip_iter->strips.size();
454 (
static_cast<BLI_Iterator *
>(iter->internal.custom))->current);
461 StripsAllIterator *strip_iter =
static_cast<StripsAllIterator *
>(bli_iter->data);
463 MEM_delete(strip_iter);
464 MEM_delete(bli_iter);
467static bool rna_SequenceEditor_strips_all_lookup_string(
PointerRNA *ptr,
471 ID *
id = ptr->owner_id;
472 Scene *scene = id_cast<Scene *>(
id);
484 Scene *scene = id_cast<Scene *>(ptr->owner_id);
491static void rna_SequenceEditor_cache_settings_changed(
Main * ,
499static int rna_Strip_elements_length(
PointerRNA *ptr)
501 Strip *strip =
static_cast<Strip *
>(ptr->data);
503 return strip->
data->stripdata_num;
508 Strip *strip =
static_cast<Strip *
>(ptr->data);
511 static_cast<void *
>(strip->data->stripdata),
513 rna_Strip_elements_length(ptr),
518static int rna_Strip_retiming_keys_length(
PointerRNA *ptr)
525 Strip *strip =
static_cast<Strip *
>(ptr->data);
528 static_cast<void *
>(strip->retiming_keys),
539 for (
Strip *strip : strips) {
548static std::optional<std::string> rna_Strip_retiming_key_path(
const PointerRNA *ptr)
550 Scene *scene = id_cast<Scene *>(ptr->owner_id);
552 const Strip *strip = strip_by_key_find(scene, key);
554 if (strip ==
nullptr) {
558 char name_esc[(
sizeof(strip->name) - 2) * 2];
560 return fmt::format(
"sequence_editor.strips_all[\"{}\"].retiming_keys[{}]",
567 Scene *scene = id_cast<Scene *>(
id);
568 Strip *strip = strip_by_key_find(scene, key);
570 if (strip ==
nullptr) {
580static int rna_Strip_retiming_key_frame_get(
PointerRNA *ptr)
583 Scene *scene = id_cast<Scene *>(ptr->owner_id);
584 Strip *strip = strip_by_key_find(scene, key);
586 if (strip ==
nullptr) {
593static void rna_Strip_retiming_key_frame_set(
PointerRNA *ptr,
int value)
596 Scene *scene = id_cast<Scene *>(ptr->owner_id);
597 Strip *strip = strip_by_key_find(scene, key);
599 if (strip ==
nullptr) {
607static bool rna_SequenceEditor_selected_retiming_key_get(
PointerRNA *ptr)
609 Scene *scene = id_cast<Scene *>(ptr->owner_id);
615 Strip &strip = *
static_cast<Strip *
>(ptr->data);
619 rna_Strip_invalidate_raw_update(bmain, scene, ptr);
622static void do_strip_frame_change_update(
Scene *scene,
Strip *strip)
638 Scene *scene = id_cast<Scene *>(ptr->owner_id);
639 do_strip_frame_change_update(scene,
static_cast<Strip *
>(ptr->data));
642static int rna_Strip_left_handle_get(
PointerRNA *ptr)
644 return (
static_cast<Strip *
>(ptr->data))->left_handle();
647static int rna_Strip_right_handle_get(
PointerRNA *ptr)
649 Scene *scene = id_cast<Scene *>(ptr->owner_id);
650 return (
static_cast<Strip *
>(ptr->data))->right_handle(scene);
653static int rna_Strip_content_end_get(
PointerRNA *ptr)
655 Scene *scene = id_cast<Scene *>(ptr->owner_id);
656 return (
static_cast<Strip *
>(ptr->data))->content_end(scene);
659static void rna_Strip_left_handle_set(
PointerRNA *ptr,
int value)
661 Strip *strip =
static_cast<Strip *
>(ptr->data);
662 Scene *scene = id_cast<Scene *>(ptr->owner_id);
664 strip->left_handle_set(scene, value);
665 do_strip_frame_change_update(scene, strip);
669static void rna_Strip_right_handle_set(
PointerRNA *ptr,
int value)
671 Strip *strip =
static_cast<Strip *
>(ptr->data);
672 Scene *scene = id_cast<Scene *>(ptr->owner_id);
674 strip->right_handle_set(scene, value);
675 do_strip_frame_change_update(scene, strip);
679static void rna_Strip_content_start_set(
PointerRNA *ptr,
float value)
681 Strip *strip =
static_cast<Strip *
>(ptr->data);
682 Scene *scene = id_cast<Scene *>(ptr->owner_id);
685 do_strip_frame_change_update(scene, strip);
689static void rna_Strip_left_handle_offset_set(
PointerRNA *ptr,
float value)
691 Strip *strip =
static_cast<Strip *
>(ptr->data);
692 Scene *scene = id_cast<Scene *>(ptr->owner_id);
695 strip->startofs = value;
698static void rna_Strip_right_handle_offset_set(
PointerRNA *ptr,
float value)
700 Strip *strip =
static_cast<Strip *
>(ptr->data);
701 Scene *scene = id_cast<Scene *>(ptr->owner_id);
704 strip->end_offset_set(value);
707static int strip_content_trim_max(
const Strip *strip,
const int anim_offset)
710 return strip->content_length() + anim_offset - std::max(0,
int(strip->startofs)) -
711 std::max(0,
int(strip->end_offset())) - 1;
714static void rna_Strip_content_trim_start_set(
PointerRNA *ptr,
int value)
716 Strip *strip =
static_cast<Strip *
>(ptr->data);
717 Scene *scene = id_cast<Scene *>(ptr->owner_id);
719 value = std::clamp(value, 0, strip_content_trim_max(strip, strip->anim_startofs));
724 strip->anim_startofs = value;
727 do_strip_frame_change_update(scene, strip);
730static void rna_Strip_content_trim_end_set(
PointerRNA *ptr,
int value)
732 Strip *strip =
static_cast<Strip *
>(ptr->data);
733 Scene *scene = id_cast<Scene *>(ptr->owner_id);
735 strip->anim_endofs = std::clamp(value, 0, strip_content_trim_max(strip, strip->anim_endofs));
738 do_strip_frame_change_update(scene, strip);
741static void rna_Strip_content_trim_end_range(
744 Strip *strip =
static_cast<Strip *
>(ptr->data);
747 *
max = strip_content_trim_max(strip, strip->anim_endofs);
750static void rna_Strip_content_trim_start_range(
753 Strip *strip =
static_cast<Strip *
>(ptr->data);
756 *
max = strip_content_trim_max(strip, strip->anim_startofs);
759static void rna_Strip_left_handle_range(
762 Strip *strip =
static_cast<Strip *
>(ptr->data);
763 Scene *scene = id_cast<Scene *>(ptr->owner_id);
767 *
max = strip->right_handle(scene) - 1;
770static void rna_Strip_right_handle_range(
773 Strip *strip =
static_cast<Strip *
>(ptr->data);
774 Scene *scene = id_cast<Scene *>(ptr->owner_id);
776 *
min = strip->left_handle() + 1;
781static void rna_Strip_duration_range(
784 Strip *strip =
static_cast<Strip *
>(ptr->data);
785 Scene *scene = id_cast<Scene *>(ptr->owner_id);
787 *softmax = strip->length(scene) - strip->startofs;
792static void rna_Strip_left_handle_offset_range(
795 Strip *strip =
static_cast<Strip *
>(ptr->data);
797 *
max = strip->content_length() - strip->end_offset() - 1;
800static void rna_Strip_right_handle_offset_range(
803 Strip *strip =
static_cast<Strip *
>(ptr->data);
805 *
max = strip->content_length() - strip->startofs - 1;
808static void rna_Strip_duration_set(
PointerRNA *ptr,
int value)
810 Strip *strip =
static_cast<Strip *
>(ptr->data);
811 Scene *scene = id_cast<Scene *>(ptr->owner_id);
813 strip->right_handle_set(scene, strip->left_handle() + value);
814 do_strip_frame_change_update(scene, strip);
818static int rna_Strip_duration_get(
PointerRNA *ptr)
820 Strip *strip =
static_cast<Strip *
>(ptr->data);
821 Scene *scene = id_cast<Scene *>(ptr->owner_id);
822 return strip->right_handle(scene) - strip->left_handle();
825static int rna_Strip_content_duration_get(
PointerRNA *ptr)
827 Strip *strip =
static_cast<Strip *
>(ptr->data);
828 Scene *scene =
reinterpret_cast<Scene *
>(ptr->owner_id);
829 return strip->length(scene);
832static int strip_default_duration(
const Strip *strip,
const Scene *scene)
837 return strip->length(scene);
842 const Strip *strip =
static_cast<Strip *
>(ptr->data);
843 const Scene *scene = id_cast<Scene *>(ptr->owner_id);
844 return strip_default_duration(strip, scene);
849 const Strip *strip =
static_cast<Strip *
>(ptr->data);
850 return int(strip->content_start());
855 const Strip *strip =
static_cast<Strip *
>(ptr->data);
856 const Scene *scene = id_cast<Scene *>(ptr->owner_id);
857 return int(strip->content_start()) + strip_default_duration(strip, scene);
860static int rna_Strip_time_editable(
const PointerRNA *ptr,
const char ** )
862 Strip *strip =
static_cast<Strip *
>(ptr->data);
867static int rna_Strip_retimable(
const PointerRNA *ptr,
const char ** )
869 Strip *strip =
static_cast<Strip *
>(ptr->data);
874static void rna_Strip_channel_set(
PointerRNA *ptr,
int value)
876 Strip *strip =
static_cast<Strip *
>(ptr->data);
877 Scene *scene = id_cast<Scene *>(ptr->owner_id);
881 const int channel_delta = (value >= strip->channel) ? 1 : -1;
882 strip->channel_set(value);
888static bool rna_Strip_lock_get(
PointerRNA *ptr)
890 Scene *scene =
reinterpret_cast<Scene *
>(ptr->owner_id);
891 Strip *strip =
static_cast<Strip *
>(ptr->data);
897static void rna_Strip_use_proxy_set(
PointerRNA *ptr,
bool value)
899 Strip *strip =
static_cast<Strip *
>(ptr->data);
924 reports,
RPT_ERROR,
"Modifier \"%s\" is not in the strip's modifier list", smd->name);
931static bool transform_strip_cmp_fn(
Strip *strip,
void *arg_pt)
933 StripSearchData *
data =
static_cast<StripSearchData *
>(arg_pt);
935 if (strip->data && strip->data->transform ==
data->data) {
944 StripSearchData
data;
946 data.strip =
nullptr;
955static std::optional<std::string> rna_StripTransform_path(
const PointerRNA *ptr)
957 Scene *scene = id_cast<Scene *>(ptr->owner_id);
962 char name_esc[(
sizeof(strip->name) - 2) * 2];
964 return fmt::format(
"sequence_editor.strips_all[\"{}\"].transform", name_esc);
971 Scene *scene = id_cast<Scene *>(ptr->owner_id);
979static bool crop_strip_cmp_fn(
Strip *strip,
void *arg_pt)
981 StripSearchData *
data =
static_cast<StripSearchData *
>(arg_pt);
983 if (strip->data && strip->data->crop ==
data->data) {
992 StripSearchData
data;
994 data.strip =
nullptr;
1003static std::optional<std::string> rna_StripCrop_path(
const PointerRNA *ptr)
1005 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1010 char name_esc[(
sizeof(strip->name) - 2) * 2];
1012 return fmt::format(
"sequence_editor.strips_all[\"{}\"].crop", name_esc);
1019 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1027static void rna_Strip_text_font_set(
PointerRNA *ptr,
1031 Strip *strip =
static_cast<Strip *
>(ptr->data);
1032 VFont *value =
static_cast<VFont *
>(ptr_value.data);
1037static void rna_Strip_name_get(
PointerRNA *ptr,
char *value)
1039 Strip *strip =
static_cast<Strip *
>(ptr->data);
1040 strcpy(value, strip->name + 2);
1043static int rna_Strip_name_length(
PointerRNA *ptr)
1045 Strip *strip =
static_cast<Strip *
>(ptr->data);
1046 return strlen(strip->name + 2);
1049static void rna_Strip_name_set(
PointerRNA *ptr,
const char *value)
1051 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1052 Strip *strip =
static_cast<Strip *
>(ptr->data);
1053 char oldname[
sizeof(strip->name)];
1058 BLI_strncpy(oldname, strip->name + 2,
sizeof(strip->name) - 2);
1068 "sequence_editor.strips_all",
1075static int rna_Strip_text_length(
PointerRNA *ptr)
1077 Strip *strip =
static_cast<Strip *
>(ptr->data);
1082static void rna_Strip_text_get(
PointerRNA *ptr,
char *value)
1084 Strip *strip =
static_cast<Strip *
>(ptr->data);
1086 memcpy(value, text->text_ptr, text->text_len_bytes + 1);
1089static void rna_Strip_text_set(
PointerRNA *ptr,
const char *value)
1091 Strip *strip =
static_cast<Strip *
>(ptr->data);
1094 if (text->text_ptr) {
1095 MEM_delete(text->text_ptr);
1098 text->text_len_bytes = strlen(text->text_ptr);
1103 text->selection_start_offset = 0;
1104 text->selection_end_offset = 0;
1109 Strip *strip =
static_cast<Strip *
>(ptr->data);
1111 switch (strip->type) {
1113 return RNA_ImageStrip;
1115 return RNA_MetaStrip;
1117 return RNA_SceneStrip;
1119 return RNA_MovieStrip;
1121 return RNA_MovieClipStrip;
1123 return RNA_MaskStrip;
1125 return RNA_SoundStrip;
1127 return RNA_CrossStrip;
1129 return RNA_AddStrip;
1131 return RNA_SubtractStrip;
1133 return RNA_AlphaOverStrip;
1135 return RNA_AlphaUnderStrip;
1137 return RNA_GammaCrossStrip;
1139 return RNA_CompositorStrip;
1141 return RNA_MultiplyStrip;
1143 return RNA_MulticamStrip;
1145 return RNA_AdjustmentStrip;
1147 return RNA_WipeStrip;
1149 return RNA_GlowStrip;
1151 return RNA_ColorStrip;
1153 return RNA_SpeedControlStrip;
1155 return RNA_GaussianBlurStrip;
1157 return RNA_TextStrip;
1159 return RNA_ColorMixStrip;
1165static std::optional<std::string> rna_Strip_path(
const PointerRNA *ptr)
1167 const Strip *strip =
static_cast<Strip *
>(ptr->data);
1172 char name_esc[(
sizeof(strip->name) - 2) * 2];
1175 return fmt::format(
"sequence_editor.strips_all[\"{}\"]", name_esc);
1180 Strip *strip =
static_cast<Strip *
>(ptr->data);
1181 return &strip->prop;
1186 Strip *strip =
static_cast<Strip *
>(ptr->data);
1187 return &strip->system_properties;
1190static bool rna_MovieStrip_reload_if_needed(
ID *scene_id,
Strip *strip,
Main *bmain)
1192 Scene *scene = id_cast<Scene *>(scene_id);
1195 bool can_produce_frames;
1199 if (has_reloaded && can_produce_frames) {
1206 return can_produce_frames;
1211 if (strip ==
nullptr) {
1215 Scene &scene = *id_cast<Scene *>(scene_id);
1234static void rna_Strip_filepath_set(
PointerRNA *ptr,
const char *value)
1236 Strip *strip =
static_cast<Strip *
>(ptr->data);
1238 strip->data->dirpath,
1239 sizeof(strip->data->dirpath),
1240 strip->data->stripdata->filename,
1241 sizeof(strip->data->stripdata->filename));
1244static void rna_Strip_filepath_get(
PointerRNA *ptr,
char *value)
1246 Strip *strip =
static_cast<Strip *
>(ptr->data);
1250 filepath,
sizeof(filepath), strip->data->dirpath, strip->data->stripdata->filename);
1251 strcpy(value, filepath);
1254static int rna_Strip_filepath_length(
PointerRNA *ptr)
1256 Strip *strip =
static_cast<Strip *
>(ptr->data);
1260 filepath,
sizeof(filepath), strip->data->dirpath, strip->data->stripdata->filename);
1263static void rna_Strip_proxy_filepath_set(
PointerRNA *ptr,
const char *value)
1267 value, proxy->dirpath,
sizeof(proxy->dirpath), proxy->filename,
sizeof(proxy->filename));
1270 proxy->anim =
nullptr;
1274static void rna_Strip_proxy_filepath_get(
PointerRNA *ptr,
char *value)
1279 BLI_path_join(filepath,
sizeof(filepath), proxy->dirpath, proxy->filename);
1280 strcpy(value, filepath);
1283static int rna_Strip_proxy_filepath_length(
PointerRNA *ptr)
1288 return BLI_path_join(filepath,
sizeof(filepath), proxy->dirpath, proxy->filename);
1296static void rna_Strip_pan_range(
1299 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1303 *softmax = 1 + int(scene->r.ffcodecdata.audio_channels > 2);
1304 *softmin = -*softmax;
1307static int rna_Strip_input_count_get(
PointerRNA *ptr)
1309 Strip *strip =
static_cast<Strip *
>(ptr->data);
1310 return strip->effect_num_inputs_get();
1313static void rna_Strip_input_set(
PointerRNA *ptr,
1319 Strip *strip =
static_cast<Strip *
>(ptr->data);
1320 Strip *input =
static_cast<Strip *
>(ptr_value.data);
1327 switch (input_num) {
1329 strip->input1 = input;
1332 strip->input2 = input;
1339 rna_Strip_input_set(ptr, ptr_value, reports, 1);
1344 rna_Strip_input_set(ptr, ptr_value, reports, 2);
1356static void rna_SoundStrip_filename_set(
PointerRNA *ptr,
const char *value)
1360 strip->data->dirpath,
1361 sizeof(strip->data->dirpath),
1362 strip->data->stripdata->name,
1363 sizeof(strip->data->stripdata->name));
1366static void rna_StripElement_filename_set(
PointerRNA *ptr,
const char *value)
1375 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1379 rna_Strip_invalidate_raw_update(bmain, scene, ptr);
1388 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1389 Strip *strip =
static_cast<Strip *
>(ptr->data);
1391 rna_Strip_invalidate_raw_update(bmain, scene, ptr);
1396 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1401static bool seqproxy_strip_cmp_fn(
Strip *strip,
void *arg_pt)
1403 StripSearchData *
data =
static_cast<StripSearchData *
>(arg_pt);
1405 if (strip->data && strip->data->proxy ==
data->data) {
1406 data->strip = strip;
1414 StripSearchData
data;
1416 data.strip =
nullptr;
1425 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1432static float rna_Strip_opacity_get(
PointerRNA *ptr)
1434 Strip *strip =
static_cast<Strip *
>(ptr->data);
1435 return strip->blend_opacity / 100.0f;
1437static void rna_Strip_opacity_set(
PointerRNA *ptr,
float value)
1439 Strip *strip =
static_cast<Strip *
>(ptr->data);
1440 CLAMP(value, 0.0f, 1.0f);
1441 strip->blend_opacity = value * 100.0f;
1444static int rna_Strip_color_tag_get(
PointerRNA *ptr)
1446 Strip *strip =
static_cast<Strip *
>(ptr->data);
1447 return strip->color_tag;
1450static void rna_Strip_color_tag_set(
PointerRNA *ptr,
int value)
1452 Strip *strip =
static_cast<Strip *
>(ptr->data);
1456static bool colbalance_seq_cmp_fn(
Strip *strip,
void *arg_pt)
1458 StripSearchData *
data =
static_cast<StripSearchData *
>(arg_pt);
1464 if (&cbmd->color_balance ==
data->data) {
1465 data->strip = strip;
1479 StripSearchData
data;
1481 data.strip =
nullptr;
1493static std::optional<std::string> rna_StripColorBalance_path(
const PointerRNA *ptr)
1495 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1501 char name_esc[(
sizeof(strip->name) - 2) * 2];
1507 return fmt::format(
"sequence_editor.strips_all[\"{}\"].color_balance", name_esc);
1510 char name_esc_smd[
sizeof(smd->name) * 2];
1513 return fmt::format(
"sequence_editor.strips_all[\"{}\"].modifiers[\"{}\"].color_balance",
1522 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1531static void rna_SequenceEditor_overlay_lock_set(
PointerRNA *ptr,
bool value)
1533 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1536 if (
ed ==
nullptr) {
1542 ed->overlay_frame_abs = scene->r.cfra +
ed->overlay_frame_ofs;
1546 ed->overlay_frame_ofs =
ed->overlay_frame_abs - scene->r.cfra;
1551static int rna_SequenceEditor_overlay_frame_get(
PointerRNA *ptr)
1553 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1556 if (
ed ==
nullptr) {
1557 return scene->r.cfra;
1561 return ed->overlay_frame_abs - scene->r.cfra;
1564 return ed->overlay_frame_ofs;
1568static void rna_SequenceEditor_overlay_frame_set(
PointerRNA *ptr,
int value)
1570 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1573 if (
ed ==
nullptr) {
1578 ed->overlay_frame_abs = (scene->r.cfra + value);
1581 ed->overlay_frame_ofs = value;
1585static int rna_SequenceEditor_get_cache_raw_size(
PointerRNA *ptr)
1587 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1588 if (scene ==
nullptr) {
1594static int rna_SequenceEditor_get_cache_final_size(
PointerRNA *ptr)
1596 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1597 if (scene ==
nullptr) {
1603static void rna_SequenceEditor_display_stack(
ID *
id,
1617 Scene *scene = id_cast<Scene *>(
id);
1625static bool modifier_strip_cmp_fn(
Strip *strip,
void *arg_pt)
1627 StripSearchData *
data =
static_cast<StripSearchData *
>(arg_pt);
1630 data->strip = strip;
1639 StripSearchData
data;
1641 data.strip =
nullptr;
1654 switch (smd->type) {
1656 return RNA_ColorBalanceModifier;
1658 return RNA_CurvesModifier;
1660 return RNA_HueCorrectModifier;
1662 return RNA_MaskStripModifier;
1664 return RNA_BrightContrastModifier;
1666 return RNA_WhiteBalanceModifier;
1668 return RNA_SequencerTonemapModifierData;
1670 return RNA_SoundEqualizerModifier;
1672 return RNA_SequencerCompositorModifierData;
1674 return RNA_PitchModifier;
1676 return RNA_EchoModifier;
1678 return RNA_StripModifier;
1682static std::optional<std::string> rna_StripModifier_path(
const PointerRNA *ptr)
1684 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1687 Strip *strip = strip_get_by_modifier(
ed, smd);
1690 char name_esc[(
sizeof(strip->name) - 2) * 2];
1691 char name_esc_smd[
sizeof(smd->name) * 2];
1696 "sequence_editor.strips_all[\"{}\"].modifiers[\"{}\"]", name_esc, name_esc_smd);
1701static void rna_StripModifier_name_set(
PointerRNA *ptr,
const char *value)
1704 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1706 Strip *strip = strip_get_by_modifier(
ed, smd);
1707 char oldname[
sizeof(smd->name)];
1719 std::string rna_path_prefix = fmt::format(
"sequence_editor.strips_all{}.modifiers",
1729static void rna_StripModifier_is_active_set(
PointerRNA *ptr,
bool value)
1750 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1767static void rna_StripModifier_EQCurveMapping_update(
Main *bmain,
1771 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1778static void rna_StripModifier_Pitch_semitones_update(
Main *bmain,
Scene *scene,
PointerRNA *ptr)
1783 int ¢s = pmd->cents;
1784 if (semitones >= 12 && cents > 0) {
1787 else if (semitones <= -12 && cents < 0) {
1791 rna_StripModifier_update(bmain, scene, ptr);
1794static void rna_StripModifier_Pitch_mode_update(
Main *bmain,
Scene *scene,
PointerRNA *ptr)
1797 int mode = pmd->
mode;
1800 double pitch_scale = pmd->ratio;
1801 double total_semitones = 12.0 *
log2(pitch_scale);
1802 int semitones = int(
floor(total_semitones));
1803 double cents = (total_semitones - semitones) * 100.0;
1804 pmd->semitones = semitones;
1809 pmd->ratio =
pow(2.0, (pmd->semitones + (pmd->cents / 100.0)) / 12.0);
1812 rna_StripModifier_update(bmain, scene, ptr);
1817 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1820 Strip *cur =
static_cast<Strip *
>(value.data);
1838 Scene *scene = id_cast<Scene *>(scene_id);
1852static void rna_Strip_modifier_remove(
ID *scene_id,
1858 Scene *scene = id_cast<Scene *>(scene_id);
1865 smd_ptr->invalidate();
1871static void rna_Strip_modifier_clear(
ID *scene_id,
Strip *strip)
1873 Scene *scene = id_cast<Scene *>(scene_id);
1885 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1887 Strip *strip = strip_get_by_modifier(
ed, smd);
1888 Strip *target =
static_cast<Strip *
>(value.data);
1895 smd->mask_strip = target;
1898static float rna_Strip_fps_get(
PointerRNA *ptr)
1900 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1901 Strip *strip =
static_cast<Strip *
>(ptr->data);
1902 return strip->media_fps(scene);
1905static void rna_Strip_separate(
ID *
id,
Strip *strip_meta,
Main *bmain)
1907 Scene *scene = id_cast<Scene *>(
id);
1912 for (
Strip &strip : strip_meta->seqbase.items_mutable()) {
1926static void rna_SequenceTimelineChannel_name_set(
PointerRNA *ptr,
const char *value)
1929 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1933 ListBaseT<SeqTimelineChannel> *channels_base = &
ed->channels;
1935 if (channel_owner !=
nullptr) {
1936 channels_base = &channel_owner->channels;
1945 sizeof(channel->name));
1951 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1956 ListBaseT<Strip> *seqbase;
1957 if (channel_owner ==
nullptr) {
1958 seqbase = &
ed->seqbase;
1961 seqbase = &channel_owner->seqbase;
1965 for (
Strip &strip : *seqbase) {
1969 rna_Strip_sound_update(bmain, scene, ptr);
1972static int rna_SequenceTimelineChannel_number_get(
PointerRNA *ptr)
1975 return channel->
index;
1978static std::optional<std::string> rna_SeqTimelineChannel_path(
const PointerRNA *ptr)
1980 Scene *scene = id_cast<Scene *>(ptr->owner_id);
1985 char channel_name_esc[(
sizeof(channel->name)) * 2];
1986 BLI_str_escape(channel_name_esc, channel->name,
sizeof(channel_name_esc));
1988 if (channel_owner ==
nullptr) {
1989 return fmt::format(
"sequence_editor.channels[\"{}\"]", channel_name_esc);
1991 char owner_name_esc[(
sizeof(channel_owner->name) - 2) * 2];
1992 BLI_str_escape(owner_name_esc, channel_owner->name + 2,
sizeof(owner_name_esc));
1994 "sequence_editor.strips_all[\"{}\"].channels[\"{}\"]", owner_name_esc, channel_name_esc);
2020 if (node_tree->compositor_node_asset_traits) {
2029static void rna_CompositorEffect_node_group_update(
Main *bmain,
Scene *scene,
PointerRNA *ptr)
2031 rna_Strip_invalidate_raw_update(bmain, scene, ptr);
2039 Scene *sequencer_scene =
reinterpret_cast<Scene *
>(ptr->owner_id);
2053static void rna_CompositorModifier_node_group_update(
Main *bmain,
Scene *scene,
PointerRNA *ptr)
2055 rna_StripModifier_update(bmain, scene, ptr);
2063 Scene *sequencer_scene =
reinterpret_cast<Scene *
>(ptr->owner_id);
2080 if (!cmd->node_group ||
ID_MISSING(cmd->node_group)) {
2081 return RNA_SequencerCompositorModifierPropertiesEmpty;
2083 BLI_assert(cmd->node_group->runtime->compositor_nodes_srna_data);
2084 return cmd->node_group->runtime->compositor_nodes_srna_data->properties_struct;
2087static std::optional<std::string> rna_SequencerCompositorModifierProperties_path(
2091 return fmt::format(
"modifiers[\"{}\"].properties",
BLI_str_escape(cmd->modifier.name));
2103 if (!cmd->node_group) {
2107 ptr->owner_id, RNA_SequencerCompositorModifierProperties, cmd);
2114 return RNA_SequencerCompositorEffectPropertiesEmpty;
2116 BLI_assert(
comp->node_group->runtime->compositor_effect_nodes_srna_data);
2117 return comp->node_group->runtime->compositor_effect_nodes_srna_data->properties_struct;
2120static std::optional<std::string> rna_SequencerCompositorEffectProperties_path(
2123 return "properties";
2129 return &
comp->system_properties;
2136 if (!comp || !
comp->node_group) {
2144 const Scene *scene = id_cast<Scene *>(ptr->owner_id);
2145 return scene->r.xsch;
2150 const Scene *scene = id_cast<Scene *>(ptr->owner_id);
2151 return scene->r.ysch;
2199 "Key mapped to particular frame that can be moved to change playback speed");
2205 prop,
"rna_Strip_retiming_key_frame_get",
"rna_Strip_retiming_key_frame_set",
nullptr);
2254 "Automatically choose filter based on scaling factor"},
2276 "Averages source image samples that fall under destination pixel"},
2277 {0,
nullptr, 0,
nullptr,
nullptr},
2355 "rna_Strip_proxy_filepath_get",
2356 "rna_Strip_proxy_filepath_length",
2357 "rna_Strip_proxy_filepath_set");
2407 "OFFSET_POWER_SLOPE",
2409 "Offset/Power/Slope (ASC-CDL)",
2410 "ASC-CDL standard color correction"},
2411 {0,
nullptr, 0,
nullptr,
nullptr},
2416 "Strip Color Balance Data",
2417 "Color balance parameters for a sequence strip and its modifiers");
2513 srna =
RNA_def_struct(brna,
"StripColorBalance",
"StripColorBalanceData");
2515 srna,
"Strip Color Balance",
"Color balance parameters for a sequence strip");
2552 {0,
nullptr, 0,
nullptr,
nullptr},
2572 parm =
RNA_def_string(func,
"name",
"Name", 0,
"",
"New name for the modifier");
2580 "Modifier type to add");
2584 parm =
RNA_def_pointer(func,
"modifier",
"StripModifier",
"",
"Newly created modifier");
2593 parm =
RNA_def_pointer(func,
"modifier",
"StripModifier",
"",
"Modifier to remove");
2606 prop,
"rna_Strip_active_modifier_get",
"rna_Strip_active_modifier_set",
nullptr,
nullptr);
2644 {0,
nullptr, 0,
nullptr,
nullptr},
2649 srna,
"Strip",
"A single container for content in the Video Sequence Editor");
2658 prop,
"rna_Strip_name_get",
"rna_Strip_name_length",
"rna_Strip_name_set");
2691 prop,
"Mute",
"Disable strip so that it does not contribute any output");
2708 prop,
"Length",
"The length of the contents of this strip after the handles are applied");
2710 prop,
"rna_Strip_duration_get",
"rna_Strip_duration_set",
"rna_Strip_duration_range");
2720 prop,
"Strip Duration",
"Length of the strip in frames from left handle to right handle");
2722 prop,
"rna_Strip_duration_get",
"rna_Strip_duration_set",
"rna_Strip_duration_range");
2733 prop,
"Length",
"The length of the contents of this strip before the handles are applied");
2742 "Length of the underlying strip source in frames, excluding handles");
2750 prop,
nullptr,
"rna_Strip_content_start_set",
nullptr);
2760 prop,
"Content Start",
"Timeline frame where underlying strip source begins");
2763 prop,
nullptr,
"rna_Strip_content_start_set",
nullptr);
2771 prop,
"Content End",
"Timeline frame where underlying strip source ends");
2780 prop,
"rna_Strip_left_handle_get",
"rna_Strip_left_handle_set",
nullptr);
2787 "Start frame displayed in the sequence editor after offsets are applied, setting this is "
2788 "equivalent to moving the handle, not the actual start frame");
2796 "rna_Strip_left_handle_get",
2797 "rna_Strip_left_handle_set",
2798 "rna_Strip_left_handle_range");
2803 prop,
"Left Handle",
"Timeline frame of the left handle and the start frame of the strip");
2811 "rna_Strip_right_handle_get",
2812 "rna_Strip_right_handle_set",
2813 "rna_Strip_right_handle_range");
2818 prop,
"End Frame",
"End frame displayed in the sequence editor after offsets are applied");
2826 "rna_Strip_right_handle_get",
2827 "rna_Strip_right_handle_set",
2828 "rna_Strip_right_handle_range");
2834 "Timeline frame of the right handle, which is the first frame where "
2835 "the strip no longer contributes to the output");
2845 prop,
nullptr,
"rna_Strip_left_handle_offset_set",
"rna_Strip_left_handle_offset_range");
2853 "Left Handle Offset",
2854 "Rightward frame offset of the left handle from the start of the strip content");
2856 prop,
nullptr,
"rna_Strip_left_handle_offset_set",
"rna_Strip_left_handle_offset_range");
2864 prop,
nullptr,
"rna_Strip_right_handle_offset_set",
"rna_Strip_right_handle_offset_range");
2872 "Right Handle Offset",
2873 "Leftward frame offset of the right handle from the end of the strip content");
2875 prop,
nullptr,
"rna_Strip_right_handle_offset_set",
"rna_Strip_right_handle_offset_range");
2893 prop,
"Blending Mode",
"Method for controlling how the strip combines with other strips");
2902 prop,
"Blend Opacity",
"Percentage of how much the strip's colors affect other strips");
2920 "Fade effect using the built-in default (usually makes the transition "
2921 "as long as the effect strip)");
2952 "rna_Strip_connections_get",
2959 prop,
"Connected Strips",
"Other strips currently connected to this strip");
3018 {0,
"PER_STRIP", 0,
"Per Strip",
"Store proxies using per strip settings"},
3023 "Store proxies using project directory"},
3024 {0,
nullptr, 0,
nullptr,
nullptr},
3044 prop,
"All Strips",
"All strips, recursively including those inside metastrips");
3046 "rna_SequenceEditor_strips_all_begin",
3047 "rna_SequenceEditor_strips_all_next",
3048 "rna_SequenceEditor_strips_all_end",
3049 "rna_SequenceEditor_strips_all_get",
3052 "rna_SequenceEditor_strips_all_lookup_string",
3059 prop,
"Meta Stack",
"Meta strip stack, last is currently edited meta strip");
3064 "rna_SequenceEditor_meta_stack_get",
3088 prop,
"Show Overlay",
"Partial overlay on top of the sequencer with a frame offset");
3101 prop,
"Show Missing Media",
"Render missing images/movies with a solid magenta color");
3108 "rna_SequenceEditor_overlay_frame_get",
3109 "rna_SequenceEditor_overlay_frame_set",
3131 "Cache raw images read from disk, for faster tweaking of strip "
3132 "parameters at the cost of memory usage");
3147 "Render frames ahead of current frame in the background for faster playback");
3159 prop,
"Final Cache Size",
"Size of final rendered images cache in megabytes");
3163 func =
RNA_def_function(srna,
"display_stack",
"rna_SequenceEditor_display_stack");
3167 func,
"meta_sequence",
"Strip",
"Meta Strip",
"Meta to display its stack");
3180 "RGB channels in transparent pixels are unaffected by the alpha channel"},
3185 "RGB channels in transparent pixels are multiplied by the alpha channel"},
3186 {0,
nullptr, 0,
nullptr,
nullptr},
3197 prop,
"Alpha Mode",
"Representation of alpha information in the RGBA pixels");
3283 "rna_Strip_content_trim_start_set",
3284 "rna_Strip_content_trim_start_range");
3295 "rna_Strip_content_trim_start_set",
3296 "rna_Strip_content_trim_start_range");
3299 "Content Trim Start",
3300 "Number of frames to ignore from the start of the underlying source. The source content is "
3301 "trimmed, and previous frames are turned into holds");
3310 "rna_Strip_content_trim_end_set",
3311 "rna_Strip_content_trim_end_range");
3322 "rna_Strip_content_trim_end_set",
3323 "rna_Strip_content_trim_end_range");
3326 "Number of frames to ignore from the end of the underlying source. The "
3327 "source content is trimmed, and future frames are turned into holds");
3384 "rna_Strip_retiming_keys_begin",
3385 "rna_iterator_array_next",
3386 "rna_iterator_array_end",
3387 "rna_iterator_array_get",
3388 "rna_Strip_retiming_keys_length",
3415 "rna_Strip_elements_begin",
3416 "rna_iterator_array_next",
3417 "rna_iterator_array_end",
3418 "rna_iterator_array_get",
3419 "rna_Strip_elements_length",
3483 srna,
"Meta Strip",
"Sequence strip to group other strips as a single sequence strip");
3516 {0,
"CAMERA", ICON_VIEW3D,
"Camera",
"Use the Scene's 3D camera as input"},
3521 "Use the Scene's Sequencer timeline as input"},
3522 {0,
nullptr, 0,
nullptr,
nullptr},
3527 srna,
"Scene Strip",
"Sequence strip using the rendered image of a scene");
3546 "rna_SceneStrip_view_layer_get",
3547 "rna_SceneStrip_view_layer_set",
3549 "rna_SceneStrip_view_layer_poll");
3551 prop,
"View Layer",
"View Layer of the scene to render (uses the default if unset)");
3590 "For files with several movie streams, use the stream with the given index");
3598 "rna_Strip_elements_begin",
3599 "rna_iterator_array_next",
3600 "rna_iterator_array_end",
3601 "rna_iterator_array_get",
3602 "rna_Strip_elements_length",
3612 prop,
"rna_Strip_filepath_get",
"rna_Strip_filepath_length",
"rna_Strip_filepath_set");
3616 func =
RNA_def_function(srna,
"reload_if_needed",
"rna_MovieStrip_reload_if_needed");
3620 "can_produce_frames",
3622 "Can Produce Frames",
3623 "True if the strip can produce frames, False otherwise");
3632 func,
"metadata",
"IDPropertyWrapPtr",
"",
"Dict-like object containing the metadata");
3668 srna,
"MovieClip Strip",
"Sequence strip to load a video from the clip editor");
3716 srna,
"Sound Strip",
"Sequence strip defining a sound to be played over a period of time");
3742 prop,
"Sound Offset",
"Subframe offset of the sound source start expressed in seconds");
3749 prop,
"Display Waveform",
"Display the audio waveform inside the strip");
3757 "Maintain the original pitch of the audio when changing playback speed");
3771 "Sequence strip applying an effect on the images created by other strips");
3802 {0,
nullptr, 0,
nullptr,
nullptr},
3806 {0,
"OUT", 0,
"Out",
""},
3807 {1,
"IN", 0,
"In",
""},
3808 {0,
nullptr, 0,
nullptr,
nullptr},
3819 "Width of the blur for the transition, in percentage relative to the image size");
3888 srna =
RNA_def_struct(brna,
"SequencerCompositorEffectProperties",
nullptr);
3894 srna =
RNA_def_struct(brna,
"SequencerCompositorEffectPropertiesEmpty",
nullptr);
3906 prop,
nullptr,
nullptr,
nullptr,
"rna_Compositor_node_group_poll");
3914 prop,
"rna_SequencerCompositorEffectProperties_get",
nullptr,
nullptr,
nullptr);
3954 "Adjust input playback speed, so its duration fits strip length"},
3960 "Frame number of the input strip"},
3961 {
SEQ_SPEED_LENGTH,
"LENGTH", 0,
"Length",
"Percentage of the input strip length"},
3962 {0,
nullptr, 0,
nullptr,
nullptr},
3977 "Multiply the current speed of the strip with this number or remap current frame "
3996 prop,
"Frame Interpolation",
"Do crossfade blending between current and next frame");
4022 {0,
nullptr, 0,
nullptr,
nullptr},
4029 {0,
nullptr, 0,
nullptr,
nullptr},
4036 {0,
nullptr, 0,
nullptr,
nullptr},
4047 prop,
"Font",
"Font of the text. Falls back to the UI font by default.");
4062 prop,
"Line Spacing",
"Distance between lines of text in proportion to text size");
4070 prop,
"Absolute Line Spacing",
"Distance between lines of text in pixels");
4080 "Absolute Line Spacing",
4081 "Define spacing using pixel values instead of relative scaling based on font size");
4173 prop,
"Anchor X",
"Horizontal position of the text box relative to Location");
4180 prop,
"Anchor Y",
"Vertical position of the text box relative to Location");
4186 prop,
"rna_Strip_text_get",
"rna_Strip_text_length",
"rna_Strip_text_set");
4250 {0,
nullptr, 0,
nullptr,
nullptr},
4261 prop,
"Blending Mode",
"Method for controlling how the strip combines with other strips");
4268 prop,
"Blend Factor",
"Percentage of how much the strip's colors affect other strips");
4273 {
"AddStrip",
"Add Strip",
"Add Strip",
nullptr, 2},
4275 "Adjustment Layer Strip",
4276 "Sequence strip to perform filter adjustments to layers below",
4279 {
"AlphaOverStrip",
"Alpha Over Strip",
"Alpha Over Strip",
nullptr, 2},
4280 {
"AlphaUnderStrip",
"Alpha Under Strip",
"Alpha Under Strip",
nullptr, 2},
4283 "Sequence strip creating an image filled with a single color",
4286 {
"CrossStrip",
"Crossfade Strip",
"Crossfade Strip",
nullptr, 2},
4287 {
"GammaCrossStrip",
"Gamma Crossfade Strip",
"Gamma Crossfade Strip",
nullptr, 2},
4289 {
"GlowStrip",
"Glow Strip",
"Sequence strip creating a glow effect",
rna_def_glow, 1},
4291 "Multicam Select Strip",
4292 "Sequence strip to perform multicam editing",
4295 {
"MultiplyStrip",
"Multiply Strip",
"Multiply Strip",
nullptr, 2},
4296 {
"SpeedControlStrip",
4297 "SpeedControl Strip",
4298 "Sequence strip to control the speed of other strips",
4301 {
"SubtractStrip",
"Subtract Strip",
"Subtract Strip",
nullptr, 2},
4302 {
"WipeStrip",
"Wipe Strip",
"Sequence strip creating a wipe transition",
rna_def_wipe, 2},
4303 {
"GaussianBlurStrip",
4304 "Gaussian Blur Strip",
4305 "Sequence strip creating a gaussian blur",
4308 {
"TextStrip",
"Text Strip",
"Sequence strip creating text",
rna_def_text, 0},
4310 {
"",
"",
"",
nullptr, 0},
4342 prop,
nullptr,
"modifier.layout_panel_open_flag", (
int64_t(1) <<
id));
4354 {0,
nullptr, 0,
nullptr,
nullptr},
4362 "Mask animation is offset to start of strip"},
4367 "Mask animation is in sync with scene frame"},
4368 {0,
nullptr, 0,
nullptr,
nullptr},
4430 prop,
nullptr,
"rna_StripModifier_strip_set",
nullptr,
"rna_StripModifier_otherStrip_poll");
4456 srna =
RNA_def_struct(brna,
"ColorBalanceModifier",
"StripModifier");
4460 srna,
"ColorBalanceModifier",
"Color balance modifier for sequence strip");
4480 srna =
RNA_def_struct(brna,
"WhiteBalanceModifier",
"StripModifier");
4484 srna,
"WhiteBalanceModifier",
"White balance modifier for sequence strip");
4519 srna =
RNA_def_struct(brna,
"HueCorrectModifier",
"StripModifier");
4536 srna =
RNA_def_struct(brna,
"MaskStripModifier",
"StripModifier");
4548 srna =
RNA_def_struct(brna,
"BrightContrastModifier",
"StripModifier");
4552 srna,
"BrightContrastModifier",
"Bright/contrast modifier data for sequence strip");
4577 {0,
nullptr, 0,
nullptr,
nullptr},
4580 srna =
RNA_def_struct(brna,
"SequencerTonemapModifierData",
"StripModifier");
4601 "Normally always 1, but can be used as an extra control to alter the brightness curve");
4612 prop,
"Intensity",
"If less than zero, darkens image; otherwise, makes it brighter");
4628 prop,
"Color Correction",
"If 0, same for all channels; if 1, each independent");
4638 srna =
RNA_def_struct(brna,
"SequencerCompositorModifierProperties",
nullptr);
4644 srna =
RNA_def_struct(brna,
"SequencerCompositorModifierPropertiesEmpty",
nullptr);
4664 prop,
nullptr,
nullptr,
nullptr,
"rna_Compositor_node_group_poll");
4682 prop,
"rna_SequencerCompositorModifierProperties_get",
nullptr,
nullptr,
nullptr);
4724 srna =
RNA_def_struct(brna,
"SoundEqualizerModifier",
"StripModifier");
4731 prop,
"Graphical definition equalization",
"Graphical definition equalization");
4734 func =
RNA_def_function(srna,
"new_graphic",
"rna_Strip_SoundEqualizer_Curve_add");
4743 "Minimum Frequency",
4744 "Minimum Frequency",
4753 "Maximum Frequency",
4754 "Maximum Frequency",
4762 "EQCurveMappingData",
4764 "Newly created graphical Equalizer definition");
4768 func =
RNA_def_function(srna,
"clear_soundeqs",
"rna_Strip_SoundEqualizer_Curve_clear");
4771 "Remove all graphical equalizers from the Equalizer modifier");
4818 "Preserve Vocal Formants",
4819 "Whether to preserve the vocal formants when shifting the pitch.");
#define BLI_path_join(...)
#define STRNCPY_UTF8(dst, src)
#define BLI_STR_UTF8_MULTIPLICATION_SIGN
#define BLT_I18NCONTEXT_ID_SEQUENCE
#define BLT_I18NCONTEXT_ID_SOUND
#define BLT_I18NCONTEXT_ID_MOVIECLIP
#define BLT_I18NCONTEXT_EDITOR_FILEBROWSER
#define BLT_I18NCONTEXT_COLOR
Read Blender memory allocation and freeing.
#define RNA_ENUM_ITEM_SEPR
#define SOUND_EQUALIZER_DEFAULT_MAX_FREQ
#define SOUND_EQUALIZER_DEFAULT_MIN_FREQ
#define ND_SPACE_SEQUENCER
#define UNUSED_FUNCTION(x)
const T & data(const Action &owning_action) const
void sync_active_scene_and_time_with_scene_strip(bContext &C)
Strip * strip_from_strip_elem(ListBaseT< Strip > *seqbase, StripElem *se)
int retiming_key_index_get(const Strip *strip, const SeqRetimingKey *key)
void effect_text_font_set(Strip *strip, VFont *font)
void prefetch_stop(Scene *scene)
void relations_tag_temporary_animation_frame(Scene *scene)
MutableSpan< SeqRetimingKey > retiming_keys_get(const Strip *strip)
size_t final_image_cache_calc_memory_size(const Scene *scene)
void add_movie_reload_if_needed(Main *bmain, Scene *scene, Strip *strip, bool *r_was_reloaded, bool *r_can_produce_frames)
void relations_invalidate_cache(Scene *scene, Strip *strip)
Strip * lookup_strip_by_name(Editing *ed, const char *key)
void cache_settings_changed(Scene *scene)
bool relations_render_loop_check(Strip *strip_main, Strip *strip)
int retiming_keys_count(const Strip *strip)
void transform_translate_strip(Scene *evil_scene, Strip *strip, int delta)
void foreach_strip(ListBaseT< Strip > *seqbase, ForEachFunc callback, void *user_data)
void strip_unique_name_set(Scene *scene, ListBaseT< Strip > *seqbasep, Strip *strip)
void relations_free_imbuf(Scene *scene, ListBaseT< Strip > *seqbase, bool for_render)
void modifier_persistent_uid_init(const Strip &strip, StripModifierData &smd)
ListBaseT< Strip > * get_seqbase_by_strip(const Scene *scene, Strip *strip)
Editing * editing_get(const Scene *scene)
void meta_stack_set(const Scene *scene, Strip *dst)
void edit_strip_name_set(Scene *scene, Strip *strip, const char *new_name)
void retiming_remove_key(Strip *strip, SeqRetimingKey *key)
void edit_remove_flagged_strips(Scene *scene, ListBaseT< Strip > *seqbase)
void modifier_unique_name(Strip *strip, StripModifierData *smd)
void compositor_modifier_nodes_update_interface(Main &bmain, Scene &sequencer_scene, SequencerCompositorModifierData &cmd)
int retiming_key_frame_get(const Scene *scene, const Strip *strip, const SeqRetimingKey *key)
void relations_invalidate_cache_raw(Scene *scene, Strip *strip)
bool transform_single_image_check(const Strip *strip)
Strip * lookup_strip_by_channel_owner(Editing *ed, const SeqTimelineChannel *channel)
void proxy_set(Strip *strip, bool value)
void movie_metadata_invalidate(Strip &strip)
void add_reload_new_file(Main *bmain, Scene *scene, Strip *strip, const bool lock_range)
IDProperty * movie_metadata_ensure(Scene &scene, Strip &strip)
constexpr int MAX_CHANNELS
void sound_equalizermodifier_free(StripModifierData *smd)
EQCurveMappingData * sound_equalizermodifier_add_graph(SoundEqualizerModifierData *semd, float min_freq, float max_freq)
void sound_update_bounds(Scene *scene, Strip *strip)
bool modifier_remove(Strip *strip, StripModifierData *smd)
void edit_flag_for_removal(Scene *scene, Strip *strip)
bool exists_in_seqbase(const Strip *strip, const ListBaseT< Strip > *seqbase)
void modifier_clear(Strip *strip)
void modifier_set_active(Strip *strip, StripModifierData *smd)
void select_active_set(Scene *scene, Strip *strip)
bool strip_supports_modifiers(const Strip *strip)
bool retiming_is_allowed(const Strip *strip)
VectorSet< Strip * > query_all_strips_recursive(const ListBaseT< Strip > *seqbase)
StripModifierData * modifier_new(Strip *strip, const char *name, eStripModifierType type)
void add_update_content_length(Main *bmain, Scene *scene, Strip *strip)
ListBaseT< SeqTimelineChannel > * get_channels_by_strip(Editing *ed, const Strip *strip)
void transform_shuffle_vertical(ListBaseT< Strip > *seqbasep, Span< Strip * > strips, Scene *scene, const int channel_delta)
bool transform_is_locked(const ListBaseT< SeqTimelineChannel > *channels, const Strip *strip)
size_t source_image_cache_calc_memory_size(const Scene *scene)
Map< SeqRetimingKey *, Strip * > retiming_selection_get(const Editing *ed)
void retiming_key_frame_set(const Scene *scene, Strip *strip, SeqRetimingKey *key, int frame)
void strip_lookup_invalidate(const Editing *ed)
int default_strip_length(const double scene_fps)
void compositor_effect_nodes_update_interface(Main &bmain, Scene &sequencer_scene, Strip &strip)
void cache_cleanup(Scene *scene, CacheCleanup mode)
StripModifierData * modifier_get_active(const Strip *strip)
bool edit_move_strip_to_seqbase(Scene *scene, ListBaseT< Strip > *seqbase, Strip *strip, ListBaseT< Strip > *dst_seqbase)
void WM_main_add_notifier(uint type, void *reference)
@ COMPOSIT_NODE_ASSET_STRIP_MODIFIER
const EnumPropertyItem rna_enum_strip_modifier_type_items[]
static void rna_def_audio_options(StructRNA *srna)
void RNA_def_property_srna(PropertyRNA *prop, const char *type)
@ SEQ_TONEMAP_RD_PHOTORECEPTOR
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
const EnumPropertyItem rna_enum_strip_video_modifier_type_items[]
void RNA_def_property_editable_func(PropertyRNA *prop, const char *editable)
static void rna_def_color_balance(BlenderRNA *brna)
@ UI_PANEL_DATA_EXPAND_ROOT
@ STRIP_MASK_TIME_ABSOLUTE
@ STRIP_MASK_TIME_RELATIVE
static void rna_def_strip_transform(BlenderRNA *brna)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_deprecated(PropertyRNA *prop, const char *note, const short version, const short removal_version)
char * STRNCPY(char(&dst)[N], const char *src)
static void rna_def_pitch_modifier(BlenderRNA *brna)
static void rna_def_text(BlenderRNA *brna)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
void RNA_def_property_string_sdna(PropertyRNA *prop, const char *structname, const char *propname)
PropertyRNA * RNA_def_string(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, const int maxlen, const char *ui_name, const char *ui_description)
static const EnumPropertyItem blend_mode_items[]
void RNA_def_property_boolean_negative_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
static void rna_def_strips_meta(BlenderRNA *brna)
Scene * CTX_data_sequencer_scene(const bContext *C)
void RNA_def_property_enum_default(PropertyRNA *prop, int value)
static void rna_def_tonemap_modifier(BlenderRNA *brna)
bool RNA_struct_is_a(const StructRNA *type, const StructRNA *srna)
@ SEQ_EDIT_OVERLAY_FRAME_SHOW
@ SEQ_EDIT_OVERLAY_FRAME_ABS
void RNA_def_property_float_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_pointer_funcs(PropertyRNA *prop, const char *get, const char *set, const char *type_fn, const char *poll)
static void rna_def_retiming_key(BlenderRNA *brna)
void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname)
void RNA_def_struct_refine_func(StructRNA *srna, const char *refine)
static void rna_def_meta(BlenderRNA *brna)
@ PITCH_QUALITY_CONSISTENT
void MOV_close(MovieReader *anim)
void RNA_def_property_boolean_funcs(PropertyRNA *prop, const char *get, const char *set)
@ SEQ_COLOR_BALANCE_INVERSE_POWER
@ SEQ_COLOR_BALANCE_INVERSE_LIFT
@ SEQ_COLOR_BALANCE_INVERSE_SLOPE
@ SEQ_COLOR_BALANCE_INVERSE_GAIN
@ SEQ_COLOR_BALANCE_INVERSE_GAMMA
@ SEQ_COLOR_BALANCE_INVERSE_OFFSET
void RNA_def_struct_system_idprops_func(StructRNA *srna, const char *system_idproperties)
static void rna_def_strip_modifiers(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_movie_types(StructRNA *srna)
void RNA_def_function_ui_description(FunctionRNA *func, const char *description)
static void rna_def_retiming_keys(StructRNA *srna)
@ SEQ_STORAGE_PROXY_CUSTOM_DIR
@ SEQ_STORAGE_PROXY_CUSTOM_FILE
std::string RNA_path_name_to_infix(const StringRefNull string)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, const int default_value, const char *ui_name, const char *ui_description)
PropertyRNA * RNA_def_pointer(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
static void rna_def_modifier_panel_open_prop(StructRNA *srna, const char *identifier, const int id)
void RNA_api_strip_retiming_keys(BlenderRNA *brna)
void rna_pointer_create_with_ancestors(const PointerRNA &parent, StructRNA *type, void *data, PointerRNA &r_ptr)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
static void rna_def_colorbalance_modifier(BlenderRNA *brna)
static void rna_def_sound_equalizer_modifier(BlenderRNA *brna)
@ STRIP_MODIFIER_FLAG_ACTIVE
@ STRIP_MODIFIER_FLAG_MUTE
@ STRIP_MODIFIER_FLAG_SHOW_PREVIEW
const EnumPropertyItem rna_enum_strip_sound_modifier_type_items[]
static void rna_def_input(StructRNA *srna)
void RNA_def_property_string_maxlength(PropertyRNA *prop, int maxlength)
static void rna_def_strip(BlenderRNA *brna)
void RNA_def_sequencer(BlenderRNA *brna)
static EffectInfo def_effects[]
void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname)
static void rna_def_proxy(StructRNA *srna)
static void rna_def_compositor_modifier(BlenderRNA *brna)
@ SEQ_PROXY_IMAGE_SIZE_25
@ SEQ_PROXY_IMAGE_SIZE_100
@ SEQ_PROXY_IMAGE_SIZE_75
@ SEQ_PROXY_IMAGE_SIZE_50
static void rna_def_glow(StructRNA *srna)
static void rna_def_strip_proxy(BlenderRNA *brna)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
static void rna_def_gaussian_blur(StructRNA *srna)
static void rna_def_graphical_sound_equalizer(BlenderRNA *brna)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
void RNA_def_property_float_default(PropertyRNA *prop, float value)
@ STRIP_TYPE_GAUSSIAN_BLUR
void BKE_animdata_fix_paths(ID &id, StringRef prefix, StringRef old_infix, StringRef new_infix, bool verify_paths, const DriverMap &driver_map)
static void rna_def_scene(BlenderRNA *brna)
@ SEQ_COLOR_BALANCE_METHOD_LIFTGAMMAGAIN
@ SEQ_COLOR_BALANCE_METHOD_SLOPEOFFSETPOWER
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier_c_str, int type, int subtype)
static void rna_def_sound_modifiers(BlenderRNA *brna)
void BLI_uniquename(const ListBase *list, void *vlink, const char *defname, char delim, int name_offset, size_t name_maxncpy) ATTR_NONNULL(1
int BLI_findindex(const ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
static const EnumPropertyItem transform_filter_items[]
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t dst_maxncpy) ATTR_NONNULL(1
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
static void rna_def_strip_element(BlenderRNA *brna)
@ SEQ_EDIT_PROXY_DIR_STORAGE
void RNA_def_parameter_clear_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
static void rna_def_effect(BlenderRNA *brna)
static void rna_def_modifiers(BlenderRNA *brna)
void * MEM_new_zeroed(size_t len, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1) ATTR_NONNULL(2)
void RNA_def_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
static void rna_def_strips_top_level(BlenderRNA *brna)
void RNA_def_property_collection_funcs(PropertyRNA *prop, const char *begin, const char *next, const char *end, const char *get, const char *length, const char *lookupint, const char *lookupstring, const char *assignint)
void RNA_def_property_int_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void DEG_id_tag_update(ID *id, unsigned int flags)
void BKE_report(ReportList *reports, eReportType type, const char *message)
BMesh const char void * data
void RNA_def_property_override_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
static void rna_def_strip_color_balance(BlenderRNA *brna)
const EnumPropertyItem rna_enum_pitch_mode_items[]
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
static void rna_def_compositor_modifier_nodes_properties(BlenderRNA *brna)
char char size_t BLI_str_escape(char *__restrict dst, StringRef src, size_t dst_maxncpy) ATTR_NONNULL(1)
static void rna_def_sound(BlenderRNA *brna)
static void rna_def_mask_modifier(BlenderRNA *brna)
void RNA_def_struct_path_func(StructRNA *srna, const char *path)
static void rna_def_movieclip(BlenderRNA *brna)
void RNA_def_property_subtype(PropertyRNA *prop, PropertySubType subtype)
void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret)
const EnumPropertyItem rna_enum_views_format_items[]
void RNA_api_strips(StructRNA *srna, bool metastrip)
@ SEQ_USE_EFFECT_DEFAULT_FADE
@ SEQ_AUDIO_PITCH_CORRECTION
@ SEQ_AUDIO_DRAW_WAVEFORM
@ SEQ_SCENE_NO_ANNOTATION
PointerRNA RNA_pointer_create_discrete(ID *id, StructRNA *type, void *data)
@ SEQ_COMP_MOD_HIDE_DATABLOCK_SELECTOR
void RNA_api_strip(StructRNA *srna)
void RNA_def_property_enum_funcs(PropertyRNA *prop, const char *get, const char *set, const char *item)
const EnumPropertyItem rna_enum_strip_scale_method_items[]
void RNA_def_struct_sdna_from(StructRNA *srna, const char *structname, const char *propname)
FunctionRNA * RNA_def_function(StructRNA *srna, const char *identifier_c_str, const char *call)
static void rna_def_modifier(BlenderRNA *brna)
static void rna_def_effect_inputs(StructRNA *srna, int count)
@ SEQ_SPEED_USE_INTERPOLATION
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
static void rna_def_compositor_effect_nodes_properties(BlenderRNA *brna)
static void rna_def_wipe(StructRNA *srna)
void RNA_def_property_translation_context(PropertyRNA *prop, const char *context)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
@ SEQ_TEXT_USE_ABSOLUTE_LINE_SPACING
void RNA_def_struct_idprops_func(StructRNA *srna, const char *idproperties)
static void rna_def_effects(BlenderRNA *brna)
ViewLayer * BKE_view_layer_find(const Scene *scene, const char *layer_name)
void RNA_def_function_flag(FunctionRNA *func, FunctionFlag flag)
@ SEQ_TEXT_ANCHOR_X_CENTER
@ SEQ_TEXT_ANCHOR_X_RIGHT
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
static void rna_def_color_mix(StructRNA *srna)
static void rna_def_channel(BlenderRNA *brna)
void void void BLI_path_split_file_part(const char *filepath, char *file, size_t file_maxncpy) ATTR_NONNULL(1
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
Main * CTX_data_main(const bContext *C)
@ STRIP_BLEND_LINEAR_BURN
@ STRIP_BLEND_BLEND_COLOR
@ STRIP_BLEND_VIVID_LIGHT
char * BLI_strdup(const char *str) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) ATTR_MALLOC
@ SEQ_EDIT_SHOW_MISSING_MEDIA
@ SEQ_MOVIECLIP_RENDER_STABILIZED
@ SEQ_MOVIECLIP_RENDER_UNDISTORTED
static void rna_def_movie(BlenderRNA *brna)
static void rna_def_speed_control(StructRNA *srna)
static void rna_def_solid_color(StructRNA *srna)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
const EnumPropertyItem rna_enum_strip_color_items[]
@ ID_RECALC_SEQUENCER_STRIPS
@ PROP_PATH_SUPPORTS_BLEND_RELATIVE
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void BLI_path_split_dir_file(const char *filepath, char *dir, size_t dir_maxncpy, char *file, size_t file_maxncpy) ATTR_NONNULL(1
static void rna_def_editor(BlenderRNA *brna)
PointerRNA RNA_pointer_create_id_subdata(ID &id, StructRNA *type, void *data)
@ SEQ_CACHE_PREFETCH_ENABLE
@ SEQ_CACHE_STORE_FINAL_OUT
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
PointerRNA RNA_pointer_create_with_parent(const PointerRNA &parent, StructRNA *type, void *data)
@ SEQ_TRANSFORM_FILTER_AUTO
@ SEQ_TRANSFORM_FILTER_CUBIC_MITCHELL
@ SEQ_TRANSFORM_FILTER_BILINEAR
@ SEQ_TRANSFORM_FILTER_CUBIC_BSPLINE
@ SEQ_TRANSFORM_FILTER_NEAREST
@ SEQ_TRANSFORM_FILTER_BOX
void DEG_relations_tag_update(Main *bmain)
static void rna_def_compositor_effect(BlenderRNA *brna)
static void rna_def_color_management(StructRNA *srna)
static void rna_def_strip_crop(BlenderRNA *brna)
const EnumPropertyItem rna_enum_strip_overlap_mode_items[]
void RNA_def_property_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
static void rna_def_whitebalance_modifier(BlenderRNA *brna)
static void rna_def_brightcontrast_modifier(BlenderRNA *brna)
size_t BLI_strlen_utf8(const char *strc) ATTR_NONNULL(1) ATTR_WARN_UNUSED_RESULT
@ SEQ_TEXT_ALIGN_X_CENTER
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, const bool default_value, const char *ui_name, const char *ui_description)
static void rna_def_hue_modifier(BlenderRNA *brna)
static void rna_def_curves_modifier(BlenderRNA *brna)
@ SEQ_TEXT_ANCHOR_Y_BOTTOM
@ SEQ_TEXT_ANCHOR_Y_CENTER
ViewLayer * BKE_view_layer_default_render(const Scene *scene)
static void rna_def_echo_modifier(BlenderRNA *brna)
void RNA_def_struct_name_property(StructRNA *srna, PropertyRNA *prop, const bool allow_replace)
@ eSeqModifierType_Tonemap
@ eSeqModifierType_HueCorrect
@ eSeqModifierType_SoundEqualizer
@ eSeqModifierType_WhiteBalance
@ eSeqModifierType_BrightContrast
@ eSeqModifierType_ColorBalance
@ eSeqModifierType_Compositor
@ eSeqModifierType_Curves
void RNA_def_property_int_default_func(PropertyRNA *prop, const char *get_default)
PropertyRNA * RNA_def_float(StructOrFunctionRNA *cont_, const char *identifier, const float default_value, const float hardmin, const float hardmax, const char *ui_name, const char *ui_description, const float softmin, const float softmax)
@ SEQ_PROXY_SKIP_EXISTING
static void rna_def_mask(BlenderRNA *brna)
const EnumPropertyItem rna_enum_pitch_quality_items[]
static void rna_def_image(BlenderRNA *brna)
void RNA_def_property_ui_icon(PropertyRNA *prop, int icon, int consecutive)
void rna_iterator_array_begin(CollectionPropertyIterator *iter, PointerRNA *ptr, void *data, size_t itemsize, int64_t length, bool free_ptr, IteratorSkipFunc skip)
void RNA_api_strip_elements(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_multicam(StructRNA *srna)
static void rna_def_filter_video(StructRNA *srna)
PipelineCompute comp(comp_main)
#define RNA_ENUM_SEQUENCER_VIDEO_MODIFIER_TYPE_ITEMS
#define RNA_ENUM_SEQUENCER_AUDIO_MODIFIER_TYPE_ITEMS
void(*) func(StructRNA *)
uint16_t layout_panel_open_flag
struct StripModifierData * prev
struct StripModifierData * next
struct IDProperty * system_properties