[FFmpeg-devel] [PATCH] Electronic Arts TGV decoder
pross at xvid.org
pross
Wed Jul 16 10:51:15 CEST 2008
On Mon, Jul 14, 2008 at 01:27:55PM +0200, Michael Niedermayer wrote:
> On Mon, Jul 14, 2008 at 09:21:38PM +1000, pross at xvid.org wrote:
> > On Sun, Jul 13, 2008 at 12:12:32AM +0200, Michael Niedermayer wrote:
> > > On Sat, Jul 12, 2008 at 04:32:20PM +1000, pross at xvid.org wrote:
> > > > On Thu, Jul 10, 2008 at 01:00:32AM +0200, Michael Niedermayer wrote:
> > > > > On Wed, Jul 09, 2008 at 09:18:13PM +1000, pross at xvid.org wrote:
> > > > > > Hi!
> > > > > >
> > > > > > Second video codec in the EA series.
> > > > > >
> > > > > > Samples: http://samples.mplayerhq.hu/game-formats/ea-tgv/
> > > > > > Write-up: http://wiki.multimedia.cx/index.php?title=Electronic_Arts_TGV
> > > > > [...]
> > > >
> > > > Revised patch enclosed.
> > > [...]
> > Certainly worth testing. How do I "cleanly" allocate an AVFrame with
> > linesize tied to width? (grepping lavc for -v DR1 examples was not
> > productive...)
Round three patches enclosed.
On my 400MHz PPC, removing DR1 infavour of simpler code results in negligible speed
difference.
> my_frame.data[0]= av_malloc(width*height)
> linesize[0]= width
Erm I tried the above, together with data[1]=av_malloc for the a palette, but
received a segfault. Obviously I am neglecting something. Clues welcome.
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-av_memcpy_backptr.diff
Type: text/x-diff
Size: 2563 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080716/0ba6accb/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-eatgv-demux-r2.diff
Type: text/x-diff
Size: 1275 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080716/0ba6accb/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-eatgv-decode-r3.diff
Type: text/x-diff
Size: 11768 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080716/0ba6accb/attachment-0002.diff>
-------------- 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/20080716/0ba6accb/attachment.pgp>
More information about the ffmpeg-devel
mailing list