HDK
|
Go to the source code of this file.
Typedefs | |
using | HdDataSourceHashType = size_t |
Functions | |
HD_API HdDataSourceHashType | HdDataSourceHash (HdDataSourceBaseHandle const &ds, const HdSampledDataSource::Time startTime, const HdSampledDataSource::Time endTime) |
using HdDataSourceHashType = size_t |
Definition at line 34 of file dataSourceHash.h.
HD_API HdDataSourceHashType HdDataSourceHash | ( | HdDataSourceBaseHandle const & | ds, |
const HdSampledDataSource::Time | startTime, | ||
const HdSampledDataSource::Time | endTime | ||
) |
Compute hash of a data source by using sampled from startTime to endTime.
Warning: this hash is not strong and is bad for fingerprinting where the hash for two data sources being equal has to imply that the two data sources have equal data with high probability. The has is only 64bit and makes various performance tradeoffs such that is suitable for a hashtable but not for fingerprinting.