diff --git a/BPTCEncoder/CMakeLists.txt b/BPTCEncoder/CMakeLists.txt index 1e3be77..e24f16c 100644 --- a/BPTCEncoder/CMakeLists.txt +++ b/BPTCEncoder/CMakeLists.txt @@ -1,3 +1,45 @@ +# FasTC +# Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. +# +# Permission to use, copy, modify, and distribute this software and its documentation for educational, +# research, and non-profit purposes, without fee, and without a written agreement is hereby granted, +# provided that the above copyright notice, this paragraph, and the following four paragraphs appear +# in all copies. +# +# Permission to incorporate this software into commercial products may be obtained by contacting the +# authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . +# +# This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. +# The software program and documentation are supplied "as is," without any accompanying services from the +# University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill +# and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The +# end-user understands that the program was developed for research purposes and is advised not to rely +# exclusively on the program for any reason. +# +# IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR +# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE +# USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE +# AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, +# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY +# STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY +# OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, +# ENHANCEMENTS, OR MODIFICATIONS. +# +# Please send all BUG REPORTS to . +# +# The authors may be contacted via: +# +# Pavel Krajcevski +# Dept of Computer Science +# 201 S Columbia St +# Frederick P. Brooks, Jr. Computer Science Bldg +# Chapel Hill, NC 27599-3175 +# USA +# +# + INCLUDE_DIRECTORIES(${TexC_SOURCE_DIR}/Core/include) INCLUDE_DIRECTORIES(${TexC_SOURCE_DIR}/BPTCEncoder/include) diff --git a/BPTCEncoder/config/BC7Config.h.in b/BPTCEncoder/config/BC7Config.h.in index 5ec05ee..b5bbcb3 100644 --- a/BPTCEncoder/config/BC7Config.h.in +++ b/BPTCEncoder/config/BC7Config.h.in @@ -1,5 +1,45 @@ -// Copyright (c) 2012 Pavel Krajcevski -// All Rights Reserved +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ // BC7Config.h.in -- This file contains variables that are introduced // explicitly by the CMake build process. diff --git a/BPTCEncoder/include/BC7Compressor.h b/BPTCEncoder/include/BC7Compressor.h index 4e512da..630d6c5 100755 --- a/BPTCEncoder/include/BC7Compressor.h +++ b/BPTCEncoder/include/BC7Compressor.h @@ -1,3 +1,51 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + +// The original lisence from the code available at the following location: +// http://software.intel.com/en-us/vcsource/samples/fast-texture-compression +// +// This code has been modified significantly from the original. + //-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved diff --git a/BPTCEncoder/src/BC7CompressionMode.h b/BPTCEncoder/src/BC7CompressionMode.h index d261433..0039981 100755 --- a/BPTCEncoder/src/BC7CompressionMode.h +++ b/BPTCEncoder/src/BC7CompressionMode.h @@ -1,3 +1,51 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + +// The original lisence from the code available at the following location: +// http://software.intel.com/en-us/vcsource/samples/fast-texture-compression +// +// This code has been modified significantly from the original. + //-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved diff --git a/BPTCEncoder/src/BC7CompressionModeSIMD.h b/BPTCEncoder/src/BC7CompressionModeSIMD.h index a2c9fed..b0f5603 100755 --- a/BPTCEncoder/src/BC7CompressionModeSIMD.h +++ b/BPTCEncoder/src/BC7CompressionModeSIMD.h @@ -1,3 +1,51 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + +// The original lisence from the code available at the following location: +// http://software.intel.com/en-us/vcsource/samples/fast-texture-compression +// +// This code has been modified significantly from the original. + //-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved diff --git a/BPTCEncoder/src/BC7Compressor.cpp b/BPTCEncoder/src/BC7Compressor.cpp index 47798ae..2985e4b 100755 --- a/BPTCEncoder/src/BC7Compressor.cpp +++ b/BPTCEncoder/src/BC7Compressor.cpp @@ -1,3 +1,51 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + +// The original lisence from the code available at the following location: +// http://software.intel.com/en-us/vcsource/samples/fast-texture-compression +// +// This code has been modified significantly from the original. + //-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved diff --git a/BPTCEncoder/src/BC7CompressorSIMD.cpp b/BPTCEncoder/src/BC7CompressorSIMD.cpp index a060fa2..6d7c30e 100755 --- a/BPTCEncoder/src/BC7CompressorSIMD.cpp +++ b/BPTCEncoder/src/BC7CompressorSIMD.cpp @@ -1,3 +1,51 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + +// The original lisence from the code available at the following location: +// http://software.intel.com/en-us/vcsource/samples/fast-texture-compression +// +// This code has been modified significantly from the original. + //-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved diff --git a/BPTCEncoder/src/BCLookupTables.h b/BPTCEncoder/src/BCLookupTables.h index 37ec72b..3354ebb 100755 --- a/BPTCEncoder/src/BCLookupTables.h +++ b/BPTCEncoder/src/BCLookupTables.h @@ -1,3 +1,51 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + +// The original lisence from the code available at the following location: +// http://software.intel.com/en-us/vcsource/samples/fast-texture-compression +// +// This code has been modified significantly from the original. + //-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved @@ -942,4 +990,4 @@ static unsigned char Optimal6CompressDXT1[256][2][3] = { { { 1, 0x3e, 0x3f }, { 0, 0x3e, 0x3f } }, { { 0, 0x3f, 0x3f }, { 1, 0x3e, 0x3f } }, { { 0, 0x3f, 0x3f }, { 1, 0x3f, 0x3f } } -}; \ No newline at end of file +}; diff --git a/BPTCEncoder/src/BitStream.h b/BPTCEncoder/src/BitStream.h index d3975ae..01fb92a 100755 --- a/BPTCEncoder/src/BitStream.h +++ b/BPTCEncoder/src/BitStream.h @@ -1,3 +1,51 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + +// The original lisence from the code available at the following location: +// http://software.intel.com/en-us/vcsource/samples/fast-texture-compression +// +// This code has been modified significantly from the original. + //-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved @@ -112,4 +160,4 @@ private: int m_NextBit; const unsigned char *m_CurByte; }; -#endif //__BITSTREAM_H__ \ No newline at end of file +#endif //__BITSTREAM_H__ diff --git a/BPTCEncoder/src/RGBAEndpoints.cpp b/BPTCEncoder/src/RGBAEndpoints.cpp index 6a02713..452bf11 100755 --- a/BPTCEncoder/src/RGBAEndpoints.cpp +++ b/BPTCEncoder/src/RGBAEndpoints.cpp @@ -1,3 +1,51 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + +// The original lisence from the code available at the following location: +// http://software.intel.com/en-us/vcsource/samples/fast-texture-compression +// +// This code has been modified significantly from the original. + //-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved diff --git a/BPTCEncoder/src/RGBAEndpoints.h b/BPTCEncoder/src/RGBAEndpoints.h index dcecd32..253a09c 100755 --- a/BPTCEncoder/src/RGBAEndpoints.h +++ b/BPTCEncoder/src/RGBAEndpoints.h @@ -1,3 +1,51 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + +// The original lisence from the code available at the following location: +// http://software.intel.com/en-us/vcsource/samples/fast-texture-compression +// +// This code has been modified significantly from the original. + //-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved diff --git a/BPTCEncoder/src/RGBAEndpointsSIMD.cpp b/BPTCEncoder/src/RGBAEndpointsSIMD.cpp index efe16ff..c187326 100755 --- a/BPTCEncoder/src/RGBAEndpointsSIMD.cpp +++ b/BPTCEncoder/src/RGBAEndpointsSIMD.cpp @@ -1,3 +1,51 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + +// The original lisence from the code available at the following location: +// http://software.intel.com/en-us/vcsource/samples/fast-texture-compression +// +// This code has been modified significantly from the original. + //-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved diff --git a/BPTCEncoder/src/RGBAEndpointsSIMD.h b/BPTCEncoder/src/RGBAEndpointsSIMD.h index 1b99ce3..a83176f 100755 --- a/BPTCEncoder/src/RGBAEndpointsSIMD.h +++ b/BPTCEncoder/src/RGBAEndpointsSIMD.h @@ -1,3 +1,51 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + +// The original lisence from the code available at the following location: +// http://software.intel.com/en-us/vcsource/samples/fast-texture-compression +// +// This code has been modified significantly from the original. + //-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved diff --git a/CLTool/CMakeLists.txt b/CLTool/CMakeLists.txt index 22278ff..7712500 100644 --- a/CLTool/CMakeLists.txt +++ b/CLTool/CMakeLists.txt @@ -1,3 +1,44 @@ +# FasTC +# Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. +# +# Permission to use, copy, modify, and distribute this software and its documentation for educational, +# research, and non-profit purposes, without fee, and without a written agreement is hereby granted, +# provided that the above copyright notice, this paragraph, and the following four paragraphs appear +# in all copies. +# +# Permission to incorporate this software into commercial products may be obtained by contacting the +# authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . +# +# This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. +# The software program and documentation are supplied "as is," without any accompanying services from the +# University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill +# and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The +# end-user understands that the program was developed for research purposes and is advised not to rely +# exclusively on the program for any reason. +# +# IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR +# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE +# USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE +# AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, +# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY +# STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY +# OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, +# ENHANCEMENTS, OR MODIFICATIONS. +# +# Please send all BUG REPORTS to . +# +# The authors may be contacted via: +# +# Pavel Krajcevski +# Dept of Computer Science +# 201 S Columbia St +# Frederick P. Brooks, Jr. Computer Science Bldg +# Chapel Hill, NC 27599-3175 +# USA +# +# IF( MSVC ) SET( SOURCES "src/clwin32.cpp" ) diff --git a/CLTool/src/clunix.cpp b/CLTool/src/clunix.cpp index 28a825c..18d0da2 100644 --- a/CLTool/src/clunix.cpp +++ b/CLTool/src/clunix.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include #include #include diff --git a/CLTool/src/clwin32.cpp b/CLTool/src/clwin32.cpp index 202de88..e5f7a4c 100644 --- a/CLTool/src/clwin32.cpp +++ b/CLTool/src/clwin32.cpp @@ -1,3 +1,45 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ int main(int argc, char **argv) { } diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ae33ad..5dffcf0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,45 @@ +# FasTC +# Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. +# +# Permission to use, copy, modify, and distribute this software and its documentation for educational, +# research, and non-profit purposes, without fee, and without a written agreement is hereby granted, +# provided that the above copyright notice, this paragraph, and the following four paragraphs appear +# in all copies. +# +# Permission to incorporate this software into commercial products may be obtained by contacting the +# authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . +# +# This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. +# The software program and documentation are supplied "as is," without any accompanying services from the +# University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill +# and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The +# end-user understands that the program was developed for research purposes and is advised not to rely +# exclusively on the program for any reason. +# +# IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR +# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE +# USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE +# AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, +# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY +# STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY +# OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, +# ENHANCEMENTS, OR MODIFICATIONS. +# +# Please send all BUG REPORTS to . +# +# The authors may be contacted via: +# +# Pavel Krajcevski +# Dept of Computer Science +# 201 S Columbia St +# Frederick P. Brooks, Jr. Computer Science Bldg +# Chapel Hill, NC 27599-3175 +# USA +# +# + CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR) PROJECT(TexC) diff --git a/Core/CMakeLists.txt b/Core/CMakeLists.txt index 9ad6d03..c7d4bc1 100644 --- a/Core/CMakeLists.txt +++ b/Core/CMakeLists.txt @@ -1,3 +1,44 @@ +# FasTC +# Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. +# +# Permission to use, copy, modify, and distribute this software and its documentation for educational, +# research, and non-profit purposes, without fee, and without a written agreement is hereby granted, +# provided that the above copyright notice, this paragraph, and the following four paragraphs appear +# in all copies. +# +# Permission to incorporate this software into commercial products may be obtained by contacting the +# authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . +# +# This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. +# The software program and documentation are supplied "as is," without any accompanying services from the +# University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill +# and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The +# end-user understands that the program was developed for research purposes and is advised not to rely +# exclusively on the program for any reason. +# +# IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR +# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE +# USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE +# AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, +# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY +# STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY +# OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, +# ENHANCEMENTS, OR MODIFICATIONS. +# +# Please send all BUG REPORTS to . +# +# The authors may be contacted via: +# +# Pavel Krajcevski +# Dept of Computer Science +# 201 S Columbia St +# Frederick P. Brooks, Jr. Computer Science Bldg +# Chapel Hill, NC 27599-3175 +# USA +# +# SET( SOURCES "src/TexComp.cpp" diff --git a/Core/include/BlockStats.h b/Core/include/BlockStats.h index 7cea424..af1c63b 100644 --- a/Core/include/BlockStats.h +++ b/Core/include/BlockStats.h @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef __BLOCK_STATS_H__ #define __BLOCK_STATS_H__ diff --git a/Core/include/CompressedImage.h b/Core/include/CompressedImage.h index 68b7feb..378ef21 100644 --- a/Core/include/CompressedImage.h +++ b/Core/include/CompressedImage.h @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef _COMPRESSED_IMAGE_H_ #define _COMPRESSED_IMAGE_H_ diff --git a/Core/include/Image.h b/Core/include/Image.h index 1afe510..7d7f9f9 100644 --- a/Core/include/Image.h +++ b/Core/include/Image.h @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef __TEXCOMP_IMAGE_H__ #define __TEXCOMP_IMAGE_H__ diff --git a/Core/include/ReferenceCounter.h b/Core/include/ReferenceCounter.h index 85c1f8f..0982d34 100644 --- a/Core/include/ReferenceCounter.h +++ b/Core/include/ReferenceCounter.h @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef __REFERENCE_COUNTER_H__ #define __REFERENCE_COUNTER_H__ diff --git a/Core/include/TexComp.h b/Core/include/TexComp.h index 4661797..222fa52 100644 --- a/Core/include/TexComp.h +++ b/Core/include/TexComp.h @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef _TEX_COMP_H_ #define _TEX_COMP_H_ diff --git a/Core/include/TexCompTypes.h b/Core/include/TexCompTypes.h index 9e26fa9..d6f5946 100644 --- a/Core/include/TexCompTypes.h +++ b/Core/include/TexCompTypes.h @@ -1,5 +1,45 @@ -// Copyright 2012 (c) Pavel Krajcevski -// BC7IntTypes.h +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ // This file contains all of the various platform definitions for fixed width integers // on various platforms. diff --git a/Core/include/Thread.h b/Core/include/Thread.h index b7435e1..2d90d17 100644 --- a/Core/include/Thread.h +++ b/Core/include/Thread.h @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef __TEX_COMP_THREAD_H__ #define __TEX_COMP_THREAD_H__ diff --git a/Core/src/BlockStats.cpp b/Core/src/BlockStats.cpp index 11a6f09..72a3ed6 100644 --- a/Core/src/BlockStats.cpp +++ b/Core/src/BlockStats.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "BlockStats.h" #include diff --git a/Core/src/CompressedImage.cpp b/Core/src/CompressedImage.cpp index 3404aeb..64b8a4d 100644 --- a/Core/src/CompressedImage.cpp +++ b/Core/src/CompressedImage.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "CompressedImage.h" #include diff --git a/Core/src/Image.cpp b/Core/src/Image.cpp index 66d516b..0884f71 100644 --- a/Core/src/Image.cpp +++ b/Core/src/Image.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "Image.h" #include "ImageLoader.h" diff --git a/Core/src/StopWatch.h b/Core/src/StopWatch.h index d3ab97e..53d939d 100755 --- a/Core/src/StopWatch.h +++ b/Core/src/StopWatch.h @@ -1,5 +1,50 @@ -#ifndef __TEXCOMP_STOP_WATCH_H__ -#define __TEXCOMP_STOP_WATCH_H__ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + +// The original lisence from the code available at the following location: +// http://software.intel.com/en-us/vcsource/samples/fast-texture-compression +// +// This code has been modified significantly from the original. //-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation @@ -18,6 +63,9 @@ // //-------------------------------------------------------------------------------------- +#ifndef __TEXCOMP_STOP_WATCH_H__ +#define __TEXCOMP_STOP_WATCH_H__ + // Forward declare the private implementation of the class that will actually implement // the timing features. This class is defined in each module depending on the platform... class StopWatchImpl; diff --git a/Core/src/StopWatchOSX.cpp b/Core/src/StopWatchOSX.cpp index fda23cc..7980cec 100644 --- a/Core/src/StopWatchOSX.cpp +++ b/Core/src/StopWatchOSX.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "StopWatch.h" #include "TexCompTypes.h" diff --git a/Core/src/StopWatchUnix.cpp b/Core/src/StopWatchUnix.cpp index e9f8765..1e1d98b 100644 --- a/Core/src/StopWatchUnix.cpp +++ b/Core/src/StopWatchUnix.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "StopWatch.h" #include "TexCompTypes.h" diff --git a/Core/src/StopWatchWin32.cpp b/Core/src/StopWatchWin32.cpp index bace45c..a8701f4 100755 --- a/Core/src/StopWatchWin32.cpp +++ b/Core/src/StopWatchWin32.cpp @@ -1,3 +1,51 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + +// The original lisence from the code available at the following location: +// http://software.intel.com/en-us/vcsource/samples/fast-texture-compression +// +// This code has been modified significantly from the original. + //-------------------------------------------------------------------------------------- // Copyright 2011 Intel Corporation // All Rights Reserved diff --git a/Core/src/TexComp.cpp b/Core/src/TexComp.cpp index a06951e..243ee1a 100644 --- a/Core/src/TexComp.cpp +++ b/Core/src/TexComp.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "TexComp.h" #include diff --git a/Core/src/Thread.cpp b/Core/src/Thread.cpp index cb39052..59eade2 100644 --- a/Core/src/Thread.cpp +++ b/Core/src/Thread.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "Thread.h" #include diff --git a/Core/src/ThreadBoost.cpp b/Core/src/ThreadBoost.cpp index 9c7dcc9..531e63a 100644 --- a/Core/src/ThreadBoost.cpp +++ b/Core/src/ThreadBoost.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "Thread.h" #include diff --git a/Core/src/ThreadGroup.cpp b/Core/src/ThreadGroup.cpp index d76a116..0654b61 100644 --- a/Core/src/ThreadGroup.cpp +++ b/Core/src/ThreadGroup.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "ThreadGroup.h" #include "BC7Compressor.h" diff --git a/Core/src/ThreadGroup.h b/Core/src/ThreadGroup.h index 03ee39a..46571cb 100644 --- a/Core/src/ThreadGroup.h +++ b/Core/src/ThreadGroup.h @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef _THREAD_GROUP_H_ #define _THREAD_GROUP_H_ diff --git a/Core/src/ThreadPThread.cpp b/Core/src/ThreadPThread.cpp index 2564ab6..d52cb72 100644 --- a/Core/src/ThreadPThread.cpp +++ b/Core/src/ThreadPThread.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "Thread.h" #include diff --git a/Core/src/WorkerQueue.cpp b/Core/src/WorkerQueue.cpp index f8a3c23..44d41a6 100644 --- a/Core/src/WorkerQueue.cpp +++ b/Core/src/WorkerQueue.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "WorkerQueue.h" #include diff --git a/Core/src/WorkerQueue.h b/Core/src/WorkerQueue.h index 3a13546..49dbec9 100644 --- a/Core/src/WorkerQueue.h +++ b/Core/src/WorkerQueue.h @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef __TEXCOMP_WORKDER_QUEUE_H__ #define __TEXCOMP_WORKDER_QUEUE_H__ diff --git a/IO/CMakeLists.txt b/IO/CMakeLists.txt index 0d24cfb..27a9079 100644 --- a/IO/CMakeLists.txt +++ b/IO/CMakeLists.txt @@ -1,3 +1,44 @@ +# FasTC +# Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. +# +# Permission to use, copy, modify, and distribute this software and its documentation for educational, +# research, and non-profit purposes, without fee, and without a written agreement is hereby granted, +# provided that the above copyright notice, this paragraph, and the following four paragraphs appear +# in all copies. +# +# Permission to incorporate this software into commercial products may be obtained by contacting the +# authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . +# +# This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. +# The software program and documentation are supplied "as is," without any accompanying services from the +# University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill +# and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The +# end-user understands that the program was developed for research purposes and is advised not to rely +# exclusively on the program for any reason. +# +# IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR +# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE +# USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE +# AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, +# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY +# STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY +# OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, +# ENHANCEMENTS, OR MODIFICATIONS. +# +# Please send all BUG REPORTS to . +# +# The authors may be contacted via: +# +# Pavel Krajcevski +# Dept of Computer Science +# 201 S Columbia St +# Frederick P. Brooks, Jr. Computer Science Bldg +# Chapel Hill, NC 27599-3175 +# USA +# +# SET( SOURCES "src/ImageWriter.cpp" diff --git a/IO/config/ImageLoader.h.in b/IO/config/ImageLoader.h.in index 20c102f..9da8400 100644 --- a/IO/config/ImageLoader.h.in +++ b/IO/config/ImageLoader.h.in @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef _IMAGE_LOADER_H_ #define _IMAGE_LOADER_H_ diff --git a/IO/config/ImageWriter.h.in b/IO/config/ImageWriter.h.in index 7253442..24d1982 100644 --- a/IO/config/ImageWriter.h.in +++ b/IO/config/ImageWriter.h.in @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef _IMAGE_WRITER_H_ #define _IMAGE_WRITER_H_ diff --git a/IO/include/FileStream.h b/IO/include/FileStream.h index 0d66528..0ec588f 100644 --- a/IO/include/FileStream.h +++ b/IO/include/FileStream.h @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef __FILE_STREAM_H__ #define __FILE_STREAM_H__ diff --git a/IO/include/ImageFile.h b/IO/include/ImageFile.h index 94d3113..143b319 100644 --- a/IO/include/ImageFile.h +++ b/IO/include/ImageFile.h @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef _IMAGE_FILE_H_ #define _IMAGE_FILE_H_ diff --git a/IO/include/ImageFileFormat.h b/IO/include/ImageFileFormat.h index ab9a9ca..330506d 100644 --- a/IO/include/ImageFileFormat.h +++ b/IO/include/ImageFileFormat.h @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef _IMAGE_FILE_FORMAT_H_ #define _IMAGE_FILE_FORMAT_H_ diff --git a/IO/src/FileStream.cpp b/IO/src/FileStream.cpp index 085e6ab..3b881f7 100644 --- a/IO/src/FileStream.cpp +++ b/IO/src/FileStream.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "FileStream.h" #include diff --git a/IO/src/ImageFile.cpp b/IO/src/ImageFile.cpp index 6451bfc..d919b24 100644 --- a/IO/src/ImageFile.cpp +++ b/IO/src/ImageFile.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "ImageFile.h" #include diff --git a/IO/src/ImageLoader.cpp b/IO/src/ImageLoader.cpp index d1050e5..af1caa4 100644 --- a/IO/src/ImageLoader.cpp +++ b/IO/src/ImageLoader.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "ImageLoader.h" #include diff --git a/IO/src/ImageLoaderPNG.cpp b/IO/src/ImageLoaderPNG.cpp index bfefedd..dc298a7 100644 --- a/IO/src/ImageLoaderPNG.cpp +++ b/IO/src/ImageLoaderPNG.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "ImageLoaderPNG.h" #include diff --git a/IO/src/ImageLoaderPNG.h b/IO/src/ImageLoaderPNG.h index 209f17e..c1532a6 100644 --- a/IO/src/ImageLoaderPNG.h +++ b/IO/src/ImageLoaderPNG.h @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef _IMAGE_LOADER_PNG_H_ #define _IMAGE_LOADER_PNG_H_ diff --git a/IO/src/ImageWriter.cpp b/IO/src/ImageWriter.cpp index cb648b6..a01ec50 100644 --- a/IO/src/ImageWriter.cpp +++ b/IO/src/ImageWriter.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "ImageWriter.h" uint32 ImageWriter::GetChannelForPixel(uint32 x, uint32 y, uint32 ch) { diff --git a/IO/src/ImageWriterPNG.cpp b/IO/src/ImageWriterPNG.cpp index 3b97442..0fbed87 100644 --- a/IO/src/ImageWriterPNG.cpp +++ b/IO/src/ImageWriterPNG.cpp @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #include "ImageWriterPNG.h" #include diff --git a/IO/src/ImageWriterPNG.h b/IO/src/ImageWriterPNG.h index c5dda26..7899817 100644 --- a/IO/src/ImageWriterPNG.h +++ b/IO/src/ImageWriterPNG.h @@ -1,3 +1,46 @@ +/* FasTC + * Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software and its documentation for educational, + * research, and non-profit purposes, without fee, and without a written agreement is hereby granted, + * provided that the above copyright notice, this paragraph, and the following four paragraphs appear + * in all copies. + * + * Permission to incorporate this software into commercial products may be obtained by contacting the + * authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . + * + * This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. + * The software program and documentation are supplied "as is," without any accompanying services from the + * University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill + * and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The + * end-user understands that the program was developed for research purposes and is advised not to rely + * exclusively on the program for any reason. + * + * IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE + * USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE + * AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY + * STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY + * OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, + * ENHANCEMENTS, OR MODIFICATIONS. + * + * Please send all BUG REPORTS to . + * + * The authors may be contacted via: + * + * Pavel Krajcevski + * Dept of Computer Science + * 201 S Columbia St + * Frederick P. Brooks, Jr. Computer Science Bldg + * Chapel Hill, NC 27599-3175 + * USA + * + * + */ + #ifndef _IMAGE_WRITER_PNG_H_ #define _IMAGE_WRITER_PNG_H_ diff --git a/QtGUI/CMakeLists.txt b/QtGUI/CMakeLists.txt index e69de29..9d13dc4 100644 --- a/QtGUI/CMakeLists.txt +++ b/QtGUI/CMakeLists.txt @@ -0,0 +1,41 @@ +# FasTC +# Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved. +# +# Permission to use, copy, modify, and distribute this software and its documentation for educational, +# research, and non-profit purposes, without fee, and without a written agreement is hereby granted, +# provided that the above copyright notice, this paragraph, and the following four paragraphs appear +# in all copies. +# +# Permission to incorporate this software into commercial products may be obtained by contacting the +# authors or the Office of Technology Development at the University of North Carolina at Chapel Hill . +# +# This software program and documentation are copyrighted by the University of North Carolina at Chapel Hill. +# The software program and documentation are supplied "as is," without any accompanying services from the +# University of North Carolina at Chapel Hill or the authors. The University of North Carolina at Chapel Hill +# and the authors do not warrant that the operation of the program will be uninterrupted or error-free. The +# end-user understands that the program was developed for research purposes and is advised not to rely +# exclusively on the program for any reason. +# +# IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE AUTHORS BE LIABLE TO ANY PARTY FOR +# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE +# USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL OR THE +# AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# THE UNIVERSITY OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, +# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND ANY +# STATUTORY WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY +# OF NORTH CAROLINA AT CHAPEL HILL AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, +# ENHANCEMENTS, OR MODIFICATIONS. +# +# Please send all BUG REPORTS to . +# +# The authors may be contacted via: +# +# Pavel Krajcevski +# Dept of Computer Science +# 201 S Columbia St +# Frederick P. Brooks, Jr. Computer Science Bldg +# Chapel Hill, NC 27599-3175 +# USA +# +#