登录
首页 » C# » WpfD3D

WpfD3D

于 2021-01-26 发布 文件大小:23303KB
0 629
下载积分: 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 个回复

  • ORGE-WALKING
    ORGE的一个实例代码,演示角色在地图的上面进行走动,源代码(a demo showing a character walking on the ground, powered by ORGE)
    2014-10-26 14:22:41下载
    积分:1
  • Copula_omnimix_bm2dx_omni
    Modded bm2dx.dll to play with the omnimix patch
    2020-06-25 00:20:02下载
    积分:1
  • clk-wm831x
    WM831x clock control for Linux v2.13.6.
    2014-10-03 03:38:40下载
    积分:1
  • 火焰抓屏
    说明:  c环境下编写,该程序解决了tc环境下抓图的问题,解去了你的烦恼。(c prepared environment, which resolves tc screen in the environment, the solution to your troubles.)
    2005-12-24 11:17:33下载
    积分:1
  • SECOND
    CST微波工作室的第二讲传输线特性仿真 (Lecture transmission line characteristic CST Microwave Studio simulation)
    2016-03-14 15:47:39下载
    积分:1
  • CC-Link_cabling_gu
    HI THIS IS THE DOCUMENT TO CONFIGURATE CC LINK IO LINK C++
    2019-05-20 13:39:37下载
    积分:1
  • 954717
    系统oem修改源码例程,程序调用API函数实现系统oem修改功能。(System oem modify source code routines , the program calls API functions for system oem modification.)
    2015-09-06 23:23:38下载
    积分:1
  • combolocx
    combobox更新的一个控件(update a combobox controls )
    2004-11-19 14:22:41下载
    积分:1
  • paidui
    1、首先,我们分析调查到的数据,发现学生流符合泊松分布,服务时间符合指数分布,由此我们的模型就变成了排队论中典型的MM 模型,根据MM 模型中的各效率指标的公式,我们可得到学一食堂拥挤情况的各方面数据。 2、根据模型求解得到的数据,我们对模型进行了更精确的量化分析。我们发现,解决本模型的关键就在于分析顾客平均排队时间,我们对其与窗口数之间的关系进行了拟合,并就两者之间关系进行了灵敏度分析。 3、针对窗口数与顾客平均排队时间之间的关系,我们从经济学的角度进行了分析,即比较增加窗口后成本的增加量与减少排队等待时间所带来的收益之间的大小关系。 (err)
    2021-04-11 15:08:58下载
    积分:1
  • 76676989
    实现钩子,VC++精选编程学习源码,很好的参考资料。(Hook, VC++ select learning programming source code, a good reference.)
    2013-11-28 10:49:43下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载