bf868c4a9b 
								
							
								 
							
						 
						
							
							
								
								tiny_psnr: fix range calculation for sample size of 32 bits  
							
							For a sample size of 32 bits, the shift would overflow producing
undefined results.  Incidentally, in the only test currently using
32-bit samples, the output matches the reference exactly on most
systems meaning the bad 'max' value is never used.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3dc06b6972 
								
							
								 
							
						 
						
							
							
								
								tiny_psnr: check for specified sample size less than 1  
							
							A zero or negative sample size is impossible and should be
reported as an error.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c99d3e2e6c 
								
							
								 
							
						 
						
							
							
								
								tiny_psnr: fix undefined shift  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f1280def4 
								
							
								 
							
						 
						
							
							
								
								tiny_psnr: support 32-bit float samples  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34123ab979 
								
							
								 
							
						 
						
							
							
								
								tiny_psnr: reindent after last commit.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6f7e22d18 
								
							
								 
							
						 
						
							
							
								
								tiny_psnr: support unseekable raw files.  
							
							If either one of the files if not seekable,
do not try to read headers.
It allows to use it with pipes on whole rawvideo data. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cbb7183498 
								
							
								 
							
						 
						
							
							
								
								tiny_psnr: allow searching for optimal shift value.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b481bbc32a 
								
							
								 
							
						 
						
							
							
								
								tests: K&R formatting cosmetics for test programs  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								03acaa4a43 
								
							
								 
							
						 
						
							
							
								
								tests: Remove disabled code.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ec8d24ac9 
								
							
								 
							
						 
						
							
							
								
								tiny_psnr: change error exit code from -1 to 1  
							
							Originally committed as revision 24149 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd3cb048d9 
								
							
								 
							
						 
						
							
							
								
								tiny_psnr: check fread() return values  
							
							Originally committed as revision 24148 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f6dddd3374 
								
							
								 
							
						 
						
							
							
								
								tiny_psnr: use abs()  
							
							Originally committed as revision 24146 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c43d77c163 
								
							
								 
							
						 
						
							
							
								
								tiny_psnr: skip wav headers on input files  
							
							The byte count printed excludes the header, and offsets are applied
after the the headers are skipped.
Reference files updated to reflect new output.  Some stddev/psnr values
have changed slightly due to headers no longer being compared.
Originally committed as revision 24143 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb0067ec25 
								
							
								 
							
						 
						
							
							
								
								tiny_psnr: print max absolute difference between files  
							
							Regression test reference updates are due to the extra output
from tiny_psnr.
Patch by Vitor Sessak
Originally committed as revision 24132 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b00803e0ae 
								
							
								 
							
						 
						
							
							
								
								fix a rounding error in the PSNR calculation and update the many regression  
							
							test references that this change affects.
Originally committed as revision 20492 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1e90317b65 
								
							
								 
							
						 
						
							
							
								
								Fix tiny_psnr so it compares all bytes (it did skip the last block).  
							
							Also display both file sizes and slightly change the output formatting.
[not split in 3 patches to avoid the huge checksum files from being changed
 and having to be reviewed 3 times, if people want it split i can revert and
 split it]
Originally committed as revision 14374 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cc8de8e8a5 
								
							
								 
							
						 
						
							
							
								
								cosmetics: typo/grammar fixes  
							
							Originally committed as revision 14371 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e740c796d8 
								
							
								 
							
						 
						
							
							
								
								Fix segfault with non existing input files.  
							
							Originally committed as revision 14369 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9b67fe42e 
								
							
								 
							
						 
						
							
							
								
								Disable unused function, fixes the warning:  
							
							tests/tiny_psnr.c:55: warning: ‘exp16’ defined but not used
Originally committed as revision 10968 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d2fe55737 
								
							
								 
							
						 
						
							
							
								
								10l: Revert accidental removal of unused code.  
							
							Originally committed as revision 9142 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dd4ca89143 
								
							
								 
							
						 
						
							
							
								
								Fix seek_test compilation for out-of-tree builds.  
							
							Originally committed as revision 9135 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								244e1e644c 
								
							
								 
							
						 
						
							
							
								
								Use proper license header.  
							
							Originally committed as revision 9122 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b8889ea51f 
								
							
								 
							
						 
						
							
							
								
								Possibility to skip bytes in the beginning of a file.  
							
							Originally committed as revision 5783 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ddbddce547 
								
							
								 
							
						 
						
							
							
								
								Fix samples to bytes relation.  
							
							Originally committed as revision 5314 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5509bffa88 
								
							
								 
							
						 
						
							
							
								
								Update licensing information: The FSF changed postal address.  
							
							Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						20 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								115329f160 
								
							
								 
							
						 
						
							
							
								
								COSMETICS: Remove all trailing whitespace.  
							
							Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						20 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba96e97fdd 
								
							
								 
							
						 
						
							
							
								
								support comparing files with some posiion offset relative to each other  
							
							Originally committed as revision 3921 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						21 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0c90161f0f 
								
							
								 
							
						 
						
							
							
								
								signed 16bit support  
							
							Originally committed as revision 3913 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						21 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d6d0cf953 
								
							
								 
							
						 
						
							
							
								
								fopen "r" -> "rb"  
							
							Originally committed as revision 3772 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						21 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eeaa742c3e 
								
							
								 
							
						 
						
							
							
								
								1/0 fix for files with size=0  
							
							Originally committed as revision 3484 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						21 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8176bd1a46 
								
							
								 
							
						 
						
							
							
								
								overflow fix  
							
							Originally committed as revision 3250 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						21 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9e2a16e1a7 
								
							
								 
							
						 
						
							
							
								
								fixpoint log() for tiny_psnr so it can output actual PSNR  
							
							Originally committed as revision 2640 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						22 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67cbe68129 
								
							
								 
							
						 
						
							
							
								
								check quality too, not only md5 (but dont take the scores too serious, the different codecs use different quality/bitrates and its just based on a artificially generated testvideo)  
							
							small changes to some test to check a broader area of features
Originally committed as revision 1751 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						22 years ago