summaryrefslogtreecommitdiff
path: root/libswscale/rgb2rgb_template.c
Commit message (Collapse)AuthorAge
* lavu: add AV_CEIL_RSHIFT and use it in various placesClément Bœsch2016-01-11
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* swscale: fix sign extensions in yuv planar conversionVittorio Giovara2014-10-18
| | | | | | | | | | Casting the left-most byte to unsigned avoids an undefined result of the shift by 24 if bit 7 is set. yuvPlanartouyvy_c and yuvPlanartoyuy2_c are affected. CC: libav-stable@libav.org Bug-Id: CID 732281 / CID 732282
* swscale: add nv12/nv21->yuv420 converterMichael Niedermayer2014-01-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* swscale: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* x86: mmx2 ---> mmxext in comments and messagesDiego Biurrun2012-10-31
|
* swscale: K&R formatting cosmetics (part I)Diego Biurrun2012-02-21
|
* swscale: variable declaration and placement cosmeticsDiego Biurrun2012-02-21
|
* swscale: Remove disabled code.Diego Biurrun2011-05-29
|
* sws: replace all long with int.Anton Khirnov2011-05-28
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* swscale: Eliminate rgb24toyv12_c() duplication.Michael Niedermayer2011-05-26
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*.Ronald S. Bultje2011-05-24
|
* swscale: move away x86 specific code from rgb2rgbLuca Barbato2011-04-14
| | | | | | | Keep only the plain C code in the main rgb2rgb.c and move the x86 specific optimizations to x86/rgb2rgb.c Change the initialization pattern a little so some of it can be factorized to behave more like dsputils.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace ASMALIGN() with .p2alignMans Rullgard2011-01-18
| | | | | This macro has unconditionally used .p2align for a long time and serves no useful purpose.
* rgb2rgb: don't misuse HAVE_* definesRamiro Polla2010-09-14
| | | | | | Introduce and use COMPILE_TEMPLATE_* instead. Originally committed as revision 32241 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: indentation and emtpy line cosmeticsRamiro Polla2010-09-13
| | | | Originally committed as revision 32222 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: avoid reading prior to the source buffer in planar2x() MMX2Ramiro Polla2010-09-13
| | | | Originally committed as revision 32221 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* rgb2rgb: replace shuffle_bytes_2103() by optimized rgb32tobgr32()Ramiro Polla2010-09-12
| | | | Originally committed as revision 32190 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* rgb2rgb: remove unused yvu9toyv12 functionRamiro Polla2010-09-11
| | | | Originally committed as revision 32155 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Replace some "m" constraints by MANGLE to avoid issues with some compilers notReimar Döffinger2010-03-31
| | | | | | being able to compile it and deduplicate the code at the same time. Originally committed as revision 30978 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* libswscale: Relicense almost all x86 assembler optimizations as LGPL.Diego Biurrun2010-03-27
| | | | | | | This is of course done with permissions from the authors. The only GPL component left are MMX optimizations for YUV to RGB conversion. Originally committed as revision 30965 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Const correctness for src pointer. Remove all constness related warnings inZuxy Meng2010-01-15
| | | | | | libswscale. Originally committed as revision 30306 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove unused PREFETCHW macroZuxy Meng2010-01-09
| | | | Originally committed as revision 30253 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Indent.Ramiro Polla2009-09-07
| | | | Originally committed as revision 29654 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Cosmetics:Ramiro Polla2009-08-16
| | | | | | | - Place curly brackets in the same line as while/for/if/switch/else/do; - Place curly brackets at column 0 in the next line starting a function. Originally committed as revision 29523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Indent libswscale:Ramiro Polla2009-08-16
| | | | | | | | | | | - Use 4 spaces throughout for indentation; - Fix inconsistent indentation; - Indent function calls and declarations aligning arguments on multiple lines to the column after the opening parentheses; - Align asm code to the column 4 spaces after the call to __asm__(); - Align cases in switch statements to the same column as "switch". Originally committed as revision 29522 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove disabled crufty code.Diego Biurrun2009-08-08
| | | | Originally committed as revision 29482 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-26
| | | | Originally committed as revision 29439 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove 2 useless += at the end of rgb16to15(), found by CSA.Michael Niedermayer2009-04-18
| | | | Originally committed as revision 29189 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* 10l (C code was buggy and untested)Michael Niedermayer2009-03-21
| | | | Originally committed as revision 29030 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Average chroma of 2 lines in packed 422 -> planar 420.Michael Niedermayer2009-03-21
| | | | Originally committed as revision 29029 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* RevertMichael Niedermayer2009-03-19
| | | | | | | | | | | | | 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. Originally committed as revision 29003 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Unscaled converters forMichael Niedermayer2009-03-19
| | | | | | | | | YUYV->YUV420P YUYV->YUV422P UYVY->YUV420P UYVY->YUV422P Originally committed as revision 28997 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.Reimar Döffinger2009-03-18
| | | | Originally committed as revision 28996 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do not assume long is same width as x86 register.Ramiro Polla2009-03-18
| | | | Originally committed as revision 28992 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rewrite of rgb15to32 and rgb16to32 using fewer asm instructions and setting ↵Cédric Schieli2009-03-04
| | | | | | alpha channel to 0xFF Originally committed as revision 28808 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* When converting from a non alpha format to an alpha format, defaultsCédric Schieli2009-02-28
| | | | Originally committed as revision 28756 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.Diego Biurrun2009-01-25
| | | | Originally committed as revision 28358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-14
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 28311 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Some forgotten eax -> REG_a changes.Reimar Döffinger2008-12-12
| | | | | | It seems that binutils >= 2.18 just treat eax as rax but older versions fail. Originally committed as revision 28136 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* cosmetics: typo fixDiego Biurrun2008-10-23
| | | | Originally committed as revision 27816 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Convert asm keyword into __asm__.Diego Pettenò2008-10-16
| | | | | | | | | | | | | Neither the asm() nor the __asm__() keyword is not 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 synta. Originally committed as revision 27778 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Mark variation-specific interleaveBytes static.Diego Pettenò2008-10-09
| | | | | | | These functions are never called by themselves, the alias interleaveBytes is used instead. Originally committed as revision 27735 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* gcc-apple specific fallback not necessary anymore (btw no apple hardware is ↵Luca Barbato2008-10-05
| | | | | | less than a Intel core, thus it won't come there w/out disabling all the optimizations) Originally committed as revision 27722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.Diego Biurrun2008-10-05
| | | | Originally committed as revision 27720 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove MPlayer-specific MP_WORDSIZE hack.Diego Biurrun2008-10-04
| | | | Originally committed as revision 27698 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* enable yuv422p to uyvy converterBaptiste Coudurier2008-09-05
| | | | Originally committed as revision 27527 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* rgb vs bgr fix for the unscaled converters.Michael Niedermayer2008-09-04
| | | | Originally committed as revision 27518 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* spelling/grammar/wording overhaulDiego Biurrun2008-07-04
| | | | Originally committed as revision 27190 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* restore needed cast to correct type with constBaptiste Coudurier2008-06-01
| | | | Originally committed as revision 26957 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale