Diego Biurrun
c887b30d79
Remove unused variable, fixes the warning:
...
libswscale/swscale_template.c:2575: warning: unused variable ‘srcFormat’
Originally committed as revision 30132 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
aaba7e6c66
Remove parameters no longer used in h[yc]scale().
...
Originally committed as revision 30099 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
a1f4b4bb6e
Move fast bilinear scaler code to the existing h[yc]scale_fast() functions.
...
Originally committed as revision 30098 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
bb53e1d188
Rename function pointers used to convert from the input pixel format to the
...
intermediate YV12 to a more descriptive name.
Originally committed as revision 30097 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
e7a47515ab
Check if chroma horizontal scaler is needed in sws_init_swScale().
...
Originally committed as revision 30096 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
e77ddfa293
Indent.
...
Originally committed as revision 30086 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
b501a1f56a
Set fast_bilinear functions in sws_init_swScale().
...
Originally committed as revision 30085 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
bae76dc3eb
Set horizontal scaler's range conversion in context in sws_init_swScale().
...
Originally committed as revision 30082 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
84011f10d5
Set horizontal scaler's src offsets in context in sws_init_swScale().
...
Originally committed as revision 30081 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
75084e47ff
Start using intermediate buffers at index 0.
...
These index variables are incremented before each use, so they should be
initialized to -1.
Originally committed as revision 29977 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
e470691aa8
Fix compilation with runtime cpu detection.
...
All functions in swscale_template.c should be declared with the RENAME macro.
Originally committed as revision 29976 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
f415be684d
Add support for nv12/nv21 input.
...
Originally committed as revision 29974 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
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