Commit Graph

311 Commits

Author SHA1 Message Date
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
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
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
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
Panagiotis Issaris 43cd2d3225 Install mem.h on "make install" as:
* the mem.h functions are part of the public API
* common.h includes mem.h and common.h is installed

Originally committed as revision 8345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 15:23:18 +00:00
Panagiotis Issaris 792098c2ec Move the memory related functions out of common.h into their own header file
mem.h.

Originally committed as revision 8342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:45:49 +00:00
Michel Bardiaux 318c5e0524 Give context to dprintf
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 12:36:41 +00:00
Panagiotis Issaris 0d8f16acf9 Fix typo in Doxygen comments.
Originally committed as revision 8307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 15:18:07 +00:00
Michel Bardiaux bdb4b698d8 Corrections so that builds with DEBUG work
Originally committed as revision 8295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 14:49:43 +00:00
Alex Beregszaszi 1586238717 add little endian 24bit read/write
Originally committed as revision 8269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 13:04:47 +00:00
Panagiotis Issaris d7f654692a Move unaltered av_freep() comments to the header file.
Originally committed as revision 8253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:51:03 +00:00
Panagiotis Issaris f690ee715d Move unaltered av_free() comments to the header file.
Originally committed as revision 8252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:50:03 +00:00
Panagiotis Issaris d6def91a3b Move unaltered av_realloc() comments to the header file.
Originally committed as revision 8251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:46:47 +00:00
Panagiotis Issaris 9a07029916 Move unaltered av_malloc() comments to the header file.
Originally committed as revision 8250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:45:52 +00:00
Panagiotis Issaris 395722ba67 Move av_log2_i()'s unaltered comments to the header file.
Originally committed as revision 8232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:26:53 +00:00
Panagiotis Issaris 37b2f1d073 Move av_i2int()'s unaltered comments to the header file.
Originally committed as revision 8231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:26:01 +00:00
Panagiotis Issaris c1f567875a Move av_int2i()'s unaltered comments to the header file.
Originally committed as revision 8230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:25:00 +00:00
Panagiotis Issaris fb7d4f7908 Move av_cmp_i()'s unaltered comment to the header file.
Originally committed as revision 8229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:20:54 +00:00
Panagiotis Issaris 886368e989 Move av_shr_i()'s unaltered comments to the header file.
Originally committed as revision 8228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:18:44 +00:00
Panagiotis Issaris 9375cdd5ab Move av_div_i()'s comments to the header file. The comments are unaltered.
Originally committed as revision 8227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:14:12 +00:00
Panagiotis Issaris 607da27c64 Move av_mod_i()'s comment to the header file. The moved comment is unmodified.
Originally committed as revision 8226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:10:38 +00:00
Panagiotis Issaris 3ec9a7873f Move the unaltered Doxygen docs from the log source code to the accompanying
header file.

Originally committed as revision 8225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 23:04:49 +00:00
Baptiste Coudurier 626b7c0f1a add R/WB24 functions
Originally committed as revision 8216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-04 02:48:32 +00:00
Diego Biurrun 82ffe1919a Improve Doxygen documentation, inspired by Michael's description.
Originally committed as revision 8187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 10:09:51 +00:00
Luca Barbato 558b86a5d0 Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
Originally committed as revision 8158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:40:23 +00:00
Luca Barbato 9fca9c0316 Reverting stray commit part I
Originally committed as revision 8157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:37:54 +00:00
Luca Barbato bb0eb714bd get_packetheader() forgot to read the header_checksum in big packets
patch from Clemens Ladisch cladisch AT fastmail dot net
(stray base64 patch reverted in the next commits)

Originally committed as revision 8156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:28:31 +00:00
Dujardin Bernard 1faf7dc807 Doxygen documentation for all functions, patch by Dujardin Bernard,
dujardin.iut numericable fr with some further changes by me.

Originally committed as revision 8151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 17:49:00 +00:00
Diego Biurrun f5a90186d7 Add missing license headers.
Originally committed as revision 8149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 16:05:19 +00:00
Diego Biurrun 32bbf7f70a Remove superfluous comment.
Originally committed as revision 8148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 15:58:38 +00:00