H.261 XAnim Video Decompression DLL 1) Copyright and Licensing Notice This code is derived from the VIC H261 code which was in turn derived from P64 code. The first copyright is from VIC. The 2nd is from P64. *---------------------------------------------------------------------- * Copyright (c) 1993-1995 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. 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. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the Network Research * Group at Lawrence Berkeley National Laboratory. * 4. Neither the name of the University nor of the Laboratory may be used * to endorse or promote products derived from this software without * specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. *---------------------------------------------------------------------- * This code is derived from the P64 software implementation by the * Stanford PVRG group: * * Copyright (C) 1990, 1991, 1993 Andy C. Hung, all rights reserved. * PUBLIC DOMAIN LICENSE: Stanford University Portable Video Research * Group. If you use this software, you agree to the following: This * program package is purely experimental, and is licensed "as is". * Permission is granted to use, modify, and distribute this program * without charge for any purpose, provided this license/ disclaimer * notice appears in the copies. No warranty or maintenance is given, * either expressed or implied. In no event shall the author(s) be * liable to you or a third party for any special, incidental, * consequential, or other damages, arising out of the use or inability * to use the program for any purpose (or the loss of data), even if we * have been advised of such possibilities. Any public reference or * advertisement of this source code should refer to it as the Portable * Video Research Group (PVRG) code, and not by any author(s) (or * Stanford University) name. *---------------------------------------------------------------------- And now for my disclaimors: WARRANTY: This Software is provided "AS IS". There are no warranties of any kind either express or implied including warranties of merchantability or fitness for any particular purpose. LIMITATION OF LIABILITY: In addition to all above statements, the Author(below) shall not be liable for any loss of profits, loss of use, loss of data, interruptions of business, nor for indirect, special, incidental or consequential damages of any kind whether under this agreement or otherwise, even if advised of the possibility of such damages. DEFINITIONS: Software: H.261 XAnim Video Decompression DLL precompiled for various machine/OS combinations. Author: Mark Podlipec (podlipec@ici.net) Wrote XAnim dll wrapper and some amount of hacking/ripping to extract the pieces I needed. 2) Description This module will allow XAnim 2.80.0 or later to view the video content of AVI files that are using the following video codecs: CCITT H.261 H261 3) Uncompressing Already done if you are reading this. 4) Installing You should now have two files. This readme file and another file that ends in a ".xa" (from now on I'm referring to this file as the .XA file). 1) Create the directory "/usr/local/xanim/mods" if it doesn't already exist 2) Move or copy the .XA file into that directory. NOTE: You can use a different directory that the one used in steps 1 and 2 above provided that you set the XANIM_MOD_DIR environment variable to list the directory or directories you chose instead. For example. If you place them in "/global/xanim/mods" the you need to: setenv XANIM_MOD_DIR /global/xanim/mods Another example. If you also have some experimental ones in the directory: "/home/test/mods" in addition to the stable ones in the directory: "/usr/local/xanim/mods" then you would need to: setenv XANIM_MOD_DIR /usr/local/xanim/mods:/home/test/mods WARNING: While it shouldn't cause an error if the same .XA file is loaded several times, it isn't necessary and eats up additional memory. 5) Using XAnim will check to see if XANIM_MOD_DIR is defined, if so it will search the ":" separated list of directories for files starting with "vid_" and ending with ".xa". It will attempt to load any it finds. If XANIM_MOD_DIR is not set, XAnim will only look in "/usr/local/xanim/mods" for the same type of files. 6) Reporting Problems. Send email to me at podlipec@ici.net 7) Unsupported platforms/OSs I will need one of two things: 1) CrossCompiler capable fo producing shared libraries for the platform in question and must run on a Linux x86 platform. OR 2) An outright gift of the machine/OS in question with a working C/C++ compiler and linker installed. Remote accounts aren't feasible since that'd be distruting the source code I'm under NDA on. Temporarily borrowing a machine isn't worth the hassle and doesn't leave me with a permament solution. Mark -- Mark Podlipec podlipec@ici.net