阅读:1879回复:8
hong:多谢你的关于overlay的回答,进来拿分吧!
hong:
多谢你的关于overlay的回答,进来拿分吧! |
|
|
沙发#
发布于:2003-09-12 00:11
thank you!
|
|
板凳#
发布于:2003-09-12 16:11
另外问问,两个Video叠加部分你是怎样处理的?
|
|
|
地板#
发布于:2003-09-13 11:10
能够利用OVerlay的方式实现多路yuv422的任意缩放吗?
|
|
地下室#
发布于:2003-09-15 23:28
to Leerom:
what do you mean \"两个Video叠加部分\"? pls tell more detail. to Xtli_21: you can use offscreen surface and primary surface to do \"多路yuv422的任意缩放\". i didn\'t try it by Overlay yet. |
|
5楼#
发布于:2003-09-16 14:32
也就是一个video窗口的一部分盖在了另一个video窗口之上。这两个窗口相交的部分是怎样处理的?
|
|
|
6楼#
发布于:2003-09-16 22:38
first of all, is this the way you want to have one video to partially cover the other one? or you want to avoid such kind of overlay?
anyway, you can use offscreen surface and Blt to solve the problem: that say you have VideoA and VideoB. you careate two surfaces for them: SurfaceA, SurfaceB, when you do Blt to the primary surface you just define the target area on primary surfave you want for each video then Blt one after the other, the later one will cover the first one if the target areas are overlapped. |
|
7楼#
发布于:2003-09-17 14:08
感谢你的回答。我去试试,有问题再向你请教。
|
|
|
8楼#
发布于:2003-09-19 11:53
其实DirectX的好处是提供了我们缓存的线性指针。
你只要按顺序准备好你要显示的数据就可以了。 所以放缩也好,各种按位操作也好,都只要按指针操作。 |
|
|