Commit Graph

70 Commits

Author SHA1 Message Date
Reimar Döffinger
5802683a97 Make some assembler constants global instead of declaring them multiple times.
Originally committed as revision 25910 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-01-29 14:58:10 +00:00
Reimar Döffinger
d334c7c237 Use DECLARE_ASM_CONST where possible in libswscale code
Originally committed as revision 25903 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-01-28 14:38:11 +00:00
Reimar Döffinger
c14731d8da Fix typo in comment
Originally committed as revision 25829 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-01-21 20:46:28 +00:00
Benoit Fouet
1b0a4572f4 Change (a == NULL) condition to (!a) and (a != NULL) condition to (a).
Originally committed as revision 25780 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-01-17 15:49:31 +00:00
Benoit Fouet
30c48a0af4 Cosmetics: whitespaces
Originally committed as revision 25778 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-01-17 10:24:14 +00:00
Benoit Fouet
e5091488a5 Remove non cosmetic spaces inside parentheses.
Originally committed as revision 25777 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-01-17 08:57:15 +00:00
Benoit Fouet
b8db4e22de Description: remove superfluous parentheses.
Originally committed as revision 25776 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-01-17 08:12:23 +00:00
KO Myung-Hun
337a2a4530 Check param in sws_getCachedContext().
Patch by KO Myung-Hun komh chollian net
Original thread: [FFmpeg-devel] [PATCH] param check in sws_getCachedContext()
Date: Wed Jan 9 11:15:19 CET 2008

Originally committed as revision 25775 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-01-17 08:06:09 +00:00
Diego Biurrun
56b69633dd comment typo fixes
Originally committed as revision 25485 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-12-21 11:47:09 +00:00
Peter Schlaile
5efaf00029 Make sure strides have positive values before converting.
Patch by Peter Schlaile: peter schlaile de

Originally committed as revision 25467 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-12-20 10:08:36 +00:00
Diego Biurrun
721d5e3b95 Revert wrong ARCH_BFIN --> HAVE_BFIN change.
Originally committed as revision 24627 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-09-27 08:00:22 +00:00
Aurelien Jacobs
79973335d3 add support for yuva420p colorspace (yuv420p + alpha)
Originally committed as revision 24601 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-09-24 15:11:49 +00:00
Marc Hoffman
49488d12bf renaming ARCH_BFIN to HAVE_BFIN
Originally committed as revision 24309 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-08-31 14:57:50 +00:00
Diego Biurrun
bd7c6fd50c typo
Originally committed as revision 23889 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-07-28 14:17:25 +00:00
Andreas Öman
9ba7fe6dcb use YUV440P in swscale
patch by Andreas Öman: \andreas olebyn nu/
original thread: [FFmpeg-devel] half vertical chroma resolution from JPEGs..
date: 07/03/2007 01:29 PM

Originally committed as revision 23811 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-07-18 08:12:40 +00:00
Diego Biurrun
b19bcbaa78 license header consistency cosmetics
Originally committed as revision 23722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-07-05 10:18:58 +00:00
Marc Hoffman
1ebbfe159f integrating ff_bfin_get_unscaled_swscale into the system
Originally committed as revision 23605 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-06-22 13:03:40 +00:00
Diego Biurrun
86bdf3fd3d misc spelling fixes
Originally committed as revision 23556 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-06-13 17:48:15 +00:00
Carl Eugen Hoyos
2db27aadcb rename attribute_unused to av_unused as it is declared in common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM

Originally committed as revision 23418 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-30 09:33:09 +00:00
Diego Biurrun
4d7b302c0d Remove redundant fastmemcpy.h #include, it is indirectly #included by avutil.h.
Originally committed as revision 23400 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-28 09:30:56 +00:00
Ivo van Poorten
d61845e8ae ffmpeg -sws_flags command line option to set swscaler flags
Originally committed as revision 23379 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-23 18:35:24 +00:00
Marc Hoffman
d3f3eea92d Blackfin optimized YUV420 to RGB CSC Color Space Converters.
YUV2 -> RGB BGR for 565, 555 and 888 a.k.a. 24bit color.
Speed-up compared to C version compiled with -O3  187.28%
Patch by Marc Hoffman %mmh A pleasantst P com%
Original thread:
Date: May 9, 2007 2:46 AM
Subject: [FFmpeg-devel] PATCH BlackFin yuv2rgb color space conversion

