ref_iface_IVDXVideoDecoderModel_GetRequiredCount - shekh/VirtualDub2 GitHub Wiki
VirtualDub Plugin SDK 1.2
IVDXVideoDecoderModel interface
Returns the number of source samples required to decode the desired frame, based on the current decoder state.
int GetRequiredCount();
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
A return value of zero is possible if the frame is already resident in an internal frame buffer.
This is used in smart rendering mode by the encoding engine to determine if a frame can be copied in Direct mode or if the engine must drop back to full processing mode.
Copyright (C) 2007-2012 Avery Lee.