summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.c
Commit message (Collapse)AuthorAge
...
* Reindent.Stefano Sabatini2011-01-15
| | | | Originally committed as revision 26379 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_dprintf_link() print meaningful information for audio links.Stefano Sabatini2011-01-15
| | | | Originally committed as revision 26378 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.Stefano Sabatini2011-01-15
| | | | | | | More consistent with the rest of FFmpeg and sounds more natural to English speaking people. Originally committed as revision 26374 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_unref_buffer() accept a NULL parameter.Stefano Sabatini2011-01-15
| | | | Originally committed as revision 26373 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check linked pads media type mismatch in avfilter_link().Stefano Sabatini2011-01-13
| | | | Originally committed as revision 26325 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add w,h,format back into AVFilterBuffer, these are required for direct ↵Michael Niedermayer2011-01-11
| | | | | | | | | | rendering. These fields are needed to be able to know which area of memory is allocated and which is off limits. This reverts 24291 and parts of r24424. Originally committed as revision 26314 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support filters and decoders that dont support negative linesizes.Michael Niedermayer2010-12-27
| | | | | | This patch is based on work by stefano. Originally committed as revision 26108 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix avfilter_draw_slice() copy code with alpha planes.Stefano Sabatini2010-12-19
| | | | Originally committed as revision 26060 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In libavfilter, use consistently "Copyright (c)" in the licenseStefano Sabatini2010-11-28
| | | | | | headers. Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avfilter_get_video_buffer_ref_from_arrays().Stefano Sabatini2010-11-25
| | | | Originally committed as revision 25827 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In ff_get_ref_perms_string() use 'u' and 'U' for representingStefano Sabatini2010-11-13
| | | | | | | AV_PERM_REUSE and AV_PERM_REUSE2 flags, avoid conflict with the char 'r' used for AV_PERM_READ. Originally committed as revision 25739 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename avfilter_destroy() as avfilter_free().Stefano Sabatini2010-11-08
| | | | | | | The new name is shorter and more consistent with the FFmpeg API, and sounds less evil. Originally committed as revision 25707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l: remove bogus inclusion of libavcodec/audioconvert.c inStefano Sabatini2010-10-25
| | | | | | avfilter.c. Originally committed as revision 25565 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_config_links() use the timebase of the first input linkStefano Sabatini2010-10-12
| | | | | | | | | | | of a filter for setting the output timebase, if there is such a link, rather than always use AV_TIME_BASE_Q. This fixes configuration for all the filters which do not use the default config_props for the output link, and do not set explicitely the timebase. Originally committed as revision 25456 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a time_base field to AVFilterLink.Stefano Sabatini2010-10-10
| | | | | | | This is required for allowing a filter to use a time base different from AV_TIME_BASE_Q, as it was previously assumed. Originally committed as revision 25441 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_config_links() propagate the error code coming from theStefano Sabatini2010-10-10
| | | | | | callee functions. Originally committed as revision 25433 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use more expressive names for the avfilter_insert_filter() in and outStefano Sabatini2010-09-27
| | | | | | parameters. Originally committed as revision 25235 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_insert_filter() propagate an error code in case theStefano Sabatini2010-09-27
| | | | | | called avfilter_link() fails. Originally committed as revision 25229 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVFilterLink store the pointers to the source and destinationStefano Sabatini2010-09-27
| | | | | | pads, rather than their index. Originally committed as revision 25227 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_destroy() code less convoluted, introducing a temporaryStefano Sabatini2010-09-27
| | | | | | variable link. Originally committed as revision 25217 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use new imgutils.h API names, fix deprecation warnings.Stefano Sabatini2010-09-07
| | | | Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement ff_get_ref_perms_string() and use it for tracing.Stefano Sabatini2010-08-24
| | | | Originally committed as revision 24900 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_start_frame() invoke avfilter_get_video_buffer() on theStefano Sabatini2010-08-24
| | | | | | | | | | | | | link rather than avfilter_default_get_video_buffer(). This is required as the buffer requested may be greater than the buffer allocated locally by avfilter_default_get_video_buffer(), for example if in filterchain there is a pad filter (like in "fifo,pad"). In that case the pad filter will try to write beyond the data of the allocated buffer, resulting in a crash. Originally committed as revision 24895 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_dprintf_ref() print audio related information if available.Stefano Sabatini2010-08-20
| | | | Originally committed as revision 24849 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: merge two lines in ff_dprintf_ref().Stefano Sabatini2010-08-20
| | | | Originally committed as revision 24848 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_dprintf_ref() print the information related to the referencedStefano Sabatini2010-08-20
| | | | | | AVFilterBuffer. Originally committed as revision 24847 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ff_dprintf_picref() to ff_dprintf_ref().Stefano Sabatini2010-08-20
| | | | | | The function is going to be used to represent also audio data. Originally committed as revision 24846 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extend ff_dprintf_picref() to make it print video interlaced andStefano Sabatini2010-08-20
| | | | | | top_field_first information. Originally committed as revision 24845 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_dprintf_picref() print video properties only if available.Stefano Sabatini2010-08-20
| | | | Originally committed as revision 24844 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only print the pointer to the first plane in ff_dprintf_picref().Stefano Sabatini2010-08-20
| | | | | | | To display the other planes is usually not useful and add noise to the output. Originally committed as revision 24843 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Enable and change the log level to DEBUG for the message printed inStefano Sabatini2010-08-19
| | | | | | case of picref copy. Originally committed as revision 24831 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: apply misc spacing style fixes.Stefano Sabatini2010-08-19
| | | | Originally committed as revision 24830 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement libavfilter audio framework.S.N. Hemanth Meenakshisundaram2010-08-17
| | | | | | Patch by S.N. Hemanth Meenakshisundaram * smeenaks * ucsd * edu *. Originally committed as revision 24811 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing NULL checks in avfilter_ref_buffer().Stefano Sabatini2010-08-17
| | | | Originally committed as revision 24808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate ff_get_plane_bytewidth() in favor ofStefano Sabatini2010-08-12
| | | | | | av_get_image_linesize(). Originally committed as revision 24787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set type on buffer in get_video_buffer().S.N. Hemanth Meenakshisundaram2010-08-11
| | | | | | Patch by S.N. Hemanth Meenakshisundaram reverse("skaneems") + "@ucsd.edu". Originally committed as revision 24775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change avfilter_open() signature, from:Stefano Sabatini2010-08-11
| | | | | | | | | | | AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name); to: int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name); This way it is possible to propagate an error code telling the reason of the failure. Originally committed as revision 24765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Separate video specific BufferRef properties into VideoProps.S.N. Hemanth Meenakshisundaram2010-08-11
| | | | | | | | | | | | Define a new struct AVFilterBufferRefVideoProps and add a type field to AVFilterBufferRef. Video specific properties in AVFilterBufferRefVideoProps are now referred to by *video pointer in AVFilterBufferRef. Patch by S.N. Hemanth Meenakshisundaram smeenaks->ucsd.edu. Originally committed as revision 24763 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename fields:S.N. Hemanth Meenakshisundaram2010-08-07
| | | | | | | | | | | | | | AVFilterLink.srcpic -> AVFilterLink.src_buf AVFilterLink.cur_pic -> AVFilterLink.cur_buf AVFilterLink.outpic -> AVFilterLink.out_buf The new names are more generic and more consistent, since the struct they contain, which was named AVFilterPicRef, has been renamed to AVFilterBufferRef. Patch by S.N. Hemanth Meenakshisundaram %smeenaks%ucsd%edu%. Originally committed as revision 24732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename functions and fields:S.N. Hemanth Meenakshisundaram2010-08-07
| | | | | | | | | | | | avfilter_(un)ref_pic -> avfilter_(un)ref_buffer avfilter_copy_picref_props -> avfilter_copy_buffer_ref_props AVFilterBufferRef.pic -> AVFilterBufferRef.buffer They have been renamed to allow sharing with audio. Patch by S.N. Hemanth Meenakshisundaram $smeenaks$ucsd$edu$. Originally committed as revision 24731 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename AVFilterPicRef to AVFilterBufferRef.S.N. Hemanth Meenakshisundaram2010-08-07
| | | | | | | | | The struct is going to be used for storing audio buffer references as well, and the new name is more generic. Patch by S.N. Hemanth Meenakshisundaram @smeenaks@ucsd@edu@. Originally committed as revision 24730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avfilter: indentMåns Rullgård2010-08-06
| | | | Originally committed as revision 24720 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avfilter: do not crash on null link src/dst in avfilter_destroy()Måns Rullgård2010-08-06
| | | | Originally committed as revision 24719 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avfilter: free link in/out_formats in avfilter_destroy()Måns Rullgård2010-08-06
| | | | Originally committed as revision 24718 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Generalize pixel format enum fields to int formats.S.N. Hemanth Meenakshisundaram2010-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to make the libavfilter framework work with audio filters. In particular add a type field to AVFilterLink, change the field types: enum PixelFormat format -> int format in AVFilterBuffer enum PixelFormat *formats -> int *formats in AVFilterFormats enum PixelFormat *format -> int format in AVFilterLink and change the function signatures: AVFilterFormats *avfilter_make_format_list(const enum PixelFormat *pix_fmts); -> AVFilterFormats *avfilter_make_format_list(const int *fmts); int avfilter_add_colorspace(AVFilterFormats **avff, enum PixelFormat pix_fmt); -> int avfilter_add_format(AVFilterFormats **avff, int fmt); AVFilterFormats *avfilter_all_colorspaces(void); -> AVFilterFormats *avfilter_all_formats(enum AVMediaType type); This change breaks libavfilter API/ABI. Patch by S.N. Hemanth Meenakshisundaram |smeenaks|ucsd|edu|. Originally committed as revision 24424 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter.c dprintf* functions internal and declare them in anStefano Sabatini2010-07-18
| | | | | | internal.h header, so they can be easily used from other files. Originally committed as revision 24319 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use avfilter_copy_picref_props() along lavfi.Víctor Paesa2010-07-11
| | | | Originally committed as revision 24196 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to keep track of interlaced and top field first.Michael Niedermayer2010-05-07
| | | | Originally committed as revision 23044 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add version to AVClass so we can add to and use fields of AVClass without ↵Michael Niedermayer2010-04-28
| | | | | | ABI issues. Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk