资源简介
1.修改接口,更好地支持多窗口渲染。
2.支持视频Alpha渲染。
3.支持静态图片叠加。
4.支持简单抓图。

代码片段和文件信息
/*
Author: dengzikun
http://hi.csdn.net/dengzikun
注意:在保留作者信息和出处链接的前提下,您可以任意复制、修改、传播本文件。
*/
#include “stdafx.h“
#include “CommonFunctions.h“
extern “C“ void __cdecl memcpyMMX(void *Dest void *Src size_t nBytes)
{
__asm
{
mov esi dword ptr[Src]
mov edi dword ptr[Dest]
mov ecx nBytes
shr ecx 6 // nBytes / 64
cmp ecx 0
je Myloop
align 8
CopyLoop:
movq mm0 qword ptr[esi]
movq mm1 qword ptr[esi+8*1]
movq mm2 qword ptr[esi+8*2]
movq mm3 qword ptr[esi+8*3]
movq mm4 qword ptr[esi+8*4]
movq mm5 qword ptr[esi+8*5]
movq mm6 qword ptr[esi+8*6]
movq mm7 qword ptr[esi+8*7]
movq qword ptr[edi] mm0
movq qword ptr[edi+8*1] mm1
movq qword ptr[edi+8*2] mm2
movq qword ptr[edi+8*3] mm3
movq qword ptr[edi+8*4] mm4
movq qword ptr[edi+8*5] mm5
movq qword ptr[edi+8*6] mm6
movq qword ptr[edi+8*7] mm7
add esi 64
add edi 64
loop CopyLoop
// emms
align 8
Myloop:
mov ecx nBytes
and ecx 63
cmp ecx 0
je EndCopyLoop
;align 8
;CopyLoop2:
mov dl byte ptr[esi]
mov byte ptr[edi] dl
; inc esi
; inc edi
; dec ecx
; jne CopyLoop2
rep movsb
EndCopyLoop:
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1564 2010-12-14 16:14 VR_Test\D3DVideoRender\CommonFunctions.cpp
文件 647 2010-12-14 16:14 VR_Test\D3DVideoRender\CommonFunctions.h
文件 30419 2010-07-08 09:52 VR_Test\D3DVideoRender\d3dfont.cpp
文件 2772 2010-06-30 13:13 VR_Test\D3DVideoRender\d3dfont.h
文件 20246 2010-12-14 16:15 VR_Test\D3DVideoRender\D3DManager.cpp
文件 3752 2010-12-14 16:15 VR_Test\D3DVideoRender\D3DManager.h
文件 7237 2009-08-04 17:30 VR_Test\D3DVideoRender\d3dutil.h
文件 2833 2010-12-14 16:15 VR_Test\D3DVideoRender\D3DVideoRender.cpp
文件 120 2010-11-29 17:23 VR_Test\D3DVideoRender\D3DVideoRender.def
文件 794 2010-08-19 11:00 VR_Test\D3DVideoRender\D3DVideoRender.exp
文件 892 2010-08-19 10:59 VR_Test\D3DVideoRender\D3DVideoRender.sln
..A..H. 26624 2010-08-19 11:00 VR_Test\D3DVideoRender\D3DVideoRender.suo
文件 7035 2010-12-01 15:23 VR_Test\D3DVideoRender\D3DVideoRender.vcproj
文件 8042 2010-12-14 16:15 VR_Test\D3DVideoRender\D3DVideoRenderInterface.h
文件 525 2010-08-19 10:40 VR_Test\D3DVideoRender\debuginterface.h
文件 4802 2010-12-14 16:15 VR_Test\D3DVideoRender\Display.h
文件 16943 2010-12-14 16:15 VR_Test\D3DVideoRender\Display_NV12.h
文件 14015 2010-12-14 16:16 VR_Test\D3DVideoRender\display_rgb24.h
文件 10489 2010-12-14 16:16 VR_Test\D3DVideoRender\Display_RGB32.h
文件 13091 2010-12-14 16:22 VR_Test\D3DVideoRender\Display_YUV420.h
文件 16067 2010-12-14 16:16 VR_Test\D3DVideoRender\display_yuv422.h
文件 8285 2002-11-12 19:11 VR_Test\D3DVideoRender\dxutil.h
文件 660 2010-09-20 17:02 VR_Test\D3DVideoRender\LogMessage.aps
文件 1436 2010-10-26 13:13 VR_Test\D3DVideoRender\LogMessage.h
文件 36 2010-05-28 18:21 VR_Test\D3DVideoRender\LogMessage.rc
文件 124 2010-05-28 18:21 VR_Test\D3DVideoRender\MSG0052.bin
文件 12824 2010-12-14 16:16 VR_Test\D3DVideoRender\Myd3dfont.cpp
文件 1980 2010-12-14 16:16 VR_Test\D3DVideoRender\Myd3dfont.h
文件 7159 2010-08-19 10:31 VR_Test\D3DVideoRender\mydebug.h
文件 8664 2010-12-14 16:16 VR_Test\D3DVideoRender\Picture.h
............此处省略43个文件信息
- 上一篇:多通道数据采集labVIEW源程序
- 下一篇:OV5640寄存器设置中文版
相关资源
- UnityShader卷轴效果
- D3D烟花粒子
- OpenGL爆炸碎片化效果 源码
- Direct3d做的演示程序有源代码
- ShaderlabVSCode 1.1.6.unitypackage
- Shader Forge v1.28 -Unity最欢迎的着色编辑
- ( YUV420(YV12)与YUY2(YUV422YUYV)格式
- d3d9_2.exe
- e92d3d2f5aef63448696ba0aa5ef9ed1.pdf
- D3D9 SDK中文文档
- Unity 皮肤shader
- ShaderForge 1.26
- 运用DirectX9绘制太阳系
- DirectX3D太阳系
- ShaderGraph详解
- Unity地面反射脚本和shader
- UnityShader 用Plane实现旗帜飘扬效果
- Game-EC 驱动辅助模块8.4 D3D透视版
- 之UV动画
- shaderforge支持unity2018的源代码和插件
- Unity3D铅笔风格滤镜
- 基于D3D的魔方小程序
- 计算机图形学opengl+shader几个
- D3D11_DirectionalShadowMap
- d3dx9_27.DLL
- Instagram Filters 破解了Instagram App的几十
- clouds shader
- Shader Forge 1.3.8.0_unity2018.unitypackage
- ShaderForge兼容Unity2018版本
- ShaderX5 PDF
评论
共有 条评论