6df5c528ca 
								
							
								 
							
						 
						
							
							
								
								Move some conditionally used variables into the block where they are used.  
							
							This allows dropping the av_unused argument from them. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3e2aa268f6 
								
							
								 
							
						 
						
							
							
								
								sha: use AV_RB32() instead of assuming buffer can be cast to uint32_t*  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								488d2b6349 
								
							
								 
							
						 
						
							
							
								
								lavu: remove disabled sha1 cruft.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8fc0162ac4 
								
							
								 
							
						 
						
							
							
								
								Add av_ prefix to bswap macros  
							
							Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6b22522c9 
								
							
								 
							
						 
						
							
							
								
								bswap: change ME to NE in macro names  
							
							Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.
Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								32f40ace25 
								
							
								 
							
						 
						
							
							
								
								sha: add missing include  
							
							Originally committed as revision 22449 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ed6f39944 
								
							
								 
							
						 
						
							
							
								
								Replace many includes of libavutil/common.h with what is actually needed  
							
							This reduces the number of false dependencies on header files and
speeds up compilation.
Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0fcbcad140 
								
							
								 
							
						 
						
							
							
								
								Include sha1.h from sha.c: It contains several prototypes.  
							
							Originally committed as revision 22099 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a768816c33 
								
							
								 
							
						 
						
							
							
								
								Simplify expression as suggested by Måns Rullgård  
							
							Originally committed as revision 21756 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								045b60bf9b 
								
							
								 
							
						 
						
							
							
								
								Make SHA digest function write digest value with AV_WN32 instead of assuming  
							
							that output may be written as uint32_t since output buffer may not be aligned
(and it's silly to force alignment on it) and it does not work in that case
properly on some architectures.
Originally committed as revision 21754 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b4e7c28fb 
								
							
								 
							
						 
						
							
							
								
								Mark conditionally used variable T2 as av_unused; avoids the warning:  
							
							libavutil/sha.c:183: warning: unused variable `T2'
Originally committed as revision 19551 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								87d718aefc 
								
							
								 
							
						 
						
							
							
								
								cosmetics: reindent after last commit  
							
							Originally committed as revision 19450 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa5a99ae0c 
								
							
								 
							
						 
						
							
							
								
								Add SHA-2 hashing  
							
							Originally committed as revision 19449 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								451ae25724 
								
							
								 
							
						 
						
							
							
								
								Prepare SHA code to handle SHA-2 as well. For now rename files and functions  
							
							and leave av_sha1_* functions for compatibility until next major bump.
Originally committed as revision 19394 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d73abb86a 
								
							
								 
							
						 
						
							
							
								
								Rename function to sha1_transform so it won't be confused with SHA-2 transform  
							
							when it's added.
Originally committed as revision 19389 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2c6361e009 
								
							
								 
							
						 
						
							
							
								
								Use pointer to hash transform function to make adding SHA-2 support easier.  
							
							Originally committed as revision 19388 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3a7c65077d 
								
							
								 
							
						 
						
							
							
								
								cosmetics: vertical align AVSHA1 members  
							
							Originally committed as revision 19387 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								01cc628845 
								
							
								 
							
						 
						
							
							
								
								Extend AVSHA1 so it can be used in future SHA-2 code as well  
							
							Originally committed as revision 19386 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4364fc9a0d 
								
							
								 
							
						 
						
							
							
								
								Document SHA-1 functions and structures  
							
							Originally committed as revision 19385 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ef37cd52e 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Reformat file to K&R style upon Kostya's request.  
							
							Originally committed as revision 19154 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89c9ff504b 
								
							
								 
							
						 
						
							
							
								
								spelling/grammar/consistency review part I  
							
							Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								811bfa76ce 
								
							
								 
							
						 
						
							
							
								
								Remove misleading comment about how to build SHA1 test program.  
							
							Generating the test program is integrated into the build system already.
Originally committed as revision 16804 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b250f9c66d 
								
							
								 
							
						 
						
							
							
								
								Change semantic of CONFIG_*, HAVE_* and ARCH_*.  
							
							They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f522310b6d 
								
							
								 
							
						 
						
							
							
								
								Missing const found by -Wwrite-strings.  
							
							Originally committed as revision 11838 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								537c8e7a48 
								
							
								 
							
						 
						
							
							
								
								Provide sha1 to outside applications  
							
							Patch from Diego Pettenò flameeyesATgmailDOTcom
Originally committed as revision 11207 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f8a80fd69d 
								
							
								 
							
						 
						
							
							
								
								main() --> main(void)  
							
							Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d44f15cfc 
								
							
								 
							
						 
						
							
							
								
								Add proper license header.  
							
							Originally committed as revision 9444 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								69ae947874 
								
							
								 
							
						 
						
							
							
								
								add missing include of bswap.h  
							
							Originally committed as revision 8853 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								248b25f878 
								
							
								 
							
						 
						
							
							
								
								s/context/ctx/  
							
							Originally committed as revision 8385 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36c7fa7ea5 
								
							
								 
							
						 
						
							
							
								
								smaller av_sha1_update()  
							
							Originally committed as revision 8381 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								104c30ee06 
								
							
								 
							
						 
						
							
							
								
								use CONFIG_SMALL  
							
							Originally committed as revision 8380 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								5fd7f87b8d 
								
							
								 
							
						 
						
							
							
								
								cosmetic  
							
							Originally committed as revision 8378 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								15b6cae245 
								
							
								 
							
						 
						
							
							
								
								dont memcpy() simpler and same speed  
							
							Originally committed as revision 8377 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								476f9b74ec 
								
							
								 
							
						 
						
							
							
								
								simplify  
							
							Originally committed as revision 8376 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f6a3477bb5 
								
							
								 
							
						 
						
							
							
								
								remove middle variant (keep fastest and smallest)  
							
							Originally committed as revision 8375 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								965ea9ba66 
								
							
								 
							
						 
						
							
							
								
								10l  
							
							Originally committed as revision 8374 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fca447a911 
								
							
								 
							
						 
						
							
							
								
								double ;;  
							
							Originally committed as revision 8373 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2fa3a22d23 
								
							
								 
							
						 
						
							
							
								
								factorize VARIANT2 (smaller and slower)  
							
							Originally committed as revision 8372 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb496e1f12 
								
							
								 
							
						 
						
							
							
								
								zero byte idea by rich  
							
							Originally committed as revision 8368 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								20bd4e0799 
								
							
								 
							
						 
						
							
							
								
								cosmetic cleanup  
							
							Originally committed as revision 8362 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3884689bd5 
								
							
								 
							
						 
						
							
							
								
								cosmetic cleanup  
							
							Originally committed as revision 8361 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								913cbde41a 
								
							
								 
							
						 
						
							
							
								
								10% smaller object file, 2% slower  
							
							Originally committed as revision 8360 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c6fd617aea 
								
							
								 
							
						 
						
							
							
								
								very slightly smaller object file  
							
							Originally committed as revision 8358 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								de953b6b67 
								
							
								 
							
						 
						
							
							
								
								remove bigger and slower code  
							
							Originally committed as revision 8356 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago