Commit Graph

29 Commits

Author SHA1 Message Date
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