IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 13, 2011, 10:45:16 AM (15 years ago)
Author:
eugene
Message:

psKernelAlloc now reports file & line; fix bug in psKernelTruncate; limit leak dump to 500 leaks; cleanup log formats (indent by depth, split lines with function name); add test samples for psImageCovariance

Location:
trunk/psLib/src/imageops
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops

    • Property svn:mergeinfo deleted
  • trunk/psLib/src/imageops/psImageConvolve.h

    r26892 r30595  
    8484/// @return psKernel*          A new kernel object
    8585///
     86#ifdef DOXYGEN
    8687psKernel *psKernelAlloc(
    8788    int xMin,                          ///< Most negative x index
     
    8990    int yMin,                          ///< Most negative y index
    9091    int yMax                           ///< Most positive y index
     92);
     93#else // ifdef DOXYGEN
     94psKernel *p_psKernelAlloc(
     95    const char *file,                   ///< File of caller
     96    unsigned int lineno,                ///< Line number of caller
     97    const char *func,                   ///< Function name of caller
     98    int xMin,                          ///< Most negative x index
     99    int xMax,                          ///< Most positive x index
     100    int yMin,                          ///< Most negative y index
     101    int yMax                           ///< Most positive y index
    91102) PS_ATTR_MALLOC;
     103#define psKernelAlloc(xMin, xMax, yMin, yMax)                           \
     104    p_psKernelAlloc(__FILE__, __LINE__, __func__, (xMin), (xMax), (yMin), (yMax))
     105#endif // ifdef DOXYGEN
    92106
    93107/// Allocate a convolution kernel from a provided image
Note: See TracChangeset for help on using the changeset viewer.