MCPcopy Create free account
hub / github.com/Snapchat/Valdi / colorMatrixToFloatArray

Function colorMatrixToFloatArray

valdi/src/valdi/android/ResourceLoader.cpp:119–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 auto identity =
118 toValue(env,
119 _getCustomModuleIdentityMethod.call(_localResourceResolver.toObject(), toJavaObject(env, module))
120 .stealLocalRef());
121 if (!identity.isString()) {
122 return std::nullopt;
123 }
124 auto identityString = identity.toStringBox();
125 if (!identityString.isEmpty()) {
126 return Valdi::ModuleContentIdentity{Valdi::ModuleContentIdentity::Kind::DeliveryContainer,
127 identityString.slowToString()};
128 }

Callers 3

loadAssetMethod · 0.85
loadAssetFromBytesMethod · 0.85
loadAssetFromBitmapMethod · 0.85

Calls 3

toJavaFloatArrayFunction · 0.85
JavaObjectClass · 0.50
JavaEnvClass · 0.50

Tested by

no test coverage detected