Vitor Sessak
4900461742
Add a new unscaled PAL8 -> RGB converter.
...
Originally committed as revision 27730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-08 17:46:22 +00:00
Aurelien Jacobs
13394e8cbb
Change one more variable type from int to enum PixelFormat.
...
This one was missing from r27727.
Originally committed as revision 27728 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-08 11:59:01 +00:00
Carl Eugen Hoyos
58e4b706c5
Change variable types from int to enum PixelFormat.
...
Fixes icc warning #188 : enumerated type mixed with another type
Originally committed as revision 27727 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-07 19:44:39 +00:00
Carl Eugen Hoyos
88e2a9aebc
Remove b5Dither, g5Dither and r5Dither from libswscale.
...
Originally committed as revision 27718 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-04 18:50:39 +00:00
Carl Eugen Hoyos
92c7b4713d
Remove g6Dither from libswscale.
...
Originally committed as revision 27715 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-04 16:40:35 +00:00
Michael Niedermayer
f830d8244a
Fix infinite loop with spline, bug was introduced in r27612 by me.
...
Originally committed as revision 27669 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-29 01:08:01 +00:00
Michael Niedermayer
d616c8ae3d
Fix segfault with rgb24 and full_internal_chrome due to non existing alpha
...
byte being written after the array.
Originally committed as revision 27628 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-16 03:49:54 +00:00
Michael Niedermayer
a64a062fb9
Avoid using floating point for calculating filter coefficients.
...
Originally committed as revision 27612 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-15 03:33:09 +00:00
Michael Niedermayer
8588e1484e
Avoid some explicit types in sizeof().
...
Originally committed as revision 27611 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-14 19:29:14 +00:00
Michael Niedermayer
22129c78d7
Use av_mallocz() instead of for() =0;
...
Originally committed as revision 27610 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-14 19:25:16 +00:00
Michael Niedermayer
45e18be87d
Move dither tables from yuv2rgb to swscale, they have been written by me and
...
can be used under LGPL.
Originally committed as revision 27609 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-14 18:00:49 +00:00
Michael Niedermayer
43c164788c
Rename yuv2rgb variables to avoid name clashes with the ones used by bfin asm.
...
Originally committed as revision 27599 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-13 11:52:03 +00:00
Michael Niedermayer
88bc5a64f6
Ensure that additional filter coeffs that exist due to alignment
...
are 0 if bitexact mode is requested.
Originally committed as revision 27595 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-13 02:04:10 +00:00
Michael Niedermayer
84c1253513
yvu9toyv12Wrapper is not bitexact so disable it when the user wants
...
bitexactness to C.
Originally committed as revision 27594 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-12 23:52:37 +00:00
Michael Niedermayer
b82ecd6258
The yuv->rgb tables are too small for cliping to be avoidable,
...
thus revert the respective optimization. The table generator code
has to be rewritten anyway one day by some volunteer because its
not LGPL, fixing the GPL table generator thus seems like wasted time.
Originally committed as revision 27591 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-12 21:25:42 +00:00
Michael Niedermayer
6c80eb1626
Add support for PIX_FMT_YUV440P.
...
Originally committed as revision 27589 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-12 17:51:13 +00:00
Michael Niedermayer
3d05e078ee
Support mono as input format.
...
Originally committed as revision 27587 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-12 16:46:38 +00:00
Michael Niedermayer
ec1bca2a0f
Add support for PIX_FMT_MONOWHITE as output format.
...
Originally committed as revision 27586 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-12 16:01:17 +00:00
Michael Niedermayer
0885770455
rgb24toyv12 isnt accuratly rounding, so disable it as well when the
...
user asks for accurate rounding.
Originally committed as revision 27585 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-12 04:40:51 +00:00
Michael Niedermayer
4155ece530
Do not use the unscaled yuv->rgb converters if SWS_ACCURATE_RND is set,
...
because they do not accurately round.
Originally committed as revision 27584 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-12 02:05:37 +00:00
Michael Niedermayer
8e7ba004ed
Remove mistakely commited code i used for testing.
...
Originally committed as revision 27581 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-11 14:40:29 +00:00
Michael Niedermayer
f0faee4c63
Implement full horizontal chroma for rgb/bgr24/32 output.
...
Originally committed as revision 27580 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-11 14:39:12 +00:00
Michael Niedermayer
bdf397ba4b
Do not do unneeded cliping in YSCALE_YUV_2_PACKEDX_C.
...
Originally committed as revision 27579 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-11 03:22:39 +00:00
Michael Niedermayer
e69bd29425
Factorize yuv2packedXinC().
...
Originally committed as revision 27578 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-11 02:36:51 +00:00
Michael Niedermayer
7b5d7b9e85
Set rgb2yuv constants more accurately, makes no real difference though.
...
Originally committed as revision 27577 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-11 01:49:35 +00:00
Michael Niedermayer
5fe4aad711
Correct normalization constant for the vertical filter, iam not
...
completely sure why this was at such incorrect value, but i could
not find any problems when it was set correctly.
Originally committed as revision 27575 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 23:23:47 +00:00
Michael Niedermayer
6b79dbce0c
Change RGB2YUV_SHIFT from 16 to 15 to make it able to work
...
with 16bit signed constants (like SIMD might use).
Originally committed as revision 27568 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 16:39:56 +00:00
Michael Niedermayer
2f60f6297c
Make SWS_FULL_CHR_H_INP work.
...
Originally committed as revision 27564 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-10 02:28:38 +00:00
Michael Niedermayer
cbcb408ff6
More accurate rounding for 8bit inputs.
...
Originally committed as revision 27562 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-09 23:39:32 +00:00
Michael Niedermayer
dfb09bd1d4
Rewrite bgr24->yuv mmx code, the new code is cleaner, more accurate,
...
and does not throw half the chroma away.
Originally committed as revision 27561 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-09 23:30:06 +00:00
Michael Niedermayer
0f5d4aa83b
Add table of rgb->yuv convertion coefficients.
...
Originally committed as revision 27558 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-09 18:01:25 +00:00
Michael Niedermayer
6bc0c7928a
Fix jpeg yuv.
...
Fixes issue504.
Originally committed as revision 27547 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-08 12:36:38 +00:00
Michael Niedermayer
1625216eaa
Fix accurate rounding mode on x86_64.
...
Fixes issue222.
Originally committed as revision 27545 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-07 21:06:21 +00:00
Michael Niedermayer
d63a2cb103
Make fast bilinear scaler work again.
...
Originally committed as revision 27543 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-07 16:59:04 +00:00
Baptiste Coudurier
3b38f1c60b
simplify function selection code
...
Originally committed as revision 27528 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-05 01:44:33 +00:00
Baptiste Coudurier
a6100f39a1
enable yuv422p to uyvy converter
...
Originally committed as revision 27527 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-05 00:25:39 +00:00
Michael Niedermayer
b0880d5da4
Make 16bit grayscale output work.
...
Originally committed as revision 27524 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-04 22:58:16 +00:00
Michael Niedermayer
736143c8d9
Fix SWS_FAST_BILINEAR and SWS_POINT with some unscaled rgb<->bgr converters.
...
Originally committed as revision 27523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-04 22:31:22 +00:00
Michael Niedermayer
9990e4269c
Support PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.
...
Fixes issue248.
Originally committed as revision 27522 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-04 21:59:15 +00:00
Michael Niedermayer
1462302027
Fix 4 and 8 bit RGB/BGR input.
...
Originally committed as revision 27521 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-04 20:46:36 +00:00
Stefano Sabatini
b3e03fa7b0
Implement swscale_version().
...
Originally committed as revision 27492 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-08-29 18:23:54 +00:00
Michael Niedermayer
091d3bdc73
fix memleak
...
Originally committed as revision 27332 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-21 11:41:13 +00:00
Michael Niedermayer
47b7382d29
Cleanup, use av_freep() instead of av_free(x); x=NULL
...
Originally committed as revision 27331 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-21 11:18:24 +00:00
Michael Niedermayer
6afc7c19f0
10l forgot SWS_BILINEAR
...
Originally committed as revision 27318 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-17 22:30:02 +00:00
Michael Niedermayer
010c00bc81
Ensure that exactly one scaler algo is used.
...
Originally committed as revision 27317 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-17 22:01:18 +00:00
Luca Barbato
e40b183d3a
Split AVOption/AVClass in a separate file. SoC Patch from Keiji Costantini
...
Originally committed as revision 27244 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-09 22:43:08 +00:00
Luca Barbato
fcc402b1c9
Remove ASSERT() macro. SoC Patch from Keiji Costantini
...
Originally committed as revision 27214 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-06 03:32:47 +00:00
Luca Barbato
bc5a04440b
Reindent. SoC Patch from Keiji Costantini
...
Originally committed as revision 27213 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-06 03:27:31 +00:00
Luca Barbato
2d35ae567f
Split simpleCopy into packedCopy and planarCopy. SoC Patch from Keiji Costantini
...
Originally committed as revision 27212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-06 03:26:32 +00:00
Baptiste Coudurier
b8b015f483
cast to correct type, suppress warnings
...
Originally committed as revision 26949 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 03:36:23 +00:00
Baptiste Coudurier
74498eb44b
cast to correct type, suppress warnings
...
Originally committed as revision 26948 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 03:35:27 +00:00
Baptiste Coudurier
73d046e21f
add const, suppress warnings
...
Originally committed as revision 26947 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 03:34:39 +00:00
Baptiste Coudurier
3e62b7e34c
add const, suppress warnings
...
Originally committed as revision 26945 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-06-01 03:27:45 +00:00
Keiji Costantini
49f2339cbf
Remove in_asm_used_var_warning_killer()
...
Patch by Keiji Costantini ( strites gmail com )
Originally committed as revision 26706 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-05-09 12:47:55 +00:00
Diego Biurrun
83da2c6f26
Use full path for #includes from another directory.
...
Originally committed as revision 26702 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-05-09 12:00:25 +00:00
Alexander Strange
86593486b4
Fix 64 bit shared library compilation with MMX2 by properly using PIC mangling.
...
patch by Alexander Strange, astrange ithinksw com
Originally committed as revision 26270 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-22 18:22:53 +00:00
Diego Biurrun
c5fec7d76c
Remove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.
...
Originally committed as revision 26264 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-18 22:14:57 +00:00
Zuxy Meng
5a352b14e7
Fix a typo that causes an assertion to always fail.
...
Reported by Alexander Bokovikov (openworld AT uralweb DOT ru)
Originally committed as revision 26257 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-17 06:01:58 +00:00
Diego Biurrun
a6f6b237e2
typos
...
Originally committed as revision 26228 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-12 23:50:48 +00:00
Diego Biurrun
06de58d2a8
typo
...
Originally committed as revision 26212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-10 18:38:46 +00:00
Panagiotis Issaris
635a8cd27d
Make av_class a pointer to const.
...
Patch by Takis.
Originally committed as revision 26210 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-10 14:30:49 +00:00
Diego Biurrun
3f0bc115f1
Remove redundant swScaler: output from places where av_log()
...
properly prints the context anyway.
Originally committed as revision 26207 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-10 07:30:24 +00:00
Baptiste Coudurier
8055ede6c7
change sws_format_name to return const char*, supress many warnings
...
Originally committed as revision 26183 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-06 11:32:25 +00:00
Baptiste Coudurier
4b0c30b79c
remove redundant SwScaler text since av_log uses AVClass context
...
Originally committed as revision 26182 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-06 09:51:25 +00:00
Michael Niedermayer
56adc69501
One more (forgotten) fix for fixing sws_flags.
...
Originally committed as revision 26166 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-05 04:03:44 +00:00
Michael Niedermayer
8b2fce0d3f
Turn ancient V offset numerical constants into named ones.
...
Add a check that checks that the width is within the choosen constant.
This might have been exploitable.
Originally committed as revision 26165 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-05 03:00:25 +00:00
Carl Eugen Hoyos
0cb2559445
Discard two symbols from libswscale.
...
Originally committed as revision 26060 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-02-22 08:08:19 +00:00
Stefano Sabatini
0d6fd5ec13
More explicit unsupported pixel format error messages.
...
Patch by Stefano Sabatini: stefano sabatini (minus) lala % poste it
Originally committed as revision 25999 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-02-15 07:50:27 +00:00
Carl Eugen Hoyos
ae797914dd
Make dither4 & dither8 const.
...
Originally committed as revision 25967 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-02-09 22:57:37 +00:00
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
Kostya Shishkov
4884b9e50d
16-bit grayscale support
...
Originally committed as revision 20427 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-24 05:02:33 +00:00
Diego Biurrun
05749630e8
Rename ABS macro to FFABS.
...
Originally committed as revision 20169 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-11 23:18:34 +00:00
Diego Biurrun
d026b45e73
Change license headers to say 'FFmpeg' instead of 'this program'.
...
Originally committed as revision 20100 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-10-07 15:33:14 +00:00
Luca Abeni
44cdb42386
Add support for YUVJ formats
...
Originally committed as revision 19993 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-27 11:41:36 +00:00
Luca Abeni
e9e12f0e11
Remove the dependency of libswscale on img_format.h
...
Originally committed as revision 19878 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-17 15:15:13 +00:00
Luca Abeni
5784b620d2
Fix the PIX_FMT_* ---> IMGFMT_* conversion (PIX_FMT_RGB32 is IMGFMT_BGR32)
...
Originally committed as revision 19875 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-17 14:59:55 +00:00
Víctor Paesa
22e4695905
Add sws_getCachedContext(), which checks if context is valid or reallocs a new one instead.
...
Patch by Victor Paesa <wzrlpy@arsystel.com>
Original thread:
Date: Aug 31, 2006 7:15 PM
Subject: [Ffmpeg-devel] [PATCH] Add sws_getCachedContext() to swscale library
Originally committed as revision 19667 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-09-04 09:38:24 +00:00
Michael Niedermayer
d1a7ae1a37
make the C code of the swscaler which i wrote LGPL
...
Originally committed as revision 19600 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-30 10:50:20 +00:00
Diego Biurrun
db3924f1fd
Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.
...
Originally committed as revision 19437 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-18 13:58:03 +00:00
Uoti Urpala
17c613ef34
Use COMPILE_MMX2 instead of HAVE_MMX2 to determine whether to compile
...
MMX2 code, because the HAVE_ defines do not have sane values here if
runtime cpudetection is used. Hopefully fixes runtime cpudetection
breakage from r19339.
Originally committed as revision 19374 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-12 17:46:40 +00:00
Luca Abeni
c792037176
Another PIX_FMT_ ---> IMGFMT_ conversion
...
Originally committed as revision 19342 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-05 13:14:34 +00:00
Diego Biurrun
dbdae6ec54
Do not assemble MMX, MMX2 or 3DNOW code unconditionally on X86 and X86_64.
...
Originally committed as revision 19339 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-08-05 10:00:54 +00:00
Luca Abeni
80d0ded2f7
Add support for ffmpeg's pixel format names in libswscale
...
Originally committed as revision 19276 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-31 12:35:04 +00:00
Diego Biurrun
6979600818
Comment some #endif lines.
...
Originally committed as revision 19211 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-28 09:07:09 +00:00
Luca Abeni
6f209cb549
Replace MIN() and MAX() with FFMIN() and FFMAX()
...
Originally committed as revision 19186 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-26 13:19:02 +00:00
Michael Niedermayer
bca11e75fb
vertical scaler with accurate rounding, some people on doom9 can see +-1 errors
...
the +-1 issue is limited to >2tap vertical filters, so bilinear upscale was unaffected
the new code is sometime faster sometimes slower but the difference is significant (~20%) so its optional and enabled with arnd=1
Originally committed as revision 19177 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-24 10:36:06 +00:00
Alan Curry
d8cfa5534a
Fix typo introduced in the memalign->av_malloc conversion (there is no
...
mv_malloc)
Originally committed as revision 19174 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-23 21:16:11 +00:00
Reimar Döffinger
8dfe90941a
Missing part of the malloc -> av_malloc patch: memalign must be replaced as well!
...
Originally committed as revision 19173 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-23 18:07:26 +00:00
Luca Abeni
94c4def23c
Use libavutil in libswscale, and allow it to be built out of the mplayer tree
...
Originally committed as revision 19148 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-07-20 12:13:57 +00:00
Luca Abeni
73435f006b
Move postproc ---> libswscale
...
Originally committed as revision 18866 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2006-06-30 12:00:31 +00:00