#ifndef _LSVM_ROUTINE_H_#define _LSVM_ROUTINE_H_#include "_lsvm_types.h"#include "_lsvm_error.h"//////////////////////////////////////////////////////////////// Memory management routines// All paramaters names correspond to previous data structures description// All "alloc" functions return allocated memory for 1 object// with all fields including arrays// Error status is return value//////////////////////////////////////////////////////////////intallocFilterObject(CvLSVMFilterObject**obj,constintsizeX,constintsizeY,constintp);intfreeFilterObject(CvLSVMFilterObject**obj);intallocFeatureMapObject(CvLSVMFeatureMap**obj,constintsizeX,constintsizeY,constintp);intfreeFeatureMapObject(CvLSVMFeatureMap**obj);#ifdef __cplusplusextern"C"#endifintallocFeaturePyramidObject(CvLSVMFeaturePyramid**obj,constintcountLevel);#ifdef __cplusplusextern"C"#endifintfreeFeaturePyramidObject(CvLSVMFeaturePyramid**obj);intallocFFTImage(CvLSVMFftImage**image,intp,intdimX,intdimY);intfreeFFTImage(CvLSVMFftImage**image);#endif