--- mem_transfer.h 2002/12/08 05:30:26 1.8.2.1 +++ mem_transfer.h 2002/10/19 11:41:11 1.10 @@ -3,6 +3,8 @@ * XVID MPEG-4 VIDEO CODEC * - 8<->16 bit buffer transfer header - * + * Copyright(C) 2002 Michael Militzer + * * This program is an implementation of a part of one or more MPEG-4 * Video tools as specified in ISO/IEC 14496-2 standard. Those intending * to use this software module in hardware or software products are @@ -26,18 +28,10 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - ****************************************************************************/ -/***************************************************************************** - * - * History - * - * - Sun Jun 16 00:12:49 2002 Added legal header - * Cosmetic - * $Id: mem_transfer.h,v 1.8.2.1 2002/12/08 05:30:26 suxen_drol Exp $ + * $Id: mem_transfer.h,v 1.10 2002/10/19 11:41:11 edgomez Exp $ * ****************************************************************************/ - #ifndef _MEM_TRANSFER_H #define _MEM_TRANSFER_H @@ -153,28 +147,4 @@ TRANSFER8X8_COPY transfer8x8_copy_mmx; TRANSFER8X8_COPY transfer8x8_copy_ia64; - -static __inline void -transfer16x16_copy(uint8_t * const dst, - const uint8_t * const src, - const uint32_t stride) -{ - transfer8x8_copy(dst, src, stride); - transfer8x8_copy(dst + 8, src + 8, stride); - transfer8x8_copy(dst + 8*stride, src + 8*stride, stride); - transfer8x8_copy(dst + 8*stride + 8, src + 8*stride + 8, stride); -} - -static __inline void -transfer32x32_copy(uint8_t * const dst, - const uint8_t * const src, - const uint32_t stride) -{ - transfer16x16_copy(dst, src, stride); - transfer16x16_copy(dst + 16, src + 16, stride); - transfer16x16_copy(dst + 16*stride, src + 16*stride, stride); - transfer16x16_copy(dst + 16*stride + 16, src + 16*stride + 16, stride); -} - - #endif