- Timestamp:
- 02/27/08 09:30:29 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/Image/WS/OSGImage.cpp
r1039 r1063 681 681 ImagePtr destination) 682 682 { 683 UChar8 *data = NULL;684 const UChar8 *sourceData = NULL;685 UInt32 srcI, destI, destSize = 0;686 UInt32 sum;687 Real64 sumReal;688 Image RefPtr dest(destination);683 UChar8 *data = NULL; 684 const UChar8 *sourceData = NULL; 685 UInt32 srcI, destI, destSize = 0; 686 UInt32 sum; 687 Real64 sumReal; 688 ImageInternalRefPtr dest(destination); 689 689 690 690 if (hasCompressedData()) … … 2118 2118 getDataType(), destDataType)); 2119 2119 2120 Image RefPtr dest(Image::create());2120 ImageInternalRefPtr dest(Image::create()); 2121 2121 2122 2122 dest->set(getPixelFormat(), … … 2505 2505 if(att == NullFC) 2506 2506 { 2507 ImageGenericAtt RefPtr newAtt = ImageGenericAtt::create();2507 ImageGenericAttInternalRefPtr newAtt = ImageGenericAtt::create(); 2508 2508 att = newAtt; 2509 2509 … … 2705 2705 ImagePtr destination) 2706 2706 { 2707 Image RefPtr destImage(destination);2708 bool retCode = true;2707 ImageInternalRefPtr destImage(destination); 2708 bool retCode = true; 2709 2709 2710 2710 if (hasCompressedData()) … … 2789 2789 ImagePtr destination) 2790 2790 { 2791 Image RefPtr destImage(destination);2792 bool retCode = true;2793 UInt32 counter = 0;2791 ImageInternalRefPtr destImage(destination); 2792 bool retCode = true; 2793 UInt32 counter = 0; 2794 2794 2795 2795 if (hasCompressedData()) … … 2959 2959 }; 2960 2960 2961 Int32 offsetSize[] = { 0, 2, 2, 4, 2, 4, 4, 8 };2962 Image RefPtr destImage(destination);2961 Int32 offsetSize[] = { 0, 2, 2, 4, 2, 4, 4, 8 }; 2962 ImageInternalRefPtr destImage(destination); 2963 2963 2964 2964 Int32 w = getWidth(), h = getHeight(), d = getDepth();
