[MPlayer-cvslog] Re: CVS: main/postproc swscale_template.c, 1.116, 1.117

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Jun 28 23:46:04 CEST 2005


Hi,
On Tue, Jun 28, 2005 at 11:37:05PM +0200, Michael Niedermayer wrote:
> and where did it crash? it cant be in the asm of line 2550 as this doesnt seem 
> reachable for a MMX2 system

sorry, forgot that...
(gdb) bt
#0  0x081ff782 in hScale_MMX2 (dst=0x81f4792, dstW=141661464, 
    src=0x2d0 <Address 0x2d0 out of bounds>, srcW=360, xInc=360,
filter=0xfffffa60, 
    filterPos=0x8717e98, filterSize=141632648) at
swscale_template.c:2048
#1  0x00000001 in ?? ()
#2  0x081f4792 in swScale_MMX2 (c=0x8714f50, src=0x885ef48,
srcStride=0xbfffd640, srcSliceY=0, 
    srcSliceH=576, dst=0x8707e80, dstStride=0xbfffd630) at
swscale_template.c:2723
#3  0x081f31b4 in sws_scale_ordered (c=0x870c180, src=0x885ef48,
srcStride=0x870c180, srcSliceY=0, 
    srcSliceH=576, dst=0x8707e80, dstStride=0x8707e90) at swscale.c:2298
#4  0x0813c4db in put_image (vf=0x870bfa0, mpi=0x885ef28) at
vf_scale.c:302
#5  0x08109c31 in decode_video (sh_video=0x8705c48, start=0x0,
in_size=0, drop_frame=141581384)
    at dec_video.c:334
#6  0x080831ab in main (argc=2, argv=0xbffffad4) at mplayer.c:2350

(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x81ff762 to 0x81ff7a2:
0x081ff762 <hScale_MMX2+498>:   mov    %eax,%ebp
0x081ff764 <hScale_MMX2+500>:   lea    0x0(%esi),%esi
0x081ff76a <hScale_MMX2+506>:   lea    0x0(%edi),%edi
0x081ff770 <hScale_MMX2+512>:   movzwl (%edx,%ebp,1),%eax
0x081ff774 <hScale_MMX2+516>:   movzwl 0x2(%edx,%ebp,1),%ebx
0x081ff779 <hScale_MMX2+521>:   movq   (%ecx,%ebp,4),%mm1
0x081ff77d <hScale_MMX2+525>:   movq   0x8(%ecx,%ebp,4),%mm3
0x081ff782 <hScale_MMX2+530>:   movd   (%esi,%eax,1),%mm0
0x081ff786 <hScale_MMX2+534>:   movd   (%esi,%ebx,1),%mm2
0x081ff78a <hScale_MMX2+538>:   punpcklbw %mm7,%mm0
0x081ff78d <hScale_MMX2+541>:   punpcklbw %mm7,%mm2
0x081ff790 <hScale_MMX2+544>:   pmaddwd %mm1,%mm0
0x081ff793 <hScale_MMX2+547>:   pmaddwd %mm2,%mm3
0x081ff796 <hScale_MMX2+550>:   psrad  $0x8,%mm0
0x081ff79a <hScale_MMX2+554>:   psrad  $0x8,%mm3
0x081ff79e <hScale_MMX2+558>:   packssdw %mm3,%mm0
0x081ff7a1 <hScale_MMX2+561>:   pmaddwd %mm6,%mm0
End of assembler dump.
(gdb)

Greetings,
Reimar Döffinger




More information about the MPlayer-cvslog mailing list