Mercurial > libavcodec.hg
diff h261.c @ 2609:0f74a379a890 libavcodec
store the number of runs to avoid storing the last run value
about 10% lower bitrate for -qscale 32 (forman & some music video)
worst case bitrate increase <0.1% (lossless or low qscale)
and now the bad news, even though this just adds a single subtraction and an if() into the medium sized unpack_coeffs() loop and the if() will only be false once per unpac_coeff() call, gcc produces 50% slower code, i didnt look at the generated asm yet, not sure if i want to ...
author | michael |
---|---|
date | Fri, 15 Apr 2005 13:24:30 +0000 |
parents | f67b63ed036d |
children | 511e3afc43e1 |