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. |
|
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 |
|
|
|
|
|
|
Contains video format information that applies to both compressed and uncompressed formats.
This structure is used in the MFVIDEOFORMAT structure.
Width of the decoded image, in pixels.
Height of the decoded image, in pixels.
Pixel aspect ratio, specified as an MFRatio structure.
Chroma sub-sampling of the original image, specified as a member of the MFVideoChromaSubsampling enumeration.
Image interlacing, specified as a member of the MFVideoInterlaceMode enumeration.
R'G'B' gamma curve function, specified as a member of the MFVideoTransferFunction enumeration.
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.
Conversion matrix from Y'Cb'Cr' to R'G'B, specified as a member of the MFVideoTransferMatrix enumeration.
Intended viewing conditions, specified as a member of the MFVideoLighting enumeration.
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.
Range of valid RGB values, specified as a member of the MFNominalRange enumeration. The value indicates whether color values contain headroom and toeroom.
Geometric aperture, specified as an MFVideoArea structure. For more information, see MF_MT_GEOMETRIC_APERTURE.
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.
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.
Bitwise OR of zero or more flags from the MFVideoFlags enumeration.
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. |