• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xiph / rav1e / 4421 / 2
86%
master: 86%

Build:
DEFAULT BRANCH: master
Ran 03 Sep 2019 11:43PM UTC
Files 51
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Sep 2019 10:55PM UTC coverage: 70.583% (+1.0%) from 69.579%
CACHE_NAME=COVERALLS

push

travis-ci

Ivan Molodetskikh
Only cap overflow if it's actually a danger.

In the normal case (when we're not in danger of wasting bits
 because we have not used enough), soft_limit is negative.
As a result, log_soft_limit was being set to -1.
Normally this is fine, since we then compare it against
 (log_scale_pixels - log_q_exp), the log of the estimated number of
 bits that will be used, which is usually positive.
However, when the number of pixels is very small (e.g., for a 1x1
 video), it is possible for (log_scale_pixels - log_q_exp) to be
 negative, and we will try to enforce the limit anyway.
This results in very bad things (integer overflows) when we try.

This commit also corrects a parentheses error that was introduced
 when porting the original implementation to rav1e (the division by
 margin should happen before the multiply, which can also cause
 overflows).

13007 of 18428 relevant lines covered (70.58%)

0.71 hits per line

Source Files on job 4421.2 (CACHE_NAME=COVERALLS)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2349
  • Travis Job 4421.2
  • 6b9f362f on github
  • Prev Job for CACHE_NAME=COVERALLS on master (#4418.2)
  • Next Job for CACHE_NAME=COVERALLS on master (#4422.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc