1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00
Commit Graph

68 Commits

Author SHA1 Message Date
reimar
c83eeec033 Fix typo in comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25829 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-21 20:46:28 +00:00
benoit
024ccaccf7 Change (a == NULL) condition to (!a) and (a != NULL) condition to (a).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25780 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 15:49:31 +00:00
benoit
bc7d838528 Cosmetics: whitespaces
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25778 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 10:24:14 +00:00
benoit
821d1ccea5 Remove non cosmetic spaces inside parentheses.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25777 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 08:57:15 +00:00
benoit
94f3351841 Description: remove superfluous parentheses.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25776 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 08:12:23 +00:00
benoit
6e8c03910d 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25775 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-17 08:06:09 +00:00
diego
5efcab64a5 comment typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25485 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-21 11:47:09 +00:00
benoit
f2281fa06a Make sure strides have positive values before converting.
Patch by Peter Schlaile: peter schlaile de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25467 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 10:08:36 +00:00
diego
b13c49493c Revert wrong ARCH_BFIN --> HAVE_BFIN change.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24627 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-27 08:00:22 +00:00
aurel
991c218475 add support for yuva420p colorspace (yuv420p + alpha)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24601 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-24 15:11:49 +00:00
mhoffman
503a85926f renaming ARCH_BFIN to HAVE_BFIN
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24309 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-31 14:57:50 +00:00
diego
65d2553645 typo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23889 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 14:17:25 +00:00
benoit
26333dbfec 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


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23811 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-18 08:12:40 +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
mhoffman
d1a47e2290 integrating ff_bfin_get_unscaled_swscale into the system
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23605 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-22 13:03:40 +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
benoit
21939776eb 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



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23418 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-30 09:33:09 +00:00
diego
134fb56e1f Remove redundant fastmemcpy.h #include, it is indirectly #included by avutil.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23400 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 09:30:56 +00:00
ivo
85b37d1ccf ffmpeg -sws_flags command line option to set swscaler flags
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23379 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-23 18:35:24 +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
ivo
30a00a81bc cosmetics; one test per line for all isXXX(x) macros
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23296 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-11 11:24:06 +00:00
benoit
e6daddc0ad cosmetics: indentation after previous patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23207 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 07:02:16 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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