Directdraw: Rotate video stream

前端 未结 2 1779
庸人自扰
庸人自扰 2021-01-23 16:51

Problem

Windows Mobile / Directdraw: Rotate video stream

The video preview is working, all I need now is a way to rotate the image. I think the

2条回答
  •  醉梦人生
    2021-01-23 17:14

    This question will help you get some details about DirectDraw. I did some research about this some time ago and the best I could find was this blog post (also mentioned in the above question). The post presents an extension of the CameraCapture sample in the SDK.

    However, don't have high expectations. It seems that the preview and the picture taken will only work in small resolution. Although DirectDraw does describe a way of configuring the resolution, there is no guarantee that this will be properly implemented by the driver.

    So from my experience what you have read is true. The only way to do it will be to use HTC drivers. So, if you don't want to spend endless days in reverse engineering for a doubtful result, let someone else do the job for you. If you want to give it a shot, try xda-developers forum.

提交回复
热议问题