summaryrefslogtreecommitdiff
path: root/libswscale/swscale.c
Commit message (Collapse)AuthorAge
* Curly brackets cosmetics for previous commit.Ramiro Polla2009-08-29
| | | | Originally committed as revision 29587 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Check for return value of initFilter().Ramiro Polla2009-08-29
| | | | Originally committed as revision 29586 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: Check for return values of malloc.Ramiro Polla2009-08-29
| | | | Originally committed as revision 29584 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Restore comment that was partially removed.Ramiro Polla2009-08-29
| | | | Originally committed as revision 29582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Check return values of sws_allocVec() and sws_getConstVec().Ramiro Polla2009-08-20
| | | | Originally committed as revision 29543 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Introduce and use sws_allocVec().Ramiro Polla2009-08-19
| | | | Originally committed as revision 29536 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Reuse sws_getConstVec() where possible.Ramiro Polla2009-08-19
| | | | Originally committed as revision 29535 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
* Vertical yuv -> yuv16 scaler.Ramiro Polla2009-08-14
| | | | Originally committed as revision 29517 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Indent.Ramiro Polla2009-08-13
| | | | Originally committed as revision 29512 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* MMX2 horizontal scaler: Determine code size at runtime.Ramiro Polla2009-08-13
| | | | Originally committed as revision 29510 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Protect mmx2 filter code buffers so they are not executable and writeable atRamiro Polla2009-08-13
| | | | | | the same time (only mmap for now). Originally committed as revision 29509 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename "funny" code to "mmx2 filter" code.Ramiro Polla2009-08-13
| | | | Originally committed as revision 29507 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Put some altivec code under COMPILE_ALTIVEC, and not HAVE_ALTIVEC.Ramiro Polla2009-08-09
| | | | Originally committed as revision 29484 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
* Fix regression when converting to nv12/nv21.Guennadi Liakhovetski2009-08-01
| | | | | | Patch by Guennadi Liakhovetski, g D liakhovetski A gmx D de Originally committed as revision 29464 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* MMX2 scaler: Remove {} block leftover from factorization in initMMX2Scaler().Ramiro Polla2009-07-28
| | | | | | Merge variable declarations to previous {} block and indent. Originally committed as revision 29454 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* MMX2 scaler: factorize initMMX2Scaler().Ramiro Polla2009-07-28
| | | | Originally committed as revision 29453 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* MMX2 scaler: add variable to ease factorization of initMMX2Scaler().Ramiro Polla2009-07-28
| | | | Originally committed as revision 29452 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove useless code.Ramiro Polla2009-07-28
| | | | | | flags can never be any other kind of scaling algorithm inside this if(). Originally committed as revision 29449 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do not misuse HAVE_ defines. Introduce COMPILE_TEMPLATE_ defines and use themRamiro Polla2009-07-27
| | | | | | instead. Originally committed as revision 29446 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 unnecessary #include <unistd.h>Måns Rullgård2009-07-23
| | | | Originally committed as revision 29437 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove unused variables.Ramiro Polla2009-07-21
| | | | Originally committed as revision 29435 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* AltiVec code and runtime cpudetect do not require CONFIG_GPL.Diego Biurrun2009-06-25
| | | | | | Make sure the latter is only checked for x86 optimizations, which are GPL. Originally committed as revision 29390 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* The AltiVec optimizations of libswscale are no longer under GPL.Diego Biurrun2009-06-25
| | | | Originally committed as revision 29389 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* PPC: Make sure that COMPILE_C is not deactivated if RUNTIME_CPUDETECT is set.Diego Biurrun2009-06-25
| | | | Originally committed as revision 29388 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do not call rgb2rgbWrapper() for rgb48*, there is no special converterVitor Sessak2009-06-17
| | | | | | yet for those formats Originally committed as revision 29371 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use DECLARE_ALIGNED macro instead of gcc __attribute__.Pavel Pavlov2009-06-04
| | | | | | Patch by Pavel Pavlov <pavel at summit-tech dot ca> Originally committed as revision 29348 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* YUV into RGB48 BE/LE conversion supportKostya Shishkov2009-06-02
| | | | Originally committed as revision 29342 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Partial (low bits ignored, no direct transcoding into other RGB formats) supportKostya Shishkov2009-06-02
| | | | | | for inputting RGB48BE/LE. Originally committed as revision 29341 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move colorspace conversion functions implemented in pure C from templateKostya Shishkov2009-05-25
| | | | | | into swscale.c Originally committed as revision 29320 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make SwScaler recognize RGB48 BE/LE colourspaces (not support though).Kostya Shishkov2009-05-19
| | | | Originally committed as revision 29316 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add const qualifier to param argument of sws_getContext() andDiego Biurrun2009-05-10
| | | | | | | sws_getCachedContext(). Fixes the warning: swscale.c:3408: warning: assignment discards qualifiers from pointer target type Originally committed as revision 29288 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move preprocessor condition before variable declaration, fixes the warning:Diego Biurrun2009-05-10
| | | | | | libswscale/swscale.c:1795: warning: unused variable 'flags' Originally committed as revision 29287 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix sliced yuv410 -> yuv420 conversionVitor Sessak2009-05-07
| | | | Originally committed as revision 29272 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make reset_ptr() void.Carl Eugen Hoyos2009-04-23
| | | | Originally committed as revision 29229 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Planar 16bit 420 422 444 YUV support (output is only supported in someMichael Niedermayer2009-04-21
| | | | | | | | unscaled convertions). This, like gray16 converts down to 8bit, which is a big FIXME & patch welcome, we should preserve more bits. Originally committed as revision 29217 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Merge gray->gray converters into planarCopy(), this should also make ↵Michael Niedermayer2009-04-21
| | | | | | | | planarCopy() useable for other 16bit formats once we support them. Originally committed as revision 29216 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make sure src/dst are NULL when they arent used, some code uses this toMichael Niedermayer2009-04-21
| | | | | | simpify checks. Originally committed as revision 29214 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use generic BE check instead of checking for gray16LE.Michael Niedermayer2009-04-20
| | | | Originally committed as revision 29213 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Make sws_setColorspaceDetails() return -1 if the destination format isStefano Sabatini2009-04-18
| | | | | | not supported. Originally committed as revision 29187 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move sws_[gs]etColorspaceDetails() documentation from swscale.c toStefano Sabatini2009-04-18
| | | | | | swscale.h. Originally committed as revision 29186 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.Ramiro Polla2009-04-08
| | | | Originally committed as revision 29154 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: Remove X86 commented out code.Ramiro Polla2009-04-05
| | | | Originally committed as revision 29149 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: {}-related cosmetics.Ramiro Polla2009-04-04
| | | | Originally committed as revision 29144 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
* Adds "YUYV422 to YUVA420P" and "UYVY422 to YUVA420P" unscaled convertionCédric Schieli2009-03-24
| | | | Originally committed as revision 29048 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale