mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	faster imageresampler
This commit is contained in:
		| @@ -1,5 +1,11 @@ | ||||
| #pragma once | ||||
|  | ||||
| #define FRAME_BENCH | ||||
|  | ||||
| #ifdef FRAME_BENCH | ||||
| 	#include <QElapsedTimer> | ||||
| #endif | ||||
|  | ||||
| // stl includes | ||||
| #include <vector> | ||||
| #include <map> | ||||
| @@ -166,6 +172,9 @@ private: | ||||
| 	double   _x_frac_max; | ||||
| 	double   _y_frac_max; | ||||
|  | ||||
| #ifdef FRAME_BENCH | ||||
| 	QElapsedTimer _frameTimer; | ||||
| #endif | ||||
| 	QSocketNotifier *_streamNotifier; | ||||
|  | ||||
| 	bool _initialized, _reload; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user