Blender V5.3
blender::io::otio Namespace Reference

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 &params)
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 &parameters, 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 &params)
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 []

Enumeration Type Documentation

◆ ResolveUnit

enum class blender::io::otio::ResolveUnit
strong
Enumerator
None 
Percent 
Degrees 
SceneWidth 
SceneHeight 
MediaWidth 
MediaHeight 
FitWidth 
FitHeight 

Definition at line 27 of file otio_resolve.hh.

Function Documentation

◆ add_effect_properties()

◆ add_fades()

Vector< double2 > blender::io::otio::add_fades ( const Span< double2 > keyframes,
const double start_frame,
const double end_frame,
const double fade_in,
const double fade_out )
static

◆ add_foreign_metadata()

void blender::io::otio::add_foreign_metadata ( IDProperty * properties,
SerializableObjectWithMetadata & object )

◆ add_image_strip()

◆ add_modifiers()

◆ add_nested_items()

◆ add_pending_effects()

◆ add_strip_data()

void blender::io::otio::add_strip_data ( const StripExportContext & ctx,
Editing & editing,
const Strip & strip,
Item & item )
static

◆ add_strip_effects()

◆ add_strip_metadata()

void blender::io::otio::add_strip_metadata ( const StripExportContext & ctx,
const Strip & strip,
SerializableObjectWithMetadata & object )
static

◆ add_transition() [1/2]

◆ add_transition() [2/2]

◆ animated_number()

std::optional< std::any > blender::io::otio::animated_number ( const AnyDictionary & effect,
const std::string & id,
const int start_frame,
const FunctionRef< double(double)> convert )
static

◆ blender_metadata()

const std::any * blender::io::otio::blender_metadata ( SerializableObjectWithMetadata & object,
const char * key )
static

Definition at line 93 of file otio_import.cc.

References blender_metadata().

Referenced by blender_metadata(), import_stack(), and strip_metadata().

◆ build_track()

SerializableObject::Retainer< Track > blender::io::otio::build_track ( const StripExportContext & ctx,
Vector< PlacedItem > & items,
const std::string & kind,
const SeqTimelineChannel * channel,
const int channel_index,
const int origin )
static

◆ clip_to_strip()

Strip * blender::io::otio::clip_to_strip ( StripImportContext & ctx,
Clip & clip,
ListBaseT< Strip > & seqbase,
const int channel,
const int start,
const int duration,
const bool is_audio )
static

◆ color_hex()

std::string blender::io::otio::color_hex ( const float rgb[3])
static

◆ copy_number()

void blender::io::otio::copy_number ( AnyDictionary & properties,
const StringRef rna_path,
const AnyDictionary & effect,
const std::string & id,
const int start_frame,
const double factor )
static

◆ curve_mapping_clip()

◆ ensure_dictionary()

AnyDictionary & blender::io::otio::ensure_dictionary ( AnyDictionary & parent,
const std::string & key )

◆ export_markers()

void blender::io::otio::export_markers ( const StripExportContext & ctx,
const int origin,
Stack & stack )
static

◆ export_strips()

◆ exporter_main()

◆ extend_source_range()

void blender::io::otio::extend_source_range ( PlacedItem & item,
const RationalTime before,
const RationalTime after )
static

◆ find() [1/2]

◆ find() [2/2]

template<typename T>
const T * blender::io::otio::find ( const AnyDictionary & dictionary,
const std::string & key )

Definition at line 25 of file otio_metadata.hh.

References find(), and T.

◆ find_by_name()

◆ find_item()

PlacedItem * blender::io::otio::find_item ( Vector< PlacedItem > & items,
const Strip * strip )
static

Definition at line 409 of file otio_export.cc.

References find_item().

Referenced by add_transition(), and find_item().

◆ find_parameter()

const AnyDictionary * blender::io::otio::find_parameter ( const AnyDictionary & effect,
const std::string & id )
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().

◆ frame_range()

TimeRange blender::io::otio::frame_range ( const StripExportContext & ctx,
const double start,
const int duration )
static

◆ frames()

RationalTime blender::io::otio::frames ( const StripExportContext & ctx,
const double count )
static

◆ hex_to_color()

AnyVector blender::io::otio::hex_to_color ( const std::string & hex)

◆ image_sequence_pattern_get()

bool blender::io::otio::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

◆ image_sequence_reference()

◆ import_item()

Strip * blender::io::otio::import_item ( StripImportContext & ctx,
Item & item,
ListBaseT< Strip > & seqbase,
const int channel,
const int start,
const int duration,
const bool is_audio )
static

◆ import_markers()

◆ import_scene()

◆ import_stack()

void blender::io::otio::import_stack ( StripImportContext & ctx,
Stack & stack,
ListBaseT< Strip > & seqbase,
ListBaseT< SeqTimelineChannel > & channels,
int origin )
static

◆ import_track()

