[FFmpeg-devel] zlib decoder
Måns Rullgård
mans
Sat Jul 7 22:14:42 CEST 2007
Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:
> Hello,
> On Thu, Jul 05, 2007 at 07:48:59PM +0100, M?ns Rullg?rd wrote:
>> M?ns Rullg?rd <mans at mansr.com> writes:
>> > Mike Melanson <mike at multimedia.cx> writes:
>> >> M?ns Rullg?rd wrote:
>> >>> M?ns Rullg?rd <mans at mansr.com> writes:
>> >>>
>> >>>> Here, at long last, is my highly anticipated zlib decoder.
>> >>>>
>> >>>> It decompresses a random choice of gzip files I've tried it on
>> >>>> correctly. I'm sure there still are corner cases I haven't covered,
>> >>>> though. Any help finding, and better yet fixing, these is
>> >>>> appreciated.
>> >>>
>> >>> Oh, one thing I just remembered I hadn't implemented yet: parsing the
>> >>> standard zlib header ;-)
>> >>
>> >> So, is it good for anything yet? Can it decode compressed QT moov atoms?
>> >
>> > Haven't tried.
>> >
>> >> ZMBV data?
>> >
>> > Yes, after I implemented zlib header parsing. Will post code later.
>>
>> Here's the promised code. It has zlib header handling and some code
>> moved from macros to functions.
>
> As an API example, for testing, and to be applied after this:
> here is a patch that makes cscd.c use this.
> Mans seems to already have done the same thing, but who doesn't enjoy a bit
> of duplicated effort ;-).
I've made my private FFmpeg tree available as git://git.mansr.com/ffmpeg.mru
The "inflate" branch has the zlib code and some codecs converted to
use it. Unfortunately I haven't got gitweb configured for external access.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list