登录
首页 » C# » WpfD3D

WpfD3D

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

  • caozuo
    说明:  是一个简单的程序,运用c#编写,非常实用,可以学学(Is a simple procedure, using c# written, very practical, you can learn)
    2010-04-12 16:36:14下载
    积分:1
  • gpslangugeprograming
    说明:  本篇文章主要介绍了关于GPS c 语言编写程序( this article introduce a global positioning system c Language program)
    2010-04-20 16:36:02下载
    积分:1
  • 屏幕闪烁
    该程序关于BMP位图的导入、显示及相关操作,通过定时器的使用来实现屏幕闪烁(procedures on the bitmap BMP import, display and related operations, through the use of timers to achieve scintillation screen)
    2005-07-05 09:11:45下载
    积分:1
  • ProgrammingMicrosoftDirectshow
    学习dshow的好书籍,,即提高英文水平,也提高编程水平(learning dshow good books, that the standard of English, it also raises the level of programming)
    2007-01-09 14:05:51下载
    积分:1
  • 3
    说明:  介绍了C#中的跳转语句,循环结构和分支结构。(The jump in C#, looping and branching structure)
    2013-03-22 16:08:40下载
    积分:1
  • VC-Detailed-Explanation
    这本书从实际应用入手,由浅入深、循序渐进地讲述Windows程序内部运行机制、MFC框架、文本、菜单、对话框、文件操作、网络编程、进程间通信、ActiveX控件、动态链接库、HOOK编程等多个主题(This book starts from the practical application , deep within the program step by step explanation of the Windows operating mechanism, MFC framework, text, menus, dialog boxes, file operations, inter-network programming, interprocess communication, ActiveX controls, dynamic link libraries, HOOK programming and many other topics.)
    2014-04-25 09:26:40下载
    积分:1
  • Program-controlled_voltage_and_current_sources
    通过单片机按键选择输出信号类型及要求输出量,在LED显示器件上指示信号类型及设定数值.系统工作电源±15V , ±5V 。恒流电流输出0.0~8.0mA, 负载电阻≤500Ω。3. 稳压电压输出0.0~5.0V,电流负载能力≤100mA.电压及电流输出在充许负载范围内误差小于5%FS。电压及电流输出须共用一个输出正端, 输出负端为地。输出电压及电流设定精确到二位十进制数。 (Through Singlechip button to choose the type and requirements of the output signal output, in the LED display on the instructions of the signal type and set the value. System power supply ± 15V, ± 5V. Constant current output 0.0 ~ 8.0mA, the load resistance ≤ 500Ω. 3. Regulator output voltage 0.0 ~ 5.0V, current load capacity ≤ 100mA. Voltage and current output in the framework allow the load error is less than 5 FS. Output voltage and current output is required to share a client, the output of negative side for the land. Output voltage and current settings accurate to two decimal number.)
    2008-04-27 12:47:49下载
    积分:1
  • 5756450
    模拟MFC实现动态创建,结合文章使用,很不错的()
    2018-06-15 06:19:16下载
    积分:1
  • VB实现SQL Server数据库备份
    VB实现SQL Server数据库备份-恢复 VB实现SQL Server数据库备份-恢复-VB SQL Server database backup-restore VB SQL Server database backup-restore
    2022-02-07 16:11:42下载
    积分:1
  • GA
    说明:  利用遗传算法寻优,求函数 F (x) = x + 10cos (5x) + 7SiN (4x)的最小值(Genetic algorithm is used to find the minimum value of F (x) = x + 10cos (5x) + 7SiN (4x))
    2021-02-03 13:38:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载