void blender::io::otio::import_track ( StripImportContext & ctx,
Track & track,
ListBaseT< Strip > & seqbase,
const int channel,
const int origin )
static

◆ importer_main()

◆ insert_keyframes()

◆ is_nested()

bool blender::io::otio::is_nested ( const Strip & strip)
static

◆ is_single_input_effect()

bool blender::io::otio::is_single_input_effect ( const Strip & strip)
static

◆ is_transition()

bool blender::io::otio::is_transition ( const Strip & strip)
static

◆ kdenlive_generator_type()

std::optional< StripType > blender::io::otio::kdenlive_generator_type ( const GeneratorReference & generator)

◆ kdenlive_strip_properties()

AnyDictionary blender::io::otio::kdenlive_strip_properties ( SerializableObjectWithMetadata & object)

◆ keyframes_value()

std::any blender::io::otio::keyframes_value ( const Span< double2 > keyframes)
static

Definition at line 97 of file otio_import_resolve.cc.

References keyframes_value().

Referenced by add_effect_properties(), animated_number(), and keyframes_value().

◆ media_filepath()

std::string blender::io::otio::media_filepath ( const StripExportContext & ctx,
const Strip & strip )
static

◆ media_length()

int blender::io::otio::media_length ( const StripExportContext & ctx,
const Strip & strip )
static

◆ media_reference()

◆ metadata_effect()

const AnyDictionary * blender::io::otio::metadata_effect ( SerializableObjectWithMetadata & object)
static

◆ number()

std::optional< double > blender::io::otio::number ( const std::any * value)
static

◆ number_parameter()

AnyDictionary blender::io::otio::number_parameter ( PointerRNA & strip_ptr,
const Strip & strip,
const std::string & id,
const char * rna_path,
const FunctionRef< double(double)> convert )
static

◆ number_parameters()

AnyVector blender::io::otio::number_parameters ( PointerRNA & strip_ptr,
const Strip & strip,
const ResolveUnits & units,
const StringRef effect )
static

◆ parameter()

const std::any * blender::io::otio::parameter ( const AnyDictionary & effect,
const std::string & id )
static

◆ parameter_keyframes()

Vector< double2 > blender::io::otio::parameter_keyframes ( const AnyDictionary & effect,
const std::string & id,
const int start_frame,
const FunctionRef< double(double)> convert )
static

◆ place_strip()

void blender::io::otio::place_strip ( StripImportContext & ctx,
Strip * strip,
ListBaseT< Strip > & seqbase,
const int start,
const int duration,
SerializableObjectWithMetadata & object )
static

◆ pointer_value()

◆ property_value()

◆ read_otio_file_with_workarounds()

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().

◆ resize_collection()

◆ resolve_add_clip_data()

void blender::io::otio::resolve_add_clip_data ( const Scene & scene,
const Strip & strip,
const Map< const Strip *, int64_t > & link_groups,
Clip & clip )

◆ resolve_add_timeline_metadata()

void blender::io::otio::resolve_add_timeline_metadata ( Timeline & timeline)

◆ resolve_add_track_data()

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().

◆ resolve_add_transition_data()

void blender::io::otio::resolve_add_transition_data ( const Scene & scene,
const Strip & transition,
Transition & otio_transition )

◆ resolve_blend_type()

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().

◆ resolve_composite_mode()

std::optional< int64_t > blender::io::otio::resolve_composite_mode ( const StringRef blend_type)

◆ resolve_connect_strips() [1/2]

◆ resolve_connect_strips() [2/2]

void blender::io::otio::resolve_connect_strips ( Span< std::pair< Strip *, SerializableObjectWithMetadata * > > strips)

◆ resolve_effect() [1/2]

AnyDictionary blender::io::otio::resolve_effect ( const std::string & effect_name,
const int64_t type,
const AnyVector & parameters,
const std::string & name = "" )
static

◆ resolve_effect() [2/2]

AnyDictionary blender::io::otio::resolve_effect ( const std::string & name,
const std::vector< std::pair< std::string, std::any > > & values )
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().

◆ resolve_effects()

Vector< const AnyDictionary * > blender::io::otio::resolve_effects ( SerializableObjectWithMetadata & object)
static

◆ resolve_fit_method()

◆ resolve_generator_reference()

GeneratorReference * blender::io::otio::resolve_generator_reference ( const Strip & strip,
const TimeRange & available_range )

◆ resolve_generator_type()

std::optional< StripType > blender::io::otio::resolve_generator_type ( const GeneratorReference & generator)

◆ resolve_is_adjustment_clip()

bool blender::io::otio::resolve_is_adjustment_clip ( Clip & clip)

◆ resolve_link_groups()

◆ resolve_metadata() [1/2]

AnyDictionary & blender::io::otio::resolve_metadata ( SerializableObjectWithMetadata & object)
static

◆ resolve_metadata() [2/2]

const AnyDictionary * blender::io::otio::resolve_metadata ( SerializableObjectWithMetadata & object)
static

◆ resolve_numbers()

◆ resolve_parameter()

AnyDictionary blender::io::otio::resolve_parameter ( const std::string & id,
const std::any & value,
const std::string & variant_type )
static

◆ resolve_strip_properties()

AnyDictionary blender::io::otio::resolve_strip_properties ( const Scene & scene,
const Strip & strip,
SerializableObjectWithMetadata & object )

◆ resolve_track_locked()

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().

◆ resolve_transition_type()

std::optional< StripType > blender::io::otio::resolve_transition_type ( Transition & transition)

◆ rna_from_dictionary()

◆ rna_number()

double blender::io::otio::rna_number ( PointerRNA & ptr,
PropertyRNA * prop )
static

◆ rna_to_dictionary()

◆ set_number()

◆ set_property()

◆ skip_property()

◆ speed_factor()

◆ store_foreign_metadata()

void blender::io::otio::store_foreign_metadata ( const SerializableObjectWithMetadata & object,
IDProperty *& properties )

◆ strip_effects()

◆ strip_metadata()

const AnyDictionary * blender::io::otio::strip_metadata ( SerializableObjectWithMetadata & object)
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().

◆ strip_metadata_string()

const std::string * blender::io::otio::strip_metadata_string ( SerializableObjectWithMetadata & object,
const char * key )
static

◆ strip_pointer()

PointerRNA blender::io::otio::strip_pointer ( const Scene & scene,
const Strip & strip )
static

◆ strip_to_clip()

◆ strip_to_effect()

SerializableObject::Retainer< otio::Effect > blender::io::otio::strip_to_effect ( const StripExportContext & ctx,
const Strip & input,
const Strip & effect_strip )
static

◆ strip_type_from_identifier()

std::optional< StripType > blender::io::otio::strip_type_from_identifier ( const std::string * identifier)
static

◆ strip_type_identifier()

◆ TEST_F() [1/19]

◆ TEST_F() [2/19]

◆ TEST_F() [3/19]

◆ TEST_F() [4/19]

◆ TEST_F() [5/19]

blender::io::otio::TEST_F ( OTIOTest ,
ImageSequences  )

◆ TEST_F() [6/19]

blender::io::otio::TEST_F ( OTIOTest ,
KdenliveMetadata  )

◆ TEST_F() [7/19]

blender::io::otio::TEST_F ( OTIOTest ,
KdenliveTimeline  )

◆ TEST_F() [8/19]

◆ TEST_F() [9/19]

blender::io::otio::TEST_F ( OTIOTest ,
MarkerSchemaVersion2  )

◆ TEST_F() [10/19]

◆ TEST_F() [11/19]

◆ TEST_F() [12/19]

◆ TEST_F() [13/19]

◆ TEST_F() [14/19]

◆ TEST_F() [15/19]

◆ TEST_F() [16/19]

◆ TEST_F() [17/19]

◆ TEST_F() [18/19]

◆ TEST_F() [19/19]

◆ title_parameter()

AnyDictionary blender::io::otio::title_parameter ( const TextVars & data)
static

◆ to_frames()

int blender::io::otio::to_frames ( const StripImportContext & ctx,
const RationalTime & time )
static

◆ to_number()

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().

◆ url_to_filepath()

std::string blender::io::otio::url_to_filepath ( const std::string & url)
static

Definition at line 137 of file otio_import.cc.

References url_to_filepath().

Referenced by clip_to_strip(), and url_to_filepath().

◆ value_at()

double blender::io::otio::value_at ( const Span< double2 > keyframes,
const double frame )
static

◆ workaround_marker_v2_upgrade()

void blender::io::otio::workaround_marker_v2_upgrade ( serialize::Value & value)
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().

Variable Documentation

◆ composite_mode_blend_types

const char* blender::io::otio::composite_mode_blend_types[]
static
Initial value:
= {
"ALPHA_OVER", "ADD", "SUBTRACT", "DIFFERENCE", "MULTIPLY", "SCREEN",
"OVERLAY", "HARD_LIGHT", "SOFT_LIGHT", "DARKEN", "LIGHTEN", "DODGE",
"BURN", "EXCLUSION", "HUE", "SATURATION", "COLOR", "VALUE",
nullptr, "ADD", "LINEAR_BURN", "LINEAR_LIGHT", "VIVID_LIGHT", "PIN_LIGHT",
}

Definition at line 85 of file otio_resolve.cc.

Referenced by resolve_blend_type(), and resolve_composite_mode().

◆ LOG [1/2]

CLG_LogRef blender::io::otio::LOG = {"io.otio"}
static

Definition at line 60 of file otio_export.cc.

Referenced by add_transition(), exporter_main(), and strip_to_clip().

◆ LOG [2/2]

CLG_LogRef blender::io::otio::LOG = {"io.otio"}
static

Definition at line 68 of file otio_import.cc.

Referenced by importer_main().