Skip to content

ref_iface_IVDXVideoDecoderModel_GetRequiredCount

shekh edited this page Apr 15, 2018 · 1 revision

VirtualDub Plugin SDK 1.2

IVDXVideoDecoderModel interface

IVDXVideoDecoderModel:: GetRequiredCount

Returns the number of source samples required to decode the desired frame, based on the current decoder state.

int GetRequiredCount();

Thread safety

This method is not thread-safe.

Errors

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

Remarks

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.

Clone this wiki locally