[FFmpeg-devel] [GSoC] [RFC] Abstract AVFilterFormats to AVRefCountedList for reuse

Mina Nagy Zaki mnzaki at gmail.com
Mon May 30 11:00:01 CEST 2011


AVRefCountedList will be used for lists of supported formats and channel 
layouts. There is a problem currently with chlayouts, they are int64 while 
formats are int32. I could not determine why chlayouts are 64 bit, but trying 
to change them will break API/ABI. This means AVRefCountedList will have to 
support both. After discussion with Stefano I think simply having a 
avfilter_refcounted_list_make32() will do. Video filters will have to use that 
since they will store PixelFormat lists, which are enums and hence 32bit.

The patches are against Stefano's rebased audio-filter-* branches. For the full 
branch see audio-filters-20110530 from https://gitorious.org/~mnzaki/ffmpeg-
mirror/mnzakis-ffmpeg 

Comments appreciated.

-- 
Mina
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Abstract-AVFilterFormats-out-to-AVRefCountedList-for.patch
Type: text/x-patch
Size: 44340 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110530/8604d61f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Move-avfilter_all_formats-to-defaults.c.patch
Type: text/x-patch
Size: 3313 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110530/8604d61f/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Rename-formats.c-to-avrclist.c.patch
Type: text/x-patch
Size: 9840 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110530/8604d61f/attachment-0002.bin>


More information about the ffmpeg-devel mailing list