阅读:2077回复: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-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 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 } |
|