abb0a9982f 
								
							
								 
							
						 
						
							
							
								
								lavfi: do not pass opaque field to init functions  
							
							Fix signature mismatch warnings. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c17808cebd 
								
							
								 
							
						 
						
							
							
								
								lavfi: define macro AVFILTER_DEFINE_CLASS  
							
							The macro can be used to define consistently the internal class of a
filter, save some typing and factorize. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								de05877390 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove redundant checks after av_parse_video_rate()  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								54101214d8 
								
							
								 
							
						 
						
							
							
								
								lavfi: use designated initializers for AVClass  
							
							While here:
    - add missing .version and .category,
    - make .class_name consistent across filters,
    - align declarations.
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9e183b490 
								
							
								 
							
						 
						
							
							
								
								lavfi: update some deprecated functions  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0f0f3bd1e0 
								
							
								 
							
						 
						
							
							
								
								lavfi: use av_default_item_name() as filter private context logger  
							
							avfilter_default_filter_name() is supposed to access an AVFilterContext
struct, if used with a private struct it will cause a crash since it will
access fields which are non defined in the private struct. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4d6a8a2bdb 
								
							
								 
							
						 
						
							
							
								
								lavfi: add avfilter_default_filter_name()  
							
							The function is modelled after av_default_item_name(), and will print the
name of the instance filter if defined, otherwise the name of the filter.
This allows to show the instance name in the log, which is useful when
debugging complex filter graphs. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4a5d18b6e2 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: use AV_OPT_TYPE_IMAGE_SIZE.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a9117c755e 
								
							
								 
							
						 
						
							
							
								
								lavfi: fix mp and mandelbrot descriptions to make them complete sentences  
							
							This is consistent with the other filter descriptions. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d35fa43ee 
								
							
								 
							
						 
						
							
							
								
								lavfi: add missing periods in descriptions.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								656911d84d 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: Fix vsrc_mandelbrot.c:358:85: warning: ‘epsilon’ may be used uninitialized in this function [-Wuninitialized]  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2c44aed82a 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: fix inner=period, the previous optimizations broke it.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								90c02ae142 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: increase maxiter to 7189  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								690860d0d5 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: Use threshold to detect cycles.  
							
							This way cycles are detected much earlier.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5dfedd381 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: detect edges in interpol()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4ebbcdb3eb 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: avoid a | in interpol()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5dd16af6b5 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: increase default zoom speed by a factor of 2  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca14808275 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: spatial interpolation  
							
							speeds the code up by a factor of about 2-3.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								56fc4cf04f 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: always store values for periodicity checking, this avoids a few checks.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								da1344e0cd 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: simplify second bailout search by not recalculating values.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e749b3780c 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: increase zyklus array size so that optimizations can write a bit more.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								649d3932db 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: check bailout only once every 8 iterations, this is around 10% faster.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe2efc5264 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: factorize periodicity checking too.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cf670fbc96 
								
							
								 
							
						 
						
							
							
								
								vsrc_mandelbrot: factorize main calculation out into a macro.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								974d25e2db 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: make mincol description and code match.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								04bb26e3ee 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: add dither to convergence & mincol colorings.  
							
							This avoids banding artifacts.
Note, low end TFTs still show some banding.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7575980ba4 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: make mincol the default.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d51cb4fb8 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: add mincol inner coloring method.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a68b1ac3b 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: add inner drawing method to show converence time  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5582e557e6 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: add "fractal" to the description  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c52adad69 
								
							
								 
							
						 
						
							
							
								
								mandelbrot: Fix "warning: passing argument 2 of ‘draw_mandelbrot’ from incompatible pointer type"  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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