ref_iface_IVDXVideoDecoder_SetDecompressedFormat - shekh/VirtualDub2 GitHub Wiki

VirtualDub Plugin SDK 1.2

IVDXVideoDecoder interface

IVDXVideoDecoder:: SetDecompressedFormat

Sets the desired image format for decoded frames using a custom Windows DIB format.

bool SetDecompressedFormat(const VDXBITMAPINFOHEADER *pbih);

Parameters

pbih Desired format for decoded frame.

Thread safety

This method is not thread-safe.

Errors

Errors may not be returned from this function (see SetError()).

Return value

True if the format was successfully changed, or false if the format is not supported.

Remarks

After SetDecompressedFormat() succeeds, the decoder state is reset as if Reset() were called.

This function is never called with any bitmap formats already covered by the VDXPixmapFormat enumeration. In particular, it is OK for a decoder to always return false from SetDecompressedFormat() if no special formats are supported for decoding.


Copyright (C) 2007-2012 Avery Lee.

⚠️ **GitHub.com Fallback** ⚠️