e4b1fcd474 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: cosmetic fixes forgotten in the previous patch.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								438978fb4b 
								
							
								 
							
						 
						
							
							
								
								opt: implement av_opt_set_from_string().  
							
							It is similar to av_set_options_string() but accepts a list
of options that can be in shorthand: if the key is omitted
on the first fields, the keys from the shorthand list are
assumed, in order. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								42e63ec8dc 
								
							
								 
							
						 
						
							
							
								
								avopt: fix examples to match the same style about default values as the actual code.  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7666828c44 
								
							
								 
							
						 
						
							
							
								
								avopt: fix examples to match the same style about default values as the actual code.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								686a329395 
								
							
								 
							
						 
						
							
							
								
								avopt: Reorder the default_val struct, making i64 the first field  
							
							Also mention this change in APIchanges.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a25346e65c 
								
							
								 
							
						 
						
							
							
								
								lavu/opt.h: add AV_OPT_FLAG_FILTERING_PARAM macro  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9b0d75c56 
								
							
								 
							
						 
						
							
							
								
								opt: add AV_OPT_TYPE_PIXEL_FMT.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								154486f9ad 
								
							
								 
							
						 
						
							
							
								
								opt: Add av_opt_set_bin()  
							
							Introduce a new function to set binary data through AVOption,
avoiding having to convert the binary data to a string inbetween.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ec3e5767e 
								
							
								 
							
						 
						
							
							
								
								opt: add AV_OPT_TYPE_IMAGE_SIZE.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								abe6330317 
								
							
								 
							
						 
						
							
							
								
								AVoption doxy: clarify a few needs in relation to AVClass less structs.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4547d883d3 
								
							
								 
							
						 
						
							
							
								
								Fix compilation for C++ applications  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dff97be808 
								
							
								 
							
						 
						
							
							
								
								av_opt: add av_opt_ptr() to return a pointer to a field of a object based on  
							
							an AVClass
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								313d30c180 
								
							
								 
							
						 
						
							
							
								
								avutil: revert project name messing  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								757cd8d876 
								
							
								 
							
						 
						
							
							
								
								doxy: provide a start page and document libavutil  
							
							Introduce a basic layout, the subpages are currently left empty.
Split libavutil in multiple groups as example of the structure 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eba0e289ae 
								
							
								 
							
						 
						
							
							
								
								opt: remove attribute_deprecated from several functions that do not have adequante replacements.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e64c4d51a 
								
							
								 
							
						 
						
							
							
								
								AVOptions: add documentation.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								145f741e11 
								
							
								 
							
						 
						
							
							
								
								AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8c5dcaad13 
								
							
								 
							
						 
						
							
							
								
								AVOptions: add av_opt_next, deprecate av_next_option.  
							
							Just for naming consistency, no functional changes. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dca055be3a 
								
							
								 
							
						 
						
							
							
								
								AVOptions: add functions for evaluating option strings.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41d9d51a72 
								
							
								 
							
						 
						
							
							
								
								AVOptions: add av_opt_get*, deprecate av_get*.  
							
							New functions can get values from child objects, properly report error
codes and have consistent naming and signatures. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dac66da63d 
								
							
								 
							
						 
						
							
							
								
								AVOptions: add av_opt_set*().  
							
							Deprecate av_set_*
New functions support setting values on children, return error codes
instead of options and have consistent naming and signatures. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								641c7afe3c 
								
							
								 
							
						 
						
							
							
								
								AVOptions: add new API for enumerating children.  
							
							This will allow the caller to enumerate child contexts in a generic way
and since the API is recursive, it also allows for deeper nesting (e.g.
AVFormatContext->AVIOContext->URLContext)
This will also allow the new setting/reading API to transparently apply
to children contexts. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c8d787d2ef 
								
							
								 
							
						 
						
							
							
								
								AVOptions: split av_set_string3 into opt type-specific functions  
							
							Also stop attempting to honor the alloc parameter, as things break
horribly in that case.
It will be removed in upcoming successor to av_set_string3. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								79eff91325 
								
							
								 
							
						 
						
							
							
								
								AVOptions: deprecate av_opt_set_defaults2  
							
							It's a hack which was created to allow for multiple options with
different defaults to refer to same field (e.g. 'b' vs 'ab'). There is
no need for it anymore. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a7e2b2ccc9 
								
							
								 
							
						 
						
							
							
								
								AVOptions: move doxy for av_opt_set_defaults() from opt.c to opt.h  
							
							Also change it to be more readable. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e955a682e1 
								
							
								 
							
						 
						
							
							
								
								AVOptions: fix av_set_string3() doxy to match reality.  
							
							Fixes bug 28. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c11fb8288d 
								
							
								 
							
						 
						
							
							
								
								AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().  
							
							It allows to search for options only with AVClass, without allocating
the corresponding context. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								141f03541b 
								
							
								 
							
						 
						
							
							
								
								opt: do not crash in av_set_options_string() if opts == NULL  
							
							Add missing NULL check, and update documentation accordingly. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc59ec5e79 
								
							
								 
							
						 
						
							
							
								
								AVOptions: add av_opt_find() as a replacement for av_find_opt.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e83e1c511 
								
							
								 
							
						 
						
							
							
								
								AVOptions: add av_opt_set_dict() mapping a dictionary struct to a context.  
							
							This way the caller can pass all the options in one nice package. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb7c11cc9e 
								
							
								 
							
						 
						
							
							
								
								avoptions: Add an av_opt_flag_is_set function for inspecting flag fields  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b39b06233d 
								
							
								 
							
						 
						
							
							
								
								AVOptions: add av_opt_free convenience function.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b66752790a 
								
							
								 
							
						 
						
							
							
								
								AVOptions: make default_val a union, as proposed in AVOption2.  
							
							This breaks API and ABI. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								85770f2a26 
								
							
								 
							
						 
						
							
							
								
								AVOptions: make default_val a union, as proposed in AVOption2.  
							
							This breaks API and ABI. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c85eef4ed8 
								
							
								 
							
						 
						
							
							
								
								Move av_set_options_string() from libavfilter to libavutil.  
							
							Originally committed as revision 25236 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6ed040408b 
								
							
								 
							
						 
						
							
							
								
								Move AVOptions from libavcodec to libavutil  
							
							Originally committed as revision 25210 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e44c01563f 
								
							
								 
							
						 
						
							
							
								
								Deprecate av_opt_show() in favor of a new function av_opt_show2(),  
							
							which allows to specify only a subset of all the options to show.
Originally committed as revision 25166 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								49bd8e4b84 
								
							
								 
							
						 
						
							
							
								
								Fix grammar errors in documentation  
							
							Originally committed as revision 23904 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f1cb9858b5 
								
							
								 
							
						 
						
							
							
								
								Add an experimental AVOption2 that uses an union instead of double for default_val.  
							
							Originally committed as revision 20248 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf7e799c9e 
								
							
								 
							
						 
						
							
							
								
								Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should  
							
							improve plain text doxy readability.
See the thread: "[RFC] Should we use doxygen markup?".
Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								644f8c7670 
								
							
								 
							
						 
						
							
							
								
								Document av_set_string3() returned error codes.  
							
							Originally committed as revision 18829 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								af5f434f8c 
								
							
								 
							
						 
						
							
							
								
								add the necessary include for LIBAV*_VERSION_*  
							
							Originally committed as revision 16571 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								64e74b68a4 
								
							
								 
							
						 
						
							
							
								
								Put under #if LIBAVCODEC_VERSION_MAJOR < 53 the deprecated functions  
							
							av_set_string() and av_set_string2(), they will be dropped at the next
major bump.
Originally committed as revision 16243 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b1454c439 
								
							
								 
							
						 
						
							
							
								
								Implement av_set_string3().  
							
							Originally committed as revision 16175 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f993c6725 
								
							
								 
							
						 
						
							
							
								
								s/#AVClass/AVClass/, consistent with the rest of the doxy.  
							
							Originally committed as revision 16085 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								987903826b 
								
							
								 
							
						 
						
							
							
								
								Globally rename the header inclusion guard names.  
							
							Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.'  to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b211d3ae47 
								
							
								 
							
						 
						
							
							
								
								Complete documentation for av_set_string().  
							
							Originally committed as revision 14436 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago