Commit Graph

59 Commits

Author SHA1 Message Date
David Conrad 01cc47dcd3 More const-correctness for sws_scale
Originally committed as revision 30381 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-21 09:52:11 +00:00
Alexis Ballier f28cc5771f Make const prototypes for input sources of sws_scale_* stricter.
Patch by Alexis Ballier gmailify($firstname, $familyname)

Originally committed as revision 30374 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-19 16:30:20 +00:00
Zuxy Meng a959e24780 Const correctness for src pointer. Remove all constness related warnings in
libswscale.

Originally committed as revision 30306 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-15 08:51:51 +00:00
Stefano Sabatini 8e9767f6fd Implement sws_isSupportedInput() and sws_isSupportedOutput().
Originally committed as revision 30236 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-07 19:07:47 +00:00
Stefano Sabatini 997980f0d8 Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for the
swscale_configuration() and swscale_license() functions, consistent
with the rest of FFmpeg.

Originally committed as revision 30180 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-01-03 14:35:20 +00:00
Stefano Sabatini a9af75ae85 Make sws_format_name() use av_pix_fmt_descriptors.
This also introduces a dependency of libswscale on libavutil.

Originally committed as revision 29968 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-11-26 21:08:45 +00:00
Diego Biurrun bd381fd3f6 Add functions to return library license and library configuration.
Originally committed as revision 29932 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-11-18 17:16:02 +00:00
Stefano Sabatini 2e0a80a128 Document sws_freeContext().
Originally committed as revision 29844 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-11-07 09:23:11 +00:00
Stefano Sabatini a520e9f235 Document slice ordering assumption done by sws_scale().
Originally committed as revision 29804 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-10-30 14:13:25 +00:00
Ramiro Polla 30715d4273 Document that slices can be bottom to top or top to bottom.
Originally committed as revision 29665 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-09-09 21:43:25 +00:00
Ramiro Polla 1aff375d41 Introduce and use sws_allocVec().
Originally committed as revision 29536 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-08-19 01:33:17 +00:00
Stefano Sabatini 532ec28360 Remove '\p' doxygen markup, as it should improve plain text doxy
readability.

Originally committed as revision 29351 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-06-06 09:37:46 +00:00
Diego Biurrun 0020c54cb8 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

Originally committed as revision 29288 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-05-10 14:00:00 +00:00
Stefano Sabatini 2d26fa2822 Move sws_[gs]etColorspaceDetails() documentation from swscale.c to
swscale.h.

Originally committed as revision 29186 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-04-18 11:45:31 +00:00
Diego Biurrun d648c720af whitespace cosmetics: Break some overly long lines.
Originally committed as revision 29180 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-04-14 14:39:04 +00:00
Kostya Shishkov e76709d8a6 New LGPLed YUV2RGB table generator for SwScaler
Originally committed as revision 28700 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-22 09:22:05 +00:00
Stefano Sabatini 15239b7fcc Rename the "src" parameter in the sws_scale() declaration to
"srcSlice" to stress the fact that it references a slice rather than an
image.

Originally committed as revision 28655 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-18 23:16:31 +00:00
Stefano Sabatini 583799c459 Document sws_scale().
Originally committed as revision 28654 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-18 23:11:47 +00:00
Stefano Sabatini 26b40a659d Implement sws_printVec2() and deprecate sws_printVec().
Originally committed as revision 28566 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-14 20:14:28 +00:00
Stefano Sabatini a26b51cd4a Document sws_normalizeVec().
Originally committed as revision 28565 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-14 19:37:13 +00:00
Stefano Sabatini 39e80e6cb9 Apply misc fixes for sws_getCachedContext() documentation.
Originally committed as revision 28537 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-12 00:12:10 +00:00
Stefano Sabatini 70bf0416cf Bump micro version, related to r28491.
See the thread:
"[FFmpeg-devel] [PATCH] Explicitely declare {dst, src}Format sws_get*Context() params as enum PixelFormat".

Originally committed as revision 28536 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-12 00:07:44 +00:00
Stefano Sabatini a15886540b Document sws_getContext().
Originally committed as revision 28535 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-11 23:42:29 +00:00
Stefano Sabatini b5fdaebb44 Document sws_getIdentityVec().
Originally committed as revision 28533 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-11 21:34:44 +00:00
Stefano Sabatini 6d3cf67c2a Move sws_getGaussianVec() documentation from swscale.c to swscale.h.
Originally committed as revision 28528 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:45:50 +00:00
Stefano Sabatini 89b7464732 Document sws_cloneVec().
Originally committed as revision 28527 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:43:08 +00:00
Stefano Sabatini 70838eefbf Fix typo: lenght -> length.
Originally committed as revision 28526 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:40:58 +00:00
Stefano Sabatini 0bcb5b3918 Document sws_scaleVec().
Originally committed as revision 28525 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:38:01 +00:00
Stefano Sabatini c326825e51 Document sws_getConstVec().
Originally committed as revision 28524 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:32:16 +00:00
Stefano Sabatini b954b34a6d Move documentation of sws_getCachedContext() from swscale.c to
swscale.h.

Originally committed as revision 28523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:26:56 +00:00
Stefano Sabatini 1eeded3992 Add a @deprecated notice to swscale_get_ordered().
Originally committed as revision 28521 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-10 23:22:07 +00:00
Stefano Sabatini edbdf77ec5 Document coeff and length fields in SwsVector.
Originally committed as revision 28512 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-09 23:42:16 +00:00
Stefano Sabatini c099766fad Drop the deprecated sws_scale_ordered() at the next major version
bump.

Originally committed as revision 28492 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-08 23:06:05 +00:00
Stefano Sabatini 96b27045d2 Replace int type with enum PixelFormat for the dstFormat/srcFormat
params of the sws_getContext() and sws_getCachedContext()
declarations, consistent with the implementation.

Originally committed as revision 28491 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-08 23:02:06 +00:00
Stefano Sabatini b534f73d25 Fix a typo: lumaSarpen -> lumaSharpen.
Originally committed as revision 28490 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-08 22:50:57 +00:00
Diego Biurrun 82aaa790d2 Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.

Originally committed as revision 28414 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-02-01 02:01:31 +00:00
Michael Niedermayer ceb700babb Add bitexact flag.
Originally committed as revision 27592 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-09-12 21:46:53 +00:00
Stefano Sabatini 0eaf523548 Change headers' guardnames consistently with r15120.
Originally committed as revision 27499 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-08-31 07:42:11 +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
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
Måns Rullgård e08e6bb6f2 less preprocessor magic in version number macros
Originally committed as revision 26105 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-02-26 20:38:02 +00:00
Måns Rullgård 885176993a #include "libavutil/avutil.h" in swscale.h
Originally committed as revision 26097 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-02-25 09:24:33 +00:00
Måns Rullgård ccf95ef1de Clean up lib* version definitions
Originally committed as revision 26034 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-02-19 22:52:28 +00:00
Måns Rullgård 1d03e71805 remove duplicate AV_STRINGIFY() definition
Originally committed as revision 26013 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-02-17 03:54:07 +00:00
Diego Biurrun 39c70be189 Add FFMPEG_ prefix to all multiple inclusion guards.
Originally committed as revision 24800 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-10-18 09:30:33 +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
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
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
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