Ball_bounce
所属分类:DirextX编程
开发工具:Visual C++
文件大小:2047KB
下载次数:10
上传日期:2007-05-31 02:29:22
上 传 者:
zhiqiang_chen1
说明: 可以使一个球在整个的窗口内进行不休止的撞击,通过directshow进行编程
(can make a ball in the window for the non-stop collision programmed through directshow)
文件列表:
Ball\ball.cpp (7636, 2002-11-12)
Ball\ball.def (489, 2002-11-12)
Ball\ball.dsp (11220, 2002-11-12)
Ball\ball.dsw (531, 2002-11-12)
Ball\ball.h (2682, 2002-11-12)
Ball\ball.ncb (41984, 2007-05-08)
Ball\ball.opt (52736, 2007-05-08)
Ball\ball.plg (1971, 2007-05-08)
Ball\ball.rc (1888, 2002-11-12)
Ball\ball.sln (1330, 2002-11-12)
Ball\ball.vcproj (9959, 2002-11-12)
Ball\Debug_Unicode\ball.ax (1417216, 2007-05-08)
Ball\Debug_Unicode\ball.exp (1088, 2007-05-08)
Ball\Debug_Unicode\ball.lib (1718, 2007-05-08)
Ball\Debug_Unicode\ball.obj (24733, 2007-05-08)
Ball\Debug_Unicode\ball.pch (5784204, 2007-05-08)
Ball\Debug_Unicode\ball.res (1116, 2007-05-08)
Ball\Debug_Unicode\fball.obj (62558, 2007-05-08)
Ball\Debug_Unicode\vc60.pdb (225280, 2007-05-08)
Ball\fball.cpp (18283, 2002-11-12)
Ball\fball.h (3593, 2002-11-12)
Ball\resource.h (496, 2002-11-12)
Ball\Debug_Unicode (0, 2007-05-08)
Ball (0, 2007-05-08)
//-----------------------------------------------------------------------------
// Name: DirectShow Sample -- Ball Filter
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
Description
============
Video source filter that produces an image of a bouncing ball.
This sample illustrates format negotiation and the use of the
source filter base classes CSource and CSourceStream.
Path
=====
Source: (SDK root)\Samples\C++\DirectShow\Filters\Ball
User's Guide
============
The code in Fball.h and Fball.cpp manages the filter interfaces.
Those two files contain approximately the minimum code required
for a source filter. The Ball.h and Ball.cpp files contain the
code that bounces the ball.
This filter has a single output pin, which provides a video stream
that shows a ball bouncing around in the frame. The Ball filter
also accepts quality management requests from the downstream filter,
which illustrates a simple quality management strategy. This filter
implements the IQualityControl interface for that purpose.
The color of the ball corresponds to the current display bit depth:
8 bit - red balls
16 bit - blue
24 bit - green
32 bit - yellow
近期下载者:
相关文件:
收藏者: