Commit b45ca3103e379640e4291ce782a9dbbc78f22d36

Authored by Josh Klontz
1 parent 4f221119

lmat ==> lm

openbr/plugins/cmake/likely.cmake
... ... @@ -5,6 +5,6 @@ if(${BR_WITH_LIKELY})
5 5 set(BR_THIRDPARTY_LIBS ${BR_THIRDPARTY_LIBS} ${Likely_LIBS})
6 6 else()
7 7 set(BR_EXCLUDED_PLUGINS ${BR_EXCLUDED_PLUGINS} plugins/core/likely.cpp)
8   - set(BR_EXCLUDED_PLUGINS ${BR_EXCLUDED_PLUGINS} plugins/format/lmat.cpp)
9   - set(BR_EXCLUDED_PLUGINS ${BR_EXCLUDED_PLUGINS} plugins/gallery/lmat.cpp)
  8 + set(BR_EXCLUDED_PLUGINS ${BR_EXCLUDED_PLUGINS} plugins/format/lm.cpp)
  9 + set(BR_EXCLUDED_PLUGINS ${BR_EXCLUDED_PLUGINS} plugins/gallery/lm.cpp)
10 10 endif()
... ...
openbr/plugins/format/lmat.cpp renamed to openbr/plugins/format/lm.cpp
... ... @@ -13,7 +13,7 @@ namespace br
13 13 * www.liblikely.org
14 14 * \author Josh Klontz \cite jklontz
15 15 */
16   -class lmatFormat : public Format
  16 +class lmFormat : public Format
17 17 {
18 18 Q_OBJECT
19 19  
... ... @@ -33,8 +33,8 @@ class lmatFormat : public Format
33 33 }
34 34 };
35 35  
36   -BR_REGISTER(Format, lmatFormat)
  36 +BR_REGISTER(Format, lmFormat)
37 37  
38 38 } // namespace br
39 39  
40   -#include "format/lmat.moc"
  40 +#include "format/lm.moc"
... ...
openbr/plugins/gallery/lmat.cpp renamed to openbr/plugins/gallery/lm.cpp
... ... @@ -14,12 +14,12 @@ namespace br
14 14 * www.liblikely.org
15 15 * \author Josh Klontz \cite jklontz
16 16 */
17   -class lmatGallery : public Gallery
  17 +class lmGallery : public Gallery
18 18 {
19 19 Q_OBJECT
20 20 QList<cv::Mat> mats;
21 21  
22   - ~lmatGallery()
  22 + ~lmGallery()
23 23 {
24 24 const likely_const_mat m = likelyFromOpenCVMat(OpenCVUtils::toMatByRow(mats));
25 25 likely_write(m, qPrintable(file.name));
... ... @@ -38,8 +38,8 @@ class lmatGallery : public Gallery
38 38 }
39 39 };
40 40  
41   -BR_REGISTER(Gallery, lmatGallery)
  41 +BR_REGISTER(Gallery, lmGallery)
42 42  
43 43 } // namespace br
44 44  
45   -#include "gallery/lmat.moc"
  45 +#include "gallery/lm.moc"
... ...