aboutsummaryrefslogtreecommitdiffhomepage
path: root/libswscale/swscale-example.c
Commit message (Collapse)AuthorAge
* Initialize pointer arrays which may be freed before being initialized.Gravatar benoit2009-03-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29017 b3059339-0415-0410-9bf9-f77b7e298cf2
* Also test the alpha channel in swscale-exampleGravatar sdrik2009-03-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29013 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initialize *srcContext, *dstContext, *outContext to NULL, avoids the warnings:Gravatar diego2009-03-19
| | | | | | | | | libswscale/swscale-example.c:60: warning: 'outContext' may be used uninitialized in this function libswscale/swscale-example.c:60: warning: 'dstContext' may be used uninitialized in this function libswscale/swscale-example.c:60: warning: 'srcContext' may be used uninitialized in this function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29008 b3059339-0415-0410-9bf9-f77b7e298cf2
* swscale-example: use LFG instead of random()Gravatar ramiro2009-03-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28993 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary emms Assembler instructions.Gravatar diego2009-02-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28518 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert #undefining system functions, it is not necessary.Gravatar diego2009-02-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28502 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add config.h #include for ARCH_X86 definition.Gravatar diego2009-02-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28500 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add #undefs to reenable system functions that are normally forbidden in otherGravatar diego2009-02-09
| | | | | | | parts of FFmpeg but OK in this test program. Fixes the build. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28499 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Gravatar aurel2009-01-14
| | | | | | | They are now always defined to either 0 or 1. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28311 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove rgb2rgb.h dependancy.Gravatar michael2008-10-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27835 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert asm keyword into __asm__.Gravatar flameeyes2008-10-16
| | | | | | | | | | | | | | Neither the asm() nor the __asm__() keyword is part of the C99 standard, but while GCC accepts the former in C89 syntax, it is not accepted in C99 unless GNU extensions are turned on (with -fasm). The latter form is accepted in any syntax as an extension (without requiring further command-line options). Sun Studio C99 compiler also does not accept asm() while accepting __asm__(), albeit reporting warnings that it's not valid C99 syntax. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27778 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused function fast_memcpy.Gravatar diego2008-09-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27673 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: indentationGravatar diego2008-09-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27672 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert mistakenly committed hunk.Gravatar michael2008-09-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27671 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print all cases that are tested, not just the ones that are bad.Gravatar michael2008-09-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27670 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add fflush to prevent stdout & stderr from being mixed.Gravatar michael2008-09-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27515 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use full path for #includes from another directory.Gravatar diego2008-05-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26702 b3059339-0415-0410-9bf9-f77b7e298cf2
* Relicense test/example files as LGPL with Michael's permission.Gravatar diego2008-04-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26429 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change (a == NULL) condition to (!a) and (a != NULL) condition to (a).Gravatar benoit2008-01-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25780 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some useless parentheses.Gravatar benoit2008-01-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25779 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove non cosmetic spaces inside parentheses.Gravatar benoit2008-01-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25777 b3059339-0415-0410-9bf9-f77b7e298cf2
* license header consistency cosmeticsGravatar diego2007-07-05
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23722 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics attack, part II: Remove all tabs and prettyprint/reindent the code.Gravatar diego2007-04-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23173 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove trailing whitespace.Gravatar diego2007-04-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23147 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove large automatics from stack.Gravatar diego2007-04-26
| | | | | | | patch by Marc Hoffman, mmh pleasantst com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23117 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use common define for x86_32 and x86_64.Gravatar diego2006-11-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20592 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change license headers to say 'FFmpeg' instead of 'this program'.Gravatar diego2006-10-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20100 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warnings:Gravatar diego2006-10-04
| | | | | | | | swscale-example.c:87: warning: implicit declaration of function 'sws_format_name' swscale-example.c:214: warning: implicit declaration of function 'sws_rgb2rgb_init' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20037 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improve swscale-example to test conversions between all the possibleGravatar lucabe2006-09-24
| | | | | | | pixel formats git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19965 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove the dependency of libswscale on img_format.hGravatar lucabe2006-09-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19878 b3059339-0415-0410-9bf9-f77b7e298cf2
* Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.Gravatar diego2006-08-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19437 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use libavutil in libswscale, and allow it to be built out of the mplayer treeGravatar lucabe2006-07-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19148 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move postproc ---> libswscaleGravatar lucabe2006-06-30
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2