comparison libmpeg2/motion_comp_mmx.c @ 27572:da2271c341ee

Update internal libmpeg2 copy to version 0.5.1.
author diego
date Sat, 13 Sep 2008 17:31:45 +0000
parents fd18fa10de53
children 25337a2147e7
comparison
equal deleted inserted replaced
27571:fd18fa10de53 27572:da2271c341ee
17 * GNU General Public License for more details. 17 * GNU General Public License for more details.
18 * 18 *
19 * You should have received a copy of the GNU General Public License 19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software 20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 *
23 * Modified for use with MPlayer, see libmpeg2_changes.diff for the exact changes.
24 * detailed changelog at http://svn.mplayerhq.hu/mplayer/trunk/
25 * $Id$
26 */ 22 */
27 23
28 #include "config.h" 24 #include "config.h"
29 25
30 #if defined(ARCH_X86) || defined(ARCH_X86_64) 26 #if defined(ARCH_X86) || defined(ARCH_X86_64)
65 * use a small static number of iterations. This was written 61 * use a small static number of iterations. This was written
66 * with the assumption the compiler knows best about when 62 * with the assumption the compiler knows best about when
67 * unrolling will help 63 * unrolling will help
68 */ 64 */
69 65
70 static inline void mmx_zero_reg () 66 static inline void mmx_zero_reg (void)
71 { 67 {
72 /* load 0 into mm0 */ 68 /* load 0 into mm0 */
73 pxor_r2r (mm0, mm0); 69 pxor_r2r (mm0, mm0);
74 } 70 }
75 71