Commit Graph

51 Commits

Author SHA1 Message Date
stefano 9e259c79bd Document slice ordering assumption done by sws_scale().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29804 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-30 14:13:25 +00:00
ramiro 927afdcf6d Document that slices can be bottom to top or top to bottom.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29665 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-09 21:43:25 +00:00
ramiro 67636ed48b Introduce and use sws_allocVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29536 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-19 01:33:17 +00:00
stefano 825adf684d Remove '\p' doxygen markup, as it should improve plain text doxy
readability.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29351 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-06 09:37:46 +00:00
diego f46dc0b514 Add const qualifier to param argument of sws_getContext() and
sws_getCachedContext().  Fixes the warning:
swscale.c:3408: warning: assignment discards qualifiers from pointer target type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29288 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-10 14:00:00 +00:00
stefano 685890259f Move sws_[gs]etColorspaceDetails() documentation from swscale.c to
swscale.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29186 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-18 11:45:31 +00:00
diego f97bdd7504 whitespace cosmetics: Break some overly long lines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29180 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-14 14:39:04 +00:00
kostya c548a42f3c New LGPLed YUV2RGB table generator for SwScaler
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28700 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-22 09:22:05 +00:00
stefano 908286b437 Rename the "src" parameter in the sws_scale() declaration to
"srcSlice" to stress the fact that it references a slice rather than an
image.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28655 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 23:16:31 +00:00
stefano ddd68248fe Document sws_scale().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28654 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 23:11:47 +00:00
stefano 0137ac7075 Implement sws_printVec2() and deprecate sws_printVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28566 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 20:14:28 +00:00
stefano bf1bcca299 Document sws_normalizeVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28565 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-14 19:37:13 +00:00
stefano 379b176f25 Apply misc fixes for sws_getCachedContext() documentation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28537 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 00:12:10 +00:00
stefano 7342791ae6 Bump micro version, related to r28491.
See the thread:
"[FFmpeg-devel] [PATCH] Explicitely declare {dst, src}Format sws_get*Context() params as enum PixelFormat".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28536 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-12 00:07:44 +00:00
stefano 6185600f50 Document sws_getContext().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28535 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-11 23:42:29 +00:00
stefano f9e26397b7 Document sws_getIdentityVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28533 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-11 21:34:44 +00:00
stefano 22131f75ee Move sws_getGaussianVec() documentation from swscale.c to swscale.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28528 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:45:50 +00:00
stefano 87befb386e Document sws_cloneVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28527 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:43:08 +00:00
stefano 11827cc89f Fix typo: lenght -> length.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28526 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:40:58 +00:00
stefano bea91aaf7b Document sws_scaleVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28525 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:38:01 +00:00
stefano 6ea82ed46c Document sws_getConstVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28524 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:32:16 +00:00
stefano 2bf95acee3 Move documentation of sws_getCachedContext() from swscale.c to
swscale.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28523 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:26:56 +00:00
stefano 5bc2baa01e Add a @deprecated notice to swscale_get_ordered().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28521 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-10 23:22:07 +00:00
stefano 832dbfeaa3 Document coeff and length fields in SwsVector.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28512 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-09 23:42:16 +00:00
stefano 45a1edd1df Drop the deprecated sws_scale_ordered() at the next major version
bump.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28492 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 23:06:05 +00:00
stefano f6ff53adcc Replace int type with enum PixelFormat for the dstFormat/srcFormat
params of the sws_getContext() and sws_getCachedContext()
declarations, consistent with the implementation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28491 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 23:02:06 +00:00
stefano 78a33f99f4 Fix a typo: lumaSarpen -> lumaSharpen.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28490 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-08 22:50:57 +00:00
diego 5e63efb850 Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28414 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 02:01:31 +00:00
michael d8bf925d4c Add bitexact flag.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27592 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-12 21:46:53 +00:00
stefano e372474088 Change header inclusion guard names in line with FFmpeg r15120.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27499 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-31 07:42:11 +00:00
stefano 6c30638aa1 Implement swscale_version().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27492 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-29 18:23:54 +00:00
bcoudurier fb984553d3 change sws_format_name to return const char*, supress many warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26183 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-06 11:32:25 +00:00
mru 8d1529b2fe less preprocessor magic in version number macros
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26105 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-26 20:38:02 +00:00
mru 635e6bf7c3 #include "libavutil/avutil.h" in swscale.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26097 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-25 09:24:33 +00:00
mru f4cab7e69a Clean up lib* version definitions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26034 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-19 22:52:28 +00:00
mru 1a8c91dfc2 remove duplicate AV_STRINGIFY() definition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26013 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-17 03:54:07 +00:00
diego 4f29b1485a Add FFMPEG_ prefix to all multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24800 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-18 09:30:33 +00:00
diego b3d59ea908 license header consistency cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23722 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-05 10:18:58 +00:00
diego 7b472fa2ea misc spelling fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23556 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-13 17:48:15 +00:00
diego c339e74ac8 Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23322 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-16 12:26:47 +00:00
gpoirier ea9075f2c7 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23307 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-13 19:22:32 +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 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
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 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
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
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
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
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