mike_wang
驱动中牛
驱动中牛
  • 注册日期2003-01-22
  • 最后登录2012-01-04
  • 粉丝0
  • 关注0
  • 积分91分
  • 威望10点
  • 贡献值0点
  • 好评度9点
  • 原创分0分
  • 专家分0分
阅读:1422回复:3

紧急求助878

楼主#
更多 发布于:2003-03-28 17:05
用878如何实现将视频上下颠倒!


俺以前用信号发射器图像都是对称的没看出来,俺现在抓的数据图像是倒的!郁闷!查878资料没有查到!
请高手救命!东西要发布了!惨!
ppl
ppl
驱动小牛
驱动小牛
  • 注册日期2001-06-13
  • 最后登录2006-05-21
  • 粉丝0
  • 关注0
  • 积分10分
  • 威望1点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2003-03-28 19:25
难道你的信号发生器只会出彩条?
hong
驱动小牛
驱动小牛
  • 注册日期2001-09-19
  • 最后登录2005-12-16
  • 粉丝0
  • 关注0
  • 积分2分
  • 威望1点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2003-07-18 04:46
there are two ways to handle it:

1: by driver
when you assign dma address, dma the first line to last line buffer, 2nd line to last 2nd buffer, ... last line to the 1st line buffer.

2: by application display function:
BOOL StretchBlt(
   int x,
   int y,//this point to the bottom position:nHeight
   int nWidth,
   int nHeight,//this use -nHeight
   CDC* pSrcDC,
   int xSrc,
   int ySrc,
   int nSrcWidth,
   int nSrcHeight,
   DWORD dwRop
);

(don\'t do both at the same time!)
mike_wang
驱动中牛
驱动中牛
  • 注册日期2003-01-22
  • 最后登录2012-01-04
  • 粉丝0
  • 关注0
  • 积分91分
  • 威望10点
  • 贡献值0点
  • 好评度9点
  • 原创分0分
  • 专家分0分
地板#
发布于:2003-07-18 10:37
there are two ways to handle it:

1: by driver
when you assign dma address, dma the first line to last line buffer, 2nd line to last 2nd buffer, ... last line to the 1st line buffer.

2: by application display function:
BOOL StretchBlt(
   int x,
   int y,//this point to the bottom position:nHeight
   int nWidth,
   int nHeight,//this use -nHeight
   CDC* pSrcDC,
   int xSrc,
   int ySrc,
   int nSrcWidth,
   int nSrcHeight,
   DWORD dwRop
);

(don\'t do both at the same time!)
 

恩,俺就用的第一种方法解决的!
游客

返回顶部