Commit Graph

8958 Commits

Author SHA1 Message Date
Michael Niedermayer 6bd10f2de5 kill av_mallocz_static()
Originally committed as revision 8400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 12:15:34 +00:00
Baptiste Coudurier b21c9af936 reindent after last commit
Originally committed as revision 8399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 11:13:17 +00:00
Baptiste Coudurier 1153be3be1 h264 complete frames parsing support
Originally committed as revision 8398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 11:12:02 +00:00
Michael Niedermayer 08cb195020 kill 3 more av_mallocz_static()
Originally committed as revision 8397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 01:59:53 +00:00
Michael Niedermayer 9608652dc1 kill another 2 av_mallocz_static()
Originally committed as revision 8396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-14 00:19:56 +00:00
Michael Niedermayer 2df6e97872 kill a av_mallocz_static()
Originally committed as revision 8395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 23:30:28 +00:00
Michael Niedermayer e2e712e7c1 10^10l to whoever wrote this
Originally committed as revision 8394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 23:10:42 +00:00
Michael Niedermayer 0c3c674cde remove useless static cm variable
Originally committed as revision 8393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:53:01 +00:00
Michael Niedermayer 861450d551 cosmetic
Originally committed as revision 8392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:51:49 +00:00
Michael Niedermayer 3e207bb1bd remove silly static int done protecting the initalization of 32 elements to 1
Originally committed as revision 8391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:51:11 +00:00
Michael Niedermayer 2d2020b825 remove redundant memset()
Originally committed as revision 8390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:47:59 +00:00
Michael Niedermayer 5ac0915179 dont malloc() static mv_penalty arrays
Originally committed as revision 8389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:47:05 +00:00
Michael Niedermayer ca2a0c938e deprecate av_mallocz_static()
Originally committed as revision 8388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 22:01:06 +00:00
Ian Braithwaite 85e7386ae0 Combine the window and overlap loops,
and get rid of the data swapping.

Patch by Ian Braithwaite <dk dot braithwaite at ian>

Originally committed as revision 8387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 19:44:02 +00:00
Michael Niedermayer e057461dac cosmetic (order context variables like in sha1)
Originally committed as revision 8386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 12:40:13 +00:00
Michael Niedermayer 248b25f878 s/context/ctx/
Originally committed as revision 8385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 12:26:11 +00:00
Michael Niedermayer e657aa3415 #undef printf under #ifdef TEST (needed for testing)
Originally committed as revision 8384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 12:20:04 +00:00
Michael Niedermayer ef3c7c3328 borrow finalization algo from sha1 (100byte smaller)
Originally committed as revision 8383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 12:19:20 +00:00
Michael Niedermayer e1b62250ac get rid of b_used variable (same size with CONFIG_SMALL)
Originally committed as revision 8382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 11:57:26 +00:00
Michael Niedermayer 36c7fa7ea5 smaller av_sha1_update()
Originally committed as revision 8381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 11:25:57 +00:00
Michael Niedermayer 104c30ee06 use CONFIG_SMALL
Originally committed as revision 8380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:53:15 +00:00
Michael Niedermayer 2001304500 put state[5] last so no padding is needed on arch where uint64_t needs 8byte alignment
Originally committed as revision 8379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:48:22 +00:00
Michael Niedermayer 5fd7f87b8d cosmetic
Originally committed as revision 8378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:46:18 +00:00
Michael Niedermayer 15b6cae245 dont memcpy() simpler and same speed
Originally committed as revision 8377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:45:41 +00:00
Michael Niedermayer 476f9b74ec simplify
Originally committed as revision 8376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:40:59 +00:00
Michael Niedermayer f6a3477bb5 remove middle variant (keep fastest and smallest)
Originally committed as revision 8375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:36:49 +00:00
Michael Niedermayer 965ea9ba66 10l
Originally committed as revision 8374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 10:34:52 +00:00
Michael Niedermayer fca447a911 double ;;
Originally committed as revision 8373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 01:25:59 +00:00
Michael Niedermayer 2fa3a22d23 factorize VARIANT2 (smaller and slower)
Originally committed as revision 8372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 01:13:38 +00:00
Michael Niedermayer d6cf780419 revert 2% speed loss change (r8360)
so VARIANT0 will be big and a few % faster, VARIANT1/2 are unaffected

Originally committed as revision 8371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:35:18 +00:00
Aurelien Jacobs 5ae4975c65 remove outdated comment
Originally committed as revision 8370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:21:19 +00:00
Aurelien Jacobs 2b1785b7cc remove no more needed parameters
Originally committed as revision 8369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:20:18 +00:00
Michael Niedermayer cb496e1f12 zero byte idea by rich
Originally committed as revision 8368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:19:26 +00:00
Michael Niedermayer 6573578d7b 2 other variants of how to implement the core part
benchmarks welcome ...

Originally committed as revision 8367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:17:55 +00:00
Aurelien Jacobs 086b0ad8ca set pkt->duration for laced packets too
Originally committed as revision 8366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:16:31 +00:00
Aurelien Jacobs 9b54ab15e7 calculate pts for laced packets
Originally committed as revision 8365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:10:52 +00:00
Aurelien Jacobs 7fde6331a7 calculate default_duration for AAC tracks
Originally committed as revision 8364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:02:55 +00:00
Aurelien Jacobs 25f2b76fdb scale duration and default_duration
Originally committed as revision 8363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-13 00:01:24 +00:00
Michael Niedermayer 20bd4e0799 cosmetic cleanup
Originally committed as revision 8362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 22:23:30 +00:00
Michael Niedermayer 3884689bd5 cosmetic cleanup
Originally committed as revision 8361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 22:14:33 +00:00
Michael Niedermayer 913cbde41a 10% smaller object file, 2% slower
Originally committed as revision 8360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 22:12:36 +00:00
Aurelien Jacobs 916bf03a69 move timecode calculation out of laces loop
Originally committed as revision 8359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:58:29 +00:00
Michael Niedermayer c6fd617aea very slightly smaller object file
Originally committed as revision 8358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:33:38 +00:00
Michael Niedermayer 11bf0eb69a make count count bytes not bits (this is simpler and leads to a very slightly smaller object file)
Originally committed as revision 8357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:29:39 +00:00
Michael Niedermayer de953b6b67 remove bigger and slower code
Originally committed as revision 8356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:23:33 +00:00
Michael Niedermayer 82da03f717 dont recommand testing with -O3
Originally committed as revision 8355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:21:57 +00:00
Michael Niedermayer aa59433af6 avoid silly ring buffer logic (faster with -O2, -O3 is always slower then -O2)
Originally committed as revision 8354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:21:12 +00:00
Michael Niedermayer 3479b72bc2 its faster to copy the data to the stack it seems ...
Originally committed as revision 8353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:14:33 +00:00
Michael Niedermayer ae76034cbb explain how to test it
Originally committed as revision 8352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:07:38 +00:00
Michael Niedermayer 7c60e55bff simple SHA-1 implementation
Originally committed as revision 8351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 21:05:56 +00:00