Searched refs:kBlockSizeFrames (Results 1 – 2 of 2) sorted by relevance
21 static constexpr uptr kBlockSizeFrames = 0x100000; variable23 static constexpr uptr kBlockSizeBytes = kBlockSizeFrames * sizeof(uptr);35 static_assert(u64(kBlockCount) * kBlockSizeFrames == 1ull << (sizeof(Id) * 8),57 return frame_idx / kBlockSizeFrames; in GetBlockIdx()61 return frame_idx % kBlockSizeFrames; in GetInBlockIdx()
91 CHECK_LE(count, kBlockSizeFrames); in Alloc()92 uptr in_first = kBlockSizeFrames - GetInBlockIdx(start); in Alloc()285 unpacked + kBlockSizeFrames); in GetOrUnpack()289 unpacked + kBlockSizeFrames); in GetOrUnpack()296 CHECK_EQ(kBlockSizeFrames, unpacked_end - unpacked); in GetOrUnpack()332 CompressDelta(ptr, ptr + kBlockSizeFrames, header->data, alloc_end); in Pack()336 CompressLzw(ptr, ptr + kBlockSizeFrames, header->data, alloc_end); in Pack()376 kBlockSizeFrames; in Stored()