73af8ea356 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: add math.h for log2()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70eb58cd92 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: avoid INFINITY as openbsd seems not to like it.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3a9f2f1d65 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: set options through the opt framework  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c15400afc5 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: remove always-false condition in fill_from_cache  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								08dadd331f 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: allow visualizing the period of converged points.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8499ab171 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: Add inner variable & enum for inner coloring schemes.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3cbe9afba5 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: only check bailout once every 2 iterations.  
							
							Once we bailed out we calculate the exact iteration in which it would have happened if needed.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41fd1b2d5a 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: add SQR() macro  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e555119c73 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: correct and simplify the formula used in NORMALIZED_ITERATION_COUNT  
							
							Use log(sqrt(mb->bailout)) instead of log(mb->bailout) because mb->bailout represent
the bailout radius squared, and then simplify the two sqrt().
This is also slightly faster.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								88166fc579 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: unroll the innermost loop once.  
							
							This allows us to remove a if() and a variable assignment.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d06608732 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: only check periodicity once for each period instead of twice.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2fee131b9e 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: use period detection depening on left pixel and not the  
							
							previous calculated pixel, this is more accurate due to the last
calculated often being farther away.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								be97e7b9c2 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: remove unused variables  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								459bba58d2 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: add missing options to the parsing code  
							
							The following options were added: end_scale, end_pts, bailout, outer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6024bdb21a 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: fix sscanf format string  
							
							Replace ',' with ':'
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								32dd67162a 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: Print a note if the cache is too small  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								905202ef6e 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: increase cache size  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd8d03457a 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: increase resolution, and decrease zoom speed to maintain the cpu requirement.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								40d6e30c55 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: increase default maxiter  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6c5dd858b4 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: Only use cycle detection if previous pixel was an interior pixel  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								50b8f9388a 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: detect cycles to speed up interior rendering.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3de934c873 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: increase default maxiter to 1024  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								07f272bdbb 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: use cache to avoid recalculating points.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8ca891fc1a 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: more interresting zoom coordinates borrowed from wikipedia.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ddeb194b14 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: add a end_scale and pts so we can zoom in.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dece017280 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: center coordinate reference on the images center  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa198ad679 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: make 2 variables const  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0e5b05134b 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: fix typo that led to hardcoded max iteration count.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4ccd898af2 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: support different outer coloring methods.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								75e309160b 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: make bailout a variable  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								658d166da0 
								
							
								 
							
						 
						
							
							
								
								avfilter: add mandelbrot fraktal source  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago