00759d71a2 
								
							
								 
							
						 
						
							
							
								
								avutil/opt: add av_opt_copy()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba52fb11dc 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: add av_opt_set_dict2() function  
							
							Existing av_opt_set_dict doesn't accept flags.
It doesn't allow to pass options to nested structs.
New function alllows that.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eaed4da96a 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: extend AVOptionRange by extra values  
							
							AVOptionRange is not flexible enough to store AV_OPT_TYPE_IMAGE_SIZE
ranges. Current implementation can only store pixel count.
This patch aims to keep backward compatibility and extend
AVOptionRange with possibility to store width/height ranges.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3ecd968f0 
								
							
								 
							
						 
						
							
							
								
								AVOptions: add flags for read/read-only options  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6bb8720f00 
								
							
								 
							
						 
						
							
							
								
								AVOptions: deprecate unused AV_OPT_FLAG_METADATA  
							
							It was never used since it was added and the things it was intended for
are now exported differently. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								867e7bb4f1 
								
							
								 
							
						 
						
							
							
								
								fix order of operations in comments  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8696e51baf 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: add AV_OPT_TYPE_CHANNEL_LAYOUT and handler functions  
							
							The new type is compatible with AV_OPT_TYPE_INT64, but allows to specify
channel layouts using the format accepted by av_get_channel_layout(). 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b236eb49e1 
								
							
								 
							
						 
						
							
							
								
								lavu/opt.h: fix grammar typo in av_opt_get* doxy  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								515e651f56 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: fix doxy for av_opt_get* functions about return value  
							
							Success code must be >= 0 and not == 0, consistently with the
implementation. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3500f53c93 
								
							
								 
							
						 
						
							
							
								
								libavutil/opt.h: Fix duplicate words  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b5a138652f 
								
							
								 
							
						 
						
							
							
								
								Give less generic names to global library option arrays  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3a751eab78 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: add AV_OPT_TYPE_COLOR  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9e8e03de38 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: check int lists length for overflow.  
							
							Also add parens on macro arguments. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af0d270aac 
								
							
								 
							
						 
						
							
							
								
								lavu: add helper functions for integer lists.  
							
							Add av_int_list_length() to compute a list length.
Add av_opt_set_int_list() to set a binary option.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d928a9d99 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: add AV_OPT_TYPE_DURATION.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7aa9af51db 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: add AV_OPT_VIDEO_RATE option  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a8e0d51bb8 
								
							
								 
							
						 
						
							
							
								
								opt: Add support to query ranges  
							
							Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c70ec631c9 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: add av_opt_ accessors for pixel/format/image size options  
							
							The interface is implemented against the style of the other options
accessors. Possibly simplify programmatic setting of options. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9ccc349f77 
								
							
								 
							
						 
						
							
							
								
								ensure comment blocks that contain doxygen commands start with double asterix  
							
							Reveiwed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								926481078b 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: fix av_opt_get_key_value() API.  
							
							Do not skip the end delimiter.
Reserve positive return values.
This is an API break, but the function was introduced less than
two weeks ago. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3bdf4971ba 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: implement av_opt_get_key_value().  
							
							This function does the low-level work of av_opt_set_from_string()
but can be used when there is no option context or when a generic
handling of unknown keys is needed.
av_opt_set_from_string() is changed to make use of it. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								481fdeeecf 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: add AV_OPT_SAMPLE_FMT option  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c692957c4e 
								
							
								 
							
						 
						
							
							
								
								lavu: remove disabled avoptions cruft  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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