comparison vamp-sdk/hostext/PluginSummarisingAdapter.h @ 179:72bf540da84f

* Add UnknownSummaryType
author cannam
date Thu, 07 Aug 2008 16:34:23 +0000
parents adfb6348881c
children 9a58bd07aa4d
comparison
equal deleted inserted replaced
178:a5ede8515893 179:72bf540da84f
66 66
67 typedef std::set<RealTime> SegmentBoundaries; 67 typedef std::set<RealTime> SegmentBoundaries;
68 void setSummarySegmentBoundaries(const SegmentBoundaries &); 68 void setSummarySegmentBoundaries(const SegmentBoundaries &);
69 69
70 enum SummaryType { 70 enum SummaryType {
71 Minimum, 71 Minimum = 0,
72 Maximum, 72 Maximum = 1,
73 Mean, 73 Mean = 2,
74 Median, 74 Median = 3,
75 Mode, 75 Mode = 4,
76 Sum, 76 Sum = 5,
77 Variance, 77 Variance = 6,
78 StandardDeviation, 78 StandardDeviation = 7,
79 Count 79 Count = 8,
80
81 UnknownSummaryType = 999
80 }; 82 };
81 83
82 FeatureList getSummaryForOutput(int output, SummaryType type); 84 FeatureList getSummaryForOutput(int output, SummaryType type);
83 FeatureSet getSummaryForAllOutputs(SummaryType type); 85 FeatureSet getSummaryForAllOutputs(SummaryType type);
84 86