| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
|
| |
Make yuv2yuvX16_c a function pointer for yuv2yuvX(), so that the
function pointer becomes bitdepth-independent.
|
| |
|
|
|
|
| |
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
libswscale/x86/swscale_template.c:2072: warning: unused variable ‘canMMX2BeUsed’
libswscale/x86/swscale_template.c:2145: warning: unused variable ‘canMMX2BeUsed’
libswscale/x86/swscale_template.c:2209: warning: unused variable ‘chrVPixBuf’
libswscale/x86/swscale_template.c:2237: warning: unused variable ‘chrVSrcPtr’
|
| |
|
| |
|
| |
|
|
|
|
| |
Preparatory step to implement support for sizes > VOFW.
|
|
|
|
|
|
|
| |
Many functions have such a prefix, but do not actually use any
instructions or features from that set, thus giving the false
impression that swscale is highly optimized for a particular
system, whereas in reality it is not.
|
| |
|
|
|
|
|
|
| |
Interleave macros and code so that it's easier to find the
actual code that belongs to a function. Also reindent where
appropriate and remove dead code.
|
| |
|
|
|
|
|
| |
This allows cutting up the function in much smaller and easier-
to-maintain chunks.
|
|
|
|
|
|
| |
If that flag is set, swScale() already proxies the call to
yuv2rgbXinC_full(). Therefore, this flag is never set when
yuv2packed1() is called.
|
| |
|
| |
|
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
|
|
|
| |
Instead, only set the function pointers if bitexact flag is
not set during initialization. Since a change in flags triggers
a re-init anyway, this doesn't situations where flag values
change during runtime.
|
|
|
|
|
|
| |
Instead, set function pointers conditionally during init. This
patch also reveals a whole branch of dead assembly code that is
therefore also removed.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The functions are identical to their MMX counterparts. Thus,
pretending that swscale is highly optimized for AMD3DNOW
extensions is a poorly executed practical joke at best.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
MMX is always built. Drop the ifdefs
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
| |
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
|
|
|
|
| |
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
|
|
|
|
| |
Originally committed as revision 31279 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
|
|
|
|
| |
We now have an LGPL replacement that is at least equally fast.
Originally committed as revision 31278 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
|
|
|
|
| |
It is now faster than the old gpl version on conroe.
Originally committed as revision 31181 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
|
|
|
|
| |
It is now faster than the old gpl version on conroe.
Originally committed as revision 31180 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
|
|
|
|
| |
written by Kostya Shishkov
Originally committed as revision 31135 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
|
|
|
|
| |
libswscale.
Originally committed as revision 30306 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
|
|
|
|
| |
but not here since it was unused before now.
Originally committed as revision 30289 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
|
|
| |
Originally committed as revision 30287 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
|
|
|
|
| |
multiple times.
Originally committed as revision 30273 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
|
|
|
|
| |
swaps R and B inputs for the existing yuv420->bgr24 routine.
Originally committed as revision 30254 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
|
|
|
|
| |
incompatible pointer type.
Originally committed as revision 30234 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
|
|
|
|
|
| |
- Place curly brackets in the same line as while/for/if/switch/else/do;
- Place curly brackets at column 0 in the next line starting a function.
Originally committed as revision 29523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|
|
|
|
|
|
| |
Patch by Peter Schlaile < peter at schlaile dot de >
Originally committed as revision 29515 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
|