ref_iface_IVDXVideoDecoder_SetDecompressedFormat - shekh/VirtualDub2 GitHub Wiki
VirtualDub Plugin SDK 1.2
IVDXVideoDecoder interface
Sets the desired image format for decoded frames using a custom Windows DIB format.
bool SetDecompressedFormat(const VDXBITMAPINFOHEADER *pbih);
pbih | Desired format for decoded frame. |
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
True if the format was successfully changed, or false if the format is not supported.
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.