New Contributor I
11-01-2009 06:25 AM
The function QuantizeResidual4x4Fwd has a parameter called "roundmode". The documentation state that if set to 0 an interframe is processed and if set to 1 and intra frame is processed.
Is it possible to get an actual description of what is the actual effect on the quantizer?
11-02-2009 07:04 PM
Do you mean the description:
The functions ippiQuantizeResidual4x4Fwd_H264_16s_C1,
ippiQuantizeResidual4x4Fwd_H264_32s_C1 are declared in the ippvc.h file. These functions
perform forward quantization for a 4x4 residual block. A 4x4 residual block (pSrc) is quantized.
All values are rounded towards nearest (intra frame, roundmode=1 ) or towards zero (inter frame, roundmode=0 ). Then the number of non-zero elements and index of the last non-zero element are calculated and stored.
If pQuantTable is NULL, the default quantization table is used.
This function is used in the H.264 encoder included into Intel IPP Samples.