|
Blender V5.3
|
Inherits blender::BlendfileLoadingBaseTest.
Protected Member Functions | |
| void | SetUp () override |
| void | TearDown () override |
| Scene * | new_scene (const char *name="Timeline") |
| void | set_sequencer_scene (Scene *scene) |
| void | export_otio (Scene *scene) |
| Scene * | import_otio () |
| Scene * | round_trip (Scene *scene) |
| SerializableObject::Retainer< Timeline > | read_otio () |
| void | write_otio (Timeline *timeline) |
| bool | has_report (const char *text) |
| std::string | asset_path (const char *relative_path) |
| std::string | copy_image (const char *filename) |
| Strip * | add_effect (Scene *scene, ListBaseT< Strip > &seqbase, const StripType type, const char *name, const int channel, const int start, const int length, Strip *input1=nullptr, Strip *input2=nullptr) |
| Strip * | add_color (Scene *scene, const char *name, const int channel, const int start, int length) |
| Strip * | add_images (Scene *scene, const char *name, const int channel, const int start, const Span< const char * > filenames) |
| void | expect_round_trip (Scene *scene) |
| Protected Member Functions inherited from blender::BlendfileLoadingBaseTest | |
| void | TearDown () override |
| bool | blendfile_load (const char *filepath) |
| void | blendfile_free () |
| virtual void | depsgraph_create (eEvaluationMode depsgraph_evaluation_mode) |
| virtual void | depsgraph_free () |
Static Protected Member Functions | |
| static void | SetUpTestCase () |
| static void | TearDownTestCase () |
| static PointerRNA | rna (Scene *scene, Strip *strip) |
| static std::string | dump (Scene *scene, Strip *strip) |
| static void | expect_same_strips (Scene *scene_a, ListBaseT< Strip > &strips_a, Scene *scene_b, ListBaseT< Strip > &strips_b) |
Protected Attributes | |
| Main * | bmain = nullptr |
| bContext * | C = nullptr |
| ReportList | reports {} |
| Vector< std::unique_ptr< bContextStore > > | context_store |
| std::string | directory |
| std::string | otio_path |
| Protected Attributes inherited from blender::BlendfileLoadingBaseTest | |
| struct BlendFileData * | bfile = nullptr |
| struct Depsgraph * | depsgraph = nullptr |
Additional Inherited Members | |
| Static Public Member Functions inherited from blender::BlendfileLoadingBaseTest | |
| static void | SetUpTestCase () |
| static void | TearDownTestCase () |
Definition at line 67 of file otio_round_trip_test.cc.
|
inlineprotected |
Definition at line 213 of file otio_round_trip_test.cc.
References add_effect(), blender::Scene::ed, length(), blender::Editing::seqbase, and blender::STRIP_TYPE_COLOR.
|
inlineprotected |
Definition at line 194 of file otio_round_trip_test.cc.
References blender::seq::add_effect_strip(), blender::seq::add_load_data_init(), float4::length(), length(), and load_data().
Referenced by add_color().
|
inlineprotected |
Definition at line 218 of file otio_round_trip_test.cc.
References blender::seq::add_image_load_file(), blender::seq::add_image_set_directory(), blender::seq::add_image_strip(), blender::seq::add_load_data_init(), bmain, copy_image(), directory, blender::Scene::ed, blender::Span< T >::index_range(), load_data(), blender::Editing::seqbase, and blender::Span< T >::size().
|
inlineprotected |
Definition at line 174 of file otio_round_trip_test.cc.
References BLI_path_join, and FILE_MAX.
Referenced by copy_image().
|
inlineprotected |
Definition at line 181 of file otio_round_trip_test.cc.
References asset_path(), blender::BLI_copy(), directory, blender::EXPECT_EQ(), blender::gpu::shader::parser::filename(), and SEP_STR.
Referenced by add_images().
|
inlinestaticprotected |
Definition at line 236 of file otio_round_trip_test.cc.
References rna(), and blender::io::otio::rna_to_dictionary().
Referenced by expect_same_strips().
|
inlineprotected |
Definition at line 263 of file otio_round_trip_test.cc.
References blender::Scene::ed, expect_same_strips(), round_trip(), and blender::Editing::seqbase.
|
inlinestaticprotected |
Definition at line 242 of file otio_round_trip_test.cc.
References b, blender::BLI_findstring(), blender::BLI_listbase_count(), dump(), blender::EXPECT_EQ(), expect_same_strips(), offsetof, blender::SEQ_MUTE, and blender::STRIP_TYPE_META.
Referenced by expect_round_trip(), and expect_same_strips().
|
inlineprotected |
Definition at line 127 of file otio_round_trip_test.cc.
References blender::BLI_exists(), C, blender::OTIOExportParams::filepath, blender::OTIO_export(), otio_path, reports, blender::OTIOExportParams::reports, set_sequencer_scene(), and blender::STRNCPY().
Referenced by round_trip().
|
inlineprotected |
Definition at line 164 of file otio_round_trip_test.cc.
References blender::ReportList::list, blender::Report::message, and reports.
|
inlineprotected |
Definition at line 137 of file otio_round_trip_test.cc.
References C, blender::OTIOImportParams::filepath, new_scene(), blender::OTIO_import(), otio_path, reports, blender::OTIOImportParams::reports, set_sequencer_scene(), and blender::STRNCPY().
Referenced by round_trip().
|
inlineprotected |
Definition at line 110 of file otio_round_trip_test.cc.
References blender::BKE_scene_add(), bmain, blender::seq::editing_ensure(), blender::RenderData::efra, blender::RenderData::frs_sec, blender::RenderData::frs_sec_base, blender::Scene::r, and blender::RenderData::sfra.
Referenced by import_otio().
|
inlineprotected |
Definition at line 154 of file otio_round_trip_test.cc.
References otio_path, and blender::io::otio::read_otio_file_with_workarounds().
|
inlinestaticprotected |
Definition at line 189 of file otio_round_trip_test.cc.
References blender::Scene::id, and blender::RNA_pointer_create_discrete().
Referenced by dump().
Definition at line 146 of file otio_round_trip_test.cc.
References EXPECT_NE, export_otio(), and import_otio().
Referenced by expect_round_trip().
|
inlineprotected |
Definition at line 121 of file otio_round_trip_test.cc.
References C, context_store, blender::CTX_store_add(), blender::CTX_store_set(), blender::Scene::id, and blender::RNA_id_pointer_create().
Referenced by export_otio(), and import_otio().
|
inlineoverrideprotected |
Definition at line 88 of file otio_round_trip_test.cc.
References blender::BKE_main_new(), blender::BKE_reports_init(), blender::BKE_tempdir_init(), blender::BKE_tempdir_session(), blender::BLI_dir_create_recursive(), bmain, C, blender::CTX_create(), blender::CTX_data_main_set(), directory, otio_path, reports, blender::RPT_STORE, and SEP_STR.
|
inlinestaticprotected |
Definition at line 76 of file otio_round_trip_test.cc.
References blender::BKE_sound_init_once(), and blender::BlendfileLoadingBaseTest::SetUpTestCase().
|
inlineoverrideprotected |
Definition at line 101 of file otio_round_trip_test.cc.
References blender::BKE_main_free(), blender::BKE_reports_free(), blender::BLI_delete(), bmain, C, blender::CTX_free(), directory, reports, and blender::BlendfileLoadingBaseTest::TearDown().
|
inlinestaticprotected |
Definition at line 82 of file otio_round_trip_test.cc.
References blender::BKE_sound_exit_once(), and blender::BlendfileLoadingBaseTest::TearDownTestCase().
|
inlineprotected |
Definition at line 159 of file otio_round_trip_test.cc.
References otio_path.
Definition at line 69 of file otio_round_trip_test.cc.
Referenced by add_images(), new_scene(), SetUp(), and TearDown().
Definition at line 70 of file otio_round_trip_test.cc.
Referenced by export_otio(), import_otio(), set_sequencer_scene(), SetUp(), and TearDown().
|
protected |
Definition at line 72 of file otio_round_trip_test.cc.
Referenced by set_sequencer_scene().
|
protected |
Definition at line 73 of file otio_round_trip_test.cc.
Referenced by add_images(), copy_image(), SetUp(), and TearDown().
|
protected |
Definition at line 74 of file otio_round_trip_test.cc.
Referenced by export_otio(), import_otio(), read_otio(), SetUp(), and write_otio().
|
protected |
Definition at line 71 of file otio_round_trip_test.cc.
Referenced by export_otio(), has_report(), import_otio(), SetUp(), and TearDown().