projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manual: install manual conversion result files generated by cmake
[pulseview.git]
/
pv
/
data
/
analogsegment.hpp
diff --git
a/pv/data/analogsegment.hpp
b/pv/data/analogsegment.hpp
index 5267e77e604ed27fa6f3d3ad09ea4779e9d1f3e3..df25f0b74a669109663a08e0df4dbeff3b5a7641 100644
(file)
--- a/
pv/data/analogsegment.hpp
+++ b/
pv/data/analogsegment.hpp
@@
-38,13
+38,7
@@
namespace data {
class Analog;
class Analog;
-typedef struct {
- uint64_t sample_index, chunk_num, chunk_offs;
- uint8_t* chunk;
- float* value;
-} SegmentAnalogDataIterator;
-
-class AnalogSegment : public QObject, public Segment
+class AnalogSegment : public Segment
{
Q_OBJECT
{
Q_OBJECT
@@
-90,9
+84,7
@@
public:
const pair<float, float> get_min_max() const;
const pair<float, float> get_min_max() const;
- SegmentAnalogDataIterator* begin_sample_iteration(uint64_t start);
- void continue_sample_iteration(SegmentAnalogDataIterator* it, uint64_t increase);
- void end_sample_iteration(SegmentAnalogDataIterator* it);
+ float* get_iterator_value_ptr(SegmentDataIterator* it);
void get_envelope_section(EnvelopeSection &s,
uint64_t start, uint64_t end, float min_length) const;
void get_envelope_section(EnvelopeSection &s,
uint64_t start, uint64_t end, float min_length) const;