IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 14, 2004, 4:10:27 PM (22 years ago)
Author:
desonia
Message:

added psImageFreePixels & psImageFreeChildren.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/image/psImage.h

    r692 r700  
    77 *  @author Ross Harman, MHPCC
    88 *   
    9  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2004-05-14 22:39:58 $
     9 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2004-05-15 02:10:27 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9999 *  Uses psLib memory deallocation functions to free an image and any existing children.
    100100 *
    101  * @return psImage*: Pointer to psImage.
    102  *
    103101 */
    104102void psImageFree(
     
    106104);
    107105
     106/** Deallocate the image buffer of a psImage.
     107 *
     108 *  deallocates the image buffer while preserving the psImage struct and any children.
     109 *
     110 */
     111void psImageFreePixels(
     112    psImage *restrict image             ///< psImage to free pixel memory from
     113);
     114
     115/** Frees all children of a psImage.
     116 *
     117 *  return int      Number of children freed.
     118 *
     119 */
     120int psImageFreeChildren(
     121    psImage* image                      ///< psImage in which all children shall be deallocated
     122);
     123
     124
     125
    108126#endif
Note: See TracChangeset for help on using the changeset viewer.