directx 9.0 software development kit update (summer 2003)
gnu c compiler compatibility patch
===============================================
this patch has been tested with:
gcc v3.2.3
gcc v3.3.3
gcc v3.4.1 (linux->win32 cross compiler)
msc v6.0 + sp5 + pp
I) Applying the patch
------------------
1. Install the directx sdk update to /c/DX90SDK (to match default
Makefile variable values) or to any other dir. From now on, the
sdk install directory will be called ${SDKDIR}.
dx90updatesdk.exe
size: 190,991,976 bytes
md5: ed328da4033e18124801265ee91f690e
2. cd ${SDKDIR}
3. patch -p0 --dry-run < /path/to/dx90sdk-update-gcc.patch
(if all goes well, no rejects... else read the special notes)
patch -p0 < /path/to/dx90sdk-update-gcc.patch
--
Special notes for cross compilation on GNU/Linux systems (or any
supported platform for wine):
- You can install the DX SDK using the wine win32 API emulation
layer. The unzipping stage of the install will succeed, it's
all that is required to continue. So don't panic if the install
program breaks/crashes after the self unzip did succeed.
- Then depending on your cvs program, you may require to unix'ify
the endlines of all sources in the SDK before applying the patch.
That can be required CVS uses to expand/replace endlines according
to the host platform type, so it's very likely that if you do
extract the xvidcore sources from a windows box, this step isn't
mandatory, but if you're using a unix box (even cygwin), you may
be obliged to proceed with:
find ${SDKDIR} -name "*.cpp" -exec dos2unix {} \;
find ${SDKDIR} -name "*.h" -exec dos2unix {} \;
II) building strmbase.lib
-------------------------
1. cd ${SDKDIR}/Samples/C++/Directshow/BaseClasses
2. make
(this should output strmbase.lib)
--
Special notes for people cross compiling, or people who installed
the SDK elsewhere than /c/DX90SDK:
- you can overide Makefile defaults in the make command line,
just use something like this command line (adapt according to
your build environment):
make \
CXX=/opt/mingw32-cross/bin/i386-mingw32-g++ \
RANLIB=/opt/mingw32-cross/bin/i386-mingw32-ranlib \
DXTREE=${SDKDIR}
III) Building your own apps
---------------------------
These variables should be defined in your Makefiles:
DXTREE=${SDKTREE}
DXBASECLASSES=$(DXTREE)/Samples/C++/DirectShow/BaseClasses
CXXFLAGS += -DRELEASE \
-I$(DXTREE)/Include \
-I$(DXBASECLASSES) \
-include $(DXTREE)/mingw_dshow_port.h
LDFLAGS += -L$(DXTREE)/Lib -lstrmiids \
$(DXBASECLASSES)/strmbase.lib \
-lole32 -loleaut32 -lstdc++
So it's now time to build the XviD Dshow filter (the xvidcore
source dir is supposed to be ${xvidcore}):
1. cd ${xvidcore}/dshow
2. make
(should output a xvid.ax file in a =build dir by default)
--
Notes for people using a cross compiler, or people who did install
the SDK elsewhere than /c/DX90SDK:
- you can overide Makefile variables from the make command line,
a fairly complete command could look like this, adapt to your
build environment:
make \
CC=/opt/mingw32-cross/bin/i386-mingw32-gcc \
CXX=/opt/mingw32-cross/bin/i386-mingw32-g++ \
WINDRES=/opt/mingw32-cross/bin/i386-mingw32-windres \
DXTREE=/mnt/data/windows/dx9sdk
NB: with some win32-api headers from mingw.org, you may suffer
multiple QACONTAINERFLAGS definitions. In that case you need
to manually edit ${mingw_install}/include/ocidl.h; Search for
QACONTAINERFLAGS. It should look like this:
enum tagQACONTAINERFLAGS
{
...
} QACONTAINERFLAGS;
Then change this to that:
typedef enum tagQACONTAINERFLAGS
{
...
} QACONTAINERFLAGS;
Noticed the additional typedef ? that's the point !
没有合适的资源?快使用搜索试试~ 我知道了~
jpeg完整程序基于vc编程.1.0
共230个文件
c:58个
asm:46个
h:45个
需积分: 10 9 下载量 127 浏览量
2009-08-11
10:13:09
上传
评论
收藏 786KB RAR 举报
温馨提示
jpeg完整程序基于vc编程.1.0jpeg完整程序基于vc编程.1.0jpeg完整程序基于vc编程.1.0
资源推荐
资源详情
资源评论
收起资源包目录
jpeg完整程序基于vc编程.1.0 (230个子文件)
ChangeLog-1.0 213KB
simple_idct_mmx.asm 42KB
idct_3dne.asm 31KB
qpel_mmx.asm 26KB
interpolate8x8_mmx.asm 25KB
quantize_h263_mmx.asm 23KB
idct_mmx.asm 23KB
qpel_mmx.asm 23KB
reduced_mmx.asm 22KB
quantize_mpeg_xmm.asm 22KB
quantize_mpeg_xmm.asm 22KB
fdct_sse2_skal.asm 21KB
quantize_h263_3dne.asm 21KB
quantize_mpeg_mmx.asm 20KB
idct_mmx.asm 18KB
fdct_mmx_skal.asm 16KB
interpolate8x8_xmm.asm 15KB
interpolate8x8_xmm.asm 15KB
fdct_mmx_skal.asm 14KB
sad_mmx.asm 14KB
interpolate8x8_mmx.asm 14KB
quantize_h263_mmx.asm 13KB
colorspace_rgb_mmx.asm 13KB
fdct_mmx_ffmpeg.asm 12KB
mem_transfer_mmx.asm 12KB
idct_sse2_dmitry.asm 11KB
mem_transfer_3dne.asm 10KB
sad_3dne.asm 10KB
mem_transfer_mmx.asm 9KB
colorspace_yuyv_mmx.asm 9KB
interpolate8x8_3dne.asm 9KB
sad_xmm.asm 9KB
sad_xmm.asm 9KB
interpolate8x8_3dn.asm 8KB
colorspace_yuv_mmx.asm 7KB
interlacing_mmx.asm 6KB
interlacing_mmx.asm 6KB
cpuid.asm 5KB
sad_3dn.asm 5KB
cpuid.asm 5KB
sad_sse2.asm 4KB
sad_mmx.asm 4KB
postprocessing_sse2.asm 4KB
cbp_sse2.asm 3KB
cbp_3dne.asm 3KB
cbp_mmx.asm 3KB
postprocessing_mmx.asm 3KB
AUTHORS 915B
XviD_logo.bmp 5KB
XviD_logo.bmp 5KB
cactus.pgm.bz2 78KB
config.c 75KB
encoder.c 57KB
plugin_2pass2.c 56KB
mbcoding.c 55KB
xvid_bench.c 54KB
decoder.c 45KB
qpel.c 42KB
bitstream.c 41KB
mbtransquant.c 40KB
estimation_bvop.c 34KB
estimation_rd_based.c 32KB
xvid_encraw.c 31KB
estimation_pvop.c 30KB
codec.c 30KB
interpolate8x8.c 29KB
image.c 29KB
xvid.c 25KB
interpolate8x8_altivec.c 22KB
estimation_rd_based_bvop.c 21KB
colorspace_altivec.c 21KB
xvid_decraw.c 20KB
estimation_common.c 19KB
colorspace.c 17KB
estimation_gmc.c 16KB
quant_h263_altivec.c 14KB
motion_comp.c 14KB
mbprediction.c 13KB
qpel_altivec.c 13KB
postprocessing.c 12KB
gmc.c 12KB
status.c 12KB
fdct.c 11KB
mem_transfer_altivec.c 10KB
idct.c 10KB
config.c 9KB
plugin_single.c 8KB
sad_altivec.c 8KB
plugin_lumimasking.c 8KB
driverproc.c 8KB
vop_type_decision.c 8KB
font.c 7KB
plugin_fixed.c 7KB
plugin_2pass1.c 7KB
sad.c 7KB
simple_idct.c 7KB
timer.c 7KB
idct_altivec.c 7KB
reduced.c 6KB
mem_transfer.c 6KB
共 230 条
- 1
- 2
- 3
资源评论
Felix常温
- 粉丝: 71
- 资源: 75
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功