Add missing checks in avfilter_default_get_video_buffer().
Originally committed as revision 24809 to svn://svn.ffmpeg.org/ffmpeg/trunk
Resize data and linesize in AVFilterBufferRef to 8.
This is required to make AVFilterBufferRef able to contain also audiodata, required by audio filtering integration.
Patch by S.N. Hemanth Meenakshisundaram email@example.com?.
Originally committed as revision 24773 to svn://svn.ffmpeg.org/ffmpeg/trunk
Separate video specific BufferRef properties into VideoProps.
Define a new struct AVFilterBufferRefVideoProps and add a type fieldto AVFilterBufferRef.
Video specific properties in AVFilterBufferRefVideoProps are nowreferred to by *video pointer in AVFilterBufferRef....
AVFilterLink.srcpic -> AVFilterLink.src_bufAVFilterLink.cur_pic -> AVFilterLink.cur_bufAVFilterLink.outpic -> AVFilterLink.out_buf
The new names are more generic and more consistent, since the structthey contain, which was named AVFilterPicRef, has been renamed to...
Rename functions and fields:
avfilter_(un)ref_pic -> avfilter_(un)ref_bufferavfilter_copy_picref_props -> avfilter_copy_buffer_ref_propsAVFilterBufferRef.pic -> AVFilterBufferRef.buffer
They have been renamed to allow sharing with audio.
Patch by S.N. Hemanth Meenakshisundaram $smeenaks$ucsd$edu$....
Rename AVFilterPicRef to AVFilterBufferRef.
The struct is going to be used for storing audio buffer references aswell, 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
Move format from AVFilterBuffer to AVFilterPicRef.
Patch by S.N. Hemanth Meenakshisundaram |smeenaks|ucsd|edu|.
Originally committed as revision 24728 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix the size of the data to be copied from an AVFilterBuffer to anAVFilterBuffereRef in avfilter_default_get_video_buffer().
The error was being caused by the previous patch which resizedAVFilterBuffer's data and linesize arrays to 8.
Patch by S.N. Hemanth Meenakshisundaram" &smeenaks&ucsd&edu&....
Make avfilter_default_get_video_buffer() use functions inlibavcore/imgutils.c rather than ff_fill_linesize() andff_fill_pointer().
Also remove a dependency on libavcodec.
Originally committed as revision 24586 to svn://svn.ffmpeg.org/ffmpeg/trunk
Generalize pixel format enum fields to int formats.
This is needed to make the libavfilter framework work with audiofilters.
In particular add a type field to AVFilterLink, change the field types:enum PixelFormat format -> int format in AVFilterBuffer...
Remove AVFilterBuffer w and h fields.
These fields are never used, and they do not seem to belong toAVFilterBuffer anymore, now that it is now a media-independentstructure and these fields are video-related.
Patch by S.N. Hemanth Meenakshisundaram smeenaks ! ucsd ! edu....
Rename AVFilterPic to AVFilterBuffer.
The struct is going to be used for audio data as well, so the new nameis less misleading.
Patch by S.N. Hemanth Meenakshisundaram smeenaks AT ucsd DOT edu.
Originally committed as revision 24284 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use avfilter_copy_picref_props() along lavfi.
Originally committed as revision 24196 to svn://svn.ffmpeg.org/ffmpeg/trunk
Alloc 16 extra bytes in libavfilter frames. Needed for MMX-optimized swscale.
Fix issue 1924.
Originally committed as revision 23077 to svn://svn.ffmpeg.org/ffmpeg/trunk
Try to keep track of interlaced and top field first.
Originally committed as revision 23044 to svn://svn.ffmpeg.org/ffmpeg/trunk
Create a set of null callback functions.These are useful for filters which don't modify the image data.
Originally committed as revision 22594 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add AVFilterPicRef.pos field and make libavfilter propagate streambyte position information, as stored in the pkt.pos, through thefilterchain.
Note that the pos field is added non at the end of theAVFilterPicRef struct, thus breaking ABI compatibility, which is...
avfilter: make avfilter_default_free_video_buffer() static
This function is not referenced outside this file and has noprototype. Feel free to flame if this is wrong.
Originally committed as revision 22314 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make avfilter_default_start_frame() correctly pass the aspect ratioinformation to the next filter.
Originally committed as revision 22300 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make avfilter_default_start_frame() request a buffer with the samesize of the output link of the destination filter, rather than of thesize of the input link.In particular this fixes a crash in the rotate filter.
Originally committed as revision 21238 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a slice_dir parameter to avfilter_draw_slice().
Avoid the need to implement slice direction detection code, thusreducing code duplication.
See the thread:"[FFmpeg-devel] [PATCH] Add a slice_dir parameter to avfilter_start_frame()".
Originally committed as revision 20734 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make avfilter_get_video_buffer() recursive.
When called on a link with a filter whose destination pad has not aget_video_buffer callback defined, it will callavfilter_get_video_buffer() on the first output link of thedestination filer, rather than use avfilter_default_get_buffer(), so...
Add w and h fields to AVFilterPic.
See the thread:"[FFmpeg-devel] [PATCH] Add w,h fields to AVFilterPic".
Originally committed as revision 20189 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move ALIGN macro to libavutil/common.h and use it in various places
Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement the avfilter_default_draw_slice() handler and use it inavfilter_draw_slice() when the draw_slice callback is not defined inthe input pad.
Originally committed as revision 16554 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use full path for #includes from another directory.
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
Force alignment of pic->linesizeCommited in SoC by Vitor Sessak on 2008-02-15 21:05:06
Originally committed as revision 12075 to svn://svn.ffmpeg.org/ffmpeg/trunk
Force linesize to be a multiple of 16Commited in SoC by Vitor Sessak on 2008-02-10 20:51:58
Originally committed as revision 12074 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rework link property configuration system.This can now handle filters which are added to graphs out of order,including auto-inserted scale filters. As an added bonus, it cannow detect circular filter chains which wouldn't work anyway.
Commited in SoC by Bobby Bingham on 2007-12-24 03:22:10...
Rewrite colorspace negotiation.
Commited in SoC by Bobby Bingham on 2007-12-20 19:36:26
Originally committed as revision 12072 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make an invalid use of a default callback implementation return an error.
Commited in SoC by Bobby Bingham on 2007-08-18 01:45:42
Originally committed as revision 12071 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ensure that buffers returned by the default allocator are readable, or elsethey're useless for outputting.
Commited in SoC by Bobby Bingham on 2007-08-17 22:52:18
Originally committed as revision 12070 to svn://svn.ffmpeg.org/ffmpeg/trunk
Revert braindead linked list of permissions
Commited in SoC by Bobby Bingham on 2007-08-17 22:44:03
Originally committed as revision 12069 to svn://svn.ffmpeg.org/ffmpeg/trunk
Track the permissions that have been given out to each picture.This should make it easier to know what can be done to a buffer onceit's been passed to your filter without falling back to copying it "justto be safe".
Commited in SoC by Bobby Bingham on 2007-08-17 18:21:07...
Commited in SoC by Bobby Bingham on 2007-08-17 17:09:19
Originally committed as revision 12067 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make default end_frame() implementation more useful.
Commited in SoC by Bobby Bingham on 2007-08-17 16:45:47
Originally committed as revision 12066 to svn://svn.ffmpeg.org/ffmpeg/trunk
Allow filters to set the requirements on permissions for incoming buffers.
Commited in SoC by Bobby Bingham on 2007-08-17 16:40:26
Originally committed as revision 12065 to svn://svn.ffmpeg.org/ffmpeg/trunk
Separate the process of creating links between filters from that of configuringthe links.
Commited in SoC by Bobby Bingham on 2007-08-07 21:02:18
Originally committed as revision 12064 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move default entry point implementations to their own file.Make them externally visible because they may be useful for filters to use.
Commited in SoC by Bobby Bingham on 2007-08-02 15:14:05
Originally committed as revision 12063 to svn://svn.ffmpeg.org/ffmpeg/trunk