Re[2]: [XviD-devel] qpel - problems I found

xvid-devel@xvid.org xvid-devel@xvid.org
Sat, 12 Oct 2002 09:57:05 -0400


| particular, it turns out that (dx >> 1) on a negative value works
| correctly - ie divides by 2. So the difference is rounding. I don't
| know if the value should be rounded or not...

I have vague memories that the result of (dx >> 1) on signed numbers
could be compiler dependent. But I don't remember where I read it.

- Tom


| -----Original Message-----
| From: xvid-devel-admin@xvid.org [mailto:xvid-devel-admin@xvid.org]On
| Behalf Of Radek 'sysKin' Czyz
| Sent: Saturday, October 12, 2002 9:38 AM
| To: Christoph Lampert
| Subject: Re[2]: [XviD-devel] qpel - problems I found
|
|
| > Do you have a patch for these fixes, or commited to CVS already?
|
| Actually, I was waiting for confirmation if the fixes are correct. In
| particular, it turns out that (dx >> 1) on a negative value works
| correctly - ie divides by 2. So the difference is rounding. I don't
| know if the value should be rounded or not...
|
| Ah, what the heck. I'll commit it. Unless you tell me not to.
|
| Radek
|
| _______________________________________________
| XviD-devel mailing list
| XviD-devel@xvid.org
| http://list.xvid.org/mailman/listinfo/xvid-devel
|