Luca Barbato
|
0bc308de56
|
kill a warning, av_sha1_update accepts uint8_t * not uint64_t *
Originally committed as revision 11208 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Luca Barbato
|
537c8e7a48
|
Provide sha1 to outside applications
Patch from Diego Pettenò flameeyesATgmailDOTcom
Originally committed as revision 11207 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Diego Biurrun
|
f8a80fd69d
|
main() --> main(void)
Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Diego Biurrun
|
3d44f15cfc
|
Add proper license header.
Originally committed as revision 9444 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Attila Kinali
|
69ae947874
|
add missing include of bswap.h
Originally committed as revision 8853 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
248b25f878
|
s/context/ctx/
Originally committed as revision 8385 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
36c7fa7ea5
|
smaller av_sha1_update()
Originally committed as revision 8381 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
104c30ee06
|
use CONFIG_SMALL
Originally committed as revision 8380 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
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
|
18 years ago |
Michael Niedermayer
|
5fd7f87b8d
|
cosmetic
Originally committed as revision 8378 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
15b6cae245
|
dont memcpy() simpler and same speed
Originally committed as revision 8377 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
476f9b74ec
|
simplify
Originally committed as revision 8376 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
f6a3477bb5
|
remove middle variant (keep fastest and smallest)
Originally committed as revision 8375 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
965ea9ba66
|
10l
Originally committed as revision 8374 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
fca447a911
|
double ;;
Originally committed as revision 8373 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
2fa3a22d23
|
factorize VARIANT2 (smaller and slower)
Originally committed as revision 8372 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
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
|
18 years ago |
Michael Niedermayer
|
cb496e1f12
|
zero byte idea by rich
Originally committed as revision 8368 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
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
|
18 years ago |
Michael Niedermayer
|
20bd4e0799
|
cosmetic cleanup
Originally committed as revision 8362 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
3884689bd5
|
cosmetic cleanup
Originally committed as revision 8361 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
913cbde41a
|
10% smaller object file, 2% slower
Originally committed as revision 8360 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
c6fd617aea
|
very slightly smaller object file
Originally committed as revision 8358 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
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
|
18 years ago |
Michael Niedermayer
|
de953b6b67
|
remove bigger and slower code
Originally committed as revision 8356 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
82da03f717
|
dont recommand testing with -O3
Originally committed as revision 8355 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
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
|
18 years ago |
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
|
18 years ago |
Michael Niedermayer
|
ae76034cbb
|
explain how to test it
Originally committed as revision 8352 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Michael Niedermayer
|
7c60e55bff
|
simple SHA-1 implementation
Originally committed as revision 8351 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |