305180f525 
								
							
								 
							
						 
						
							
							
								
								lavu/base64: return meaningful error code.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb45553f57 
								
							
								 
							
						 
						
							
							
								
								Remove pointless #undefs of previously forbidden functions.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dd3b73f390 
								
							
								 
							
						 
						
							
							
								
								base64: fix signed overflow in shift  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2bb7396bfd 
								
							
								 
							
						 
						
							
							
								
								base64: 10l endian fix.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								daa47fdd2c 
								
							
								 
							
						 
						
							
							
								
								Optimized base64 decode by writing 3 bytes at once.  
							
							About 25% faster.
decode: 248852 -> 200385 decicycles
(syntax check unchanged)
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								420719e141 
								
							
								 
							
						 
						
							
							
								
								Cosmetics: add do {} while 0 to macro.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								def19c9036 
								
							
								 
							
						 
						
							
							
								
								Unroll base64 decode loop.  
							
							Around 50% faster.
decode:       374139 -> 248852 decicycles
syntax check: 236955 -> 123854 decicycles
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								523f676b51 
								
							
								 
							
						 
						
							
							
								
								Use a full table for base64 decode.  
							
							Also encodes error or end marker into table.
About 20% faster.
decode:       466491 -> 374139 decicycles
syntax check: 236955 -> 161182 decicycles
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8650d5faf9 
								
							
								 
							
						 
						
							
							
								
								base64: more thorough decode tests.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bdd739e91c 
								
							
								 
							
						 
						
							
							
								
								base64: Only run benchmark when "-t" is specified.  
							
							As the test is run during fate and the benchmark is useless for fate
this very slightly speeds up fate. Its also consistent with the other
tests.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								57822f0660 
								
							
								 
							
						 
						
							
							
								
								base64: fix little typo  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								01084336b7 
								
							
								 
							
						 
						
							
							
								
								base64: add a benchmark for a pure syntax check.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ea4da94895 
								
							
								 
							
						 
						
							
							
								
								base64: simplify end handling in av_base64_encode()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								112bca91b0 
								
							
								 
							
						 
						
							
							
								
								base64: optimize av_base64_encode()  
							
							This makes the code 2-3 times as fast
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a41687c2d6 
								
							
								 
							
						 
						
							
							
								
								base64: add benchmark  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d60d718c49 
								
							
								 
							
						 
						
							
							
								
								Slightly optimize base64 encode.  
							
							Move handling of last byte outside of innermost loop.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6af4c9814a 
								
							
								 
							
						 
						
							
							
								
								Optimize output buffer size check in base64 decode.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								686ba5f4ea 
								
							
								 
							
						 
						
							
							
								
								Minor optimization of base64 decode.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d086c1203c 
								
							
								 
							
						 
						
							
							
								
								Add coverage exclusions for test code.  
							
							For some of the code e.g. doing timing measurements there is no
real point in running regression testing on it, thus it should
not be counted against coverage.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								784824a68c 
								
							
								 
							
						 
						
							
							
								
								Use AV_BASE64_SIZE() macro  
							
							Originally committed as revision 23462 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba87f0801d 
								
							
								 
							
						 
						
							
							
								
								Remove explicit filename from Doxygen  @file  commands.  
							
							Passing an explicit filename to this command is only necessary if the
documentation in the @file  block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								504ffed19f 
								
							
								 
							
						 
						
							
							
								
								Mark non-exported functions in test and example programs as static.  
							
							Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac76729c10 
								
							
								 
							
						 
						
							
							
								
								Cosmetics: "* out" -> "*out" for consistency with the other  
							
							parameters.
Originally committed as revision 17072 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5118bd441d 
								
							
								 
							
						 
						
							
							
								
								Cosmetics: rename the "size" parameter of av_base64_encode() to "in_size".  
							
							Originally committed as revision 17071 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								52ef50a080 
								
							
								 
							
						 
						
							
							
								
								Cosmetics: prefer out/in over buf/src for the parameter names of  
							
							av_base64_encode(), for consistency/readability reasons.
Originally committed as revision 17069 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								61ccbc52ea 
								
							
								 
							
						 
						
							
							
								
								Cosmetics: consistently prefer "size" over "len"/"length" for the  
							
							variable names.
Originally committed as revision 17067 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d20c3fdad 
								
							
								 
							
						 
						
							
							
								
								Make av_base64_encode() do not require the user to provide an  
							
							overallocated buffer where to put the encoded string.
See the thread:
"[PATCH] Improve documentation for libavutil/base64.h".
Originally committed as revision 17065 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21eff9ced7 
								
							
								 
							
						 
						
							
							
								
								Add a new test program for base64, based on that removed in r17024.  
							
							See the thread:
"[PATCH] remove unused and broken test program in libavutil/base64.c".
Originally committed as revision 17025 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								33094be894 
								
							
								 
							
						 
						
							
							
								
								Remove broken test program.  
							
							Originally committed as revision 17024 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bad5537e2c 
								
							
								 
							
						 
						
							
							
								
								Use full internal pathname in doxygen  @file  directives.  
							
							Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bfe3676feb 
								
							
								 
							
						 
						
							
							
								
								spelling/grammar/consistency review part II  
							
							Originally committed as revision 16848 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								448887a6bb 
								
							
								 
							
						 
						
							
							
								
								Make base64 test program compilable as a standard test program.  
							
							Originally committed as revision 16713 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								40f5cd89c9 
								
							
								 
							
						 
						
							
							
								
								Add void keyword to parameterless function declaration.  
							
							Originally committed as revision 16712 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37d3e0667a 
								
							
								 
							
						 
						
							
							
								
								uses FF_ARRAY_ELEMS() where appropriate  
							
							Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ccd425e799 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary parentheses from return calls.  
							
							Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9ad5675f25 
								
							
								 
							
						 
						
							
							
								
								Add a couple of missing consts.  
							
							patch by Sigbjørn Skjæret, cisc broadpark no
Originally committed as revision 11528 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								353fa898bb 
								
							
								 
							
						 
						
							
							
								
								Reindent the code after last commit  
							
							Originally committed as revision 10958 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd250e581b 
								
							
								 
							
						 
						
							
							
								
								Remove redundant "if(len)"  
							
							Originally committed as revision 10957 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e76e2bbc09 
								
							
								 
							
						 
						
							
							
								
								Mark the source buffer as "const"  
							
							Originally committed as revision 10877 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bd03c380ce 
								
							
								 
							
						 
						
							
							
								
								expose av_base64_decode and av_base64_encode  
							
							Originally committed as revision 8448 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9fca9c0316 
								
							
								 
							
						 
						
							
							
								
								Reverting stray commit part I  
							
							Originally committed as revision 8157 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								034ef0e8c3 
								
							
								 
							
						 
						
							
							
								
								Move base64.[ch] to libavutil.  
							
							patch by Carl Eugen Hoyos, cehoyos ag.or at
Originally committed as revision 7963 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a01e68aa5e 
								
							
								 
							
						 
						
							
							
								
								Add base64 encoding and decoding routines  
							
							Patch Ryan Martell % rdm4 A martellventures P com %
Original thread:
Date: Oct 27, 2006 6:49 PM
Subject: [Ffmpeg-devel] [PATCH] Base64 code
Originally committed as revision 6816 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago