comparison base/ZoomConstraint.h @ 1105:a27b1ce86e4f 3.0-integration

Merge from branch simple-fft-model
author Chris Cannam
date Fri, 26 Jun 2015 14:07:25 +0100
parents 12f3b48668d4
children d4a28d1479a8 48e9f538e6e9
comparison
equal deleted inserted replaced
1088:5fab8e4f5f19 1105:a27b1ce86e4f
56 else return requestedBlockSize; 56 else return requestedBlockSize;
57 } 57 }
58 58
59 /** 59 /**
60 * Return the maximum zoom level within range for this constraint. 60 * Return the maximum zoom level within range for this constraint.
61 * This is quite large -- individual views will probably want to
62 * limit how far a user might reasonably zoom out based on other
63 * factors such as the duration of the file.
61 */ 64 */
62 virtual int getMaxZoomLevel() const { return 262144; } 65 virtual int getMaxZoomLevel() const { return 4194304; } // 2^22, arbitrarily
63 }; 66 };
64 67
65 #endif 68 #endif
66 69