[xiph-commits] r7401 - trunk/oggdsf/src/lib/helper/libilliCore

illiminable at dactyl.lonelymoon.com illiminable
Wed Jul 28 12:09:46 PDT 2004


Author: illiminable
Date: Wed Jul 28 12:09:46 2004
New Revision: 7401

Removed:
trunk/oggdsf/src/lib/helper/libilliCore/FLACMath.cpp
trunk/oggdsf/src/lib/helper/libilliCore/FLACMath.h
trunk/oggdsf/src/lib/helper/libilliCore/OggMath.cpp
trunk/oggdsf/src/lib/helper/libilliCore/OggMath.h
Log:
* Removed some files.

Deleted: trunk/oggdsf/src/lib/helper/libilliCore/FLACMath.cpp
===================================================================
--- trunk/oggdsf/src/lib/helper/libilliCore/FLACMath.cpp	2004-07-28 19:08:26 UTC (rev 7400)
+++ trunk/oggdsf/src/lib/helper/libilliCore/FLACMath.cpp	2004-07-28 19:09:45 UTC (rev 7401)
@@ -1,69 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-//  notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-//  notice, this list of conditions and the following disclaimer in the
-//  documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-//  may be used to endorse or promote products derived from this software
-//  without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#include "StdAfx.h"
-#include "flacmath.h"
-
-FLACMath::FLACMath(void)
-{
-}
-
-FLACMath::~FLACMath(void)
-{
-}
-
-unsigned long FLACMath::charArrToULong(unsigned char* inCharArray)
-{
-	//Turns the next four bytes from the pointer in a long MSB (most sig. byte first/leftmost)
-	unsigned long locVal = 0;
-	for (int i = 0; i < 4; i++) {
-		locVal <<= 8;
-		locVal += inCharArray[i];
-	}
-	return locVal;
-}
-void FLACMath::ULongToCharArr(unsigned long inLong, unsigned char* outCharArray)
-{
-	//Writes a long MSB (Most sig. byte first/leftmost) out to the char arr
-	unsigned long locLong = inLong;
-	outCharArray[0] = (unsigned char) (inLong >> 24);
-	outCharArray[1] = (unsigned char) ((inLong << 8) >> 24);
-	outCharArray[2] = (unsigned char) ((inLong << 16) >> 24);
-	outCharArray[3] = (unsigned char) ((inLong << 24) >> 24);
-
-}
-
-unsigned short FLACMath::charArrToUShort(unsigned char* inCharArray) {
-	unsigned short retShort = inCharArray[0];
-	retShort = (retShort << 8) + inCharArray[1];
-	return retShort;
-
-}
\ No newline at end of file

Deleted: trunk/oggdsf/src/lib/helper/libilliCore/FLACMath.h
===================================================================
--- trunk/oggdsf/src/lib/helper/libilliCore/FLACMath.h	2004-07-28 19:08:26 UTC (rev 7400)
+++ trunk/oggdsf/src/lib/helper/libilliCore/FLACMath.h	2004-07-28 19:09:45 UTC (rev 7401)
@@ -1,43 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-//  notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-//  notice, this list of conditions and the following disclaimer in the
-//  documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-//  may be used to endorse or promote products derived from this software
-//  without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#pragma once
-
-class LIBOOOGG_API FLACMath
-{
-public:
-	FLACMath(void);
-	~FLACMath(void);
-	static 	unsigned long charArrToULong(unsigned char* inCharArray);
-	static void ULongToCharArr(unsigned long inLong, unsigned char* outCharArray);
-	static unsigned short charArrToUShort(unsigned char* inCharArray);
-
-};

Deleted: trunk/oggdsf/src/lib/helper/libilliCore/OggMath.cpp
===================================================================
--- trunk/oggdsf/src/lib/helper/libilliCore/OggMath.cpp	2004-07-28 19:08:26 UTC (rev 7400)
+++ trunk/oggdsf/src/lib/helper/libilliCore/OggMath.cpp	2004-07-28 19:09:45 UTC (rev 7401)
@@ -1,79 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-//  notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-//  notice, this list of conditions and the following disclaimer in the
-//  documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-//  may be used to endorse or promote products derived from this software
-//  without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#include "StdAfx.h"
-#include ".\oggmath.h"
-
-OggMath::OggMath(void)
-{
-}
-
-OggMath::~OggMath(void)
-{
-}
-
-unsigned long OggMath::charArrToULong(const unsigned char* inCharArray)
-{
-	//Turns the next four bytes from the pointer in a long LSB (least sig. byte first/leftmost)
-	unsigned long locVal = 0;
-	for (int i = 3; i >= 0; i--) {
-		locVal <<= 8;
-		locVal += inCharArray[i];
-	}
-	return locVal;
-}
-void OggMath::ULongToCharArr(unsigned long inLong, unsigned char* outCharArray)
-{
-	//Writes a long LSB (least sig. byte first/leftmost) out to the char arr
-
-	outCharArray[3] = (unsigned char) (inLong >> 24);
-	outCharArray[2] = (unsigned char) ((inLong << 8) >> 24);
-	outCharArray[1] = (unsigned char) ((inLong << 16) >> 24);
-	outCharArray[0] = (unsigned char) ((inLong << 24) >> 24);
-
-}
-
-__int64 OggMath::CharArrToInt64(const unsigned char* inCharArray) {
-	__int64 locData = 0;
-
-	for (int i = 7; i >= 0; i--) {
-		locData <<= 8;
-		locData += inCharArray[i];
-	}
-	return locData;
-}
-
-void OggMath::Int64ToCharArr(__int64 inInt64, unsigned char* outCharArray) {
-	for (unsigned char i = 0; i < 8; i++) {
-		//This way sux !
-		outCharArray[i] = (unsigned char)((inInt64 << ((7 - i) * 8)) >> 56);
-	}
-}
\ No newline at end of file

Deleted: trunk/oggdsf/src/lib/helper/libilliCore/OggMath.h
===================================================================
--- trunk/oggdsf/src/lib/helper/libilliCore/OggMath.h	2004-07-28 19:08:26 UTC (rev 7400)
+++ trunk/oggdsf/src/lib/helper/libilliCore/OggMath.h	2004-07-28 19:09:45 UTC (rev 7401)
@@ -1,46 +0,0 @@
-//===========================================================================
-//Copyright (C) 2003, 2004 Zentaro Kavanagh
-//
-//Redistribution and use in source and binary forms, with or without
-//modification, are permitted provided that the following conditions
-//are met:
-//
-//- Redistributions of source code must retain the above copyright
-//  notice, this list of conditions and the following disclaimer.
-//
-//- Redistributions in binary form must reproduce the above copyright
-//  notice, this list of conditions and the following disclaimer in the
-//  documentation and/or other materials provided with the distribution.
-//
-//- Neither the name of Zentaro Kavanagh nor the names of contributors
-//  may be used to endorse or promote products derived from this software
-//  without specific prior written permission.
-//
-//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-//PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE ORGANISATION OR
-//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//===========================================================================
-
-#pragma once
-
-class LIBOOOGG_API OggMath
-{
-public:
-	OggMath(void);
-	~OggMath(void);
-	static 	unsigned long charArrToULong(const unsigned char* inCharArray);
-	static void ULongToCharArr(unsigned long inLong, unsigned char* outCharArray);
-	static __int64 CharArrToInt64(const unsigned char* inCharArray);
-	static void Int64ToCharArr(__int64 inInt64, unsigned char* outCharArray);
-
-
-
-};



More information about the commits mailing list