[MPlayer-dev-eng] libavcodec options incompatibility

Michael Niedermayer michaelni at gmx.at
Mon Aug 9 04:45:36 CEST 2004


Hi

On Monday 09 August 2004 03:17, Giacomo Comes wrote:
> On Thu, Aug 05, 2004 at 08:56:50PM +0200, Michael Niedermayer wrote:
> > Hi
> >
> > On Thursday 05 August 2004 18:34, Giacomo Comes wrote:
> > > > > If you need more details please ask and I will give you.
> > > >
> > > > gdb output as described in our bugreportong docs, or upload some
> > > > preferably short sample with which this can be reproduced
> > >
> > > I will do during the week end. Do you need gdb output and/or sample for
> > > both the problems or only the second?
> >
> > only the second
>
> Ok here is the gdb output.
> As I said before mencoder segfault with every video I tryed, so I think
> it's not important the source I'm using. Anyway I put it on the web
> and can be downloaded at
> http://spazioinwind.libero.it/encode2mpeg/RAI720x416.avi
>
> For any other help please ask.
[...]

gcc bug (ignored alignment + SSE2)

------
#0  0x08356d26 in ff_fdct_sse2 (block=0x4201521c) at i386/fdct_mmx.c:353
#1  0x0821c54a in dct_sad8x8_c (c=0x87e5670, src1=0x85634d0 "", src2=0x85634d0 
"", stride=139867344, h=8) at dsputil.c:2924
0x08356d26 <ff_fdct_sse2+771>:  movdqa %xmm1,0x0(%edx)
edx            0x4201521c       1107382812

static int dct_sad8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t 
*src2, int stride, int h){
    MpegEncContext * const s= (MpegEncContext *)c;
    uint64_t __align8 aligned_temp[sizeof(DCTELEM)*64/8];
    DCTELEM * const temp= (DCTELEM*)aligned_temp;
    int sum=0, i;
    
    assert(h==8);

    s->dsp.diff_pixels(temp, src1, src2, stride);
    s->dsp.fdct(temp);
-------

-- 
Michael
level[i]= get_vlc(); i+=get_vlc();		(violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]);	(violates patent #5,905,535)
buf[i]= qp - buf[i-1];				(violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en




More information about the MPlayer-dev-eng mailing list