Blender
V3.3
|
Functions | |
TEST (cryptomatte, meta_data_key) | |
TEST (cryptomatte, extract_layer_name) | |
TEST (cryptomatte, layer) | |
TEST (cryptomatte, layer_quoted) | |
static void | test_cryptomatte_manifest (std::string expected, std::string manifest) |
TEST (cryptomatte, layer_from_manifest) | |
R ({"Object\"01\"":"12345678"})") | |
test_cryptomatte_manifest (R"({"Object\"01\"":"12345678","Object":"12345678","Object2":"87654321"})", R"({"Object\"01\"":"12345678","Object":"12345678", "Object2":"87654321"})") | |
TEST (cryptomatte, extract_layer_hash_from_metadata_key) | |
static void | validate_cryptomatte_session_from_stamp_data (void *UNUSED(data), const char *propname, char *propvalue, int UNUSED(len)) |
TEST (cryptomatte, session_from_stamp_data) | |
TEST (cryptomatte, parsing_malformed_manifests) | |
blender::bke::cryptomatte::tests::R | ( | {"Object\"01\"":"12345678"} | ) |
blender::bke::cryptomatte::tests::TEST | ( | cryptomatte | , |
extract_layer_hash_from_metadata_key | |||
) |
Definition at line 74 of file cryptomatte_test.cc.
References EXPECT_EQ(), and blender::bke::cryptomatte::CryptomatteStampDataCallbackData::extract_layer_hash().
blender::bke::cryptomatte::tests::TEST | ( | cryptomatte | , |
extract_layer_name | |||
) |
Definition at line 23 of file cryptomatte_test.cc.
References blender::bke::cryptomatte::BKE_cryptomatte_extract_layer_name().
blender::bke::cryptomatte::tests::TEST | ( | cryptomatte | , |
layer | |||
) |
Definition at line 35 of file cryptomatte_test.cc.
References blender::bke::cryptomatte::CryptomatteLayer::add_hash(), and blender::bke::cryptomatte::CryptomatteLayer::manifest().
blender::bke::cryptomatte::tests::TEST | ( | cryptomatte | , |
layer_from_manifest | |||
) |
Definition at line 60 of file cryptomatte_test.cc.
References test_cryptomatte_manifest().
blender::bke::cryptomatte::tests::TEST | ( | cryptomatte | , |
layer_quoted | |||
) |
Definition at line 47 of file cryptomatte_test.cc.
References blender::bke::cryptomatte::CryptomatteLayer::add_hash(), and blender::bke::cryptomatte::CryptomatteLayer::manifest().
blender::bke::cryptomatte::tests::TEST | ( | cryptomatte | , |
meta_data_key | |||
) |
Definition at line 15 of file cryptomatte_test.cc.
References blender::bke::cryptomatte::BKE_cryptomatte_meta_data_key().
blender::bke::cryptomatte::tests::TEST | ( | cryptomatte | , |
parsing_malformed_manifests | |||
) |
Test method that contains known malformed manifests and makes sure that these can be parsed as best as possible.
Definition at line 164 of file cryptomatte_test.cc.
References test_cryptomatte_manifest().
blender::bke::cryptomatte::tests::TEST | ( | cryptomatte | , |
session_from_stamp_data | |||
) |
Definition at line 132 of file cryptomatte_test.cc.
References BKE_cryptomatte_init_from_render_result(), BKE_cryptomatte_store_metadata(), BKE_render_result_stamp_data(), BKE_stamp_info_callback(), BLI_strncpy(), MEM_callocN, ViewLayer::name, RE_FreeRenderResult(), RenderResult::stamp_data, and validate_cryptomatte_session_from_stamp_data().
blender::bke::cryptomatte::tests::test_cryptomatte_manifest | ( | R"({"Object\"01\"":"12345678","Object":"12345678","Object2":"87654321"})" | , |
R"({"Object\"01\"":"12345678","Object":"12345678", "Object2":"87654321"})" | |||
) |
|
static |
Definition at line 54 of file cryptomatte_test.cc.
References EXPECT_EQ(), and blender::bke::cryptomatte::CryptomatteLayer::read_from_manifest().
Referenced by TEST().
|
static |
Definition at line 91 of file cryptomatte_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::startswith().
Referenced by TEST().