Skip to content

Latest commit

 

History

History
220 lines (176 loc) · 7.48 KB

ns-mfobjects-mfvideoinfo.md

File metadata and controls

220 lines (176 loc) · 7.48 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:mfobjects._MFVideoInfo
MFVideoInfo (mfobjects.h)
Contains video format information that applies to both compressed and uncompressed formats.This structure is used in the MFVIDEOFORMAT structure.
746fd84f-58f8-42ab-bcf7-8fd18dcd02af
MFVideoInfo
MFVideoInfo structure [Media Foundation]
mf.mfvideoinfo
mfobjects/MFVideoInfo
mf\mfvideoinfo.htm
mf
746fd84f-58f8-42ab-bcf7-8fd18dcd02af
12/05/2018
746fd84f-58f8-42ab-bcf7-8fd18dcd02af, MFVideoInfo, MFVideoInfo structure [Media Foundation], mf.mfvideoinfo, mfobjects/MFVideoInfo
mfobjects.h
Mfidl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
MFVideoInfo
19H1
_MFVideoInfo
mfobjects/_MFVideoInfo
MFVideoInfo
mfobjects/MFVideoInfo
c++
APIRef
kbSyntax
HeaderDef
mfobjects.h
MFVideoInfo

MFVideoInfo structure

-description

Contains video format information that applies to both compressed and uncompressed formats.

This structure is used in the MFVIDEOFORMAT structure.

-struct-fields

-field dwWidth

Width of the decoded image, in pixels.

-field dwHeight

Height of the decoded image, in pixels.

-field PixelAspectRatio

Pixel aspect ratio, specified as an MFRatio structure.

-field SourceChromaSubsampling

Chroma sub-sampling of the original image, specified as a member of the MFVideoChromaSubsampling enumeration.

-field InterlaceMode

Image interlacing, specified as a member of the MFVideoInterlaceMode enumeration.

-field TransferFunction

R'G'B' gamma curve function, specified as a member of the MFVideoTransferFunction enumeration.

-field ColorPrimaries

Color primaries of the video source, specified as a member of the MFVideoPrimaries enumeration. This value provides the conversion from R'G'B' to linear RGB.

-field TransferMatrix

Conversion matrix from Y'Cb'Cr' to R'G'B, specified as a member of the MFVideoTransferMatrix enumeration.

-field SourceLighting

Intended viewing conditions, specified as a member of the MFVideoLighting enumeration.

-field FramesPerSecond

Frames per second, specified as an MFRatio structure. If the frame rate is unknown or variable, the numerator and denominator should both be set to zero. It is invalid for only one member of the MFRatio structure to be zero.

-field NominalRange

Range of valid RGB values, specified as a member of the MFNominalRange enumeration. The value indicates whether color values contain headroom and toeroom.

-field GeometricAperture

Geometric aperture, specified as an MFVideoArea structure. For more information, see MF_MT_GEOMETRIC_APERTURE.

-field MinimumDisplayAperture

The display aperture, specified as an MFVideoArea structure. The display aperture is the region of the video image that is intended to be shown. Any data outside of this area is the overscan region. For more information, see MF_MT_MINIMUM_DISPLAY_APERTURE.

-field PanScanAperture

Pan-scan rectangle, specified as an MFVideoArea structure. The pan-scan rectangle defines a region of the image that is displayed in pan-and-scan mode. It can be used when wide-screen content is shown on a 4 x 3 display. The value is valid only when the VideoFlags member contains the MFVideoFlag_PanScanEnabled flag.

-field VideoFlags

Bitwise OR of zero or more flags from the MFVideoFlags enumeration.

-remarks

Developers are encouraged to use media type attributes instead of using the MFVideoInfo structure. The following table lists the attributes that correspond to the members of this structure.

Structure Member Media Type Attribute
dwWidth, dwHeight MF_MT_FRAME_SIZE
PixelAspectRatio MF_MT_PIXEL_ASPECT_RATIO
SourceChromaSubsampling MF_MT_VIDEO_CHROMA_SITING
InterlaceMode MF_MT_INTERLACE_MODE
TransferFunction MF_MT_TRANSFER_FUNCTION
ColorPrimaries MF_MT_VIDEO_PRIMARIES
TransferMatrix MF_MT_YUV_MATRIX
SourceLighting MF_MT_VIDEO_LIGHTING
FramesPerSecond MF_MT_FRAME_RATE
NominalRange MF_MT_VIDEO_NOMINAL_RANGE
GeometricAperture MF_MT_GEOMETRIC_APERTURE
MinimumDisplayAperture MF_MT_MINIMUM_DISPLAY_APERTURE
PanScanAperture MF_MT_PAN_SCAN_APERTURE
VideoFlags See MFVideoFlags.

-see-also

Media Foundation Structures

Media Types