Microsoft DirectX 8.0

IIPDVDec Interface

This interface provides methods for setting and retrieving properties on the DV Video Decoder filter.

IUnknown methodsDescription
QueryInterfaceRetrieves pointers to supported interfaces.
AddRefIncrements the reference count.
ReleaseDecrements the reference count.
IIPDVDec methodsDescription
get_IPDisplayRetrieves the decoding resolution.
put_IPDisplaySets the decoding resolution.

IIPDVDec::get_IPDisplay

IIPDVDec Interface

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.

IIPDVDec::put_IPDisplay

IIPDVDec Interface

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.