~medibuntu-maintainers/mplayer/medibuntu.precise

« back to all changes in this revision

Viewing changes to ffmpeg/libavcodec/x86/h264_chromamc.asm

  • Committer: Gauvain Pocentek
  • Date: 2012-03-06 11:59:12 UTC
  • mfrom: (66.1.15 precise)
  • Revision ID: gauvain@pocentek.net-20120306115912-h9d6kt9j0l532oo5
* Merge from Ubuntu:
  - put back faac support
  - recommends apport-hooks-medibuntu
  - change Maintainer, Uploaders & Vcs-* fields.
* New upstream snapshot
* upload to unstable
* Build against external libmpeg2
* drop 51_FTBFS_arm.patch again
* no longer build depend on libcdparanoia-dev on the Hurd
* Fix FTBFS on the hurd.
  Thanks to Samuel Thibault <sthibault@debian.org> (Closes: #654974)
* Fix FTBFS on arm
* New upstream snapshot, Closes: #650339, #643621, #481807
* Imported Upstream version 1.0~rc4+svn34492
* Bump standards version
* Bump dependency on libav >= 4:0.8~, Closes: #653887
* Fix build-indep
* Build mplayer-gui again, Closes: #568514
* Drop debian/all-lang-config-mak.sh, no longer needed
* include .dfsg1 in version number
* remove get-orig-source target
* no longer prune compiler flags from the environment
* No longer advertise nor build 3fdx, mga and dxr3 backends,
  Closes: #496106, #442181, #533546
* beautify mplayer version identification string
* Brown paperbag upload.
* Next try to fix build failure on sparce after recent binutils change.
* Brown paperbag upload.
* Really fix build failure on sparc after recent binutils change.
* Properly set Replaces/Conflicts on mplayer2{,-dbg} to avoid
  file overwrite errors.
* Adjust versioning of mplayer listed in the mplayer-dbg's Depends field.
* Fix build failure on sparc after recent binutils change.
* Urgency medium bumped because of RC-level bugfix
  and speeding up x264 transition.
* Update to my @debian.org email.
* Upload to unstable
* Enable joystick support on Linux only, Closes: #638408
* Rebuild fixes toolchain issue on arm, Closes: #637077
* New upstream snapshot
* following the discussion started by Diego Biurrun <diego@biurrun.de>
  in debian-devel, I have prepared a new packaging of 'mplayer'
  (with code that comes from CVS)
* the upstream tar.bz cannot be distributed by Debian, since it contains
   CSS code; so I am repackaging it 
* I have tried my best to address all known issues:
  - the package contains the detailed Copyright made by Diego Biurrun 
  - the package does not contain CSS code, or  AFAIK other code on which 
     there is active patent enforcement
  - there is a script  debian/cvs-changelog.sh  that shows all changes
     done to files included in this source.
    This should comply with GPLv2 sec 2.a  (in spirit if not in letter)
    For this reason, the source code contains CVS directories.
* needs   make (>= 3.80) for 'html-chunked-$(1)' in DOCS/xml/Makefile

* some corrections, as suggested Diego Biurrun
  - binary codecs should go into /usr/lib/codecs (upstream default)
  - better template 'mplayer/install_codecs'
  - an empty 'font=' in mplayer.conf breaks mplayer: postinst corrected
* correction in 'mplayer/cfgnote'
* better mplayer.postinst and mplayer.config

* New upstream release
* better debian/copyright file
* do not ship a skin
* New upstream release
* changed DEB_BUILD_OPTIONS to DEB_BUILD_CONFIGURE ,
  DEB_BUILD_OPTIONS is used as in debian policy
* use gcc-3.4
* changed xlibs-dev to a long list of dependencies, for Debian/etch
* try to adhere to  http://www.mplayerhq.hu/DOCS/tech/binary-packaging.txt
  (see README.Debian for details)
* removed dependency on xlibmesa-dev, disabled opengl
* New upstream release
* Simon McVittie <hacks@pseudorandom.co.uk> wonderful work:
- Work around Debian bug #267442 (glibc's sys/uio.h and gcc's altivec.h have
  conflicting uses for __vector) by re-ordering #includes
- Fix potential symlink attack in ./configure
- Disable support for binary codecs on platforms for which those codecs
  aren't available; also disable the corresponding Debconf note when it's
  inappropriate
- Changed Build-Depends: so it works in pbuilder
- Explicitly build-depend on libjpeg62-dev, libfontconfig1-dev,
  libungif4-dev 
- Tweak debian/rules to avoid certain errors being ignored
- Use --language=all
* provide a target  'debian/rules get-orig-source' 
  that recreates the orig.tar.gz ; then use the above orig.tar.gz
* rewrote some parts of debian/rules
* don't clean and recompile docs if upstream ships them
* mplayer-doc was shipping too much stuff
* translated man pages where not installed properly
* compile with libdv4-dev
* correct README.Debian
* Forgot build-dep on libtheora
* Must not depend on libxvidcore
* New upstream release
* new release.
* rc1 to become 0.90
* new pre-release
* new pre-release
* gtk bug fixed.
* new release.
* version bumped
* 0.60 pre2 release
* 0.60 pre-release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
.next4rows
73
73
    movq         mm0, [r1   ]
74
74
    movq         mm1, [r1+r2]
 
75
    add           r1, r4
75
76
    CHROMAMC_AVG mm0, [r0   ]
76
77
    CHROMAMC_AVG mm1, [r0+r2]
77
78
    movq     [r0   ], mm0
