IAMVideoCompression::put_WindowSize
A version of this page is also available for
4/8/2010
This method sets the number of frames over which the compressor must maintain an average data rate.
For example, assuming a data rate of 100K/sec and a frame rate of 10 frames per second, if the window size is 1, then every frame will be 10K or less. If the window size is 5, then every five consecutive frames must average 10K per frame, but individual frames may exceed this size.
Syntax
HRESULT put_WindowSize(
DWORDLONG WindowSize
);
Parameters
- WindowSize
[in] Specifies the window size, expressed as a number of frames. .
Return Value
This method returns an HRESULT value.
Requirements
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment |
See Also
Reference
IAMVideoCompression Interface
IAMVideoCompression::get_WindowSize