IBDA_Encoder::EnumVideoCapability Method
[This documentation is preliminary and is subject to change.]
Gets one of the video formats supported by the device.
Syntax
HRESULT EnumVideoCapability(
[in] DWORD FmtIndex,
[out] DWORD *MethodID,
[out] DWORD *AlgorithmType,
[out] DWORD *VerticalSize,
[out] DWORD *HorizontalSize,
[out] DWORD *AspectRatio,
[out] DWORD *FrameRateCode,
[out] DWORD *ProgressiveSequence
);
Parameters
FmtIndex [in]
The zero-based index of the video format to retrieve. To get the number of video formats, call IBDA_Encoder::QueryCapabilities.MethodID [out]
Receives a value that uniquely identifies this video method.AlgorithmType [out]
Receives the type of encoding algorithm. The following values are defined.Value Meaning PBDA_Encoder_Video_MPEG2PartII
0x00000000MPEG-2, Part 2.
PBDA_Encoder_Video_MPEG4Part10
0x00000001MPEG-4, Part 10.
PBDA_Encoder_Video_AVC
0x00000001AVC video.
PBDA_Encoder_Video_H264
0x00000001H.264 video.
VerticalSize [out]
Receives the vertical_size_value field.HorizontalSize [out]
Receives the horizontal_size_value field.AspectRatio [out]
Receives the aspect_ratio_information field.FrameRateCode [out]
Receives the frame_rate_code field.ProgressiveSequence [out]
Receives the progressive_sequence field.
Return Value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The VerticalSize, HorizontalSize, AspectRatio, FrameRateCode, and ProgressiveSequence parameters are interpreted according to the ANSI/SCTE 43 2005 standard.
Requirements
| Client | Requires Windows 7. |
| IDL | Declared in Bdaiface.idl. |
See Also
Send comments about this topic to Microsoft
Build date: 12/4/2008