当前位置: 代码迷 >> Windows Mobile >> windows mobile 5.0 怎么将YUV数据存成JPG格式的文件
  详细解决方案

windows mobile 5.0 怎么将YUV数据存成JPG格式的文件

热度:59   发布时间:2016-04-25 07:47:14.0
windows mobile 5.0 如何将YUV数据存成JPG格式的文件?
windows   mobile   5.0   如何将YUV数据存成JPG格式的文件?


------解决方案--------------------
YUV数据?为何这样处理了。想个其他办法吧。
------解决方案--------------------
yuv转为rgb,再用jpeglib压成jpg
------解决方案--------------------
尝试控制SurfaceTypes,通过修改注册表:

Surface Types: Controlling Which Surfaces the Video Renderer Creates

There are ways to control which accelerated surfaces the video renderer is allowed or not to create that are useful when debugging the connection process, specially to reduce the number of options and the number of tries in the display driver. This is controlled via a registry key (see http://msdn2.microsoft.com/en-us/library/aa930626.aspx):

HKEY_LOCAL_MACHINE\Software\Microsoft\DirectX\DirectShow\Video Renderer\SurfaceTypes

The following table shows the AMDDS values for use with the SurfaceTypes named value. (可选表见下面的链接)

详细参考:http://blogs.msdn.com/medmedia/archive/2007/06/11/the-video-renderer-connection-process.aspx
------解决方案--------------------
http://www.winbile.net/BBS/1027381/ShowPost.aspx
  相关解决方案