Mercurial > libavcodec.hg
changeset 8007:35187c18580f libavcodec
Sync cosmetics from upstream.
author | diego |
---|---|
date | Tue, 07 Oct 2008 08:37:20 +0000 |
parents | c7c1e85d14bc |
children | 68f0d19ff0a2 |
files | i386/idct_mmx.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/idct_mmx.c Mon Oct 06 16:22:11 2008 +0000 +++ b/i386/idct_mmx.c Tue Oct 07 08:37:20 2008 +0000 @@ -3,6 +3,7 @@ * Copyright (C) 1999-2001 Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * * This file is part of mpeg2dec, a free MPEG-2 video stream decoder. + * See http://libmpeg2.sourceforge.net/ for updates. * * mpeg2dec is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,6 +33,7 @@ #define round(bias) ((int)(((bias)+0.5) * (1<<ROW_SHIFT))) #define rounder(bias) {round (bias), round (bias)} + #if 0 /* C row IDCT - it is just here to document the MMXEXT and MMX versions */ static inline void idct_row (int16_t * row, int offset, @@ -533,6 +535,7 @@ #undef C4 } + static const int32_t rounder0[] ATTR_ALIGN(8) = rounder ((1 << (COL_SHIFT - 1)) - 0.5); static const int32_t rounder4[] ATTR_ALIGN(8) = rounder (0);