Carl Eugen Hoyos
b411dfff4c
Use enum PixelFormat instead of int for srcFormat and dstFormat.
...
Originally committed as revision 29857 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Diego Biurrun
53e5462040
Replace manual gcc version check by AV_GCC_VERSION_AT_LEAST macro.
...
Originally committed as revision 29701 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
c866c7d041
Cleanup buffer debugs in swScale().
...
Originally committed as revision 29686 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
953c821f9b
Use correct buffers in vertical scaler in unscaled YV12 case.
...
Originally committed as revision 29685 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Lars Täuber
991e579cae
Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().
...
Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>.
Originally committed as revision 29650 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
c255994b29
More indentation changes leftover from r29522:
...
- Align asm code to the column 4 spaces after the call to __asm__();
- Align cases in switch statements to the same column as "switch".
Originally committed as revision 29524 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
dd68318cee
Cosmetics:
...
- 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
15 years ago
Ramiro Polla
9b734d44ab
Indent libswscale:
...
- Use 4 spaces throughout for indentation;
- Fix inconsistent indentation;
- Indent function calls and declarations aligning arguments on multiple lines
to the column after the opening parentheses;
- Align asm code to the column 4 spaces after the call to __asm__();
- Align cases in switch statements to the same column as "switch".
Originally committed as revision 29522 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
ebe5dec22b
Indent.
...
Originally committed as revision 29518 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
52154148f4
Vertical yuv -> yuv16 scaler.
...
Originally committed as revision 29517 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
b0e1343b85
Remove duplicate define (it is the same in the lum code).
...
Originally committed as revision 29508 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
bcdedf675f
Rename "funny" code to "mmx2 filter" code.
...
Originally committed as revision 29507 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Diego Biurrun
0bf18ed32d
Remove disabled crufty code.
...
Originally committed as revision 29482 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
cbdc08d5a6
Indent.
...
Originally committed as revision 29451 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
fb91df397a
Remove duplicate horizontal scaling when there aren't enough lines in a slice
...
to output the dstY line.
Originally committed as revision 29450 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
94daf2e94c
Do not misuse HAVE_ defines. Introduce COMPILE_TEMPLATE_ defines and use them
...
instead.
Originally committed as revision 29446 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
18c61752fd
Factorize x86 fast_bilinear assembly.
...
Originally committed as revision 29445 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
6d08d7f3c8
Fix assembly comments for x86 fast_bilinear so they match the C code.
...
Originally committed as revision 29444 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
fdf70cc5c9
Kill warnings of possibly unused variables by using av_unused.
...
Originally committed as revision 29355 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
934626a9f9
Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
...
Originally committed as revision 29349 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Kostya Shishkov
e8417235d0
Partial (low bits ignored, no direct transcoding into other RGB formats) support
...
for inputting RGB48BE/LE.
Originally committed as revision 29341 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Kostya Shishkov
80704c47c4
Move colorspace conversion functions implemented in pure C from template
...
into swscale.c
Originally committed as revision 29320 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
f267119786
Fix chroma shift when scaling from ARGB on LE and BGRA on BE
...
Originally committed as revision 29242 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
de1275d5e8
Planar 16bit 420 422 444 YUV support (output is only supported in some
...
unscaled convertions).
This, like gray16 converts down to 8bit, which is a big FIXME & patch welcome,
we should preserve more bits.
Originally committed as revision 29217 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
39e5f87b1a
Do not use abgrToA for both luma and alpha channel in hyscale.
...
This fixes RGB32 (et al.) scaling.
Originally committed as revision 29179 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
40fa514033
swscale: Use function pointers for swScale functions.
...
Originally committed as revision 29145 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
7ac4032784
swscale: Add const to some swScale functions' parameters.
...
Originally committed as revision 29143 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
95b5770bc7
swscale: Remove mmx2 params from h[yc]scale().
...
Originally committed as revision 29129 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
392b656764
swscale: Split h[yc]scale_fast() into their own functions.
...
Originally committed as revision 29128 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
5b7c7dd329
swscale: Execute sfence and emms depending on runtime flags.
...
Originally committed as revision 29127 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
009d2d74c2
Move swscale AltiVec template code to ppc subdirectory.
...
Originally committed as revision 29099 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Reimar Döffinger
04ef1d3f7b
Do _not_ use rbx on x86_64, it will fail to compile with PIC, besides it
...
added completely pointless code.
Originally committed as revision 29016 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Reimar Döffinger
d55ef6362f
Fix swscale compilation with Altivec enabled.
...
Originally committed as revision 29015 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
3164d25e19
Reindent after last commit
...
Originally committed as revision 29014 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
6268f55be5
YUVA420P is now supported as output format
...
Originally committed as revision 29012 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
6858492e6c
Add alpha channel scaling
...
Originally committed as revision 29011 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Matthieu Castet
e29c3f934f
Remove useless casting in asm "m" operand.
...
Patch by Matthieu Castet, castet D matthieu A free D fr
Originally committed as revision 29007 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
d0ce212a7a
Do not assume long is same width as x86 register.
...
Originally committed as revision 28992 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
780daf2b09
Consistently use ff_ prefixes for internal symbols.
...
Originally committed as revision 28988 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
786dcfef48
Make the source buffer operands parametrized in the YSCALEYUV2RGB_YA macro
...
Originally committed as revision 28943 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
fe91924dd7
Make MMX registers parametrized in the YSCALEYUV2PACKEDX_YA macro
...
Originally committed as revision 28934 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Kostya Shishkov
bcff32d1b4
Mask all unused bits for packed pixel format instead of green and alpha mask only.
...
That fixes the case when converting 15-bit RGB/BGR to YUV and high bit is set
for input value(s).
Originally committed as revision 28916 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Jindřich Makovička
57f9a56051
remove the rest of x86 asm from LGPL build
...
Originally committed as revision 28804 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
f8a138be52
When converting from a non alpha format to an alpha format, defaults
...
Originally committed as revision 28756 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
404944183d
move zeroing of alpha channel register out of YSCALEYUV2xxx macros,
...
patch by Cédric Schieli (cschieli at gmail youknowwhat)
Originally committed as revision 28687 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
df57ab1479
splits various YSCALEYUV2xxx macros into YSCALEYUV2xxx_UV,
...
YSCALEYUV2xxx_YA and YSCALEYUV2xxx_COEFF,
patch by Cédric Schieli (cschieli at gmail youknowwhat)
Originally committed as revision 28686 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Cédric Schieli
9c77b26b35
make MMX registers parametrized in the WRITEBGR32 macro,
...
patch by Cédric Schieli (cschieli at gmail youknowwhat)
Originally committed as revision 28685 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Kostya Shishkov
12794f73eb
Some AltiVec functions in SwScaler produce different output than their
...
counterparts in pure C, so don't invoke them in bitexact mode.
Originally committed as revision 28555 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
f4406ec177
HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.
...
Originally committed as revision 28358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Aurelien Jacobs
b63f641e9b
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 28311 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago