Hi,

I would like to continue working on the edge-to-edge time measurement and
cursor snapping feature.
For doing so, I need to browse the data in the mipmap container but I don't
get how the data are stored.

1) Why the data seems to be stored in std::vector<uint8_t> Snapshot::_data
as uint8_t but they are packed/unpacked as uint64_t ?

2) What is the meaning of this loop in
LogicSnapshot::append_payload_to_mipmap() ?
        while (diff_counter-- > 0)
        {
            const uint64_t sample = unpack_sample(src_ptr);
            accumulator |= _last_append_sample ^ sample;
            _last_append_sample = sample;
            src_ptr += _unit_size;
        }

Thank you,

-- 
Pierre
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to