~bratsche/vlc/vlc-notify-add-actions-with-server-support

« back to all changes in this revision

Viewing changes to extras/x264/common/i386/pixel-a.asm

  • Committer: Bazaar Package Importer
  • Date: 2008-11-28 09:29:51 UTC
  • Revision ID: jamesw@ubuntu.com-20081128092951-0y5ojboptscru17f
Tags: upstream-ubuntu-0.8.6.release.e+x264svn20071224+faad2.6.1
ImportĀ upstreamĀ versionĀ 0.8.6.release.e+x264svn20071224+faad2.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
549
549
SAD_X 4,  4,  4
550
550
 
551
551
 
552
 
;-----------------------------------------------------------------------------
553
 
;   int __cdecl x264_pixel_sad_pde_16x16_mmxext (uint8_t *, int, uint8_t *, int, int )
554
 
;-----------------------------------------------------------------------------
555
 
%macro SAD_PDE 2
556
 
cglobal x264_pixel_sad_pde_%1x%2_mmxext
557
 
    SAD_START
558
 
%rep %2/4
559
 
    SAD_INC_2x%1P
560
 
%endrep
561
 
 
562
 
    movd ebx, mm0
563
 
    cmp  ebx, [esp+24] ; prev_score
564
 
    jl   .continue
565
 
    pop  ebx
566
 
    mov  eax, 0xffff
567
 
    ret
568
 
ALIGN 4
569
 
.continue:
570
 
    mov  ebx, [esp+12]
571
 
 
572
 
%rep %2/4
573
 
    SAD_INC_2x%1P
574
 
%endrep
575
 
    SAD_END
576
 
%endmacro
577
 
 
578
 
SAD_PDE 16, 16
579
 
SAD_PDE 16 , 8
580
 
SAD_PDE  8, 16
581
 
 
582
 
 
583
 
 
584
552
%macro SSD_START 0
585
553
    push    ebx
586
554