登录
首页 » C# » WpfD3D

WpfD3D

于 2021-01-26 发布 文件大小:23303KB
0 583
下载积分: 1 下载次数: 50

代码说明:

  要在WPF中完美的支持YUV数据的显示,通常的解决方式是使用先把YUV数据转换成WPF可以支持的RGB数据,然后利用类似于WriteableBitmap的控件,把他展现在WPF上。这么做的主要问题是在做RGB转换的时候,需要消耗大量的CPU, 效率比较低。一种优化方式是使用FFMPEG里的SwScale或者Intel的IPP库,这些库经过了一定的优化,可以有限度的使用硬件加速。这里2为一个使用WritableBitmap的例子。(To perfect support in WPF YUV data show, the usual solution is to use the first WPF YUV data into RGB data can be supported, and then use controls similar to WriteableBitmap, and put his show on the WPF. The main problem is that in doing so make RGB conversion, consumes a lot of CPU, the efficiency is relatively low. An optimization approach is to use FFMPEG Lane SwScale or Intel' s IPP libraries that after a certain amount of optimization, can limited use hardware acceleration. 2 Here is an example of a use WritableBitmap.)

文件列表:

WpfD3D
......\3rdParty
......\........\avcodec-53.dll,12728320,2011-09-06
......\........\avdevice-53.dll,58880,2011-09-06
......\........\avfilter-2.dll,815104,2011-09-06
......\........\avformat-53.dll,1262080,2011-09-06
......\........\avutil-51.dll,126976,2011-09-06
......\........\postproc-51.dll,160256,2011-09-06
......\........\SlimDX.dll,3383808,2013-12-03
......\........\swscale-2.dll,240640,2011-09-06
......\Render.Core
......\...........\D3DElement.cs,4287,2013-12-19
......\...........\D3DImageSource.cs,30754,2013-12-20
......\...........\FrameFormat.cs,371,2013-12-19
......\...........\Imaging
......\...........\.......\ConverterResizer.cs,9396,2013-12-19
......\...........\.......\Cropper.cs,10170,2013-12-19
......\...........\.......\PixelAlignmentType.cs,1954,2013-12-20
......\...........\.......\PlanarImage.cs,20597,2013-12-19
......\...........\.......\SwScale.cs,18855,2013-12-12
......\...........\Interop.cs,1269,2013-12-12
......\...........\IRenderSource.cs,479,2013-12-19
......\...........\Properties
......\...........\..........\AssemblyInfo.cs,2310,2013-12-10
......\...........\..........\Resources.Designer.cs,2853,2013-12-12
......\...........\..........\Resources.resx,5612,2013-12-10
......\...........\..........\Settings.Designer.cs,1095,2013-12-12
......\...........\..........\Settings.settings,201,2013-12-10
......\...........\Renderer.Core.csproj,4627,2013-12-21
......\...........\Renderer.Core.csproj.user,227,2013-12-11
......\...........\Utils.cs,1206,2013-12-19
......\...........\Vertex.cs,447,2013-12-12
......\...........\WriteableBitmapSource.cs,7229,2013-12-20
......\SampleApp
......\.........\App.xaml,320,2013-12-20
......\.........\App.xaml.cs,311,2013-12-20
......\.........\FrameData.cs,4739,2013-12-20
......\.........\MainWindow.xaml,1312,2013-12-20
......\.........\MainWindow.xaml.cs,3164,2013-12-20
......\.........\Properties
......\.........\..........\AssemblyInfo.cs,2282,2013-12-20
......\.........\..........\Resources.Designer.cs,2848,2013-12-20
......\.........\..........\Resources.resx,5612,2013-12-20
......\.........\..........\Settings.Designer.cs,1096,2013-12-20
......\.........\..........\Settings.settings,201,2013-12-20
......\.........\SampleApp.csproj,4804,2013-12-20
......\.........\yv12.dat,44790016,2013-12-20
......\WpfD3D.sln,2564,2013-12-20

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ennonaudio
    用VC++实现的微波炉自动控制演示程序,代码完整,做课程设计的可参考下()
    2018-06-21 18:01:33下载
    积分:1
  • LOD(fix)
    Level of Detail 层次渲染,游戏编程 根据远近关系实现进出渲染,减少资源消耗(Level of Detail-level rendering, game programming relations based on distance and out of rendering, reduce resource consumption)
    2009-05-21 19:23:33下载
    积分:1
  • windows网络之WSAAsyncSelect模型
    windows网络编程之WSAAsyncSelect模型-windows network"s programming model WSAAsyncSelect
    2023-02-10 14:45:04下载
    积分:1
  • RepairImNline
    说明:  对图像进行非线性调整,可用用图像的增强,特别是模糊图像,增加对比度(right image nonlinear adjustment can be used to enhance the image, especially fuzzy images, increase contrast)
    2005-11-15 18:13:08下载
    积分:1
  • 网络嗅探序,专门记录网络中浏览过的网站的url。
    网络嗅探程序,专门记录网络中浏览过的网站的url。-Network sniffer program, which tracks the network of Web sites visited url.
    2022-01-26 14:40:17下载
    积分:1
  • PCJF
    使用电脑的离线式多路电话计费软件。一个计费板插在电脑的PCI扩展槽上,多路电话线接入,实施计费。(use computers offline multi-way telephone billing software. Billing a plate inserted in a computer PCI expansion slot, multi-line access, billing implementation.)
    2007-02-12 17:00:36下载
    积分:1
  • FTP接口实现
    项目中新增对FTP的支持,需求的变更是开发过程中不可避免的事情,只是变更的时间越靠近项目末期,就越是灾难。还好这个需求可以设计的相对独立,做到尽量不影响已实现部分。      说的FTP,就想起曾经写的一个FTP接口对象,由于现在FTP的实现库到处都是,因此在写好此对象时,被同事称为:做轮子的人~我的想法是,组装车和制作车应该还是有区别的~
    2022-02-01 23:17:42下载
    积分:1
  • 一个用hook拦截数据包的VC序。 先获取所有进,然后选择你要操作的进。...
    一个用hook拦截数据包的VC程序。 先获取所有进程,然后选择你要操作的进程。-A hook used to intercept packets of VC procedures. First access to all processes, and then select the operation you want to process.
    2023-01-07 17:40:03下载
    积分:1
  • TMS320F28035_PWM
    DSP 的PWM程序,基础,讲解详细明了!!!!!!(DSP 的PWM程序)
    2020-10-15 14:37:30下载
    积分:1
  • decode
    实现了基本的UTF-8、GBK,GB2312的编码和解码(The basic implementation of UTF-8, GBK, GB2312 encoding and decoding)
    2013-10-28 11:52:37下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载