1 /* 2 * (C) Copyright IBM Corporation 2004 3 * All Rights Reserved. 4 * 5 * Permission is hereby granted, free of charge, to any person obtaining a 6 * copy of this software and associated documentation files (the "Software"), 7 * to deal in the Software without restriction, including without limitation 8 * on the rights to use, copy, modify, merge, publish, distribute, sub 9 * license, and/or sell copies of the Software, and to permit persons to whom 10 * the Software is furnished to do so, subject to the following conditions: 11 * 12 * The above copyright notice and this permission notice (including the next 13 * paragraph) shall be included in all copies or substantial portions of the 14 * Software. 15 * 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 19 * IBM AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, 20 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 21 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 22 * USE OR OTHER DEALINGS IN THE SOFTWARE. 23 */ 24 25 /** 26 * \file read_rgba_span_x86.h 27 * 28 * \author Ian Romanick <idr@us.ibm.com> 29 */ 30 31 #ifndef READ_RGBA_SPAN_X86_H 32 #define READ_RGBA_SPAN_X86_H 33 34 #if defined(USE_SSE_ASM) || defined(USE_MMX_ASM) 35 #include "x86/common_x86_asm.h" 36 #endif 37 38 #if defined(USE_SSE_ASM) 39 extern void _generic_read_RGBA_span_BGRA8888_REV_SSE2( const unsigned char *, 40 unsigned char *, unsigned ); 41 #endif 42 43 #if defined(USE_SSE_ASM) 44 extern void _generic_read_RGBA_span_BGRA8888_REV_SSE( const unsigned char *, 45 unsigned char *, unsigned ); 46 #endif 47 48 #if defined(USE_MMX_ASM) 49 extern void _generic_read_RGBA_span_BGRA8888_REV_MMX( const unsigned char *, 50 unsigned char *, unsigned ); 51 52 extern void _generic_read_RGBA_span_RGB565_MMX( const unsigned char *, 53 unsigned char *, unsigned ); 54 #endif 55 56 #endif /* READ_RGBA_SPAN_X86_H */ 57