[FFmpeg-devel] [RFC] WC3 decoder without AVPaletteControl
Michael Niedermayer
michaelni
Wed Apr 15 14:06:55 CEST 2009
On Wed, Apr 15, 2009 at 12:34:26PM +0200, Reimar D?ffinger wrote:
> On Tue, Apr 14, 2009 at 05:22:55PM +0200, Reimar D?ffinger wrote:
> > On Sun, Apr 12, 2009 at 01:26:33PM +0200, Reimar D?ffinger wrote:
> > > On Sun, Apr 12, 2009 at 12:19:07AM +0200, Reimar D?ffinger wrote:
> > > > attached patch implements this.
> > > > It is a bit ugly because it adds a lot of seeking to the demuxer, but I
> > > > think for such a fringe format there is no point in extra work for avoiding it.
> > > > The patch also adds two helper functions, one to increase the size of a
> > > > packet and one that appends data read from a file to a possibly already
> > > > filled packet.
> > > > I expect that there will be more that a few bugs still, e.g. while the
> > > > video looks visually ok in ffplay the FATE regressions do not match at
> > > > all.
> > >
> > > A minor update. It only fixes the gamma correction and provides a
> > > fixed point integer-implementation, which might help explain some of
> > > its weirdness like clipping to 253.
> >
> > Mike is ok with, any comments on the av_grow_packet/av_append_packet?
>
> I was thinking about avoiding the need for av_grow_packet and instead
> use av_new_packet + memcpy, but there currently isn't a reliable way to
> copy everything necessary like pos, pts etc. to the new packet (doing it
> manually in the function will break as soon as a new field is added and
> someone forgets to update that function).
> If there are no comments I threaten to apply "somewhen".
please wait 3 days or so, id like to fix avi and see what that will need
and if that method could also be used then everywhere
i never felt the need for a grow or append packet function when thinking
about palettes
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090415/b70e0219/attachment.pgp>
More information about the ffmpeg-devel
mailing list