ANALOGVIDEOINFO Structure

 
Microsoft DirectShow 9.0

ANALOGVIDEOINFO Structure

The ANALOGVIDEOINFO structure maintains information about the format of the analog video signal.

Syntax

typedef struct tagAnalogVideoInfo {
    RECT            rcSource;           
    RECT            rcTarget;           
    DWORD           dwActiveWidth;      
    DWORD           dwActiveHeight;     
    REFERENCE_TIME  AvgTimePerFrame;    
} ANALOGVIDEOINFO;

Members

rcSource

Source video rectangle.

rcTarget

Destination target rectangle.

dwActiveWidth

Source video width.

dwActiveHeight

Source video height (483 for NTSC, 575 for PAL/SECAM).

AvgTimePerFrame

Average time per frame in 100-nanosecond units.

Remarks

Filters using this format usually pass the video signal using a hardware-based connection rather than using memory-based transports.

An example of a definition of an analog video media type connection would be a connection of NTSC video using "M" color encoding. This would use a major media type of MEDIATYPE_AnalogVideo, a subtype of MEDIASUBTYPE_AnalogVideo_NTSC_M, and a format type of FORMAT_AnalogVideo.

Requirements

  Header: Dshow.h.

See Also