| synopsis || return value || arguments || prev || next |

kdu_kernels::get_lifting_downshift

bool get_lifting_downshift( int step_idx, int & downshift)

[Declared in "../coresys/common/kdu_kernels.h"]

Go to class description.


Synopsis

Determines a downshift value for use with the lifting factors in implementing reversible transforms. Returns false if the transform is irreversible. Otherwise returns true and sets the downshift argument.


Return Value

False if the transform is irreversible; otherwise, true.

Arguments

step_idx [int]

Identifies the specific lifting step (starting from 0) for which the downshift is being requested.

downshift [int &]

Unaffected unless transform is reversible, in which case it is used to return the smallest non-negative integer such that the lifting factor for the indicated lifting step is an integer multiple of 2^{- downshift}.


| top || synopsis || return value || arguments || prev || next |