benoit
75535c7902
test if color conv fonction exists prior to using it
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23206 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 07:00:10 +00:00
diego
8caae48738
cosmetics attack, part IV: Remove all tabs and prettyprint/reindent the code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23179 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-30 08:05:29 +00:00
diego
53b0783bf6
cosmetics attack, part III: Remove all tabs and prettyprint/reindent the code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23175 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-29 21:36:43 +00:00
diego
28510d8966
cosmetics: Fix stray wrongly indented line.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23174 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-29 13:39:50 +00:00
diego
402ccf9d4c
cosmetics attack, part II: Remove all tabs and prettyprint/reindent the code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23173 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-29 13:39:27 +00:00
diego
faaae44a1e
cosmetics attack, part I: Remove all tabs and prettyprint/reindent the code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23158 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-28 11:44:49 +00:00
diego
5d9e73bcc6
cosmetics: Replace manual tab indentation by \n\t as in the rest of the file.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23157 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-28 11:41:11 +00:00
diego
95000b0ca7
cosmetics: Remove trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23147 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 23:07:11 +00:00
diego
9e14239422
Don't declare -lm as a dependency of swscale-example.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23140 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 15:14:12 +00:00
diego
0d29d76058
Remove large automatics from stack.
...
patch by Marc Hoffman, mmh pleasantst com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23117 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-26 11:05:59 +00:00
ivo
79b2f1581d
preserve alpha channel when converting rgb32 to bgr32 in plain C
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23022 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 16:40:58 +00:00
ivo
8c86c5cc58
fix red_15mask and green_15mask. the previous values were wrong and caused
...
some SIMD functions to output wrong data.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23021 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 16:40:07 +00:00
ivo
ecbdb90970
test widths all down to one. this tests whether the scalers correctly switch
...
to plain C when width < unit size of assembly code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23018 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 14:22:42 +00:00
ivo
59a2d69862
skip MMX code in rgb24tobgr24 if the size of the input is smaller than the
...
size of the units the MMX code processes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23015 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 09:27:59 +00:00
ivo
346fa283f5
skip MMX code in rgb32to16 if the size of the input is smaller than the
...
size of the units the MMX code processes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23014 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 09:26:22 +00:00
ivo
a3284e8e5b
skip MMX code in rgb32to15 if the size of the input is smaller than the
...
size of the units the MMX code processes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23013 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-18 09:24:49 +00:00
ivo
f854708977
slightly faster rgb32tobgr32; avoid one add and one cmp
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23012 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-17 20:38:17 +00:00
ivo
589238fbe5
New implementation of rgb32tobgr32
...
The previous implementation segfaulted with MMX enabled when fed an image
smaller than the size of the units the MMX code processed. The new code:
- is faster for MMX, MMX2 and plain C
- processes small images correctly
- is LGPL
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23009 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-16 21:41:03 +00:00
michael
a381e71128
improve horizontal chroma resolution with pal
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22994 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-15 01:27:34 +00:00
michael
31be965950
convert palette to yuv instead of converting each pixel after pal->rgb
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22993 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-15 00:53:32 +00:00
ivo
ccca77761e
cosmetics, expand all tabs to four spaces.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22983 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-12 19:31:35 +00:00
ivo
c32cfa90c9
Replace huge switch statement by a lookup table.
...
Add newline to final report.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22982 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-12 19:25:36 +00:00
ivo
42ece1776c
cosmetics after last commit; remove superfluous braces
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22979 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-11 22:17:58 +00:00
ivo
fdc96044ff
Remove code duplication in sws_rgb2rgb_init.
...
The lists of assignments of all rgbxtoy variants are removed from
sws_rgb2rgb_init and replaced by a single list inside the template file.
This way, multiple lists are generated by the preprocessor and each list
gets its own initialization function. Those are called from the main
sws_rgb2rgb_init function, if applicable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22978 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-11 21:00:25 +00:00
diego
2a39682956
typo
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22932 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-07 14:07:51 +00:00
cehoyos
cb644a4a9d
Fix crash when trying to convert from or to RGBi (i<15) as in bgr8torgb24
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22910 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-03 16:22:19 +00:00
diego
75cf17e3f8
Handle proper compilation on Mac OS X.
...
Fix data alignment bug (the original purpose of the code is unclear, though).
patch by Marc Hoffman, mmh pleasantst com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22847 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-30 22:09:13 +00:00
michael
f605cf5f93
fix full range (jpeg yuv) chroma
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22713 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 12:31:53 +00:00
diego
a708559fe5
Add PIX_FMT_PAL8 to isPacked().
...
patch by "Karl H. Beckers", karl.h.beckers gmx net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22487 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-08 10:02:49 +00:00
michael
5a39cd78b7
a small step toward 4 plane support
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22411 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-02 13:33:18 +00:00
michael
2c64943519
copy src to prevent the user supplied argumet from being changed
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22410 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-02 13:32:10 +00:00
reimar
0f2246a083
Fix a possible crash on 64 bit systems when the lumSrcPtr or chrSrcPtr
...
does not fit in 32 bits. The SWS_ACCURATE_RND is still broken though.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22401 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-01 19:48:40 +00:00
diego
e3b1929925
Remove useless conditional.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22355 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-27 00:19:01 +00:00
reimar
0b7929b8ad
Add av_ prefix to clip functions
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22339 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 10:27:43 +00:00
diego
8ed3ba4995
cosmetics: typo fixes, usefuLL --> useful and aswell --> as well
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22307 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-22 00:18:10 +00:00
michael
099c9b26f4
negative stride and h_size-=8 fix
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22247 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-17 13:28:44 +00:00
michael
2a0c4363cf
BGR/RGB4 byte formats as input
...
fixing isRGB/BGR() for the byte formats
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22244 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-17 11:36:02 +00:00
michael
db9d35b669
pal8 input
...
this is not optimized or anything (that is easy to add just use the existing unscaled converters if possible ...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22236 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-16 21:17:15 +00:00
lu_zero
91fdfc6820
stray fflush spotted by Aurel
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22051 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 20:38:35 +00:00
lu_zero
3707a1426b
Make example and test build and link correctly
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22048 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 17:52:59 +00:00
lu_zero
a1dcee10f4
av_logify
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22047 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 17:51:41 +00:00
diego
2dc888b0c0
Simplify conditional compilation handling.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22009 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-25 00:35:29 +00:00
lucabe
aaac7f6eaf
Pass a context to av_log(), when possible
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21999 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-23 13:41:45 +00:00
diego
2d33f0d405
Fix license headers and FSF postal address.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21994 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-22 01:21:36 +00:00
diego
addb047274
cosmetics: typo pallete --> palette
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21892 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-13 04:32:14 +00:00
lucabe
3caab47323
deprecate sws_scale_ordered(), as it now is a duplicate of sws_scale()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21888 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-12 15:45:47 +00:00
lucabe
86bfe9c6b8
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())
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21887 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-12 15:40:08 +00:00
lucabe
a72f029add
replace some av_malloc();memset(...,0,...) sequences with av_mallocz()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21835 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-06 12:11:25 +00:00
lucabe
43aa3a1b7e
change all the occurrences of "FFMIN(FFMAX())" to clip_uint8() or clip()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21776 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-26 18:08:40 +00:00
lucabe
896f3ac12b
Mark some variables as possibly unused to avoid warnings
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21775 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-26 17:59:28 +00:00
lucabe
471fc34cb7
Add some explicit casts to avoid "assignment from incompatible pointer type"
...
warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21774 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-26 17:41:38 +00:00
lucabe
9d9fce6419
Add some other casts, to remove void pointers arithmetic
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21773 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-26 16:28:34 +00:00
lucabe
c5c0e11eeb
Add some explicit casts to avoid some warnings
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21772 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-26 16:21:13 +00:00
lucabe
ac68c5b03d
Remove some void pointers arithmetic
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21771 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-26 16:12:37 +00:00
lucabe
fa035363aa
Clarify that yuv2rgb_init.c cannot be used under LGPL
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21730 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-22 17:57:19 +00:00
lucabe
b16725e8b1
Remove useless include (not needed now that libswscale uses libavutil)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21728 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-22 11:22:49 +00:00
lucabe
774b22c0d1
Fix compilation of non-MMX code with gcc 2.95
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21702 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-20 15:58:15 +00:00
lucabe
685e04e080
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21699 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-20 13:09:29 +00:00
reimar
6157b0b3ea
Change "p" asm constraints to "g", since "p" was a no longer necessary hack to
...
make AMD64 compilation work and ICC can not handle "p".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21341 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 21:59:13 +00:00
lucabe
9913060a98
Clarify that some of the non-SIMD code is now LGPLed.
...
All the authours of such code agreed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21045 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-19 10:38:12 +00:00
michael
ed3b9da081
forgotten 2 converters (yeah svn up, svn di svn ci isnt enough i should actually look at the code after svn up not just the diff ...)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20962 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-16 14:49:04 +00:00
michael
5a4d8d1411
fixing the lamest bug in swscale, all the rgb/bgr->* code did 2x2 downsampling for chroma, it should just be 2x1 (the rest of the code also belived its 2x1 ...)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20961 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-16 14:44:00 +00:00
diego
206f0000f5
Remove stray newline.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20959 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-16 12:49:27 +00:00
lucabe
22bff1ea7c
Synch with ffmpeg's r6938 "allow spaces in source and build directory names..."
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20816 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-09 15:13:56 +00:00
gpoirier
1bade46a88
Fix MacIntel build: "/nop" is illegal on Apple's older version of GAS
...
Patch by Nigel Pearson % nigel A ind P tansu P com P au %
Original thread:
Date: Nov 6, 2006 10:43 PM
Subject: [Ffmpeg-devel] [PATCH] swscale uses /nop, illegal for old versions of GAS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20740 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-07 07:07:05 +00:00
lucabe
c28ed102ea
Add support for conversions from the rgb565 and rgb555 formats
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20605 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-02 09:01:01 +00:00
diego
fa58eb8846
Do not mix declarations and statements.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20600 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:44:35 +00:00
diego
3570f31873
Use common define for x86_32 and x86_64.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20592 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 18:36:20 +00:00
kostya
3feb0ebd68
16-bit grayscale support
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20427 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-24 05:02:33 +00:00
lucabe
239933c040
Properly set EXTRALIBS
...
(fixes compilation of shared libswscale on cygwin and other platforms)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20413 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-23 14:03:49 +00:00
diego
4e9514a058
Rename ABS macro to FFABS.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20169 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-11 23:18:34 +00:00
diego
ed967a434b
Move CFLAGS handling to common.mak.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20154 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-11 08:30:22 +00:00
diego
3ace93a9a6
Change license headers to say 'FFmpeg' instead of 'this program'.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20100 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-07 15:33:14 +00:00
diego
f9477d0581
Replace -I.. by -I$(BUILD_ROOT).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20094 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-07 09:23:09 +00:00
diego
e801f101df
Simplify test program build.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20073 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-05 17:11:05 +00:00
diego
1240e6bde5
Test programs depend on $(LIB).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20059 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-05 00:57:48 +00:00
diego
9c19753fcc
FFmpeg uses -D_ISOC9X_SOURCE and not -D_GNU_SOURCE in CFLAGS.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20057 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-04 22:18:40 +00:00
diego
254a1757fa
Remove cs_test and swscale-example on clean.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20040 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-04 14:02:42 +00:00
diego
767bf9402f
Remove redundant EXTRALIBS declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20039 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-04 14:00:14 +00:00
diego
17a374e14b
Simplify compilation call by using $(EXTRALIBS).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20038 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-04 13:56:24 +00:00
diego
8b9ca10a4d
Fix warnings:
...
swscale-example.c:87: warning: implicit declaration of function 'sws_format_name'
swscale-example.c:214: warning: implicit declaration of function 'sws_rgb2rgb_init'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20037 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-04 13:54:56 +00:00
diego
04acb4f27e
Fix warnings:
...
cs_test.c:62: warning: return type defaults to 'int'
cs_test.c:64: warning: implicit declaration of function 'memalign'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20036 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-04 13:51:12 +00:00
aurel
ae22c7d3f7
make some global var static (fix a build failure with shared lib on x86_64)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20024 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-03 23:51:32 +00:00
diego
098bfe9f95
Fix unused variable warning when compiling with MMX disabled.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20021 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-03 17:11:43 +00:00
diego
da4223291d
Remove unused variables.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20012 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-01 14:17:45 +00:00
lucabe
47cfa9e755
Add support for YUVJ formats
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19993 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-27 11:41:36 +00:00
lucabe
abfb2f049a
Improve swscale-example to test conversions between all the possible
...
pixel formats
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19965 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-24 09:55:18 +00:00
lucabe
51cd63eb1c
Remove the dependency of libswscale on img_format.h
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19878 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-17 15:15:13 +00:00
lucabe
a9aca9d644
Fix the PIX_FMT_* ---> IMGFMT_* conversion (PIX_FMT_RGB32 is IMGFMT_BGR32)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19875 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-17 14:59:55 +00:00
diego
af5a781e05
Add proper GPL headers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19772 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-09 21:10:26 +00:00
diego
6370bb03d8
Add official GPL header to make license explicit as discussed on ffmpeg-devel.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19709 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-06 10:24:19 +00:00
gpoirier
268a7af2f4
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
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19667 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-04 09:38:24 +00:00
michael
d0d900423c
make the C code of the swscaler which i wrote LGPL
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19600 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-30 10:50:20 +00:00
lucabe
dc1959af89
Allow to compile swscale tests
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19476 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-21 12:15:29 +00:00
diego
77b4259600
Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19437 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-18 13:58:03 +00:00
diego
b02e7924b9
Move all internal -I parameters to the front of CFLAGS to avoid using external
...
header files that happen to have the same name as internal ones.
based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-17 17:19:56 +00:00
lucabe
b4d8744e68
Fix compilation as a win32 shared library (libavutil must be explicitly linked)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19416 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-16 20:09:47 +00:00
uau
37790bdbc4
Fix compilation with -no-PIC and without -fomit-frame-pointer (used by
...
--enable-debug).
Fix from Jason Tackaberry for his previous -fPIC patch.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19406 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-15 14:50:24 +00:00
diego
069a521627
-fPIC support for libswscale
...
patch by Jason Tackaberry, tack /at/ urandom /dot/ ca
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19402 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-15 08:47:03 +00:00
diego
b89020afc8
Replace asmalign.h hack by ASMALIGN cpp macros from config.h.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19378 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-13 00:21:14 +00:00
uau
2ed77686c7
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19374 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-12 17:46:40 +00:00
diego
1ff914c6a9
Fix compilation with MMX disabled, the mmx_null and mmx_one constants don't need to
...
be protected by HAVE_MMX.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19367 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-11 12:50:14 +00:00
lucabe
f5bb104820
Another PIX_FMT_ ---> IMGFMT_ conversion
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19342 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-05 13:14:34 +00:00
diego
c869e5d1b1
Do not assemble MMX, MMX2 or 3DNOW code unconditionally on X86 and X86_64.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19339 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-05 10:00:54 +00:00
lucabe
d3b998da64
Add support for ffmpeg's pixel format names in libswscale
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19276 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 12:35:04 +00:00
diego
66ee8ce70a
Comment some #endif lines.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19211 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-28 09:07:09 +00:00
pacman
51b500634b
Fix compile error due to extra "FF" at beginning of file in the FF{MIN,MAX}
...
update
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19205 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-27 19:35:30 +00:00
lucabe
134140b1c2
Replace MIN() and MAX() with FFMIN() and FFMAX()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19186 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-26 13:19:02 +00:00
michael
838a64f308
a tiny bit of cleanup
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19178 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-24 10:48:54 +00:00
michael
14ddfdddf8
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
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19177 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-24 10:36:06 +00:00
pacman
ea0995d63d
Fix typo introduced in the memalign->av_malloc conversion (there is no
...
mv_malloc)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19174 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 21:16:11 +00:00
reimar
b0821a7efc
Missing part of the malloc -> av_malloc patch: memalign must be replaced as well!
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19173 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-23 18:07:26 +00:00
lucabe
0860745385
Use libavutil in libswscale, and allow it to be built out of the mplayer tree
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19148 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-20 12:13:57 +00:00
lucabe
1e56d3bf13
make libswscale build system similar to the libav* one
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18994 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-10 12:35:52 +00:00
lucabe
4e56b4f512
Remove unneeded code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18880 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-01 14:39:14 +00:00
lucabe
cc30aae17b
Move postproc ---> libswscale
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 12:00:31 +00:00