X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bigscreen%2Ftinyptc%2Fbuildmmx.sh;fp=bigscreen%2Ftinyptc%2Fbuildmmx.sh;h=0000000000000000000000000000000000000000;hb=478ab340150034e545e3ed551ff068607d49d35b;hp=24344ca4950b454b0f521b61528a2a81e9f101fb;hpb=8596d4aa3654710fb225c08c4d7235b74362561e;p=ccbs diff --git a/bigscreen/tinyptc/buildmmx.sh b/bigscreen/tinyptc/buildmmx.sh deleted file mode 100755 index 24344ca..0000000 --- a/bigscreen/tinyptc/buildmmx.sh +++ /dev/null @@ -1,73 +0,0 @@ -#! /bin/sh - -# TinyPTC x11 v0.7.3 MMX-Optimized pixelformat converters include generator -# Copyright (C) 2001-2002 Alessandro Gatti -# -# http://www.sourceforge.net/projects/tinyptc/ -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -cat << EOF - -; -; TinyPTC x11 v0.7.3 MMX-optimized pixelformat converters -; Copyright (C) 2001-2002 Alessandro Gatti -; Copyright (C) 2001 Glenn Fiedler -; -; http://www.sourceforge.net/projects/tinyptc/ -; -; This library is free software; you can redistribute it and/or -; modify it under the terms of the GNU Lesser General Public -; License as published by the Free Software Foundation; either -; version 2 of the License, or (at your option) any later version. -; -; This library is distributed in the hope that it will be useful, -; but WITHOUT ANY WARRANTY; without even the implied warranty of -; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -; Lesser General Public License for more details. -; -; You should have received a copy of the GNU Lesser General Public -; License along with this library; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -; 02111-1307 USA -; - -; -; Do not change this file, it is automatically generated. -; Modify mmx.h instead and then recreate this file. -; - -EOF - -# Is this portable? -lines=`grep -i "^ *void *mmx_" - | expand | sed -e 's/^ *void *//g' | sed -e 's/ *(.*//'` - -for line in $lines -do - case $line in - mmx_memcpy) echo "%define __PTC_MMX__";; - mmx_convert_32_to_32_bgr888) echo "%define __PTC_MMX_CONVERT_32_TO_32_BGR888";; - mmx_convert_32_to_32_rgb888) echo "%define __PTC_MMX_CONVERT_32_TO_32_RGB888";; - mmx_convert_32_to_24_bgr888) echo "%define __PTC_MMX_CONVERT_32_TO_24_BGR888";; - mmx_convert_32_to_24_rgb888) echo "%define __PTC_MMX_CONVERT_32_TO_24_RGB888";; - mmx_convert_32_to_16_bgr565) echo "%define __PTC_MMX_CONVERT_32_TO_16_BGR565";; - mmx_convert_32_to_16_rgb565) echo "%define __PTC_MMX_CONVERT_32_TO_16_RGB565";; - mmx_convert_32_to_16_bgr555) echo "%define __PTC_MMX_CONVERT_32_TO_16_BGR555";; - mmx_convert_32_to_16_rgb555) echo "%define __PTC_MMX_CONVERT_32_TO_16_RGB555";; - esac -done - -echo -echo "; *** end ***"