78
79
    movq     [r0+r2], mm1
79
80
    add           r0, r4
80
 
    add           r1, r4
81
81
    movq         mm0, [r1   ]
82
82
    movq         mm1, [r1+r2]
 
83
    add           r1, r4
83
84
    CHROMAMC_AVG mm0, [r0   ]
84
85
    CHROMAMC_AVG mm1, [r0+r2]
85
 
    add           r1, r4
86
86
    movq     [r0   ], mm0
87
87
    movq     [r0+r2], mm1
88
88
    add           r0, r4
472
472
    mov          r6d, r4d
473
473
    shl          r4d, 8
474
474
    sub           r4, r6
 
475
    mov           r6, 8
475
476
    add           r4, 8           ; x*288+8 = x<<8 | (8-x)
476
 
    mov           r6, 8
477
477
    sub          r6d, r5d
478
478
    imul          r6, r4          ; (8-y)*(x*255+8) = (8-y)*x<<8 | (8-y)*(8-x)
479
479
    imul         r4d, r5d         ;    y *(x*255+8) =    y *x<<8 |    y *(8-x)
481
481
    movd          m7, r6d
482
482
    movd          m6, r4d
483
483
    movdqa        m5, [rnd_2d_%2]
 
484
    movq          m0, [r1  ]
 
485
    movq          m1, [r1+1]
484
486
    pshuflw       m7, m7, 0
485
487
    pshuflw       m6, m6, 0
 
488
    punpcklbw     m0, m1
486
489
    movlhps       m7, m7
487
490
    movlhps       m6, m6
488
491
 
489
 
    movq          m0, [r1     ]
490
 
    movq          m1, [r1   +1]
491
 
    punpcklbw     m0, m1
492
 
    add           r1, r2
493
492
.next2rows
494
 
    movq          m1, [r1     ]
495
 
    movq          m2, [r1   +1]
496
 
    movq          m3, [r1+r2  ]
497
 
    movq          m4, [r1+r2+1]
 
493
    movq          m1, [r1+r2*1   ]
 
494
    movq          m2, [r1+r2*1+1]
 
495
    movq          m3, [r1+r2*2  ]
 
496
    movq          m4, [r1+r2*2+1]
498
497
    lea           r1, [r1+r2*2]
499
498
    punpcklbw     m1, m2
 
499
    movdqa        m2, m1
500
500
    punpcklbw     m3, m4
501
 
    movdqa        m2, m1
502
501
    movdqa        m4, m3
503
502
    pmaddubsw     m0, m7
504
503
    pmaddubsw     m1, m6
508
507
    paddw         m2, m5
509
508
    paddw         m1, m0
510
509
    paddw         m3, m2
 
510
    psrlw         m1, 6
511
511
    movdqa        m0, m4
512
 
    psrlw         m1, 6
513
512
    psrlw         m3, 6
514
513
%ifidn %1, avg
515
514
    movq          m2, [r0   ]
576
575
    movq          m1, [r1+r2  ]
577
576
    movdqa        m2, m1
578
577
    movq          m3, [r1+r2*2]
 
578
    lea           r1, [r1+r2*2]
579
579
    punpcklbw     m0, m1
580
580
    punpcklbw     m2, m3
581
581
    pmaddubsw     m0, m7
594
594
    movhps   [r0+r2], m0
595
595
    sub          r3d, 2
596
596
    lea           r0, [r0+r2*2]
597
 
    lea           r1, [r1+r2*2]
598
597
    jg .next2yrows
599
598
    REP_RET
600
599
%endmacro
607
606
    mov           r6, r4
608
607
    shl          r4d, 8
609
608
    sub          r4d, r6d
 
609
    mov           r6, 8
610
610
    add          r4d, 8           ; x*288+8
611
 
    mov           r6, 8
612
611
    sub          r6d, r5d
613
612
    imul         r6d, r4d         ; (8-y)*(x*255+8) = (8-y)*x<<8 | (8-y)*(8-x)
614
613
    imul         r4d, r5d         ;    y *(x*255+8) =    y *x<<8 |    y *(8-x)
616
615
    movd          m7, r6d
617
616
    movd          m6, r4d
618
617
    movq          m5, [pw_32]
 
618
    movd          m0, [r1  ]
619
619
    pshufw        m7, m7, 0
 
620
    punpcklbw     m0, [r1+1]
620
621
    pshufw        m6, m6, 0
621
622
 
622
 
    movd          m0, [r1     ]
623
 
    punpcklbw     m0, [r1   +1]
624
 
    add           r1, r2
625
623
.next2rows
626
 
    movd          m1, [r1     ]
627
 
    movd          m3, [r1+r2  ]
628
 
    punpcklbw     m1, [r1   +1]
629
 
    punpcklbw     m3, [r1+r2+1]
 
624
    movd          m1, [r1+r2*1  ]
 
625
    movd          m3, [r1+r2*2  ]
 
626
    punpcklbw     m1, [r1+r2*1+1]
 
627
    punpcklbw     m3, [r1+r2*2+1]
630
628
    lea           r1, [r1+r2*2]
631
629
    movq          m2, m1
632
630
    movq          m4, m3
638
636
    paddw         m2, m5
639
637
    paddw         m1, m0
640
638
    paddw         m3, m2
 
639
    psrlw         m1, 6
641
640
    movq          m0, m4
642
 
    psrlw         m1, 6
643
641
    psrlw         m3, 6
644
642
    packuswb      m1, m1
645
643
    packuswb      m3, m3