Add CLJR encoding and decoding regression tests
Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
		
				
					committed by
					
						
						Diego Biurrun
					
				
			
			
				
	
			
			
			
						parent
						
							65c1011404
						
					
				
				
					commit
					7d18d17abd
				
			@@ -19,6 +19,11 @@ if [ -n "$do_aref" ]; then
 | 
			
		||||
do_avconv $pcm_ref -b 128k -ac 2 -ar 44100 -f s16le -i $pcm_src -f wav
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [ -n "$do_cljr" ] ; then
 | 
			
		||||
do_video_encoding cljr.avi "-an -vcodec cljr"
 | 
			
		||||
do_video_decoding
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [ -n "$do_mpeg" ] ; then
 | 
			
		||||
# mpeg1
 | 
			
		||||
do_video_encoding mpeg1.mpg "-qscale 10 -f mpeg1video"
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								tests/ref/vsynth1/cljr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								tests/ref/vsynth1/cljr
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
d149cadc43100d8e98ff04e57fdaa31f *./tests/data/vsynth1/cljr.avi
 | 
			
		||||
 5075660 ./tests/data/vsynth1/cljr.avi
 | 
			
		||||
4debaab994c2c7273bebaa0c5733017b *./tests/data/cljr.vsynth1.out.yuv
 | 
			
		||||
stddev:   30.75 PSNR: 18.37 MAXDIFF:  225 bytes:  7603200/  7603200
 | 
			
		||||
							
								
								
									
										4
									
								
								tests/ref/vsynth2/cljr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								tests/ref/vsynth2/cljr
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
86250984790dd745a932f36cf229cef7 *./tests/data/vsynth2/cljr.avi
 | 
			
		||||
 5075660 ./tests/data/vsynth2/cljr.avi
 | 
			
		||||
3a70ba2a535ef9c7fc6478b27a2cb58a *./tests/data/cljr.vsynth2.out.yuv
 | 
			
		||||
stddev:   10.48 PSNR: 27.72 MAXDIFF:   64 bytes:  7603200/  7603200
 | 
			
		||||
		Reference in New Issue
	
	Block a user