int QccIMGImageComponentScalarQuantize(const QccIMGImageComponent *image_component, 
const QccSQScalarQuantizer *quantizer, QccVector distortion, QccChannel 
*channel);  
int QccIMGImageComponentInverseScalarQuantize(const QccChannel 
*channel, const QccSQScalarQuantizer *quantizer, QccIMGImageComponent 
*image_component);  
 
int QccIMGImageScalarQuantize(const QccIMGImage *image, 
const QccSQScalarQuantizer *quantizers, QccChannel *channels);  
int QccIMGImageInverseScalarQuantize(const 
QccChannel *channels, const QccSQScalarQuantizer *quantizers, QccIMGImage 
*image);  
QccIMGImageComponentInverseScalarQuantize() inverse quantizes the quantization indices in channel, reconstructing the pixels which are returned in image_component.
QccIMGImageScalarQuantize() and QccIMGImageInverseScalarQuantize() call QccIMGImageComponentScalarQuantize() and QccIMGImageComponentInverseScalarQuantize(), respectively, for each of the Y, U, and V components of image. quantizers and channels are arrays of quantizers and channels, one for each image component.
A. K. Jain, Fundamentals of Digital Image Processing. Englewood Cliffs, NJ: Prentice Hall, 1989.