summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale-example.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove libswscale directory in MPlayer sourcesUoti Urpala2009-07-261-231/+0
| | | | libswscale will be used through FFmpeg.
* Remove dependency from swscale_internal.h to lavu/internal.h, it is no longerramiro2009-07-091-6/+10
| | | | | | | | | | | | 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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29415 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation: #undef standard library functions that arediego2009-06-111-0/+6
| | | | | | | forbidden within FFmpeg, but allowed in example code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29354 b3059339-0415-0410-9bf9-f77b7e298cf2
* Testing RGB48 variants requires bigger stride in swscale-example.ckostya2009-06-021-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29343 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use correct PRId64 instead of "lld" in printf string, fixes compiler warnings.reimar2009-03-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29107 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initialize pointer arrays which may be freed before being initialized.benoit2009-03-201-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29017 b3059339-0415-0410-9bf9-f77b7e298cf2
* Also test the alpha channel in swscale-examplesdrik2009-03-201-19/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29013 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initialize *srcContext, *dstContext, *outContext to NULL, avoids the warnings:diego2009-03-191-2/+2
| | | | | | | | | 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()ramiro2009-03-181-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28993 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary emms Assembler instructions.diego2009-02-101-9/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28518 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert #undefining system functions, it is not necessary.diego2009-02-091-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28502 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add config.h #include for ARCH_X86 definition.diego2009-02-091-0/+1
| | | | 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 otherdiego2009-02-091-0/+7
| | | | | | | 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_*.aurel2009-01-141-2/+2
| | | | | | | 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.michael2008-10-271-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27835 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert asm keyword into __asm__.flameeyes2008-10-161-2/+2
| | | | | | | | | | | | | | 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.diego2008-09-291-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27673 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: indentationdiego2008-09-291-6/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27672 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert mistakenly committed hunk.michael2008-09-291-1/+1
| | | | 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.michael2008-09-291-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27670 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add fflush to prevent stdout & stderr from being mixed.michael2008-09-041-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27515 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use full path for #includes from another directory.diego2008-05-091-1/+1
| | | | 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.diego2008-04-131-8/+8
| | | | 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).benoit2008-01-171-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25780 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some useless parentheses.benoit2008-01-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25779 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove non cosmetic spaces inside parentheses.benoit2008-01-171-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25777 b3059339-0415-0410-9bf9-f77b7e298cf2
* license header consistency cosmeticsdiego2007-07-051-1/+1
| | | | 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.diego2007-04-291-153/+153
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23173 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove trailing whitespace.diego2007-04-261-15/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23147 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove large automatics from stack.diego2007-04-261-3/+3
| | | | | | | 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.diego2006-11-011-3/+3
| | | | 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'.diego2006-10-071-16/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20100 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warnings:diego2006-10-041-0/+2
| | | | | | | | 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 possiblelucabe2006-09-241-39/+44
| | | | | | | 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.hlucabe2006-09-171-20/+26
| | | | 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.diego2006-08-181-1/+1
| | | | 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 treelucabe2006-07-201-7/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19148 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move postproc ---> libswscalelucabe2006-06-301-0/+216
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2