Building VP3 Code Modules on the PC
To compile the VP3 code modules on windows PC, the following compilers/software
with proper configurations are required:
- Microsoft Visual C++ 6.0 (Visual Studio 6.0)
- Microsoft Visual Studio 6.0 Service Pack 4
- Microsoft Visual C++ Processor Pack (VCPP). Its available at http://msdn.microsoft.com/vstudio/downloads/ppack/default.asp)
- Macro File for Microsoft Macro Assembler for Intel® Streaming SIMD
Extensions “iaxmm.inc”. Its available at: http://developer.intel.com/vtune/macropak/download.htm)
- QuickTime for Windows SDK version 4.0 . Its available
http://developer.apple.com/quicktime
Once the system has been configured :
open the workspace \vp32\vp32.dsw using Microsoft Visual Studio
select the video for windows codec project and then project\build
select the quicktime codec and then project\build
Notes:
- Microsoft Visual C++ Processor Pack
The Processor pack provides support for Intel and AMD’s
newest instruction sets on their newest processors in form of both C Intrinsic
and inline assembly code. However, the previous version of the Processor
Pack will generate “Internal Compiler Error” in compiling the VP3 library
with default optimization settings.
- Microsoft Visual Studio 6.0 Service
The installation of the Service Pack is required by the installation
of Microsoft Visual C++ Processor Pack (VCPP). The SP4 provides the support
to view the MMX and XMM registers in debug window.
- Assemblers
Microsoft now includes the MASM complier version 6.15, ML.exe and H2inc.exe,
as part of the processor pack, so a separate installation of MASM is not
required. However, the macro file for Intel® Streaming SIMD Extensions
is required to compile assembly files( *.asm ) using SSE instructions.
- Include Path for the macro file
The path to the file of “iaxmm.inc” should add into the settings of
Visual studio through “tools->options->directories->include”
- Executable, Include and Lib Path for the quicktime codec must be
set correctly in Visual Studio
The path to the quicktime sdk cincludes and component includes directory
should be add into the settings of Visual studio through “tools->options->directories->include”
, the path to the quicktime directory libraries should be added through
“tools->options->directories->libraries”, and the path to
the quicktime tools directory should be added through “tools->options->directories->executables”
- resource include file must be setup correctly for building the quicktime
codec
NT or Win2K add a new environment variable ( to your autoexec.bat
on win98 or ME or to your system environment variables on NT, or 2000 :
Rincludes = C:\qtwsdk\rincludes ( or whatever)
Other add the following to the custom build line of dxlqt_codec.r
-i c:\qtwsdk\rincludes (or whatever)
Building VP3 Code Modules on the MAC
The Requirements for Building On2 VP3.2 QuickTime Component
for OS 9 and Below:
Codewarrior 5.3
Universal Interfaces 3.3.2 or higher.
The Requirements for Building On2 VP3.2 QuickTime Component
for OS X:
Codewarrior 6, patched to 6.2.
Universal Interfaces 3.4b10 or higher. (the project's access path for
Universal Interfaces points at Universal3.4 inside CW6's MacOS Support
folder)
Once the system has been configured :
open the workspace \vp32\vp32.mcp using CodeWarrior
select the vp32 project and then build the library
open the workspace file \vp32\Codecs\quicktime\mac\VP3QTCodec.CW53.mcp
select the quicktime codec and then build