FFmpeg/libavcodec
Alberto Delmás 9699b3a2d7 mss12: avoid unnecessary division in arith*_get_bit()
That division can be replaced with a comparison:
((c->value - c->low) << 1) + 1 >= range

By expanding 'range' definition and simplifying this inequation we obtain
the final expression.

Suggested by Michael Niedermayer <michaelni@gmx.at>

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
2012-09-06 20:44:04 +02:00
..
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-31 07:37:16 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-31 07:37:16 +02:00
2012-08-26 14:03:56 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-31 07:37:16 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-07 16:00:24 +02:00
2012-08-26 14:03:57 +02:00
2012-08-26 14:03:57 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-09-04 18:37:54 +03:00
2012-08-15 22:32:06 +03:00
2012-07-05 21:57:51 +01:00
2012-08-15 22:32:06 +03:00
2012-08-31 07:37:16 +02:00
2012-08-15 22:32:06 +03:00
2012-08-28 17:43:25 +02:00
2012-08-28 17:43:25 +02:00
2012-08-28 17:43:25 +02:00
2012-08-13 17:59:21 +01:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-09 10:50:27 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-09-03 11:33:49 +02:00
2012-08-31 07:37:16 +02:00
2012-08-31 07:37:16 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-24 10:45:39 +01:00
2012-07-11 07:29:05 +02:00
2012-08-20 11:22:59 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-07 16:00:24 +02:00
2012-08-31 07:37:16 +02:00
2012-08-31 07:37:16 +02:00
2012-08-31 07:37:16 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-14 12:48:46 +02:00
2012-08-31 07:37:16 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00
2012-07-03 17:35:11 +02:00
2012-08-15 22:32:06 +03:00
2012-08-15 22:32:06 +03:00