Return to Snippet

Revision: 32145
at September 19, 2010 15:55 by maxint


Updated Code
/************************************************************************/
/* Motion Recovery Module                                               */
/*                                                                      */
/************************************************************************/

#ifndef _3DFACE_MOTION_RECOVERY_H_
#define _3DFACE_MOTION_RECOVERY_H_

#if (defined WIN32 || defined _WIN32) && defined MOTION_EXPORTS
    #define MOTION_API_EXPORTS __declspec(dllexport)
#else
    #define MOTION_API_EXPORTS
#endif

#ifndef MOTION_EXTERN_C
    #ifdef __cplusplus
        #define MOTION_EXTERN_C extern "C"
    #else
        #define MOTION_EXTERN_C
    #endif
#endif

#if defined WIN32 || defined _WIN32
    #define MOTION_CDECL __cdecl
#else
    #define MOTION_CDECL
#endif

#ifndef MOTION_API
    #define MOTION_API(rettype) MOTION_EXTERN_C MOTION_API_EXPORTS rettype MOTION_CDECL
#endif

#ifndef MOTION_IMPL
    #define MOTION_IMPL MOTION_EXTERN_C
#endif

#include "aam_vector.h"
#include "aam_matrix.h"

enum __tag_motion_result
{
    MR_OK                   = 0,
    MR_BASIC_BASE           = 0x7000,
    MR_ERR_INVALID_PARAMS   = (MR_BASIC_BASE+1)
};

typedef long MRReturn;

MOTION_API(MRReturn) mr_recover_alpha_rho(const PAAM_VECTOR pt2dx,
                                          const PAAM_VECTOR pt2dy,
                                          const PAAM_VECTOR vecS0,
                                          const PAAM_MATRIX matSk,
                                          PAAM_VECTOR alpha,
                                          PAAM_VECTOR rho
                                          );

#endif /* _3DFACE_MOTION_RECOVERY_H_ */

Revision: 32144
at September 19, 2010 15:54 by maxint


Initial Code
/************************************************************************/
/* Motion Recovery Module                                               */
/*																		*/
/************************************************************************/

#ifndef _3DFACE_MOTION_RECOVERY_H_
#define _3DFACE_MOTION_RECOVERY_H_

#if (defined WIN32 || defined _WIN32) && defined MOTION_EXPORTS
	#define MOTION_API_EXPORTS __declspec(dllexport)
#else
	#define MOTION_API_EXPORTS
#endif

#ifndef MOTION_EXTERN_C
	#ifdef __cplusplus
		#define MOTION_EXTERN_C extern "C"
	#else
		#define MOTION_EXTERN_C
	#endif
#endif

#if defined WIN32 || defined _WIN32
	#define MOTION_CDECL __cdecl
#else
	#define MOTION_CDECL
#endif

#ifndef MOTION_API
	#define MOTION_API(rettype) MOTION_EXTERN_C MOTION_API_EXPORTS rettype MOTION_CDECL
#endif

#ifndef MOTION_IMPL
	#define MOTION_IMPL MOTION_EXTERN_C
#endif

#include "aam_vector.h"
#include "aam_matrix.h"

enum __tag_motion_result
{
	MR_OK					= 0,
	MR_BASIC_BASE			= 0x7000,
	MR_ERR_INVALID_PARAMS	= (MR_BASIC_BASE+1)
};

typedef long MRReturn;

MOTION_API(MRReturn) mr_recover_alpha_rho(const PAAM_VECTOR pt2dx,
										  const PAAM_VECTOR pt2dy,
										  const PAAM_VECTOR vecS0,
										  const PAAM_MATRIX matSk,
										  PAAM_VECTOR alpha,
										  PAAM_VECTOR rho
										  );

#endif /* _3DFACE_MOTION_RECOVERY_H_ */

Initial URL


Initial Description


Initial Title
C header of C++ implementation

Initial Tags


Initial Language
C++