Age | Commit message (Collapse) | Author |
|
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
Also remove code that overwrites the C versions of functions in
sws_init_swScale_altivec(), so that it uses the C functions of files
if no altivec-optimized version exists.
|
|
|
|
|
|
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems
since it causes certain system functions to be hidden on some (BSD) systems.
The solution is to only add the flag on systems that really require it, i.e.
glibc-based ones.
This change makes BSD systems compile out-of-the-box without the need for
adding specific flags manually. It also allows dropping a number of flags
set manually on a file-per-file basis, but were only present to work around
breakage introduced by the presence of _POSIX_C_SOURCE.
Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions
in several places already, so it is preferable to define it globally instead
of littering source files with individual #defines only needed for glibc.
|
|
Fix handling of input if not in native endianness, and add support for
9/10-bit output. This allows us to force endianness of YUV420P 9/10bit
in the H264/10bit fate tests, which should fix them on big-endian
systems.
|
|
This breaks API and ABI.
|
|
Also add support for these formats in libswscale.
Needed for high bit depth h264 decoding.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
|
|
They've accumulated enough new APIs and corresponding deprecated cruft.
This breaks API and ABI.
|
|
only hit with --enable-runtime-cpudetect
|
|
|
|
|
|
MMX is always built. Drop the ifdefs
|
|
Simplify the fallthrough case when no accelerated functions
can be initialized.
|
|
Move x86-specific constants out of swscale.c
|
|
PPC and x86 code is split off from swscale_template.c. Lots of code is
still duplicated and should be removed later.
Again uniformize the init system to be more similar to the dsputil one.
Unset h*scale_fast in the x86 init in order to make the output
consistent with the previous status. Thanks to Josh for spotting it.
|
|
Keep only the plain C code in the main rgb2rgb.c and move the x86
specific optimizations to x86/rgb2rgb.c
Change the initialization pattern a little so some of it can be
factorized to behave more like dsputils.
|
|
It is used only for x86 so it will eventually be moved with that code
into the x86 arch subdirectory.
|
|
When HAVE_7REGS was not defined these functions had an empty body
causing the following warnings during compilation.
In file included from libswscale/x86/yuv2rgb_mmx.c:58:
libswscale/x86/yuv2rgb_template.c: In function ‘yuva420_rgb32_MMX’:
libswscale/x86/yuv2rgb_template.c:412: warning: no return statement in function returning non-void
libswscale/x86/yuv2rgb_template.c: In function ‘yuva420_bgr32_MMX’:
libswscale/x86/yuv2rgb_template.c:457: warning: no return statement in function returning non-void
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
The replacement isn't ready yet.
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
also update the multiple inclusion guards in config.h|mak
|
|
It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
|
|
When built with gcc 4.6, the MMX rgb24 to yuv conversion gives
wrong output. The compiler produces this warning:
libswscale/swscale_template.c:1885:5: warning: use of memory input without lvalue in asm operand 4 is deprecated
Changing the memory operand to a register makes it work.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
This macro has unconditionally used .p2align for a long time and
serves no useful purpose.
|
|
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
|
|
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
|
|
rgb32tobgr32() has been removed in favour of shuffle_bytes_2103() in r32190
Originally committed as revision 32676 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
handle_jpeg may update the src/dstFormat variables, this makes sure the
updated version is stored in the context.
This fixes roundup issue 2302.
Patch by Troot, all_crap_goes_here at hotmail
Originally committed as revision 32562 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
but worse it did not set up destination dimensions, thus every user
of it would necessarily fail.
Originally committed as revision 32424 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
Originally committed as revision 32415 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
Originally committed as revision 32414 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
scale context. Prevent pointless warnings when using
av_opt_set_defaults() for setting the default values, as in a pending
patch.
Originally committed as revision 32413 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
improving vertical alignment and readability.
Originally committed as revision 32405 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
readibility.
Originally committed as revision 32404 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
SWScale context.
Originally committed as revision 32403 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
Originally committed as revision 32402 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
sws_init_context() instead.
Originally committed as revision 32401 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
Originally committed as revision 32400 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
sws_init_context() of r32368.
Originally committed as revision 32396 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
Originally committed as revision 32395 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
Originally committed as revision 32394 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
Originally committed as revision 32393 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
Originally committed as revision 32392 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
Originally committed as revision 32370 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|