| 124 | } |
| 125 | |
| 126 | size_t FixedFrameQueryContainer::ForEachConsume(ProcessTracker& tracker, std::function<void()> frameHandler) |
| 127 | { |
| 128 | size_t nFramesProcessed = 0; |
| 129 | do { |
| 130 | Consume(tracker); |
| 131 | const auto nPopulated = blobs_.GetNumBlobsPopulated(); |
| 132 | for (uint32_t i = 0; i < nPopulated; i++) { |
| 133 | SetActiveBlobIndex(i); |
| 134 | frameHandler(); |
| 135 | } |
| 136 | nFramesProcessed += nPopulated; |
| 137 | } while (blobs_.AllBlobsPopulated()); |
| 138 | return nFramesProcessed; |
| 139 | } |
| 140 | |
| 141 | void FixedFrameQueryContainer::Finalize_() |
| 142 | { |
nothing calls this directly
no test coverage detected