hong
驱动小牛
驱动小牛
  • 注册日期2001-09-19
  • 最后登录2005-12-16
  • 粉丝0
  • 关注0
  • 积分2分
  • 威望1点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:2077回复:7

BT878开发包

楼主#
更多 发布于:2005-01-28 23:45
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-28_H878Demo_050126.rar (149KB)  118
hong
驱动小牛
驱动小牛
  • 注册日期2001-09-19
  • 最后登录2005-12-16
  • 粉丝0
  • 关注0
  • 积分2分
  • 威望1点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于: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.
hong
驱动小牛
驱动小牛
  • 注册日期2001-09-19
  • 最后登录2005-12-16
  • 粉丝0
  • 关注0
  • 积分2分
  • 威望1点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于: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
}
游客

返回顶部