]> sigrok.org Git - pulseview.git/commit
Merge DecoderStack into DecodeSignal
authorSoeren Apel <redacted>
Wed, 14 Jun 2017 06:30:43 +0000 (08:30 +0200)
committerSoeren Apel <redacted>
Tue, 4 Jul 2017 21:14:36 +0000 (23:14 +0200)
commit477472187338948c83bea5d790ead66034008296
tree006ec6c56dad657dde4842607baa8a2854b60aac
parent0c5fe73e5b66bf31d2dcfa2b2846a86cd2fdf0c4
Merge DecoderStack into DecodeSignal

Several changes make up this commit, which unfortunately
can't be separated:

1) Move decoder stack management from DecoderStack to
DecodeSignal, thereby making DecoderStack unnecessary

2) Change the decoder stack from std::list to an
std::vector for direct decoder access

3) Introduce logic_mux_thread which will take care
of muxing the individual SignalBases' logic data into
(cached) logic data that libsigrokdecode expects.
This is necessary as we can no longer do simple bit
mapping within a single logic data segment's logic
data as we now may feed from multiple logic data
segments at once

4) Refactored the creation of decode traces, making
it more streamlined and flexible while simplifying
the class interface

5) Refactored the auto-assignment of channels

6) Refactored is_decode_signal()

7) Reworked decode signal save/restore, allowing
proper handling and with the decoder stack now
being part of the signal, easier save/restore of
the stack and its settings
CMakeLists.txt
pv/data/decoderstack.cpp [deleted file]
pv/data/decoderstack.hpp [deleted file]
pv/data/decodesignal.cpp
pv/data/decodesignal.hpp
pv/data/signalbase.cpp
pv/data/signalbase.hpp
pv/session.cpp
pv/views/trace/decodetrace.cpp
test/CMakeLists.txt