summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
...
* 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
* swscale-test: allow specifying src/dst pixel formatsRamiro Polla2010-09-12
| | | | Originally committed as revision 32215 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* indentRamiro Polla2010-09-12
| | | | Originally committed as revision 32214 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: take input from reference fileRamiro Polla2010-09-12
| | | | | | | If the CRC from the src->dst conversion matches a reference, it is not necessary to perform a dst->yuva420p conversion and check the SSD. Originally committed as revision 32213 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: always use SWS_BILINEAR to convert from ref to srcRamiro Polla2010-09-12
| | | | Originally committed as revision 32212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale-test: move conversion from ref to source back to doTest()Ramiro Polla2010-09-12
| | | | | | | The source format parameters are kept in static variables and conversion from ref to source is only made when any parameter changes. Originally committed as revision 32211 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
* indentRamiro Polla2010-09-11
| | | | Originally committed as revision 32157 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: remove unused codeRamiro Polla2010-09-11
| | | | | | | yvu9ToYv12Wrapper() used to support yv12 with the chroma planes either in the uv order or the vu order. FFmpeg no longer has a pixel format in vu order. Originally committed as revision 32156 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
* av_fill_image_linesizes -> av_image_fill_linesizesRamiro Polla2010-09-08
| | | | Originally committed as revision 32106 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* rgb2rgb: build SSE2 codepathRamiro Polla2010-09-08
| | | | Originally committed as revision 32068 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: also update flags on sws_getCachedContext()Ramiro Polla2010-09-06
| | | | Originally committed as revision 32052 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* swscale: fix internal rgb->yv12 chroma conversion used by the main scaler pathRamiro Polla2010-09-06
| | | | | | The shift must be applied before the masking. Originally committed as revision 32051 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* Fix mlib compilation: add mising include for SwsContext.vle2010-09-05
| | | | | | Patch by [vle gmx net]. Originally committed as revision 32050 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
* 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