1 /* Copyright - Benjamin Laugraud <blaugraud@ulg.ac.be> - 2016
2 * Copyright - Marc Van Droogenbroeck <m.vandroogenbroeck@ulg.ac.be> - 2016
4 * ViBe is covered by a patent (see http://www.telecom.ulg.ac.be/research/vibe).
6 * Permission to use ViBe without payment of fee is granted for nonprofit
7 * educational and research purposes only.
9 * This work may not be copied or reproduced in whole or in part for any
12 * Copying, reproduction, or republishing for any purpose shall require a
13 * license. Please contact the authors in such cases. All the code is provided
14 * without any guarantee.
18 @file ViBeTemplateBase.t
21 @author Benjamin Laungraud and Marc Van Droogenbroeck
26 #ifdef _LIB_VIBE_XX_COMMON_VIBE_TEMPLATE_BASE_H_
28 /* ========================================================================== *
30 * ========================================================================== */
32 template <class Derived>
33 ViBeTemplateBase<Derived>::ViBeTemplateBase(
46 /******************************************************************************/
48 template <class Derived>
49 inline void ViBeTemplateBase<Derived>::segmentation(
50 const uint8_t* buffer,
51 uint8_t* segmentationMap
53 static_cast<Derived*>(this)->_CRTP_segmentation(buffer, segmentationMap);
56 /******************************************************************************/
58 template <class Derived>
59 inline void ViBeTemplateBase<Derived>::update(
60 const uint8_t* buffer,
63 static_cast<Derived*>(this)->_CRTP_update(buffer, updatingMask);
66 #endif /* _LIB_VIBE_XX_COMMON_VIBE_TEMPLATE_BASE_H_ */