Commit Graph

136 Commits

Author SHA1 Message Date
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
Marc Hoffman
c185b405c1 adding Blackfin swscale_bfin infrastructure, and the first swscale routine uyvy to yv12 video resampler
Originally committed as revision 23604 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-06-22 12:45:18 +00:00
Marc Hoffman
69a6db95ac document pointer offset by -8
Originally committed as revision 23603 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-06-22 00:14:22 +00:00
Marc Hoffman
e9d4375f1a re pipeline loop, to eliminate extra chroma reads
Originally committed as revision 23602 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-06-22 00:12:44 +00:00
Marc Hoffman
45eeae39ac correct chroma skewing bug, caused by incorrect stride adjustments
Originally committed as revision 23601 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-06-22 00:07:55 +00:00
Reimar Döffinger
a444671542 Missing libswscale part of TARGET_ -> HAVE_ change
Originally committed as revision 23564 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-06-16 15:29:26 +00:00
Reimar Döffinger
6e6203fb1c Copile fix: missing libswscale part of ffmpeg r9322 TARGET_ARCH -> ARCH change.
Originally committed as revision 23562 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-06-16 15:17:00 +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
Reimar Döffinger
1a18eaf760 Fix yuv2rgb C functions to work for widths divisible by 4 but not by 8
Originally committed as revision 23508 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-06-08 07:49:59 +00:00
Marc Hoffman
22a11d578e correcting spelling error, yuv2rgb888_line was renamed to yuv2rgb24_line
Originally committed as revision 23472 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-06-05 13:18:16 +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
bf4a90fcc3 Blackfin optimized uyvytoyv12 routine. the implementation includes chroma averaging.
This is 10x faster than the cooresponding C function.

Originally committed as revision 23345 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-19 12:57:17 +00:00
Diego Biurrun
9f17e13bfc Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations.

Originally committed as revision 23322 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-16 12:26:47 +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
Ivo van Poorten
fa88429489 remove the need of one extra shift in rgb16ToUV
Originally committed as revision 23281 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-09 21:34:05 +00:00
Ivo van Poorten
f96829d2d0 Fix rgb15ToUV. Correct order of components and use one shift less.
Originally committed as revision 23279 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-05-09 17:29:20 +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
2da0d70d5e cosmetics attack, part IV: Remove all tabs and prettyprint/reindent the code.
Originally committed as revision 23179 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-30 08:05:29 +00:00
Diego Biurrun
428098165d cosmetics attack, part III: Remove all tabs and prettyprint/reindent the code.
Originally committed as revision 23175 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-29 21:36:43 +00:00
Diego Biurrun
ce505b8523 cosmetics: Fix stray wrongly indented line.
Originally committed as revision 23174 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-29 13:39:50 +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
6e42e6c4b4 cosmetics attack, part I: Remove all tabs and prettyprint/reindent the code.
Originally committed as revision 23158 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-28 11:44:49 +00:00
Diego Biurrun
1da87823db cosmetics: Replace manual tab indentation by \n\t as in the rest of the file.
Originally committed as revision 23157 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-28 11:41:11 +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
Diego Biurrun
c36bd2866a Don't declare -lm as a dependency of swscale-example.
Originally committed as revision 23140 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-26 15:14:12 +00:00
Marc Hoffman
26cdb9a2aa Remove large automatics from stack.
patch by Marc Hoffman, mmh pleasantst com

Originally committed as revision 23117 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-26 11:05:59 +00:00
Ivo van Poorten
3052ddb2a8 preserve alpha channel when converting rgb32 to bgr32 in plain C
Originally committed as revision 23022 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-18 16:40:58 +00:00
Ivo van Poorten
19b202f9d1 fix red_15mask and green_15mask. the previous values were wrong and caused
some SIMD functions to output wrong data.

Originally committed as revision 23021 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-18 16:40:07 +00:00
Ivo van Poorten
0c4c70e5ef test widths all down to one. this tests whether the scalers correctly switch
to plain C when width < unit size of assembly code.

Originally committed as revision 23018 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-18 14:22:42 +00:00
Ivo van Poorten
35a9994977 skip MMX code in rgb24tobgr24 if the size of the input is smaller than the
size of the units the MMX code processes

Originally committed as revision 23015 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-18 09:27:59 +00:00
Ivo van Poorten
3983057065 skip MMX code in rgb32to16 if the size of the input is smaller than the
size of the units the MMX code processes

Originally committed as revision 23014 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-18 09:26:22 +00:00
Ivo van Poorten
b2117ceed0 skip MMX code in rgb32to15 if the size of the input is smaller than the
size of the units the MMX code processes

Originally committed as revision 23013 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-18 09:24:49 +00:00
Ivo van Poorten
935f50c82c slightly faster rgb32tobgr32; avoid one add and one cmp
Originally committed as revision 23012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-17 20:38:17 +00:00
Ivo van Poorten
b38d487466 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

Originally committed as revision 23009 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-16 21:41:03 +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
Ivo van Poorten
3a74415d59 cosmetics, expand all tabs to four spaces.
Originally committed as revision 22983 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-12 19:31:35 +00:00
Ivo van Poorten
2a80b21d38 Replace huge switch statement by a lookup table.
Add newline to final report.

Originally committed as revision 22982 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-12 19:25:36 +00:00
Ivo van Poorten
ea70817379 cosmetics after last commit; remove superfluous braces
Originally committed as revision 22979 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-11 22:17:58 +00:00
Ivo van Poorten
df170b81d9 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.

Originally committed as revision 22978 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-04-11 21:00:25 +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
Marc Hoffman
8ec491e3fd 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

Originally committed as revision 22847 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-03-30 22:09:13 +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