阅读:2148回复:7
BT878开发包
one BT878 capture 4 inputs
max. 4 BT878 capture 16 inputs in one system. (if you have 4 BT878 in one card, make sure there is NO any external mux. if there is external mux pls provide the external mux/switch structure and we can implement it.) [编辑 - 2/19/05 by hong] |
|
|
沙发#
发布于:2005-01-29 11:36
谢谢......收藏!
|
|
板凳#
发布于:2005-02-01 05:14
hi hong!
如果假设显示卡只支持RGB565而你采集回来的格式为RGB555,如果不用StretchDIBits,并且象StretchDIBits那样实现放大缩小,且不涉及再对已采集的数据进行memcpy,你会怎样显示你的采集图像呢? [编辑 - 2/1/05 by kuhaipiaoliu] |
|
地板#
发布于:2005-02-01 06:51
as a simple demo, RGB555 is used in demo project for StretchDIBits;
it is better to use YUV422 format if you are a professional developer. if you use memcpy you should know very well your display buffer and video renderer. use DirectX is a better way. |
|
地下室#
发布于:2005-02-01 16:50
调用StretchDIBits在win98下的一些机子上会出现不正常的现象,在window2000下完全没问题。
使用directdraw显示,要避免数据拷贝,用Blt方式可以实现放大缩小,但用指定DDSD_LPSURFACE方法创建的好像只能是当前显卡RGB565格式的表面,怎样才能实现RGB555自动转成RGB565。如果用指定DDSD_PIXELFORMAT是能按指定格式创建表面。出现的问题是同时指定DDSD_LPSURFACE | DDSD_PIXELFORMAT ,创建表面总不能成功!有什么要注意的地方吗? |
|
5楼#
发布于:2005-02-01 23:06
1. Set BT878 sdk to output yuv422 data;
2. create surface with this format: DDPIXELFORMAT ddpfBackSurfaceFormat = { sizeof(DDPIXELFORMAT), DDPF_FOURCC,MAKEFOURCC('Y','U','Y','2'),0,0,0,0,0}; 3. copy the yuv422 data on this surface; 4. Blt to screen surface. 用Blt方式可以实现放大缩小 one thing to note: if(mysd.dwWidth*nBytePerPixel == (DWORD)mysd.lPitch) { // you can do block copy or just pass this surface buffer into BT878 SDK to get YUV422 data } else { // you have to copy line by line } |
|
6楼#
发布于:2005-02-02 08:12
老大.....你这个好像只是提供了个dll呀.....有没有源代码呀 :P
|
|
7楼#
发布于:2005-02-23 14:49
hong:您好 您的QQ是多少呀
|
|