Re: DC prediction

"Benjamin M. Schwartz" <[email protected]> Fri, 25 Mar 2011 08:52:02 -0400
Newsgroups gmane.comp.multimedia.ogg.theora.devel
Message-ID <[email protected]>
On 03/25/2011 07:38 AM, Jonathan Fabrizio wrote:
> * Truncate DC to a 16-bit representation by dropping any higher-order bits.
> 
> But why dropping higher-order bits ?

1. In practice, this overflow does not occur.  A non-buggy encoder is very
unlikely to produce streams that overflow because this would result in bad
quality.

2. Checking for overflow (which occurs not at all or very rarely) would
waste CPU time, because most processors do not have fast saturating
arithmetic.

3. Theora is designed to be backwards-compatible with On2 VP3, so the core
decoding algorithms could not be changed.

--Ben

_______________________________________________
theora-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/theora-dev
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk2Mj/IACgkQUJT6e6HFtqSrKwCdHU53ukWr0rXQ0ufrURC7wuJU
HCUAn32xFpeZB1eKHXNiUSs1T3gxwQAZ
=rU6e
-----END PGP SIGNATURE-----