quantization question
"Aitor Garay" <[email protected]> Fri, 4 Apr 2003 14:48:41 +0200
| Newsgroups | gmane.comp.video.h264.devel |
|---|---|
| Message-ID | <001001c2faa8$859f6220$bcb31fac@HAJC0062> |
Hi!,
As the reference software, i'm using for the quantization the following expression:
|Z| = ( |W|*MF + f) >> qbits
sign( Z) = sign( W)
Is this equivalent?
if( W >= 0) {
Z = ( W*MF + f) >> qbits;
} else {
Z = ( W*MF - f) >> qbits
}
/AITOR