eAVEncVideoSourceScanType enumeration (codecapi.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Specifies whether the input frames for an encoder are progressive or interlaced. This enumeration is used with the AVEncVideoForceSourceScanType property.

Syntax

typedef enum eAVEncVideoSourceScanType {
  eAVEncVideoSourceScan_Automatic = 0,
  eAVEncVideoSourceScan_Interlaced = 1,
  eAVEncVideoSourceScan_Progressive = 2
} ;

Constants

 
eAVEncVideoSourceScan_Automatic
Value: 0
Use the media type on the encoder's input pin to determine whether the frames are progressive or interlaced.
eAVEncVideoSourceScan_Interlaced
Value: 1
Input frames are interlaced.
eAVEncVideoSourceScan_Progressive
Value: 2
Input frames are progressive.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Header codecapi.h

See also

Codec API Enumerations

ICodecAPI Interface