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
Stefano Sabatini
2e0a80a128
Document sws_freeContext().
...
Originally committed as revision 29844 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Stefano Sabatini
a520e9f235
Document slice ordering assumption done by sws_scale().
...
Originally committed as revision 29804 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
Ramiro Polla
749fac310c
Reset slice direction at end of each frame.
...
Originally committed as revision 29675 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
9451b59fc6
Remove ; after while(0) in macros.
...
Originally committed as revision 29674 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
30715d4273
Document that slices can be bottom to top or top to bottom.
...
Originally committed as revision 29665 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
7d73d1c336
Indent.
...
Originally committed as revision 29654 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
9cf484d06e
Rename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and label
...
parameters.
Originally committed as revision 29652 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
c2613a3137
Indent.
...
Originally committed as revision 29651 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
67c2c5bb2e
Curly brackets cosmetics for previous commit.
...
Originally committed as revision 29587 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
1ddb5747df
Check for return value of initFilter().
...
Originally committed as revision 29586 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
dd653355fa
Revert mistakenly commited hunk.
...
Originally committed as revision 29585 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
7248797c03
swscale: Check for return values of malloc.
...
Originally committed as revision 29584 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
111641a97a
swscale-example: Free memory used by input data.
...
Originally committed as revision 29583 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
0607b09069
Restore comment that was partially removed.
...
Originally committed as revision 29582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
89fb9516af
swscale-example: Rename src->ref so as to not confuse with src being used in doTest().
...
Originally committed as revision 29548 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
7da35acdab
swscale-example: Use SWS_BILINEAR instead of hardcoded value.
...
Originally committed as revision 29547 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
a48ce2c3a7
Fix inconsistent indentation.
...
Originally committed as revision 29545 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
1b03a9d607
Check return values of sws_allocVec() and sws_getConstVec().
...
Originally committed as revision 29543 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Reimar Döffinger
64d39b7c76
Free initial swscale context, too. Avoids a valgrind warning.
...
Originally committed as revision 29538 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Reimar Döffinger
7b67bd92f4
Remove useless casts of malloc return value.
...
Originally committed as revision 29537 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
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