在屏幕上显示图像的最快方式 [英] Fastest way to display images on screen

查看:93
本文介绍了在屏幕上显示图像的最快方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在屏幕上显示源YUV图像(176x144)。我有以下要求 -

I am looking to display source YUV images (176x144) on the screen. I have the following requirements -

1)显示按比例放大的输入图像以适应屏幕

1) Display the incoming image scaled up to fit the screen

2)显示按比例缩小的输出图像屏幕右下角

2) Display the outgoing image scaled down to fit just the bottom right of the screen

3)以横向(旋转模式)显示,因为相机提供旋转图像作为来源。

3) Display in landscape (rotated mode) since the camera provides rotated images as source.

目前,我我正在做以下事情 -

Currently, I am doing the following -

1)使用高度优化的ARM汇编代码将YUV转换为RGB565

1) converting YUV to RGB565 using highly optimized ARM assembly code

2)使用SetDIBits和StretchBlt显示图像控制

2) Using SetDIBits and StretchBlt to display images in a control

我试图找出是否有更快/更好的方法来做到这一点。 DirectDraw会比GDI SetDIBits / StretchBlt快吗?

I am trying to figure out if there is a faster/better way of doing this. Would DirectDraw be faster than GDI SetDIBits/StretchBlt?

 

任何指针都会有所帮助。顺便说一下,我一直在尝试使用有限的成功进行DirectDraw。我的CreateSurface调用主要失败(在我的MFC应用程序中),主表面已经存在错误。

Any pointers would really help. BTW, I have been trying DirectDraw with limited sucess. My CreateSurface call fails mostly (in my MFC application) with an error that the primary surface already exists error.

 

推荐答案

windows mobile特别 对于这个名为

windows mobile specially  for this requirement called

GAPI的要求,请参阅MSDN文档以了解 详情。

GAPI , please refer MSDN documentation for  details.

问候,

Ashakant

 


这篇关于在屏幕上显示图像的最快方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