summaryrefslogtreecommitdiff
path: root/libswscale/swscale_template.c
Commit message (Collapse)AuthorAge
...
* Do not use abgrToA for both luma and alpha channel in hyscale.Cédric Schieli2009-04-14
| | | | | | This fixes RGB32 (et al.) scaling. Originally committed as revision 29179 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: Use function pointers for swScale functions.Ramiro Polla2009-04-04
| | | | Originally committed as revision 29145 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: Add const to some swScale functions' parameters.Ramiro Polla2009-04-04
| | | | Originally committed as revision 29143 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: Remove mmx2 params from h[yc]scale().Ramiro Polla2009-04-02
| | | | Originally committed as revision 29129 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: Split h[yc]scale_fast() into their own functions.Ramiro Polla2009-04-02
| | | | Originally committed as revision 29128 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: Execute sfence and emms depending on runtime flags.Ramiro Polla2009-04-02
| | | | Originally committed as revision 29127 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move swscale AltiVec template code to ppc subdirectory.Diego Biurrun2009-03-29
| | | | Originally committed as revision 29099 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do _not_ use rbx on x86_64, it will fail to compile with PIC, besides itReimar Döffinger2009-03-20
| | | | | | added completely pointless code. Originally committed as revision 29016 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix swscale compilation with Altivec enabled.Reimar Döffinger2009-03-20
| | | | Originally committed as revision 29015 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Reindent after last commitCédric Schieli2009-03-20
| | | | Originally committed as revision 29014 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* YUVA420P is now supported as output formatCédric Schieli2009-03-20
| | | | Originally committed as revision 29012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add alpha channel scalingCédric Schieli2009-03-20
| | | | Originally committed as revision 29011 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove useless casting in asm "m" operand.Matthieu Castet2009-03-19
| | | | | | Patch by Matthieu Castet, castet D matthieu A free D fr Originally committed as revision 29007 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
* Consistently use ff_ prefixes for internal symbols.Diego Biurrun2009-03-18
| | | | Originally committed as revision 28988 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make the source buffer operands parametrized in the YSCALEYUV2RGB_YA macroCédric Schieli2009-03-14
| | | | Originally committed as revision 28943 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make MMX registers parametrized in the YSCALEYUV2PACKEDX_YA macroCédric Schieli2009-03-11
| | | | Originally committed as revision 28934 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Mask all unused bits for packed pixel format instead of green and alpha mask ↵Kostya Shishkov2009-03-09
| | | | | | | | | only. That fixes the case when converting 15-bit RGB/BGR to YUV and high bit is set for input value(s). Originally committed as revision 28916 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* remove the rest of x86 asm from LGPL buildJindřich Makovička2009-03-03
| | | | Originally committed as revision 28804 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
* move zeroing of alpha channel register out of YSCALEYUV2xxx macros,Cédric Schieli2009-02-21
| | | | | | patch by Cédric Schieli (cschieli at gmail youknowwhat) Originally committed as revision 28687 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* splits various YSCALEYUV2xxx macros into YSCALEYUV2xxx_UV,Cédric Schieli2009-02-21
| | | | | | | YSCALEYUV2xxx_YA and YSCALEYUV2xxx_COEFF, patch by Cédric Schieli (cschieli at gmail youknowwhat) Originally committed as revision 28686 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* make MMX registers parametrized in the WRITEBGR32 macro,Cédric Schieli2009-02-21
| | | | | | patch by Cédric Schieli (cschieli at gmail youknowwhat) Originally committed as revision 28685 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Some AltiVec functions in SwScaler produce different output than theirKostya Shishkov2009-02-14
| | | | | | counterparts in pure C, so don't invoke them in bitexact mode. Originally committed as revision 28555 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
* Put variable declaration inside an #ifdef to avoid an unused variable warning.Diego Biurrun2008-11-17
| | | | Originally committed as revision 27945 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove unused code that can't be compiled without svn archive.Carl Eugen Hoyos2008-10-25
| | | | Originally committed as revision 27827 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
* Invert logic for the single-pass in swScale() functions.Diego Pettenò2008-10-09
| | | | | | | | | | | | | | Instead of having a firstTime variable defaulting to 1, have a warnedAlready defaulting to 0. While this should make no difference in code speed at runtime, it allows to aggregate the four bytes of that variable with clip_table in .bss section, rather than issuing a .data section just for that. As it is, libswscale require no .data section but .data.rel.ro (that can be mitigated by prelinking), so the change might actually save one page of memory at runtime (per process). Originally committed as revision 27734 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do not set src[1] to the palette, it is now in the contextVitor Sessak2008-10-08
| | | | Originally committed as revision 27731 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove b5Dither, g5Dither and r5Dither from libswscale.Carl Eugen Hoyos2008-10-04
| | | | Originally committed as revision 27718 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove g6Dither from libswscale.Carl Eugen Hoyos2008-10-04
| | | | Originally committed as revision 27715 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Uniform *ToY and *ToUV function signaturesLuca Barbato2008-09-18
| | | | Originally committed as revision 27636 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Split mono2Y in monowhite and monoblackLuca Barbato2008-09-18
| | | | Originally committed as revision 27635 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Factorize unit32_t* casts for palette pointerLuca Barbato2008-09-18
| | | | Originally committed as revision 27634 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix libswscale build after r27561 if --enable-runtime-cpudetection is used.Benjamin Zores2008-09-13
| | | | Originally committed as revision 27602 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix indention.Michael Niedermayer2008-09-13
| | | | Originally committed as revision 27600 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Disable mmx routines that are not bitexact when the user wantsMichael Niedermayer2008-09-13
| | | | | | bitexact ones. Originally committed as revision 27597 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make horizontal mmx scaling code match C code.Michael Niedermayer2008-09-13
| | | | Originally committed as revision 27596 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make the horizontal C scaler code clip only against INT16_MAX not 0,Michael Niedermayer2008-09-12
| | | | | | this decreases the difference between C and MMX, its also faster. Originally committed as revision 27593 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix another 1000l bug in the mono input code.Michael Niedermayer2008-09-12
| | | | Originally committed as revision 27590 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* 10000l PIX_FMT_MONOWHITE check was really a || 1.Michael Niedermayer2008-09-12
| | | | | | | Thats what happens when one does not do the full set of tests before each commit and just quickly goes over the diff thinking, "hey its a trivial change". Originally committed as revision 27588 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Support mono as input format.Michael Niedermayer2008-09-12
| | | | Originally committed as revision 27587 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add support for PIX_FMT_MONOWHITE as output format.Michael Niedermayer2008-09-12
| | | | Originally committed as revision 27586 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix typo that lead to averaging of the same pixel in rgb24ToUV_half().Michael Niedermayer2008-09-11
| | | | Originally committed as revision 27582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Implement full horizontal chroma for rgb/bgr24/32 output.Michael Niedermayer2008-09-11
| | | | Originally committed as revision 27580 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Factorize yuv2packedXinC().Michael Niedermayer2008-09-11
| | | | Originally committed as revision 27578 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make the 2point linear interpolation coefficients correct even for theMichael Niedermayer2008-09-10
| | | | | | nearly never occuring 0.0, 1.0. Originally committed as revision 27574 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale