|
Blender V5.3
|
Classes | |
| struct | ChannelItems |
| class | OTIOTest |
| struct | PendingEffect |
| struct | PlacedItem |
| struct | ResolveNumber |
| struct | ResolveUnits |
| struct | StripExportContext |
| struct | StripImportContext |
| struct | Tracks |
Enumerations | |
| enum class | ResolveUnit { None , Percent , Degrees , SceneWidth , SceneHeight , MediaWidth , MediaHeight , FitWidth , FitHeight } |
Functions | |
| static RationalTime | frames (const StripExportContext &ctx, const double count) |
| static TimeRange | frame_range (const StripExportContext &ctx, const double start, const int duration) |
| static bool | is_single_input_effect (const Strip &strip) |
| static bool | is_transition (const Strip &strip) |
| static bool | is_nested (const Strip &strip) |
| static int | media_length (const StripExportContext &ctx, const Strip &strip) |
| static std::string | media_filepath (const StripExportContext &ctx, const Strip &strip) |
| static std::string | strip_type_identifier (const StripExportContext &ctx, const Strip &strip) |
| static void | add_strip_metadata (const StripExportContext &ctx, const Strip &strip, SerializableObjectWithMetadata &object) |
| static bool | image_sequence_pattern_get (const StripElem *elems, const int elems_num, char *r_name_prefix, char *r_name_suffix, int &r_start_frame, int &r_frame_step, int &r_padding) |
| static SerializableObject::Retainer< MediaReference > | image_sequence_reference (StripExportContext &ctx, const Strip &strip) |
| static SerializableObject::Retainer< MediaReference > | media_reference (StripExportContext &ctx, const Strip &strip) |
| static float | speed_factor (const StripExportContext &ctx, const Strip &input, const Strip &speed_strip) |
| static SerializableObject::Retainer< otio::Effect > | strip_to_effect (const StripExportContext &ctx, const Strip &input, const Strip &effect_strip) |
| static void | add_strip_data (const StripExportContext &ctx, Editing &editing, const Strip &strip, Item &item) |
| static SerializableObject::Retainer< Clip > | strip_to_clip (StripExportContext &ctx, Editing &editing, const Strip &strip) |
| static Tracks | export_strips (StripExportContext &ctx, Editing &editing, ListBaseT< Strip > &seqbase, const ListBaseT< SeqTimelineChannel > *channels, int origin) |
| static bool | add_nested_items (StripExportContext &ctx, Editing &editing, const Strip &strip, ChannelItems &items) |
| static PlacedItem * | find_item (Vector< PlacedItem > &items, const Strip *strip) |
| static void | extend_source_range (PlacedItem &item, const RationalTime before, const RationalTime after) |
| static void | add_transition (const StripExportContext &ctx, const Strip &transition, std::map< int, ChannelItems > &channel_items) |
| static SerializableObject::Retainer< Track > | build_track (const StripExportContext &ctx, Vector< PlacedItem > &items, const std::string &kind, const SeqTimelineChannel *channel, const int channel_index, const int origin) |
| static void | export_markers (const StripExportContext &ctx, const int origin, Stack &stack) |
| void | exporter_main (bContext *C, const OTIOExportParams ¶ms) |
| static AnyDictionary & | resolve_metadata (SerializableObjectWithMetadata &object) |
| static AnyDictionary | resolve_parameter (const std::string &id, const std::any &value, const std::string &variant_type) |
| static AnyDictionary | resolve_effect (const std::string &effect_name, const int64_t type, const AnyVector ¶meters, const std::string &name="") |
| static double | rna_number (PointerRNA &ptr, PropertyRNA *prop) |
| static AnyDictionary | number_parameter (PointerRNA &strip_ptr, const Strip &strip, const std::string &id, const char *rna_path, const FunctionRef< double(double)> convert) |
| static AnyVector | number_parameters (PointerRNA &strip_ptr, const Strip &strip, const ResolveUnits &units, const StringRef effect) |
| static PointerRNA | strip_pointer (const Scene &scene, const Strip &strip) |
| static AnyVector | strip_effects (const Scene &scene, const Strip &strip) |
| static std::string | color_hex (const float rgb[3]) |
| static AnyDictionary | title_parameter (const TextVars &data) |
| GeneratorReference * | resolve_generator_reference (const Strip &strip, const TimeRange &available_range) |
| Map< const Strip *, int64_t > | resolve_link_groups (const ListBaseT< Strip > &seqbase) |
| void | resolve_add_clip_data (const Scene &scene, const Strip &strip, const Map< const Strip *, int64_t > &link_groups, Clip &clip) |
| void | resolve_add_transition_data (const Scene &scene, const Strip &transition, Transition &otio_transition) |
| void | resolve_add_track_data (const SeqTimelineChannel *channel, Track &track) |
| void | resolve_add_timeline_metadata (Timeline &timeline) |
| static int | to_frames (const StripImportContext &ctx, const RationalTime &time) |
| static const std::any * | blender_metadata (SerializableObjectWithMetadata &object, const char *key) |
| static const AnyDictionary * | strip_metadata (SerializableObjectWithMetadata &object) |
| static const std::string * | strip_metadata_string (SerializableObjectWithMetadata &object, const char *key) |
| static std::optional< StripType > | strip_type_from_identifier (const std::string *identifier) |
| static std::string | url_to_filepath (const std::string &url) |
| static void | place_strip (StripImportContext &ctx, Strip *strip, ListBaseT< Strip > &seqbase, const int start, const int duration, SerializableObjectWithMetadata &object) |
| static Strip * | add_image_strip (StripImportContext &ctx, ListBaseT< Strip > &seqbase, seq::LoadData &load_data, const std::string &dirpath, const Span< std::string > filenames) |
| static Strip * | clip_to_strip (StripImportContext &ctx, Clip &clip, ListBaseT< Strip > &seqbase, const int channel, const int start, const int duration, const bool is_audio) |
| static void | add_strip_effects (StripImportContext &ctx, Item &item, ListBaseT< Strip > &seqbase, Strip &input) |
| static void | import_stack (StripImportContext &ctx, Stack &stack, ListBaseT< Strip > &seqbase, ListBaseT< SeqTimelineChannel > &channels, int origin) |
| static Strip * | import_item (StripImportContext &ctx, Item &item, ListBaseT< Strip > &seqbase, const int channel, const int start, const int duration, const bool is_audio) |
| static void | add_transition (StripImportContext &ctx, Transition &transition, ListBaseT< Strip > &seqbase, Strip &from, Strip &to) |
| static void | import_track (StripImportContext &ctx, Track &track, ListBaseT< Strip > &seqbase, const int channel, const int origin) |
| static void | add_pending_effects (StripImportContext &ctx) |
| static void | import_markers (StripImportContext &ctx, Stack &stack, const int origin) |
| static void | workaround_marker_v2_upgrade (serialize::Value &value) |
| SerializableObject * | read_otio_file_with_workarounds (const char *filepath, opentimelineio::OPENTIMELINEIO_VERSION_NS::ErrorStatus *error_status) |
| static Scene * | import_scene (bContext *C, const std::string &name) |
| Scene * | importer_main (bContext *C, const OTIOImportParams ¶ms) |
| std::optional< StripType > | kdenlive_generator_type (const GeneratorReference &generator) |
| AnyDictionary | kdenlive_strip_properties (SerializableObjectWithMetadata &object) |
| static const AnyDictionary * | resolve_metadata (SerializableObjectWithMetadata &object) |
| static const AnyDictionary * | metadata_effect (SerializableObjectWithMetadata &object) |
| static const AnyDictionary * | find_parameter (const AnyDictionary &effect, const std::string &id) |
| static const std::any * | parameter (const AnyDictionary &effect, const std::string &id) |
| static std::optional< double > | number (const std::any *value) |
| static Vector< double2 > | parameter_keyframes (const AnyDictionary &effect, const std::string &id, const int start_frame, const FunctionRef< double(double)> convert) |
| static std::any | keyframes_value (const Span< double2 > keyframes) |
| static std::optional< std::any > | animated_number (const AnyDictionary &effect, const std::string &id, const int start_frame, const FunctionRef< double(double)> convert) |
| static double | value_at (const Span< double2 > keyframes, const double frame) |
| static Vector< double2 > | add_fades (const Span< double2 > keyframes, const double start_frame, const double end_frame, const double fade_in, const double fade_out) |
| static void | copy_number (AnyDictionary &properties, const StringRef rna_path, const AnyDictionary &effect, const std::string &id, const int start_frame, const double factor) |
| static void | add_effect_properties (const AnyDictionary &effect, const Scene &scene, const Strip &strip, AnyDictionary &properties) |
| std::optional< StripType > | resolve_generator_type (const GeneratorReference &generator) |
| static Vector< const AnyDictionary * > | resolve_effects (SerializableObjectWithMetadata &object) |
| bool | resolve_is_adjustment_clip (Clip &clip) |
| std::optional< StripType > | resolve_transition_type (Transition &transition) |
| std::optional< eSeqImageFitMethod > | resolve_fit_method (Item &item) |
| AnyDictionary | resolve_strip_properties (const Scene &scene, const Strip &strip, SerializableObjectWithMetadata &object) |
| bool | resolve_track_locked (Track &track) |
| void | resolve_connect_strips (const Span< std::pair< Strip *, SerializableObjectWithMetadata * > > strips) |
| void | resolve_connect_strips (Span< std::pair< Strip *, SerializableObjectWithMetadata * > > strips) |
| static bool | skip_property (PointerRNA &ptr, PropertyRNA *prop) |
| static std::any | pointer_value (PointerRNA &ptr) |
| static std::any | property_value (PointerRNA &ptr, PropertyRNA *prop) |
| AnyDictionary | rna_to_dictionary (PointerRNA &ptr) |
| std::optional< double > | to_number (const std::any &value) |
| const std::any * | find (const AnyDictionary &dictionary, const std::string &key) |
| AnyVector | hex_to_color (const std::string &hex) |
| static void | set_number (PointerRNA &ptr, PropertyRNA *prop, const int index, const double value) |
| static void | insert_keyframes (Main *bmain, PointerRNA &ptr, PropertyRNA *prop, const AnyVector &keyframes) |
| static PointerRNA | find_by_name (Main *bmain, Editing *editing, PointerRNA &owner, StructRNA *type, const std::string &name) |
| static void | add_modifiers (Main *bmain, Editing *editing, PointerRNA &ptr, const AnyVector &items) |
| static void | resize_collection (PointerRNA &ptr, const StringRef name, const int size) |
| static float * | curve_mapping_clip (PointerRNA &ptr, const StringRef name) |
| static void | set_property (Main *bmain, Editing *editing, PointerRNA &ptr, PropertyRNA *prop, const std::any &value) |
| void | rna_from_dictionary (Main *bmain, Editing *editing, const AnyDictionary &dictionary, PointerRNA &ptr) |
| void | add_foreign_metadata (IDProperty *properties, SerializableObjectWithMetadata &object) |
| void | store_foreign_metadata (const SerializableObjectWithMetadata &object, IDProperty *&properties) |
| template<typename T> | |
| const T * | find (const AnyDictionary &dictionary, const std::string &key) |
| Span< ResolveNumber > | resolve_numbers () |
| AnyDictionary & | ensure_dictionary (AnyDictionary &parent, const std::string &key) |
| const char * | resolve_blend_type (const int64_t composite_mode) |
| std::optional< int64_t > | resolve_composite_mode (const StringRef blend_type) |
| TEST_F (OTIOTest, TimelineSettings) | |
| TEST_F (OTIOTest, GeneratorsAndModifiers) | |
| TEST_F (OTIOTest, MediaStrips) | |
| TEST_F (OTIOTest, ImageSequences) | |
| TEST_F (OTIOTest, Layout) | |
| TEST_F (OTIOTest, MixedMeta) | |
| TEST_F (OTIOTest, SoundSubframeOffset) | |
| TEST_F (OTIOTest, Transitions) | |
| TEST_F (OTIOTest, TransitionAcrossChannels) | |
| TEST_F (OTIOTest, Effects) | |
| TEST_F (OTIOTest, SceneStrip) | |
| TEST_F (OTIOTest, ForeignMetadata) | |
| TEST_F (OTIOTest, ForeignTiming) | |
| static AnyDictionary | resolve_effect (const std::string &name, const std::vector< std::pair< std::string, std::any > > &values) |
| TEST_F (OTIOTest, MarkerSchemaVersion2) | |
| TEST_F (OTIOTest, ResolveMetadata) | |
| TEST_F (OTIOTest, ReverseTimeWarp) | |
| TEST_F (OTIOTest, ResolveEditMetadata) | |
| TEST_F (OTIOTest, KdenliveMetadata) | |
| TEST_F (OTIOTest, KdenliveTimeline) | |
Variables | |
| static CLG_LogRef | LOG = {"io.otio"} |
| static CLG_LogRef | LOG = {"io.otio"} |
| static const char * | composite_mode_blend_types [] |
|
strong |
| Enumerator | |
|---|---|
| None | |
| Percent | |
| Degrees | |
| SceneWidth | |
| SceneHeight | |
| MediaWidth | |
| MediaHeight | |
| FitWidth | |
| FitHeight | |
Definition at line 27 of file otio_resolve.hh.
|
static |
Definition at line 178 of file otio_import_resolve.cc.
References add_effect_properties(), add_fades(), blender::io::otio::ResolveUnits::anchor_to_origin(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), copy_number(), blender::animrig::Strip::data(), ensure_dictionary(), find(), blender::io::otio::ResolveUnits::fit_scale, hex_to_color(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), keyframes_value(), number(), parameter(), parameter_keyframes(), position, resolve_blend_type(), resolve_numbers(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::io::otio::ResolveUnits::to_blender(), to_number(), and y.
Referenced by add_effect_properties(), and resolve_strip_properties().
|
static |
Definition at line 133 of file otio_import_resolve.cc.
References add_fades(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), and value_at().
Referenced by add_effect_properties(), and add_fades().
| void blender::io::otio::add_foreign_metadata | ( | IDProperty * | properties, |
| SerializableObjectWithMetadata & | object ) |
Definition at line 455 of file otio_metadata.cc.
References add_foreign_metadata(), blender::IDP_foreach_property(), blender::IDP_GetPropertyFromGroup(), IDP_string_get, blender::IDP_TYPE_FILTER_STRING, blender::IDProperty::name, and STREQ.
Referenced by add_foreign_metadata(), add_strip_metadata(), and exporter_main().
|
static |
Definition at line 175 of file otio_import.cc.
References blender::seq::add_image_init_alpha_mode(), blender::seq::add_image_load_file(), blender::seq::add_image_set_directory(), add_image_strip(), blender::seq::add_image_strip(), blender::io::otio::StripImportContext::bmain, blender::Span< T >::index_range(), load_data(), blender::io::otio::StripImportContext::scene, and blender::Span< T >::size().
Referenced by add_image_strip(), and clip_to_strip().
|
static |
Definition at line 285 of file otio_metadata.cc.
References add_modifiers(), blender::PointerRNA::data, blender::seq::modifier_new(), blender::seq::modifier_persistent_uid_init(), blender::PointerRNA::owner_id, blender::rna_enum_strip_modifier_type_items, blender::RNA_enum_value_from_id(), rna_from_dictionary(), and blender::RNA_pointer_create_discrete().
Referenced by add_modifiers(), and set_property().
|
static |
Definition at line 373 of file otio_export.cc.
References add_nested_items(), add_strip_data(), blender::io::otio::ChannelItems::audio, blender::io::otio::Tracks::audio, blender::seq::editing_get(), export_strips(), frame_range(), blender::seq::get_seqbase_from_strip(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::io::otio::StripExportContext::scene, blender::Stack< T, InlineBufferCapacity, Allocator >::Stack(), blender::STRIP_TYPE_SCENE, blender::animrig::Strip::type(), blender::io::otio::ChannelItems::video, and blender::io::otio::Tracks::video.
Referenced by add_nested_items(), and export_strips().
|
static |
Definition at line 462 of file otio_import.cc.
References blender::seq::add_effect_strip(), blender::seq::add_load_data_init(), add_pending_effects(), blender::BKE_reportf(), blender::io::otio::PendingEffect::channel, blender::io::otio::PendingEffect::clip, blender::io::otio::PendingEffect::duration, blender::seq::editing_get(), load_data(), blender::seq::lookup_strip_by_name(), blender::io::otio::StripImportContext::params, blender::io::otio::StripImportContext::pending_effects, place_strip(), blender::OTIOImportParams::reports, blender::RPT_WARNING, blender::io::otio::StripImportContext::scene, blender::io::otio::PendingEffect::seqbase, blender::io::otio::PendingEffect::start, strip_metadata_string(), and blender::io::otio::PendingEffect::type.
Referenced by add_pending_effects(), and importer_main().
|
static |
Definition at line 321 of file otio_export.cc.
References add_strip_data(), add_strip_metadata(), is_single_input_effect(), blender::seq::lookup_effects_by_strip(), blender::SEQ_MUTE, and strip_to_effect().
Referenced by add_nested_items(), add_strip_data(), and strip_to_clip().
|
static |
Definition at line 295 of file otio_import.cc.
References blender::seq::add_effect_strip(), blender::seq::add_load_data_init(), add_strip_effects(), blender::seq::effect_type_get_min_num_inputs(), load_data(), place_strip(), blender::io::otio::StripImportContext::scene, blender::SEQ_REVERSE_FRAMES, blender::SEQ_SPEED_MULTIPLY, blender::SpeedControlVars::speed_control_type, blender::SpeedControlVars::speed_fader, strip_metadata_string(), strip_type_from_identifier(), and blender::STRIP_TYPE_SPEED.
Referenced by add_strip_effects(), and import_item().
|
static |
Definition at line 142 of file otio_export.cc.
References add_foreign_metadata(), add_strip_metadata(), blender::data, blender::Scene::id, blender::RNA_pointer_create_discrete(), rna_to_dictionary(), and blender::io::otio::StripExportContext::scene.
Referenced by add_strip_data(), add_strip_metadata(), add_transition(), and strip_to_effect().
|
static |
Definition at line 429 of file otio_export.cc.
References add_strip_metadata(), add_transition(), blender::BKE_reportf(), CLOG_WARN, blender::io::otio::PlacedItem::end, extend_source_range(), find_item(), frames(), length(), LOG, blender::io::otio::StripExportContext::params, blender::OTIOExportParams::reports, resolve_add_transition_data(), blender::RPT_WARNING, blender::io::otio::StripExportContext::scene, blender::io::otio::PlacedItem::start, blender::STRIP_TYPE_WIPE, blender::animrig::Strip::type(), and blender::OTIOExportParams::use_resolve_metadata.
Referenced by add_transition(), and export_strips().
|
static |
Definition at line 380 of file otio_import.cc.
References blender::seq::add_effect_strip(), blender::seq::add_load_data_init(), add_transition(), load_data(), resolve_transition_type(), blender::io::otio::StripImportContext::scene, blender::io::otio::StripImportContext::strip_metadata, strip_metadata_string(), blender::STRIP_TYPE_CROSS, strip_type_from_identifier(), and to_frames().
Referenced by add_transition(), and import_track().
|
static |
Definition at line 108 of file otio_import_resolve.cc.
References animated_number(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), keyframes_value(), number(), parameter(), and parameter_keyframes().
Referenced by animated_number(), and copy_number().
|
static |
Definition at line 93 of file otio_import.cc.
References blender_metadata().
Referenced by blender_metadata(), import_stack(), and strip_metadata().
|
static |
Definition at line 477 of file otio_export.cc.
References b, build_track(), blender::data, blender::io::otio::PlacedItem::end, frames(), blender::SeqTimelineChannel::name, blender::io::otio::StripExportContext::params, resolve_add_track_data(), blender::io::otio::PlacedItem::start, and blender::OTIOExportParams::use_resolve_metadata.
Referenced by build_track(), and export_strips().
|
static |
Definition at line 191 of file otio_import.cc.
References blender::seq::add_effect_strip(), add_image_strip(), blender::seq::add_load_data_init(), blender::seq::add_movie_strip(), blender::seq::add_scene_strip(), blender::seq::add_sound_strip(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::BKE_libblock_find_name(), blender::BKE_reportf(), blender::BLI_path_extension_check_array(), blender::BLI_path_sequence_encode(), blender::BLI_path_split_dir_file(), blender::io::otio::StripImportContext::bmain, clip_to_strip(), blender::seq::effect_type_get_min_num_inputs(), FILE_MAX, FILE_MAXFILE, blender::gpu::shader::parser::filename(), blender::io::otio::StripImportContext::fps, blender::ID_SCE, blender::imb_ext_image, blender::IndexRange::IndexRange(), kdenlive_generator_type(), float4::length(), load_data(), blender::io::otio::StripImportContext::params, blender::io::otio::StripImportContext::pending_effects, blender::OTIOImportParams::reports, resolve_fit_method(), resolve_generator_type(), resolve_is_adjustment_clip(), blender::RPT_WARNING, blender::io::otio::StripImportContext::scene, strip_metadata_string(), blender::STRIP_TYPE_ADJUSTMENT, strip_type_from_identifier(), blender::STRIP_TYPE_SCENE, blender::STRNCPY(), to_frames(), and url_to_filepath().
Referenced by clip_to_strip(), and import_item().
|
static |
Definition at line 190 of file otio_export_resolve.cc.
References color_hex(), and blender::rgb_float_to_uchar().
Referenced by color_hex(), resolve_generator_reference(), and title_parameter().
|
static |
Definition at line 158 of file otio_import_resolve.cc.
References animated_number(), copy_number(), dot(), ensure_dictionary(), and blender::blender::StringRefBase::not_found.
Referenced by add_effect_properties(), and copy_number().
|
static |
Definition at line 325 of file otio_metadata.cc.
References curve_mapping_clip(), blender::PointerRNA::data, blender::RNA_struct_is_a(), blender::PointerRNA::type, blender::rctf::xmax, blender::rctf::xmin, blender::rctf::ymax, and blender::rctf::ymin.
Referenced by curve_mapping_clip(), and set_property().
| AnyDictionary & blender::io::otio::ensure_dictionary | ( | AnyDictionary & | parent, |
| const std::string & | key ) |
Definition at line 76 of file otio_resolve.cc.
References ensure_dictionary().
Referenced by add_effect_properties(), copy_number(), ensure_dictionary(), and resolve_metadata().
|
static |
Definition at line 553 of file otio_export.cc.
References export_markers(), blender::TimeMarker::frame, frame_range(), blender::Scene::markers, blender::TimeMarker::name, and blender::io::otio::StripExportContext::scene.
Referenced by export_markers(), and exporter_main().
|
static |
Definition at line 509 of file otio_export.cc.
References add_nested_items(), add_transition(), blender::io::otio::ChannelItems::audio, blender::io::otio::Tracks::audio, build_track(), blender::seq::channel_get_by_index(), export_strips(), is_nested(), is_single_input_effect(), is_transition(), blender::io::otio::StripExportContext::scene, strip_to_clip(), blender::STRIP_TYPE_SOUND, blender::io::otio::ChannelItems::video, and blender::io::otio::Tracks::video.
Referenced by add_nested_items(), export_strips(), and exporter_main().
| void blender::io::otio::exporter_main | ( | bContext * | C, |
| const OTIOExportParams & | params ) |
Definition at line 561 of file otio_export.cc.
References add_foreign_metadata(), blender::io::otio::Tracks::audio, blender::BKE_report(), blender::BKE_reportf(), BLENDER_FILE_SUBVERSION, BLENDER_FILE_VERSION, blender::Editing::channels, CLOG_ERROR, blender::CTX_data_main(), blender::CTX_data_sequencer_scene(), blender::data, blender::seq::editing_get(), export_markers(), export_strips(), exporter_main(), blender::OTIOExportParams::filepath, frames(), blender::Scene::id, LOG, blender::ID::name, blender::ID::properties, blender::Scene::r, blender::OTIOExportParams::reports, resolve_add_timeline_metadata(), resolve_link_groups(), blender::io::otio::StripExportContext::resolve_link_groups, blender::RPT_ERROR, blender::RPT_INFO, blender::RPT_WARNING, blender::Editing::seqbase, blender::RenderData::sfra, blender::io::otio::StripExportContext::unsupported_image_sequences, blender::io::otio::StripExportContext::unsupported_scene_strips, blender::OTIOExportParams::use_resolve_metadata, and blender::io::otio::Tracks::video.
Referenced by exporter_main(), and blender::OTIO_export().
|
static |
Definition at line 419 of file otio_export.cc.
References blender::io::otio::PlacedItem::composable, and extend_source_range().
Referenced by add_transition(), and extend_source_range().
| const std::any * blender::io::otio::find | ( | const AnyDictionary & | dictionary, |
| const std::string & | key ) |
Definition at line 202 of file otio_metadata.cc.
References find().
Referenced by add_effect_properties(), find(), find_parameter(), kdenlive_strip_properties(), metadata_effect(), parameter(), parameter_keyframes(), resolve_connect_strips(), resolve_effects(), resolve_fit_method(), resolve_is_adjustment_clip(), resolve_metadata(), resolve_track_locked(), resolve_transition_type(), and set_property().
| const T * blender::io::otio::find | ( | const AnyDictionary & | dictionary, |
| const std::string & | key ) |
Definition at line 25 of file otio_metadata.hh.
|
static |
Definition at line 265 of file otio_metadata.cc.
References blender::BKE_libblock_find_name(), blender::BKE_view_layer_find(), blender::PointerRNA::data, find_by_name(), blender::Scene::id, blender::seq::lookup_strip_by_name(), blender::PointerRNA::owner_id, blender::RNA_id_pointer_create(), blender::RNA_pointer_create_discrete(), blender::RNA_pointer_create_id_subdata(), blender::RNA_struct_is_a(), blender::RNA_struct_is_ID(), blender::RNA_type_to_ID_code(), and blender::PointerRNA::type.
Referenced by find_by_name(), and set_property().
|
static |
Definition at line 409 of file otio_export.cc.
References find_item().
Referenced by add_transition(), and find_item().
|
static |
Definition at line 45 of file otio_import_resolve.cc.
References find(), find_parameter(), and parameter().
Referenced by find_parameter(), parameter(), and parameter_keyframes().
|
static |
Definition at line 94 of file otio_export.cc.
References frame_range(), and frames().
Referenced by add_nested_items(), export_markers(), frame_range(), image_sequence_reference(), media_reference(), and strip_to_clip().
|
static |
Definition at line 89 of file otio_export.cc.
References blender::io::otio::StripExportContext::fps, and frames().
Referenced by add_transition(), build_track(), exporter_main(), frame_range(), and frames().
| AnyVector blender::io::otio::hex_to_color | ( | const std::string & | hex | ) |
Definition at line 208 of file otio_metadata.cc.
References hex_to_color(), and blender::hex_to_rgb().
Referenced by add_effect_properties(), hex_to_color(), and kdenlive_strip_properties().
|
static |
Definition at line 156 of file otio_export.cc.
References blender::BLI_path_sequence_decode(), blender::BLI_path_sequence_encode(), FILE_MAX, blender::gpu::shader::parser::filename(), image_sequence_pattern_get(), blender::IndexRange::IndexRange(), and STREQ.
Referenced by image_sequence_pattern_get(), and image_sequence_reference().
|
static |
Definition at line 196 of file otio_export.cc.
References blender::BKE_main_blendfile_path(), blender::BLI_path_abs(), blender::BLI_strncpy(), blender::io::otio::StripExportContext::bmain, blender::animrig::Strip::data(), FILE_MAX, blender::io::otio::StripExportContext::fps, frame_range(), image_sequence_pattern_get(), image_sequence_reference(), media_length(), blender::padding(), and blender::io::otio::StripExportContext::unsupported_image_sequences.
Referenced by image_sequence_reference(), and media_reference().
|
static |
Definition at line 348 of file otio_import.cc.
References blender::seq::add_load_data_init(), blender::seq::add_meta_strip(), add_strip_effects(), clip_to_strip(), import_item(), import_stack(), load_data(), place_strip(), blender::io::otio::StripImportContext::scene, blender::seq::time_update_meta_strip_range(), and to_frames().
Referenced by import_item(), and import_track().
|
static |
Definition at line 489 of file otio_import.cc.
References blender::BLI_addtail(), blender::TimeMarker::frame, import_markers(), blender::Scene::markers, blender::TimeMarker::name, blender::io::otio::StripImportContext::scene, blender::STRNCPY(), and to_frames().
Referenced by import_markers(), and importer_main().
Definition at line 547 of file otio_import.cc.
References blender::BKE_scene_add(), blender::BLI_listbase_is_empty(), C, blender::CTX_data_main(), blender::CTX_data_sequencer_scene(), DATA_, blender::Scene::ed, blender::seq::editing_ensure(), import_scene(), and blender::Editing::seqbase.
Referenced by import_scene(), and importer_main().
|
static |
Definition at line 436 of file otio_import.cc.
References blender_metadata(), blender::seq::channel_get_by_index(), import_stack(), import_track(), resolve_track_locked(), blender::SEQ_CHANNEL_LOCK, blender::SEQ_CHANNEL_MUTE, SET_FLAG_FROM_TEST, and STRNCPY_UTF8.
Referenced by import_item(), import_stack(), and importer_main().
|
static |
Definition at line 405 of file otio_import.cc.
References add_transition(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::IndexRange::drop_back(), blender::IndexRange::drop_front(), import_item(), import_track(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), and to_frames().
Referenced by import_stack(), and import_track().
| Scene * blender::io::otio::importer_main | ( | bContext * | C, |
| const OTIOImportParams & | params ) |
Definition at line 557 of file otio_import.cc.
References add_pending_effects(), blender::BKE_reportf(), C, blender::Editing::channels, CLOG_ERROR, blender::CTX_data_main(), blender::DEG_id_tag_update(), blender::DEG_relations_tag_update(), blender::Scene::ed, blender::RenderData::efra, blender::OTIOImportParams::filepath, float, blender::RenderData::frs_sec, blender::RenderData::frs_sec_base, blender::Scene::id, blender::ID_RECALC_ANIMATION, blender::ID_RECALC_AUDIO_FPS, blender::ID_RECALC_SEQUENCER_STRIPS, import_markers(), import_scene(), import_stack(), importer_main(), kdenlive_strip_properties(), LOG, blender::ID::properties, blender::Scene::r, read_otio_file_with_workarounds(), blender::OTIOImportParams::reports, resolve_connect_strips(), resolve_strip_properties(), rna_from_dictionary(), blender::RNA_pointer_create_discrete(), blender::RPT_ERROR, blender::Editing::seqbase, blender::RenderData::sfra, store_foreign_metadata(), strip_metadata(), blender::io::otio::StripImportContext::strip_metadata, and to_frames().
Referenced by importer_main(), and blender::OTIO_import().
|
static |
Definition at line 236 of file otio_metadata.cc.
References blender::animrig::action_fcurve_ensure(), blender::BEZT_IPO_LIN, blender::animrig::get_keyframe_settings(), blender::animrig::id_action_ensure(), insert_keyframes(), blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, blender::animrig::KeyframeSettings::interpolation, blender::PointerRNA::owner_id, blender::RNA_path_from_ID_to_property(), blender::RNA_property_array_check(), and to_number().
Referenced by insert_keyframes(), and set_property().
|
static |
Definition at line 110 of file otio_export.cc.
References is_nested(), blender::SEQ_SCENE_STRIPS, blender::STRIP_TYPE_META, blender::STRIP_TYPE_SCENE, and blender::animrig::Strip::type().
Referenced by export_strips(), and is_nested().
|
static |
Definition at line 99 of file otio_export.cc.
References ELEM, is_single_input_effect(), blender::STRIP_TYPE_GAUSSIAN_BLUR, blender::STRIP_TYPE_GLOW, blender::STRIP_TYPE_SPEED, and blender::animrig::Strip::type().
Referenced by add_strip_data(), export_strips(), and is_single_input_effect().
|
static |
Definition at line 104 of file otio_export.cc.
References blender::seq::effect_is_transition(), is_transition(), blender::STRIP_TYPE_COMPOSITOR, and blender::animrig::Strip::type().
Referenced by export_strips(), and is_transition().
| std::optional< StripType > blender::io::otio::kdenlive_generator_type | ( | const GeneratorReference & | generator | ) |
Definition at line 16 of file otio_import_kdenlive.cc.
References kdenlive_generator_type(), and blender::STRIP_TYPE_COLOR.
Referenced by clip_to_strip(), and kdenlive_generator_type().
| AnyDictionary blender::io::otio::kdenlive_strip_properties | ( | SerializableObjectWithMetadata & | object | ) |
Definition at line 24 of file otio_import_kdenlive.cc.
References find(), hex_to_color(), and kdenlive_strip_properties().
Referenced by importer_main(), and kdenlive_strip_properties().
Definition at line 97 of file otio_import_resolve.cc.
References keyframes_value().
Referenced by add_effect_properties(), animated_number(), and keyframes_value().
|
static |
Definition at line 124 of file otio_export.cc.
References blender::BKE_main_blendfile_path(), blender::BLI_path_abs(), BLI_path_join, blender::io::otio::StripExportContext::bmain, blender::animrig::Strip::data(), FILE_MAX, and media_filepath().
Referenced by media_filepath(), and media_reference().
|
static |
Definition at line 116 of file otio_export.cc.
References media_length(), blender::io::otio::StripExportContext::scene, and blender::seq::transform_single_image_check().
Referenced by image_sequence_reference(), media_length(), and media_reference().
|
static |
Definition at line 230 of file otio_export.cc.
References blender::animrig::Strip::data(), ELEM, frame_range(), image_sequence_reference(), media_filepath(), media_length(), media_reference(), blender::io::otio::StripExportContext::params, resolve_generator_reference(), blender::STRIP_TYPE_ADD, blender::STRIP_TYPE_ADJUSTMENT, blender::STRIP_TYPE_ALPHAOVER, blender::STRIP_TYPE_ALPHAUNDER, blender::STRIP_TYPE_COLOR, blender::STRIP_TYPE_COLORMIX, strip_type_identifier(), blender::STRIP_TYPE_IMAGE, blender::STRIP_TYPE_MOVIE, blender::STRIP_TYPE_MUL, blender::STRIP_TYPE_SCENE, blender::STRIP_TYPE_SOUND, blender::STRIP_TYPE_SUB, blender::STRIP_TYPE_TEXT, blender::seq::transform_single_image_check(), blender::animrig::Strip::type(), blender::io::otio::StripExportContext::unsupported_scene_strips, and blender::OTIOExportParams::use_resolve_metadata.
Referenced by media_reference(), and strip_to_clip().
|
static |
Definition at line 39 of file otio_import_resolve.cc.
References find(), metadata_effect(), and resolve_metadata().
Referenced by metadata_effect(), resolve_effects(), and resolve_transition_type().
|
static |
Definition at line 67 of file otio_import_resolve.cc.
References number(), and to_number().
Referenced by add_effect_properties(), animated_number(), number(), parameter_keyframes(), resolve_fit_method(), set_property(), and to_number().
|
static |
Definition at line 79 of file otio_export_resolve.cc.
References blender::FCurve::bezt, blender::BKE_fcurve_find_by_rna(), number_parameter(), resolve_parameter(), rna_number(), blender::RNA_path_resolve_property(), blender::Span< T >::Span(), and blender::FCurve::totvert.
Referenced by number_parameter(), number_parameters(), and strip_effects().
|
static |
Definition at line 108 of file otio_export_resolve.cc.
References number_parameter(), number_parameters(), resolve_numbers(), scale(), and blender::io::otio::ResolveUnits::to_blender().
Referenced by number_parameters(), resolve_add_transition_data(), and strip_effects().
|
static |
Definition at line 61 of file otio_import_resolve.cc.
References find(), find_parameter(), and parameter().
Referenced by add_effect_properties(), animated_number(), find_parameter(), parameter(), parameter_keyframes(), resolve_effect(), and resolve_fit_method().
|
static |
Definition at line 72 of file otio_import_resolve.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), b, blender::Vector< T, InlineBufferCapacity, Allocator >::begin(), blender::Vector< T, InlineBufferCapacity, Allocator >::end(), find(), find_parameter(), number(), parameter(), and parameter_keyframes().
Referenced by add_effect_properties(), animated_number(), and parameter_keyframes().
|
static |
Definition at line 160 of file otio_import.cc.
References place_strip(), blender::io::otio::StripImportContext::scene, blender::SEQ_MUTE, blender::io::otio::StripImportContext::strip_metadata, and blender::seq::transform_shuffle_vertical().
Referenced by add_pending_effects(), add_strip_effects(), import_item(), and place_strip().
|
static |
Definition at line 88 of file otio_metadata.cc.
References blender::PointerRNA::data, blender::ID::name, blender::ViewLayer::name, pointer_value(), blender::RNA_struct_is_a(), blender::RNA_struct_is_ID(), rna_to_dictionary(), and blender::PointerRNA::type.
Referenced by pointer_value(), and property_value().
|
static |
Definition at line 105 of file otio_metadata.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::begin(), blender::Array< T, InlineBufferCapacity, Allocator >::data(), blender::Array< T, InlineBufferCapacity, Allocator >::end(), length(), pointer_value(), blender::PROP_BOOLEAN, blender::PROP_COLLECTION, blender::PROP_ENUM, blender::PROP_FLOAT, blender::PROP_INT, blender::PROP_POINTER, blender::PROP_STRING, property_value(), RNA_PROP_BEGIN, RNA_PROP_END, blender::RNA_property_array_length(), blender::RNA_property_boolean_get(), blender::RNA_property_boolean_get_array(), blender::RNA_property_enum_get(), blender::RNA_property_enum_identifier(), blender::RNA_property_float_get(), blender::RNA_property_float_get_array(), blender::RNA_property_int_get(), blender::RNA_property_int_get_array(), blender::RNA_property_pointer_get(), blender::RNA_property_string_get(), and blender::RNA_property_type().
Referenced by property_value(), and rna_to_dictionary().
| opentimelineio::OPENTIMELINEIO_VERSION_NS::SerializableObject * blender::io::otio::read_otio_file_with_workarounds | ( | const char * | filepath, |
| opentimelineio::OPENTIMELINEIO_VERSION_NS::ErrorStatus * | error_status ) |
TODO: Temporary workaround... replace with #SerializableObject::from_json_file once workaround_marker_v2_upgrade is no longer needed.
Reads the file as JSON first so it can be patched before OpenTimelineIO parses it. Falls back to reading it directly when Blender's JSON parser can't handle the file.
Definition at line 533 of file otio_import.cc.
References blender::io::serialize::read_json_file(), read_otio_file_with_workarounds(), blender::io::serialize::JsonFormatter::serialize(), and workaround_marker_v2_upgrade().
Referenced by importer_main(), blender::io::otio::OTIOTest::read_otio(), and read_otio_file_with_workarounds().
|
static |
Definition at line 306 of file otio_metadata.cc.
References blender::CurveMap::curve, blender::PointerRNA::data, blender::IndexRange::IndexRange(), resize_collection(), blender::RNA_struct_is_a(), SOUND_EQUALIZER_DEFAULT_MAX_FREQ, SOUND_EQUALIZER_DEFAULT_MIN_FREQ, blender::seq::sound_equalizermodifier_add_graph(), blender::seq::sound_equalizermodifier_free(), blender::CurveMap::totpoint, and blender::PointerRNA::type.
Referenced by resize_collection(), and set_property().
| void blender::io::otio::resolve_add_clip_data | ( | const Scene & | scene, |
| const Strip & | strip, | ||
| const Map< const Strip *, int64_t > & | link_groups, | ||
| Clip & | clip ) |
Definition at line 283 of file otio_export_resolve.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), resolve_add_clip_data(), resolve_metadata(), and strip_effects().
Referenced by resolve_add_clip_data(), and strip_to_clip().
| void blender::io::otio::resolve_add_timeline_metadata | ( | Timeline & | timeline | ) |
Definition at line 319 of file otio_export_resolve.cc.
References resolve_add_timeline_metadata(), and resolve_metadata().
Referenced by exporter_main(), and resolve_add_timeline_metadata().
| void blender::io::otio::resolve_add_track_data | ( | const SeqTimelineChannel * | channel, |
| Track & | track ) |
Definition at line 314 of file otio_export_resolve.cc.
References resolve_add_track_data(), and resolve_metadata().
Referenced by build_track(), and resolve_add_track_data().
| void blender::io::otio::resolve_add_transition_data | ( | const Scene & | scene, |
| const Strip & | transition, | ||
| Transition & | otio_transition ) |
Definition at line 298 of file otio_export_resolve.cc.
References number_parameters(), resolve_add_transition_data(), resolve_effect(), resolve_metadata(), blender::io::otio::ResolveUnits::ResolveUnits(), strip_pointer(), blender::STRIP_TYPE_WIPE, and blender::animrig::Strip::type().
Referenced by add_transition(), and resolve_add_transition_data().
| const char * blender::io::otio::resolve_blend_type | ( | const int64_t | composite_mode | ) |
Definition at line 92 of file otio_resolve.cc.
References composite_mode_blend_types, and resolve_blend_type().
Referenced by add_effect_properties(), and resolve_blend_type().
Definition at line 99 of file otio_resolve.cc.
References composite_mode_blend_types, blender::IndexRange::IndexRange(), and resolve_composite_mode().
Referenced by resolve_composite_mode(), and strip_effects().
| void blender::io::otio::resolve_connect_strips | ( | const Span< std::pair< Strip *, SerializableObjectWithMetadata * > > | strips | ) |
Definition at line 359 of file otio_import_resolve.cc.
References blender::seq::connect(), find(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_default(), resolve_connect_strips(), resolve_metadata(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by importer_main(), resolve_connect_strips(), and resolve_connect_strips().
| void blender::io::otio::resolve_connect_strips | ( | Span< std::pair< Strip *, SerializableObjectWithMetadata * > > | strips | ) |
References resolve_connect_strips().
|
static |
Definition at line 53 of file otio_export_resolve.cc.
References resolve_effect().
Referenced by resolve_add_transition_data(), resolve_effect(), resolve_generator_reference(), and strip_effects().
|
static |
Definition at line 608 of file otio_round_trip_test.cc.
References parameter(), and resolve_effect().
Referenced by resolve_effect(), TEST_F(), and TEST_F().
|
static |
Definition at line 272 of file otio_import_resolve.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), find(), metadata_effect(), resolve_effects(), and resolve_metadata().
Referenced by resolve_effects(), resolve_fit_method(), resolve_is_adjustment_clip(), and resolve_strip_properties().
| std::optional< eSeqImageFitMethod > blender::io::otio::resolve_fit_method | ( | Item & | item | ) |
Definition at line 320 of file otio_import_resolve.cc.
References find(), number(), parameter(), resolve_effects(), resolve_fit_method(), blender::SEQ_SCALE_TO_FILL, blender::SEQ_SCALE_TO_FIT, blender::SEQ_STRETCH_TO_FILL, and blender::SEQ_USE_ORIGINAL_SIZE.
Referenced by clip_to_strip(), and resolve_fit_method().
| GeneratorReference * blender::io::otio::resolve_generator_reference | ( | const Strip & | strip, |
| const TimeRange & | available_range ) |
Definition at line 227 of file otio_export_resolve.cc.
References color_hex(), blender::data, resolve_effect(), resolve_generator_reference(), resolve_parameter(), blender::STRIP_TYPE_COLOR, blender::STRIP_TYPE_TEXT, title_parameter(), and blender::animrig::Strip::type().
Referenced by media_reference(), and resolve_generator_reference().
| std::optional< StripType > blender::io::otio::resolve_generator_type | ( | const GeneratorReference & | generator | ) |
Definition at line 260 of file otio_import_resolve.cc.
References resolve_generator_type(), blender::StringRef::StringRef(), blender::STRIP_TYPE_COLOR, and blender::STRIP_TYPE_TEXT.
Referenced by clip_to_strip(), and resolve_generator_type().
| bool blender::io::otio::resolve_is_adjustment_clip | ( | Clip & | clip | ) |
Definition at line 299 of file otio_import_resolve.cc.
References find(), resolve_effects(), and resolve_is_adjustment_clip().
Referenced by clip_to_strip(), and resolve_is_adjustment_clip().
| Map< const Strip *, int64_t > blender::io::otio::resolve_link_groups | ( | const ListBaseT< Strip > & | seqbase | ) |
Definition at line 266 of file otio_export_resolve.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::seq::connected_strips_get(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::seq::is_strip_connected(), blender::seq::query_all_strips_recursive(), and resolve_link_groups().
Referenced by exporter_main(), and resolve_link_groups().
|
static |
Definition at line 37 of file otio_export_resolve.cc.
References ensure_dictionary(), and resolve_metadata().
Referenced by resolve_add_clip_data(), resolve_add_timeline_metadata(), resolve_add_track_data(), resolve_add_transition_data(), and resolve_metadata().
|
static |
Definition at line 34 of file otio_import_resolve.cc.
References find(), and resolve_metadata().
Referenced by metadata_effect(), resolve_connect_strips(), resolve_effects(), resolve_metadata(), and resolve_track_locked().
| Span< ResolveNumber > blender::io::otio::resolve_numbers | ( | ) |
Definition at line 19 of file otio_resolve.cc.
References Degrees, FitHeight, FitWidth, MediaHeight, MediaWidth, Percent, resolve_numbers(), SceneHeight, SceneWidth, and blender::Span< T >::Span().
Referenced by add_effect_properties(), number_parameters(), and resolve_numbers().
|
static |
Definition at line 42 of file otio_export_resolve.cc.
References resolve_parameter().
Referenced by number_parameter(), resolve_generator_reference(), resolve_parameter(), and strip_effects().
| AnyDictionary blender::io::otio::resolve_strip_properties | ( | const Scene & | scene, |
| const Strip & | strip, | ||
| SerializableObjectWithMetadata & | object ) |
Definition at line 341 of file otio_import_resolve.cc.
References add_effect_properties(), resolve_effects(), and resolve_strip_properties().
Referenced by importer_main(), and resolve_strip_properties().
| bool blender::io::otio::resolve_track_locked | ( | Track & | track | ) |
Definition at line 352 of file otio_import_resolve.cc.
References find(), resolve_metadata(), and resolve_track_locked().
Referenced by import_stack(), and resolve_track_locked().
| std::optional< StripType > blender::io::otio::resolve_transition_type | ( | Transition & | transition | ) |
Definition at line 310 of file otio_import_resolve.cc.
References find(), metadata_effect(), resolve_transition_type(), and blender::STRIP_TYPE_WIPE.
Referenced by add_transition(), and resolve_transition_type().
| void blender::io::otio::rna_from_dictionary | ( | Main * | bmain, |
| Editing * | editing, | ||
| const AnyDictionary & | dictionary, | ||
| PointerRNA & | ptr ) |
Definition at line 437 of file otio_metadata.cc.
References ELEM, blender::PROP_COLLECTION, blender::PROP_POINTER, rna_from_dictionary(), blender::RNA_property_editable_flag(), blender::RNA_property_type(), blender::RNA_struct_find_property(), set_property(), and skip_property().
Referenced by add_modifiers(), importer_main(), rna_from_dictionary(), and set_property().
|
static |
Definition at line 67 of file otio_export_resolve.cc.
References blender::PROP_FLOAT, blender::PROP_INT, rna_number(), blender::RNA_property_float_get(), blender::RNA_property_int_get(), and blender::RNA_property_type().
Referenced by number_parameter(), and rna_number().
| AnyDictionary blender::io::otio::rna_to_dictionary | ( | PointerRNA & | ptr | ) |
Definition at line 172 of file otio_metadata.cc.
References property_value(), blender::RNA_property_identifier(), RNA_STRUCT_BEGIN_SKIP_RNA_TYPE, RNA_STRUCT_END, rna_to_dictionary(), and skip_property().
Referenced by add_strip_metadata(), blender::io::otio::OTIOTest::dump(), pointer_value(), and rna_to_dictionary().
|
static |
Definition at line 215 of file otio_metadata.cc.
References blender::PROP_BOOLEAN, blender::PROP_FLOAT, blender::PROP_INT, blender::RNA_property_boolean_set(), blender::RNA_property_boolean_set_index(), blender::RNA_property_float_set(), blender::RNA_property_float_set_index(), blender::RNA_property_int_set(), blender::RNA_property_int_set_index(), blender::RNA_property_type(), and set_number().
Referenced by set_number(), and set_property().
|
static |
Definition at line 346 of file otio_metadata.cc.
References add_modifiers(), blender::BKE_curvemapping_changed_all(), curve_mapping_clip(), blender::PointerRNA::data, find(), find_by_name(), float, blender::IndexRange::IndexRange(), insert_keyframes(), length(), number(), blender::PROP_BOOLEAN, blender::PROP_COLLECTION, blender::PROP_ENUM, blender::PROP_FLOAT, blender::PROP_INT, blender::PROP_POINTER, blender::PROP_STRING, resize_collection(), rna_from_dictionary(), RNA_PROP_BEGIN, RNA_PROP_END, blender::RNA_property_array_length(), blender::RNA_property_editable_flag(), blender::RNA_property_enum_set(), blender::RNA_property_enum_value(), blender::RNA_property_identifier(), blender::RNA_property_pointer_get(), blender::RNA_property_pointer_set(), blender::RNA_property_pointer_type(), blender::RNA_property_string_set(), blender::RNA_property_type(), blender::RNA_struct_is_a(), set_number(), set_property(), blender::blender::StringRefBase::size(), to_number(), and blender::PointerRNA::type.
Referenced by rna_from_dictionary(), and set_property().
|
static |
Definition at line 48 of file otio_metadata.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), ELEM, blender::PROP_COLLECTION, blender::PROP_POINTER, blender::RNA_property_deprecated(), blender::RNA_property_editable_flag(), blender::RNA_property_identifier(), blender::RNA_property_type(), blender::RNA_struct_is_a(), skip_property(), and blender::PointerRNA::type.
Referenced by rna_from_dictionary(), rna_to_dictionary(), and skip_property().
|
static |
Definition at line 284 of file otio_export.cc.
References blender::io::otio::StripExportContext::scene, blender::SEQ_SPEED_MULTIPLY, blender::SEQ_SPEED_STRETCH, blender::SpeedControlVars::speed_control_type, speed_factor(), and blender::SpeedControlVars::speed_fader.
Referenced by speed_factor(), and strip_to_effect().
| void blender::io::otio::store_foreign_metadata | ( | const SerializableObjectWithMetadata & | object, |
| IDProperty *& | properties ) |
Definition at line 475 of file otio_metadata.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_group(), blender::IDP_AddToGroup(), blender::IDP_GetPropertyFromGroup(), blender::IDP_ReplaceInGroup(), and store_foreign_metadata().
Referenced by importer_main(), and store_foreign_metadata().
Definition at line 132 of file otio_export_resolve.cc.
References blender::io::otio::ResolveUnits::anchor_to_origin(), blender::animrig::Strip::data(), ELEM, blender::seq::image_transform_origin_get(), number_parameter(), number_parameters(), resolve_composite_mode(), resolve_effect(), resolve_parameter(), blender::RNA_property_enum_identifier(), blender::RNA_struct_find_property(), blender::SEQ_FLIPX, blender::SEQ_FLIPY, strip_effects(), strip_pointer(), blender::STRIP_TYPE_ADJUSTMENT, blender::STRIP_TYPE_IMAGE, blender::STRIP_TYPE_MOVIE, blender::STRIP_TYPE_SOUND, and blender::animrig::Strip::type().
Referenced by resolve_add_clip_data(), and strip_effects().
|
static |
Definition at line 108 of file otio_import.cc.
References blender_metadata(), and strip_metadata().
Referenced by importer_main(), strip_metadata(), and strip_metadata_string().
|
static |
Definition at line 114 of file otio_import.cc.
References strip_metadata(), and strip_metadata_string().
Referenced by add_pending_effects(), add_strip_effects(), add_transition(), clip_to_strip(), and strip_metadata_string().
|
static |
Definition at line 126 of file otio_export_resolve.cc.
References blender::Scene::id, blender::RNA_pointer_create_discrete(), and strip_pointer().
Referenced by resolve_add_transition_data(), strip_effects(), and strip_pointer().
|
static |
Definition at line 335 of file otio_export.cc.
References add_strip_data(), blender::BKE_reportf(), CLOG_WARN, blender::io::otio::StripExportContext::fps, frame_range(), LOG, media_reference(), blender::io::otio::StripExportContext::params, blender::OTIOExportParams::reports, resolve_add_clip_data(), blender::io::otio::StripExportContext::resolve_link_groups, blender::RPT_WARNING, blender::io::otio::StripExportContext::scene, strip_to_clip(), blender::STRIP_TYPE_SOUND, blender::seq::transform_single_image_check(), blender::animrig::Strip::type(), and blender::OTIOExportParams::use_resolve_metadata.
Referenced by export_strips(), and strip_to_clip().
|
static |
Definition at line 302 of file otio_export.cc.
References add_strip_metadata(), speed_factor(), strip_to_effect(), strip_type_identifier(), blender::STRIP_TYPE_SPEED, and blender::animrig::Strip::type().
Referenced by add_strip_data(), and strip_to_effect().
|
static |
Definition at line 124 of file otio_import.cc.
References blender::RNA_pointer_create_discrete(), blender::RNA_property_enum_value(), blender::RNA_struct_find_property(), and strip_type_from_identifier().
Referenced by add_strip_effects(), add_transition(), clip_to_strip(), and strip_type_from_identifier().
|
static |
Definition at line 132 of file otio_export.cc.
References blender::Scene::id, blender::RNA_pointer_create_discrete(), blender::RNA_property_enum_identifier(), blender::RNA_struct_find_property(), blender::io::otio::StripExportContext::scene, strip_type_identifier(), and blender::animrig::Strip::type().
Referenced by media_reference(), strip_to_effect(), and strip_type_identifier().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| Effects | ) |
Definition at line 511 of file otio_round_trip_test.cc.
References b, blender::Scene::ed, blender::RNA_enum_set(), blender::RNA_float_set(), blender::SEQ_SPEED_MULTIPLY, blender::SEQ_USE_EFFECT_DEFAULT_FADE, blender::Editing::seqbase, blender::STRIP_TYPE_ALPHAOVER, blender::STRIP_TYPE_GAUSSIAN_BLUR, blender::STRIP_TYPE_SPEED, and TEST_F().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| ForeignMetadata | ) |
Definition at line 550 of file otio_round_trip_test.cc.
References blender::Scene::ed, blender::EXPECT_EQ(), EXPECT_NE, blender::IDP_GetPropertyFromGroup(), blender::seq::lookup_strip_by_name(), blender::STRIP_TYPE_COLOR, TEST_F(), and blender::animrig::Strip::type().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| ForeignTiming | ) |
Definition at line 582 of file otio_round_trip_test.cc.
References BLI_path_cmp, blender::animrig::Strip::data(), blender::Scene::ed, blender::EXPECT_EQ(), blender::RenderData::frs_sec, blender::seq::lookup_strip_by_name(), blender::Scene::r, blender::RenderData::sfra, blender::STRIP_TYPE_IMAGE, TEST_F(), and blender::animrig::Strip::type().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| GeneratorsAndModifiers | ) |
Definition at line 292 of file otio_round_trip_test.cc.
References blender::BKE_curvemap_insert(), blender::BKE_curvemapping_changed(), blender::CurveMapping::cm, blender::Scene::ed, blender::eSeqModifierType_BrightContrast, blender::eSeqModifierType_Curves, blender::StripModifierData::flag, blender::seq::modifier_new(), blender::RNA_enum_set(), blender::RNA_float_set(), blender::RNA_string_set(), blender::SEQ_MUTE, blender::Editing::seqbase, blender::STRIP_BLEND_ADD, blender::STRIP_MODIFIER_FLAG_MUTE, blender::STRIP_TYPE_TEXT, and TEST_F().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| ImageSequences | ) |
Definition at line 347 of file otio_round_trip_test.cc.
References blender::animrig::Strip::data(), blender::EXPECT_EQ(), EXPECT_TRUE, blender::seq::lookup_strip_by_name(), and TEST_F().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| KdenliveMetadata | ) |
Definition at line 859 of file otio_round_trip_test.cc.
References blender::Scene::ed, EXPECT_NEAR, blender::seq::lookup_strip_by_name(), blender::STRIP_TYPE_COLOR, TEST_F(), and blender::animrig::Strip::type().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| KdenliveTimeline | ) |
Definition at line 887 of file otio_round_trip_test.cc.
References blender::Scene::ed, blender::EXPECT_EQ(), blender::seq::lookup_strip_by_name(), and TEST_F().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| Layout | ) |
Definition at line 372 of file otio_round_trip_test.cc.
References blender::seq::add_load_data_init(), blender::seq::add_meta_strip(), blender::seq::channel_get_by_index(), blender::Editing::channels, blender::Scene::ed, EXPECT_TRUE, blender::SeqTimelineChannel::flag, load_data(), blender::SeqTimelineChannel::name, blender::SEQ_CHANNEL_MUTE, blender::Editing::seqbase, blender::STRIP_TYPE_COLOR, blender::STRNCPY(), TEST_F(), and blender::seq::time_update_meta_strip_range().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| MarkerSchemaVersion2 | ) |
Definition at line 625 of file otio_round_trip_test.cc.
References blender::BLI_listbase_count(), blender::EXPECT_EQ(), blender::Scene::markers, and TEST_F().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| MediaStrips | ) |
Definition at line 318 of file otio_round_trip_test.cc.
References blender::seq::add_load_data_init(), blender::seq::add_movie_strip(), blender::seq::add_sound_strip(), blender::BKE_curvemap_insert(), blender::CurveMapping::cm, blender::EQCurveMappingData::curve_mapping, blender::Scene::ed, blender::eSeqModifierType_SoundEqualizer, load_data(), blender::seq::modifier_new(), blender::Editing::seqbase, blender::seq::sound_equalizermodifier_add_graph(), and TEST_F().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| MixedMeta | ) |
Definition at line 400 of file otio_round_trip_test.cc.
References blender::seq::add_load_data_init(), blender::seq::add_meta_strip(), blender::seq::add_sound_strip(), blender::BLI_listbase_count(), blender::Scene::ed, blender::EXPECT_EQ(), EXPECT_NE, load_data(), blender::Editing::seqbase, blender::STRIP_TYPE_COLOR, blender::STRIP_TYPE_META, TEST_F(), blender::seq::time_update_meta_strip_range(), and blender::animrig::Strip::type().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| ResolveEditMetadata | ) |
Definition at line 728 of file otio_round_trip_test.cc.
References blender::WipeVars::angle, blender::FCurve::bezt, blender::BKE_animadata_fcurve_find_by_rna_path(), blender::BKE_animdata_from_id(), blender::seq::connected_strips_get(), blender::animrig::Strip::data(), blender::Scene::ed, blender::EXPECT_EQ(), EXPECT_NEAR, EXPECT_TRUE, blender::Scene::id, blender::seq::lookup_strip_by_name(), M_PI_4, blender::Scene::r, resolve_effect(), scale(), blender::SEQ_FLIPX, blender::STRIP_TYPE_ADJUSTMENT, blender::STRIP_TYPE_WIPE, TEST_F(), blender::FCurve::totvert, blender::animrig::Strip::type(), blender::BezTriple::vec, blender::RenderData::xsch, and blender::RenderData::ysch.
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| ResolveMetadata | ) |
Definition at line 647 of file otio_round_trip_test.cc.
References blender::seq::channel_get_by_index(), blender::Editing::channels, blender::animrig::Strip::data(), blender::Scene::ed, blender::EXPECT_EQ(), EXPECT_NE, EXPECT_NEAR, EXPECT_TRUE, blender::IDP_GetPropertyFromGroup(), blender::seq::lookup_strip_by_name(), M_PI_2, blender::Scene::r, resolve_effect(), blender::STRIP_BLEND_SCREEN, blender::STRIP_TYPE_COLOR, TEST_F(), blender::animrig::Strip::type(), and blender::RenderData::xsch.
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| ReverseTimeWarp | ) |
Definition at line 698 of file otio_round_trip_test.cc.
References blender::BLI_listbase_count(), blender::Scene::ed, blender::EXPECT_EQ(), EXPECT_TRUE, blender::SEQ_REVERSE_FRAMES, blender::Editing::seqbase, blender::SpeedControlVars::speed_fader, blender::STRIP_TYPE_SPEED, TEST_F(), and blender::animrig::Strip::type().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| SceneStrip | ) |
Definition at line 534 of file otio_round_trip_test.cc.
References blender::seq::add_load_data_init(), blender::seq::add_scene_strip(), blender::Scene::ed, EXPECT_NE, EXPECT_TRUE, load_data(), blender::Editing::seqbase, and TEST_F().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| SoundSubframeOffset | ) |
Definition at line 436 of file otio_round_trip_test.cc.
References blender::seq::add_load_data_init(), blender::seq::add_sound_strip(), blender::e, blender::Scene::ed, blender::EXPECT_EQ(), EXPECT_NEAR, blender::IndexRange::IndexRange(), load_data(), blender::seq::lookup_strip_by_name(), blender::Editing::seqbase, and TEST_F().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| TimelineSettings | ) |
Definition at line 271 of file otio_round_trip_test.cc.
References blender::BLI_addtail(), blender::BLI_listbase_count(), blender::EXPECT_EQ(), EXPECT_TRUE, blender::TimeMarker::frame, blender::RenderData::frs_sec, blender::RenderData::frs_sec_base, blender::Scene::markers, blender::TimeMarker::name, blender::Scene::r, blender::RenderData::sfra, blender::STRNCPY(), and TEST_F().
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| TransitionAcrossChannels | ) |
Definition at line 497 of file otio_round_trip_test.cc.
References b, blender::BLI_listbase_count(), blender::Scene::ed, blender::EXPECT_EQ(), EXPECT_TRUE, blender::seq::lookup_strip_by_name(), blender::Editing::seqbase, blender::STRIP_TYPE_CROSS, and TEST_F().
| blender::io::otio::TEST_F | ( | OTIOTest | , |
| Transitions | ) |
Definition at line 477 of file otio_round_trip_test.cc.
References b, blender::Scene::ed, blender::RNA_enum_set(), blender::RNA_float_set(), blender::SEQ_USE_EFFECT_DEFAULT_FADE, blender::SEQ_WIPE_CLOCK, blender::Editing::seqbase, blender::STRIP_TYPE_CROSS, blender::STRIP_TYPE_WIPE, and TEST_F().
|
static |
Definition at line 197 of file otio_export_resolve.cc.
References color_hex(), blender::data, blender::StringRef::StringRef(), and title_parameter().
Referenced by resolve_generator_reference(), and title_parameter().
|
static |
Definition at line 88 of file otio_import.cc.
References blender::io::otio::StripImportContext::fps, and to_frames().
Referenced by add_transition(), clip_to_strip(), import_item(), import_markers(), import_track(), importer_main(), and to_frames().
| std::optional< double > blender::io::otio::to_number | ( | const std::any & | value | ) |
Definition at line 188 of file otio_metadata.cc.
References number(), and to_number().
Referenced by add_effect_properties(), insert_keyframes(), number(), set_property(), and to_number().
|
static |
Definition at line 137 of file otio_import.cc.
References url_to_filepath().
Referenced by clip_to_strip(), and url_to_filepath().
Definition at line 121 of file otio_import_resolve.cc.
References b, blender::IndexRange::drop_front(), blender::Span< T >::index_range(), blender::math::interpolate(), blender::Span< T >::last(), value_at(), and blender::x.
Referenced by add_fades(), and value_at().
|
static |
TODO: Temporary workaround, will report upstream, and remove if fixed..
When upgrading a Marker.2 to Marker.3, OpenTimelineIO also runs the Marker.1 to Marker.2 upgrade function, which overwrites marked_range with the nonexistent range key and makes reading the whole file fail. Adding a copy of marked_range as range makes that upgrade function restore the original value.
Definition at line 507 of file otio_import.cc.
References blender::io::serialize::Value::as_array_value(), blender::io::serialize::Dictionary, blender::io::serialize::DictionaryValue::lookup(), blender::io::serialize::Value::type(), and workaround_marker_v2_upgrade().
Referenced by read_otio_file_with_workarounds(), and workaround_marker_v2_upgrade().
|
static |
Definition at line 85 of file otio_resolve.cc.
Referenced by resolve_blend_type(), and resolve_composite_mode().
|
static |
Definition at line 60 of file otio_export.cc.
Referenced by add_transition(), exporter_main(), and strip_to_clip().
|
static |
Definition at line 68 of file otio_import.cc.
Referenced by importer_main().