MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / doGetHash

Method doGetHash

python/mod_cvcuda/nvcv/Image.cpp:60–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60size_t Image::Key::doGetHash() const
61{
62 if (m_isWrapper)
63 {
64 return 0; // all wrappers are equal wrt. the cache
65 }
66 else
67 {
68 using util::ComputeHash;
69 return ComputeHash(m_size, m_format);
70 }
71}
72
73namespace {
74

Callers

nothing calls this directly

Calls 1

ComputeHashFunction · 0.70

Tested by

no test coverage detected