Ramiro Polla
1aff375d41
Introduce and use sws_allocVec().
...
Originally committed as revision 29536 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
20484b90ec
Reuse sws_getConstVec() where possible.
...
Originally committed as revision 29535 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
6b052ba88f
swscale-example: Make selection of dstW, dstH, and flags more clear.
...
Originally committed as revision 29527 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
Peter Schlaile
562f685307
BGR32 MMX special convertor.
...
Patch by Peter Schlaile < peter at schlaile dot de >
Originally committed as revision 29515 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
737cbcde08
Indent.
...
Originally committed as revision 29512 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
d426ea20c9
swscale-example: Don't check for chroma planes in mono formats.
...
Originally committed as revision 29511 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
48f4c61252
MMX2 horizontal scaler: Determine code size at runtime.
...
Originally committed as revision 29510 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
0728778885
Protect mmx2 filter code buffers so they are not executable and writeable at
...
the same time (only mmap for now).
Originally committed as revision 29509 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
Ramiro Polla
475f361308
Indent.
...
Originally committed as revision 29506 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
e55ed689a2
swscale-example: Remove hack to end loop by setting variables to break.
...
Originally committed as revision 29505 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
d7cf0a6ff7
swscale-example: Don't return random value from main().
...
Originally committed as revision 29504 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
f5a9c4ee50
swscale-example: Check for Gray formats.
...
Originally committed as revision 29503 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Diego Biurrun
9bb3f3edfe
Remove disabled debug code.
...
Originally committed as revision 29485 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
184410e60b
Put some altivec code under COMPILE_ALTIVEC, and not HAVE_ALTIVEC.
...
Originally committed as revision 29484 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Kostya Shishkov
df226e6369
Remove 'offset' argument from PUTRGB* macros since it's unneeded and caused
...
pixel swapping during some YUV2RGB conversions.
Originally committed as revision 29483 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
Guennadi Liakhovetski
062394e07c
Fix regression when converting to nv12/nv21.
...
Patch by Guennadi Liakhovetski, g D liakhovetski A gmx D de
Originally committed as revision 29464 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
469fd9b0e1
MMX2 scaler: Remove {} block leftover from factorization in initMMX2Scaler().
...
Merge variable declarations to previous {} block and indent.
Originally committed as revision 29454 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
f1c6dfa371
MMX2 scaler: factorize initMMX2Scaler().
...
Originally committed as revision 29453 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
901775c714
MMX2 scaler: add variable to ease factorization of initMMX2Scaler().
...
Originally committed as revision 29452 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 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
571d9587cf
Remove useless code.
...
flags can never be any other kind of scaling algorithm inside this if().
Originally committed as revision 29449 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
Måns Rullgård
a898cdc995
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
...
Originally committed as revision 29439 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Måns Rullgård
78d01adaa7
Remove unnecessary #include <unistd.h>
...
Originally committed as revision 29437 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
804db4466d
Remove unused variables.
...
Originally committed as revision 29435 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
71ed6c8f06
Remove dependency from swscale_internal.h to lavu/internal.h, it is no longer
...
needed for DECLARE_ALIGNED.
Remove dependency from swscale-example.c to swscale_internal.h by duplicating
the necessary code. The duplicated code is a hack and should be removed once a
cleaner pixel format information system exists. swscale-example.c is example
code on how to use the library and therefore shouldn't rely on internal
headers.
Originally committed as revision 29415 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
29ce043374
The AltiVec code in libswscale no longer is under GPL.
...
Remove one erroneous preprocessor check for CONFIG_GPL in the AltiVec code.
Originally committed as revision 29412 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Måns Rullgård
b4b9170234
Use enum PixelFormat in sws_format_name() prototype
...
Originally committed as revision 29409 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
8b1a644177
AltiVec code and runtime cpudetect do not require CONFIG_GPL.
...
Make sure the latter is only checked for x86 optimizations, which are GPL.
Originally committed as revision 29390 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
57f6d52a22
The AltiVec optimizations of libswscale are no longer under GPL.
...
Originally committed as revision 29389 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
e912c13ad7
PPC: Make sure that COMPILE_C is not deactivated if RUNTIME_CPUDETECT is set.
...
Originally committed as revision 29388 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Vitor Sessak
fa8c408b26
Do not call rgb2rgbWrapper() for rgb48*, there is no special converter
...
yet for those formats
Originally committed as revision 29371 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
Diego Biurrun
dc8229015c
Fix compilation: #undef standard library functions that are
...
forbidden within FFmpeg, but allowed in example code.
Originally committed as revision 29354 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Diego Biurrun
02163b799d
Add libavutil/internal.h #include, required for the DECLARE_ALIGNED macro.
...
This fixes swscale-example compilation.
Originally committed as revision 29353 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Stefano Sabatini
532ec28360
Remove '\p' doxygen markup, as it should improve plain text doxy
...
readability.
Originally committed as revision 29351 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Ramiro Polla
c0cf20a24a
Use DECLARE_ALIGNED macro instead of __attribute__((aligned)) for ppc code.
...
Originally committed as revision 29350 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
Pavel Pavlov
92db623584
Use DECLARE_ALIGNED macro instead of gcc __attribute__.
...
Patch by Pavel Pavlov <pavel at summit-tech dot ca>
Originally committed as revision 29348 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago