summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
* swscale: simplify selection of optimizations to compile.Ramiro Polla2010-08-25
| | | | Originally committed as revision 32013 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: Always define COMPILE_xxx to either 0 or 1.Ramiro Polla2010-08-25
| | | | Originally committed as revision 32012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: fix unaligned accesses in (RGB|BGR)32_1 to YUV conversionMåns Rullgård2010-08-23
| | | | Originally committed as revision 32011 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: remove unused macro parameter in BGR2UV templateMåns Rullgård2010-08-23
| | | | Originally committed as revision 32010 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* fix anonymous memory mapping for NetBSDGrant Carver2010-08-19
| | | | | | | | | mmap() with MAP_ANONYMOUS requires the file descriptor to be -1 in NetBSD. Linux just ignores this parameter. Patch by Grant Carver <grantc at cat dot co dot za> Originally committed as revision 31984 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: add CRC outputRamiro Polla2010-08-19
| | | | Originally committed as revision 31982 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* validate input data and linesizesRamiro Polla2010-08-18
| | | | Originally committed as revision 31976 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* indentRamiro Polla2010-08-08
| | | | Originally committed as revision 31949 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: get strides using av_fill_image_linesizes() from libavcoreRamiro Polla2010-08-08
| | | | Originally committed as revision 31948 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: merge declaration and initializationRamiro Polla2010-07-31
| | | | Originally committed as revision 31879 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Revert commit:Stefano Sabatini2010-07-28
| | | | | | | | | | | r31772 | stefano | 2010-07-23 01:01:31 +0200 (Fri, 23 Jul 2010) | 2 lines Prefer impersonal form over third person, for consistency with the rest of FFmpeg. The change was not approved by the maintainer. Originally committed as revision 31847 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix compilation, forgot to add const also to theReimar Döffinger2010-07-24
| | | | | | definition of ff_yuv2packedX_altivec Originally committed as revision 31782 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* More const-correctness fixes to avoid warnings.Reimar Döffinger2010-07-24
| | | | Originally committed as revision 31781 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add some "const" to avoid incompatible pointer type warningsReimar Döffinger2010-07-24
| | | | Originally committed as revision 31780 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add missing comma, fix rgb2yuv_table[SWS_CS_SMPTE240M] coefficients.Stefano Sabatini2010-07-24
| | | | Originally committed as revision 31779 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add some comments to the rgb2yuv_table, clarifying the standard whereStefano Sabatini2010-07-24
| | | | | | are defined. Originally committed as revision 31778 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: scale from reference to source only once for each algorithmRamiro Polla2010-07-23
| | | | Originally committed as revision 31777 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* indentRamiro Polla2010-07-23
| | | | Originally committed as revision 31776 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: change order tests are run, maintaining the same algorithm forRamiro Polla2010-07-23
| | | | | | | sequential geometries instead of running all algorithms sequentially for each geometry. Originally committed as revision 31775 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Prefer impersonal form over third person, for consistency with theStefano Sabatini2010-07-22
| | | | | | rest of FFmpeg. Originally committed as revision 31772 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: use only 3 characters to print width/height since they're alwaysRamiro Polla2010-07-22
| | | | | | smaller than 1000 Originally committed as revision 31771 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: print test name before running test, so that it's available inRamiro Polla2010-07-22
| | | | | | the output even if the test crashes. Originally committed as revision 31770 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: allocate more memory to prevent scalers from writing out of boundsRamiro Polla2010-07-22
| | | | | | | | Some converters (ie. unscaled rgb24 -> argb) may write some bytes out of bounds. Ideally the converters should be fixed, but in the meantime we allocate more memory to prevent heap corruption. Originally committed as revision 31768 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* darwin: allow 64-bit darwin to allocate executable memoryRamiro Polla2010-07-21
| | | | | | | | | darwin requires _DARWIN_C_SOURCE to be defined for MAP_ANON, which is used by swscale to determine whether to use malloc() or mmap(). 64-bit darwin does not have an executable heap, so mmap() must be used instead of malloc(), and therefore _DARWIN_C_SOURCE must be defined. Originally committed as revision 31760 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: use av_pix_fmt_descriptors[].name directlyRamiro Polla2010-07-20
| | | | Originally committed as revision 31759 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Restore vertical alignment in some definesRamiro Polla2010-07-20
| | | | Originally committed as revision 31758 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Cosmetics: reindent and unify whitespaceMartin Storsjö2010-07-19
| | | | Originally committed as revision 31757 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Do planar copy with a single memcpy only if the stride is equal to the lengthMartin Storsjö2010-07-19
| | | | | | This avoids writing outside of the designated rectangle. Originally committed as revision 31756 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Another try at fixing swscale on win64, as per r31153.Anton Mitrofanov2010-07-18
| | | | | | | | | | | | Don't change paramater passing, but instead use casts. Shouldn't affect asm output on anything other than win64. libswscale should work on win64 now. The rest of ffmpeg still isn't win64 compatible due to the issue of xmm clobbers, but swscale doesn't use any SSE. Patch by Anton Mitrofanov <BugMaster AT narod DOT ru>. Originally committed as revision 31751 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* In planarCopyWrapper, Only copy length, not stride of the last line in the planeMartin Storsjö2010-07-16
| | | | | | | | If the destination planes are offset within the destination buffer, writing the extra bytes at the end may write outside of the destination buffer. Originally committed as revision 31746 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Change the type of Y table to pointer to void in fill_table().Benoit Fouet2010-07-12
| | | | | | | | | This fixes warnings about wrong type being used, e.g.: libswscale/yuv2rgb.c: In function ‘ff_yuv2rgb_c_init_tables’: libswscale/yuv2rgb.c:778: warning: passing argument 4 of ‘fill_table’ from incompatible pointer type libswscale/yuv2rgb.c:598: note: expected ‘uint8_t *’ but argument is of type ‘uint16_t *’ Originally committed as revision 31722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 31679 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix 'assignment from incompatible pointer type' warning.Eli Friedman2010-07-03
| | | | | | Patch by Eli Friedman, eli d friedman a gmail Originally committed as revision 31628 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* deprecate palette8topacked32 in favor of public API functions ↵Reinhard Tartler2010-06-01
| | | | | | | | | | | sws_convertPalette8ToPacked32 and -24 additionallym deprecate palette8torgb16 and its bgr variant without replacement. These functions are not meant to be used by applications. Discussed at: http://comments.gmane.org/gmane.comp.video.ffmpeg.devel/109340 Originally committed as revision 31301 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Move internal scale context fields initialization fromStefano Sabatini2010-06-01
| | | | | | | | sws_setColorspaceDetails() to ff_yuv2rgb_c_init_tables(). Allow to factorize duplicated code. Originally committed as revision 31300 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* remove palette8torgb15 and palette8tobgr15Reinhard Tartler2010-06-01
| | | | | | | They contain exactly the same code as their 16bit variants, so this is effectively code de-duplication. Originally committed as revision 31298 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Rename yuv2rgb_template2.c --> yuv2rgb_template.c now that the other is gone.Diego Biurrun2010-05-30
| | | | Originally committed as revision 31279 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove GPL-licensed YUV to RGB MMX routines.Diego Biurrun2010-05-30
| | | | | | We now have an LGPL replacement that is at least equally fast. Originally committed as revision 31278 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Add empty newline to separate function declarations, for betterStefano Sabatini2010-05-23
| | | | | | readability. Originally committed as revision 31192 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Cosmetics: make more compact the code for handle_jpeg(), this also allowsStefano Sabatini2010-05-19
| | | | | | vertical alignment. Improve readability. Originally committed as revision 31186 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove PI definition and use M_PI instead.Stefano Sabatini2010-05-19
| | | | | | M_PI is defined by the included file libavutil/mathematics.h. Originally committed as revision 31185 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* 13% faster yuv420 to rgb15 mmx.Loren Merritt2010-05-19
| | | | | | It is now faster than the old gpl version on conroe. Originally committed as revision 31181 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* 40% faster yuv420 to rgb24 mmx.Loren Merritt2010-05-19
| | | | | | It is now faster than the old gpl version on conroe. Originally committed as revision 31180 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Revert r31153. It failed to build on:Ramiro Polla2010-05-12
| | | | | | | | | | | x86_64 / Mac OS X gcc 4.0.1 x86_64 / Linux icc (all) x86_64 / Linux gcc 4.0.4 x86_64 / OpenBSD gcc 3.3.5 x86_64 / Linux suncc 5.10 and there are some reports of crashes. Originally committed as revision 31170 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Use int instead of long to pass width parameters in non-public functions.Ramiro Polla2010-05-11
| | | | | | | long was being incorrectly used as an x86-sized register, both for 32 and 64 bits, but this is not the case in win64. Originally committed as revision 31153 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* blackfin: fix yuv422 to yuv420 conversionRonaldo Moura2010-05-07
| | | | | | | | The old code is correct only when stride = 2*width. Patch by Ronaldo Moura <ronaldo d moura monity com br> Originally committed as revision 31142 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* alternative LGPL-licensed, MMX-optimized YUV to RGB conversion routinesDiego Biurrun2010-05-04
| | | | | | written by Kostya Shishkov Originally committed as revision 31135 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 31050 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