summaryrefslogtreecommitdiffstats
path: root/libswscale/rgb2rgb_template.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove libswscale directory in MPlayer sourcesUoti Urpala2009-07-261-3075/+0
| | | | libswscale will be used through FFmpeg.
* Remove 2 useless += at the end of rgb16to15(), found by CSA.michael2009-04-181-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29189 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l (C code was buggy and untested)michael2009-03-211-4/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29030 b3059339-0415-0410-9bf9-f77b7e298cf2
* Average chroma of 2 lines in packed 422 -> planar 420.michael2009-03-211-4/+110
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29029 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revertmichael2009-03-191-28/+18
| | | | | | | | | | | | | | | Date: Wed Mar 18 23:11:50 2009 New Revision: 28996 Log: Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again. This change was non optimal, correct would have been to revert the offending commits if no time was available to find a clean fix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29003 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unscaled converters formichael2009-03-191-1/+244
| | | | | | | | | | YUYV->YUV420P YUYV->YUV422P UYVY->YUV420P UYVY->YUV422P git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28997 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.reimar2009-03-181-18/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28996 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not assume long is same width as x86 register.ramiro2009-03-181-14/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28992 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rewrite of rgb15to32 and rgb16to32 using fewer asm instructions and setting ↵sdrik2009-03-041-38/+23
| | | | | | alpha channel to 0xFF git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28808 b3059339-0415-0410-9bf9-f77b7e298cf2
* When converting from a non alpha format to an alpha format, defaults to all ↵sdrik2009-02-281-11/+11
| | | | | | ones rather than all zeroes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28756 b3059339-0415-0410-9bf9-f77b7e298cf2
* HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.diego2009-01-251-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28358 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.aurel2009-01-141-61/+61
| | | | | | | They are now always defined to either 0 or 1. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28311 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some forgotten eax -> REG_a changes.reimar2008-12-121-24/+24
| | | | | | | It seems that binutils >= 2.18 just treat eax as rax but older versions fail. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28136 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typo fixdiego2008-10-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27816 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert asm keyword into __asm__.flameeyes2008-10-161-118/+118
| | | | | | | | | | | | | | Neither the asm() nor the __asm__() keyword is part of the C99 standard, but while GCC accepts the former in C89 syntax, it is not accepted in C99 unless GNU extensions are turned on (with -fasm). The latter form is accepted in any syntax as an extension (without requiring further command-line options). Sun Studio C99 compiler also does not accept asm() while accepting __asm__(), albeit reporting warnings that it's not valid C99 syntax. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27778 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark variation-specific interleaveBytes static.flameeyes2008-10-091-1/+1
| | | | | | | | | These functions are never called by themselves, the alias interleaveBytes is used instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27735 b3059339-0415-0410-9bf9-f77b7e298cf2
* gcc-apple specific fallback not necessary anymorelu_zero2008-10-051-5/+0
| | | | | | | | (btw no apple hardware is less than a Intel core, thus it won't come there w/out disabling all the optimizations) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27722 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.diego2008-10-051-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27720 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove MPlayer-specific MP_WORDSIZE hack.diego2008-10-041-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27698 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable yuv422p to uyvy converterbcoudurier2008-09-051-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27527 b3059339-0415-0410-9bf9-f77b7e298cf2
* rgb vs bgr fix for the unscaled converters.michael2008-09-041-16/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27518 b3059339-0415-0410-9bf9-f77b7e298cf2
* spelling/grammar/wording overhauldiego2008-07-041-29/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27190 b3059339-0415-0410-9bf9-f77b7e298cf2
* restore needed cast to correct type with constbcoudurier2008-06-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26957 b3059339-0415-0410-9bf9-f77b7e298cf2
* add const, suppress warningsbcoudurier2008-06-011-10/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26942 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove useless castsbcoudurier2008-06-011-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26941 b3059339-0415-0410-9bf9-f77b7e298cf2
* __asm __volatile -> asm volatile part 3reimar2008-02-241-83/+83
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26091 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make some assembler constants global instead of declaring them multiple times.reimar2008-01-291-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25910 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some useless parentheses.benoit2008-01-171-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25779 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: whitespacesbenoit2008-01-171-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25778 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove non cosmetic spaces inside parentheses.benoit2008-01-171-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25777 b3059339-0415-0410-9bf9-f77b7e298cf2
* comment spelling/grammar fixesdiego2007-11-221-36/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25137 b3059339-0415-0410-9bf9-f77b7e298cf2
* license header consistency cosmeticsdiego2007-07-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23722 b3059339-0415-0410-9bf9-f77b7e298cf2
* misc spelling fixesdiego2007-06-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23556 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix stray wrongly indented line.diego2007-04-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23174 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics attack, part I: Remove all tabs and prettyprint/reindent the code.diego2007-04-281-2310/+2309
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23158 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Replace manual tab indentation by \n\t as in the rest of the file.diego2007-04-281-43/+43
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23157 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove trailing whitespace.diego2007-04-261-18/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23147 b3059339-0415-0410-9bf9-f77b7e298cf2
* preserve alpha channel when converting rgb32 to bgr32 in plain Civo2007-04-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23022 b3059339-0415-0410-9bf9-f77b7e298cf2
* skip MMX code in rgb24tobgr24 if the size of the input is smaller than theivo2007-04-181-0/+3
| | | | | | | size of the units the MMX code processes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23015 b3059339-0415-0410-9bf9-f77b7e298cf2
* skip MMX code in rgb32to16 if the size of the input is smaller than theivo2007-04-181-0/+2
| | | | | | | size of the units the MMX code processes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23014 b3059339-0415-0410-9bf9-f77b7e298cf2
* skip MMX code in rgb32to15 if the size of the input is smaller than theivo2007-04-181-0/+2
| | | | | | | size of the units the MMX code processes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23013 b3059339-0415-0410-9bf9-f77b7e298cf2
* slightly faster rgb32tobgr32; avoid one add and one cmpivo2007-04-171-18/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23012 b3059339-0415-0410-9bf9-f77b7e298cf2
* New implementation of rgb32tobgr32ivo2007-04-161-41/+58
| | | | | | | | | | | | The previous implementation segfaulted with MMX enabled when fed an image smaller than the size of the units the MMX code processed. The new code: - is faster for MMX, MMX2 and plain C - processes small images correctly - is LGPL git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23009 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove code duplication in sws_rgb2rgb_init.ivo2007-04-111-0/+32
| | | | | | | | | | | The lists of assignments of all rgbxtoy variants are removed from sws_rgb2rgb_init and replaced by a single list inside the template file. This way, multiple lists are generated by the preprocessor and each list gets its own initialization function. Those are called from the main sws_rgb2rgb_init function, if applicable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22978 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clarify that some of the non-SIMD code is now LGPLed.lucabe2006-11-191-0/+3
| | | | | | | All the authours of such code agreed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21045 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix MacIntel build: "/nop" is illegal on Apple's older version of GASgpoirier2006-11-071-7/+3
| | | | | | | | | | Patch by Nigel Pearson % nigel A ind P tansu P com P au % Original thread: Date: Nov 6, 2006 10:43 PM Subject: [Ffmpeg-devel] [PATCH] swscale uses /nop, illegal for old versions of GAS git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20740 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change license headers to say 'FFmpeg' instead of 'this program'.diego2006-10-071-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20100 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add official GPL header to make license explicit as discussed on ffmpeg-devel.diego2006-09-061-1/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19709 b3059339-0415-0410-9bf9-f77b7e298cf2
* -fPIC support for libswscalediego2006-08-151-42/+42
| | | | | | | patch by Jason Tackaberry, tack /at/ urandom /dot/ ca git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19402 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace asmalign.h hack by ASMALIGN cpp macros from config.h.diego2006-08-131-14/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19378 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move postproc ---> libswscalelucabe2006-06-301-0/+2675
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2