7 #ifndef PXR_EXEC_VDF_COMPRESSED_INDEX_MAPPING_H
8 #define PXR_EXEC_VDF_COMPRESSED_INDEX_MAPPING_H
78 size_t FindDataIndex(
size_t logicalIdx,
size_t *blockHint)
const;
89 size_t *dataIndex)
const;
107 size_t *firstBlockIdx,
size_t *lastBlockIdx)
const;
128 typedef std::vector<Vdf_IndexBlockMapping> _BlockMappings;
129 _BlockMappings _blockMappings;
VDF_API void Initialize(const VdfMask::Bits &bits)
#define PXR_NAMESPACE_OPEN_SCOPE
VDF_API size_t GetBlockFirstIndex(size_t blockIdx) const
Fast, compressed bit array which is capable of performing logical operations without first decompress...
VDF_API size_t GetBlockLength(size_t blockIdx) const
VDF_API void ComputeStoredBits(VdfMask::Bits *bits, size_t num) const
VDF_API bool ComputeDataIndex(size_t blockIndex, size_t logicalIndex, size_t *dataIndex) const
VDF_API void FindBlockRange(size_t first, size_t last, size_t *firstBlockIdx, size_t *lastBlockIdx) const
bool operator<(const Vdf_IndexBlockMapping &rhs) const
VDF_API size_t FindDataIndex(size_t logicalIdx, size_t *blockHint) const
VDF_API size_t GetBlockLastIndex(size_t blockIdx) const
__hostdev__ uint64_t last(uint32_t i) const
VDF_API size_t FindBlockIndex(size_t logicalIdx) const
size_t GetFirstIndex() const
#define PXR_NAMESPACE_CLOSE_SCOPE
size_t GetLastIndex() const
Implements a Vdf_VectorData storage that is holds a subset of a vector. The subset is determined by a...