Microsoft DirectX 8.0 |
This interface provides methods for setting and retrieving properties on the DV Video Decoder filter.
IUnknown methods Description QueryInterface Retrieves pointers to supported interfaces. AddRef Increments the reference count. Release Decrements the reference count. IIPDVDec methods Description get_IPDisplay Retrieves the decoding resolution. put_IPDisplay Sets the decoding resolution.
Retrieves the decoding resolution.
Syntax
HRESULT get_IPDisplay( int *displayPix );
Parameters
- displayPix
- Pointer to a variable that receives a member of the DVDECODERRESOLUTION enumerated type, specifying the decoding resolution.
Return Value
Returns S_OK.
Sets the decoding resolution.
Syntax
HRESULT put_IPDisplay( int displayPix );
Parameters
- displayPix
- [in] Member of the DVDECODERRESOLUTION enumerated type, specifying the decoding resolution. The meaning of this value depends on whether the current format is NTSC or PAL. The filter determines at run time which format applies, based on the media type.
Return Value
Returns S_OK if successful; otherwise, returns E_FAIL or another error code.
Remarks
This method will fail if the filter is already streaming media data.