comparison transform/FeatureExtractionModelTransformer.cpp @ 408:115f60df1e4d

* Speed up spectrogram painting by releasing mutex in FFTDataServer while calculating data prior to writing it, and by adding whole-column value query methods to FFT objects * Add paint cache to Thumbwheel -- repaints of this widget were slowing down the whole spectrogram repaint * More uses of MutexLocker (named and with debug) and more profile points * Make startup much quicker some of the time, with OSC server in place
author Chris Cannam
date Thu, 08 May 2008 14:46:22 +0000
parents 370aa9714ef5
children d35d4e79c95b
comparison
equal deleted inserted replaced
407:88ad01799040 408:115f60df1e4d
276 } 276 }
277 277
278 DenseTimeValueModel * 278 DenseTimeValueModel *
279 FeatureExtractionModelTransformer::getConformingInput() 279 FeatureExtractionModelTransformer::getConformingInput()
280 { 280 {
281 // std::cerr << "FeatureExtractionModelTransformer::getConformingInput: input model is " << getInputModel() << std::endl;
282
281 DenseTimeValueModel *dtvm = 283 DenseTimeValueModel *dtvm =
282 dynamic_cast<DenseTimeValueModel *>(getInputModel()); 284 dynamic_cast<DenseTimeValueModel *>(getInputModel());
283 if (!dtvm) { 285 if (!dtvm) {
284 std::cerr << "FeatureExtractionModelTransformer::getConformingInput: WARNING: Input model is not conformable to DenseTimeValueModel" << std::endl; 286 std::cerr << "FeatureExtractionModelTransformer::getConformingInput: WARNING: Input model is not conformable to DenseTimeValueModel" << std::endl;
285 } 287 }