summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* vf_unsharp: set default chroma size value to 5x5Stefano Sabatini2011-09-29
| | | | | | | The previous default value 0x0 was not good, since it is not even valid. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_unsharp: fix out-of-buffer readStefano Sabatini2011-09-29
| | | | | | | | | | | | In apply_unsharp(), when y is >= height, prevent out-of-buffer reading from src, read from the last buffer line in src2 instead. The check was implemented in the original unsharp libmpcodecs code and lost in the port. This also fixes output discrepancy between the two filters. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_unsharp: store hsub/vsub in the filter contextStefano Sabatini2011-09-28
| | | | | | Also drop obfuscating CHROMA_WIDTH/HEIGHT macros. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_unsharp: adopt a more natural order of params in apply_unsharp()Stefano Sabatini2011-09-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_unsharp: rename method "unsharpen" to "apply_unsharp"Stefano Sabatini2011-09-28
| | | | | | | More consistent with the original libmpcodecs code, and the name "unsharpen" was confusing. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_scale: apply the same transform to the aspect during init that is applied ↵Michael Niedermayer2011-09-28
| | | | | | per frame Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_pad: fix "vsub" variable value computationStefano Sabatini2011-09-28
| | | | | | It was shifting 2 rather than 1, +10l. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_scale: add a "sar" variableStefano Sabatini2011-09-28
| | | | | | | Also create a "dar" alias for the "a" variable, for avoiding possible confusion between dar/sar. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: fix realloc size computation in avfilter_add_format()Stefano Sabatini2011-09-28
| | | | | | | | | | | | | Replace sizeof((*avff)->formats) with sizeof(*(*avff)->formats) as the size of the array element is given by the pointed element rather than by its pointer. In particular fix computation with the pending patch when sizeof(int64_t) != sizeof(int64_t *). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_color: use internal timebaseStefano Sabatini2011-09-28
| | | | | | Avoid timescale conversion, simplify. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: fix signature for avfilter_graph_parse() and avfilter_graph_config()Stefano Sabatini2011-09-28
| | | | | | Require "void *" rather than "AVClass *" for the log context type. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* graphparser: prefer void * over AVClass * for log contextsStefano Sabatini2011-09-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avfiltergraph: use meaningful error codesStefano Sabatini2011-09-28
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_yadif: add support to yuva420pStefano Sabatini2011-09-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_yadif: correct documentation on the parity parameterStefano Sabatini2011-09-21
| | | | | | | 0 is top-field-first, 1 is bottom-field-first, not the other way around. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_yadif: copy buffer properties like aspect for second frame as wellJoakim Plate2011-09-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vf_yadif: add an option to enable/disable deinterlacing based on src frame ↵Joakim Plate2011-09-19
| | | | | | | "interlaced" flag Signed-off-by: Joakim Plate <elupus@ecce.se> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_color: set output pos values to -1Stefano Sabatini2011-09-19
| | | | | | -1 is more correct than 0, as the position in the file is undefined. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_color: add @file doxyStefano Sabatini2011-09-19
| | | | | | Also remove outdated reference to color in vf_pad.c. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vsrc_buffer: remove duplicated file descriptionStefano Sabatini2011-09-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add select filterStefano Sabatini2011-09-17
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add split filter from soc.Bobby Bingham2011-09-12
| | | | | | | Some fixes by Stefano. For detailed authorship see SOC repo Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add showinfo filterStefano Sabatini2011-09-12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* AVOptions: deprecate av_opt_set_defaults2Anton Khirnov2011-09-07
| | | | | | 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.
* vf_scale: don't leak SWS context.Michael Niedermayer2011-08-27
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* doxygen: fix wrong comment syntax, //< vs. ///<Diego Biurrun2011-08-26
|
* vf_libopencv: replace opencv/cxtypes.h #include by opencv/cxcore.hStefano Sabatini2011-07-18
| | | | | | cxtypes.h works with version 2.1 and older, cxcore.h works with 2.2 and older. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* doxygen: Make sure parameter names match between .c and .h files.Diego Biurrun2011-07-14
|
* build: rework rules for things in the tools dirMans Rullgard2011-07-10
| | | | | | | | Declaring tools associated with each library in their respective makefiles allows these tools to easily depend on the correct prerequisites and link against the libs they need. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: add avformat_find_stream_info()Anton Khirnov2011-07-10
| | | | It supports passing options to codecs.
* lavc: introduce avcodec_open2() as a replacement for avcodec_open().Anton Khirnov2011-07-10
| | | | | Adds support for decoder-private options and makes setting other options simpler.
* vf_drawtext: Remove some write-only variables.Diego Biurrun2011-07-07
| | | | | libavfilter/vf_drawtext.c:427:22: warning: variable 'dst_pixel' set but not used libavfilter/vf_drawtext.c:463:22: warning: variable 'dst_pixel' set but not used
* Add some missing mathematics.h #includes for av_rescale().Diego Biurrun2011-07-05
|
* vf_gradfun: relicense x86 asm to LGPLLoren Merritt2011-07-04
| | | | | Actually I gave permission for LGPL long ago, but the original import failed to update the license header.
* Do not include log.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Do not include pixfmt.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Do not include rational.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* doxygen: Fix parameter names to match the function prototypes.Diego Biurrun2011-07-03
|
* build: include sub-makefiles using full path instead of symlinksMans Rullgard2011-06-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: Remove redundant config.mak includes from subdirectory Makefiles.Diego Biurrun2011-06-25
| | | | | Calling Make from subdirectories is not supported and config.mak has multiple inclusion guards anyway, so the top-level include is enough.
* Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().Justin Ruggles2011-06-20
| | | | av_get_bits_per_sample_fmt() is deprecated.
* ocv: replace FF_INTERNAL_MEM_TYPE_MAX_VALUE with SIZE_MAXStefano Sabatini2011-06-20
| | | | | | | Fix compilatin after removal of FF_INTERNAL_MEM_TYPE_MAX_VALUE. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: add braces around initialisers for option defaultsStefano Sabatini2011-06-20
| | | | | | | | Fix warnings of the type: vf_drawtext.c:NNN: warning: missing braces around initializer vf_drawtext.c:NNN: warning: (near initialization for ‘drawtext_options[X].default_val’) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: reindent after the previous commitStefano Sabatini2011-06-20
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: fix strftime() text expansionStefano Sabatini2011-06-20
| | | | | | | The feature was dropped after the filter was partially rewritten and recommitted. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Deprecate av_open_input_* and remove their uses.Anton Khirnov2011-06-16
| | | | Deprecate the last remaining member of AVFormatParameters.
* Remove unused variablesMans Rullgard2011-06-02
|
* Employ correct printf format specifiers, mostly in debug output.Diego Biurrun2011-05-31
|