ID_PageDecodeStep function

Function that performs one step of image decoding.

Syntax

PLUGIN_API int __stdcall ID_PageDecodeStep
(
   ID_StateHdl hs,
   ID_StepOutput* pso
);

Parameters

hs

Type: ID_StateHdl

[in] Image state handle; hs is set by the host application to the same value that was passed to it by the plug-in during the relevant call to ID_OpenImage.

pso

Type: ID_StepOutput*

[out] Output for this step

Return Value

For a description of return values, see Return Values.

Remarks

This function performs one step of image decoding. How long this step should last is up to the plug-in developer. This should probably only be used over single pass decoding when the image format takes a large amount of computational power to decode.

Requirements

Header: ID_PlugIn.h

See also: