Ben Avison a22ae9f0c5 mpegts: Remove one 64-bit integer modulus operation per packet
The common case of the pointer having increased by one packet (which results
in no change to the modulus) can be detected with a 64-bit subtraction,
which is far cheaper than a division on many platforms.

           Before          After
           Mean   StdDev   Mean   StdDev  Change
Divisions   248.3  8.8      51.5   7.4    +381.7%
Overall    2773.2 25.6     2372.5 43.1     +16.9%

Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-05 19:25:55 +03:00
2013-08-05 16:13:35 +02:00
2013-07-29 19:20:28 +02:00
2013-04-05 18:55:11 +02:00
2013-07-25 19:43:32 +02:00
2013-07-07 21:43:23 +02:00
2013-07-07 21:43:23 +02:00
2013-07-07 21:43:23 +02:00
2013-04-05 18:55:11 +02:00
2013-08-05 16:13:35 +02:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.
Description
No description provided
Readme 242 MiB
Languages
C 91.6%
Assembly 6.4%
Makefile 1.3%
C++ 0.2%
Objective-C 0.2%
Other 0.2%