]> granicus.if.org Git - openjpeg/commitdiff
[trunk]rename j2k_lib to opj_clock
authorMickael Savinaud <savmickael@users.noreply.github.com>
Mon, 15 Oct 2012 12:58:32 +0000 (12:58 +0000)
committerMickael Savinaud <savmickael@users.noreply.github.com>
Mon, 15 Oct 2012 12:58:32 +0000 (12:58 +0000)
src/lib/openjp2/CMakeLists.txt
src/lib/openjp2/opj_clock.c [moved from src/lib/openjp2/j2k_lib.c with 100% similarity]
src/lib/openjp2/opj_clock.h [moved from src/lib/openjp2/j2k_lib.h with 90% similarity]
src/lib/openjp2/opj_includes.h

index 34a5ef3c214394f63ec6572db820ed86dcce6529..3328158836876104713ff846fe5acf4063afc193 100644 (file)
@@ -16,12 +16,12 @@ set(OPENJPEG_SRCS
   ${CMAKE_CURRENT_SOURCE_DIR}/event.c
   ${CMAKE_CURRENT_SOURCE_DIR}/image.c
   ${CMAKE_CURRENT_SOURCE_DIR}/j2k.c
-  ${CMAKE_CURRENT_SOURCE_DIR}/j2k_lib.c
   ${CMAKE_CURRENT_SOURCE_DIR}/jp2.c
   ${CMAKE_CURRENT_SOURCE_DIR}/jpt.c
   ${CMAKE_CURRENT_SOURCE_DIR}/mct.c
   ${CMAKE_CURRENT_SOURCE_DIR}/mqc.c
   ${CMAKE_CURRENT_SOURCE_DIR}/openjpeg.c
+  ${CMAKE_CURRENT_SOURCE_DIR}/opj_clock.c
   ${CMAKE_CURRENT_SOURCE_DIR}/pi.c
   ${CMAKE_CURRENT_SOURCE_DIR}/raw.c
   ${CMAKE_CURRENT_SOURCE_DIR}/t1.c
similarity index 90%
rename from src/lib/openjp2/j2k_lib.h
rename to src/lib/openjp2/opj_clock.h
index 73a14c7dddd14c59aca4d8ed4aa773855d2f7a7d..d3fcec3708ee46a7b9836895361aa76ccfee2d79 100644 (file)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef __J2K_LIB_H
-#define __J2K_LIB_H
+#ifndef __OPJ_CLOCK_H
+#define __OPJ_CLOCK_H
 /**
-@file j2k_lib.h
-@brief Internal functions
+@file opj_clock.h
+@brief Internal function for timing
 
-The functions in J2K_LIB.C are internal utilities mainly used for timing.
+The functions in OPJ_CLOCK.C are internal utilities mainly used for timing.
 */
 
 /** @defgroup MISC MISC - Miscellaneous internal functions */
@@ -50,5 +50,5 @@ OPJ_FLOAT64 opj_clock(void);
 
 /*@}*/
 
-#endif /* __J2K_LIB_H */
+#endif /* __OPJ_CLOCK_H */
 
index a6a846889a6fe812c79a79367933146282435e6a..427bf8b4192210edb707134f8c5c864a7fd724c4 100644 (file)
@@ -146,7 +146,7 @@ static INLINE long lrintf(float f){
 #endif
 
 #include "opj_inttypes.h"
-#include "j2k_lib.h"
+#include "opj_clock.h"
 #include "opj_malloc.h"
 #include "event.h"
 #include "bio.h"