1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00
Go to file
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
2011-03-16 21:54:39 +01:00
2011-04-07 02:54:12 +02:00
2013-01-06 16:23:12 +01:00

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

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

* Read the documentation in the doc/ directory.

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

* See the LICENSE file.
Languages
C 90.1%
Assembly 7.9%
Makefile 1.3%
C++ 0.2%
Objective-C 0.2%
Other 0.1%