Originally committed as revision 23307 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-13 19:22:32 +00:00
Ivo van Poorten
9d9de37d81 cosmetics; one test per line for all isXXX(x) macros
Originally committed as revision 23296 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-11 11:24:06 +00:00
Benoit Fouet
c4ca31d0a8 cosmetics: indentation after previous patch
Originally committed as revision 23207 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-02 07:02:16 +00:00
Benoit Fouet
068b0f4f29 test if color conv fonction exists prior to using it
Originally committed as revision 23206 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-02 07:00:10 +00:00
Diego Biurrun
221b804f34 cosmetics attack, part II: Remove all tabs and prettyprint/reindent the code.
Originally committed as revision 23173 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-29 13:39:27 +00:00
Diego Biurrun
6a4970abd1 cosmetics: Remove trailing whitespace.
Originally committed as revision 23147 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-26 23:07:11 +00:00
Michael Niedermayer
fa65e2f63a improve horizontal chroma resolution with pal
Originally committed as revision 22994 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-15 01:27:34 +00:00
Michael Niedermayer
21c08a3f1c convert palette to yuv instead of converting each pixel after pal->rgb
Originally committed as revision 22993 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-15 00:53:32 +00:00
Diego Biurrun
911406f2c4 typo
Originally committed as revision 22932 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-07 14:07:51 +00:00
Carl Eugen Hoyos
94bd08b069 Fix crash when trying to convert from or to RGBi (i<15) as in bgr8torgb24
Originally committed as revision 22910 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-03 16:22:19 +00:00
Michael Niedermayer
edf97a75f9 fix full range (jpeg yuv) chroma
Originally committed as revision 22713 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-03-18 12:31:53 +00:00
Karl H. Beckers
6cbac7ed3a Add PIX_FMT_PAL8 to isPacked().
patch by "Karl H. Beckers", karl.h.beckers gmx net

Originally committed as revision 22487 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-03-08 10:02:49 +00:00
Michael Niedermayer
dd9bdeb9f3 a small step toward 4 plane support
Originally committed as revision 22411 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-03-02 13:33:18 +00:00
Michael Niedermayer
0c84001325 copy src to prevent the user supplied argumet from being changed
Originally committed as revision 22410 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-03-02 13:32:10 +00:00
Reimar Döffinger
adcec46a83 Add av_ prefix to clip functions
Originally committed as revision 22339 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-02-25 10:27:43 +00:00
Michael Niedermayer
18064f5cf3 BGR/RGB4 byte formats as input
fixing isRGB/BGR() for the byte formats

Originally committed as revision 22244 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-02-17 11:36:02 +00:00
Michael Niedermayer
e28630fc70 pal8 input
this is not optimized or anything (that is easy to add just use the existing unscaled converters if possible ...)

Originally committed as revision 22236 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-02-16 21:17:15 +00:00
Luca Abeni
2d529db50f Pass a context to av_log(), when possible
Originally committed as revision 21999 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-23 13:41:45 +00:00
Luca Abeni
703b56fb5d Add "support for both orderings of the slices (top->down / bottom->up)"
(r15249) to sws_scale() too (until now, it only was in sws_scale_ordered())

Originally committed as revision 21887 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-12 15:40:08 +00:00
Luca Abeni
0dea6433fd replace some av_malloc();memset(...,0,...) sequences with av_mallocz()
Originally committed as revision 21835 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-01-06 12:11:25 +00:00
Luca Abeni
b2afecbe02 change all the occurrences of "FFMIN(FFMAX())" to clip_uint8() or clip()
Originally committed as revision 21776 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-26 18:08:40 +00:00
Luca Abeni
789237cad0 Mark some variables as possibly unused to avoid warnings
Originally committed as revision 21775 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-26 17:59:28 +00:00
Luca Abeni
628bc5e862 Add some explicit casts to avoid "assignment from incompatible pointer type"
warnings

Originally committed as revision 21774 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-26 17:41:38 +00:00
Luca Abeni
19a6be3463 Remove useless include (not needed now that libswscale uses libavutil)
Originally committed as revision 21728 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-22 11:22:49 +00:00
Luca Abeni
9bde778e73 Allow to compile swscale's non-SIMD code under the LGPL license.
Since mplayer always define CONFIG_GPL, this commit should not change
anything for mplayer.

Originally committed as revision 21699 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-12-20 13:09:29 +00:00
Luca Abeni
807e0c6645 Clarify that some of the non-SIMD code is now LGPLed.
All the authours of such code agreed.

Originally committed as revision 21045 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-19 10:38:12 +00:00
Diego Biurrun
4cedbe5c8a Remove stray newline.
Originally committed as revision 20959 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-16 12:49:27 +00:00
Luca Abeni
a43fb6b37e Add support for conversions from the rgb565 and rgb555 formats
Originally committed as revision 20605 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-02 09:01:01 +00:00
Diego Biurrun
3d6a30d948 Use common define for x86_32 and x86_64.
Originally committed as revision 20592 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-11-01 18:36:20 +00:00