| 675 | // ifdef DEBUG |
| 676 | |
| 677 | Image::Image(const ImageKey & key, |
| 678 | const boost::shared_ptr<ImageParams>& params, |
| 679 | const CacheAPI* cache) |
| 680 | : CacheEntryHelper<unsigned char, ImageKey, ImageParams>(key, params, cache) |
| 681 | , _useBitmap(true) |
| 682 | { |
| 683 | _bitDepth = params->getBitDepth(); |
| 684 | _depthBytesSize = getSizeOfForBitDepth(_bitDepth); |
| 685 | _nbComponents = params->getComponents().getNumComponents(); |
| 686 | _rod = params->getRoD(); |
| 687 | _bounds = params->getBounds(); |
| 688 | _par = params->getPixelAspectRatio(); |
| 689 | _premult = params->getPremultiplication(); |
| 690 | _fielding = params->getFieldingOrder(); |
| 691 | } |
| 692 | |
| 693 | Image::Image(const ImageKey & key, |
| 694 | const boost::shared_ptr<ImageParams>& params) |
nothing calls this directly
no test coverage detected