summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_fspp.c
Commit message (Collapse)AuthorAgeFilesLines
* vf_spp, vf_fspp: replace use of deprecated libav functionmplayer-svn2012-08-031-1/+1
| | | | | | | Replace use of deprecated dsputil_init() by ff_dsputil_init(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34816 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: diego
* vf_fspp: make compile without Libav internalsUoti Urpala2012-01-021-8/+6
| | | | | Make vf_fspp compile without using internal Libav/FFmpeg files and compile it by default.
* cleanup: do libav* initialization on startupUoti Urpala2011-07-181-3/+0
| | | | | | | Do the global initialization of libavcodec and libavformat (avcodec_register_all(), av_register_all()) immediately on program startup and remove the initialization calls from various individual modules that use libavcodec/libavformat functionality.
* cleanup: remove NULL checks before free() all over the codecboesch2010-11-141-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add central init_avcodec() to avoid duplicated libavcodec init codediego2010-11-021-1/+2
| | | | | | | | | | | | | | | | Patch by Vlad Seryakov, vseryakov gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32043 b3059339-0415-0410-9bf9-f77b7e298cf2 Refactor more instances of avcodec_initialized handling into init_avcodec(). This is a leftover from the previous commit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32044 b3059339-0415-0410-9bf9-f77b7e298cf2 Add missing #include for vd_ffmpeg.h; fixes the warning: libmpcodecs/vf_zrmjpeg.c:472: warning: implicit declaration of function 'init_avcodec' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32176 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: "struct vf_instance* vf" -> "struct vf_instance *vf"Uoti Urpala2010-05-291-6/+6
| | | | | | | Change 'struct vf_instance' pointer arguments to more standard style as in the subject. Also some other minor formatting fixes. Patch by Diego Biurrun.
* Merge svn changes up to r30683Uoti Urpala2010-03-101-2/+2
|\
| * Rename open() vf initialization function to vf_open().diego2010-02-211-2/+2
| | | | | | | | | | | | | | This avoids clashes with fcntl.h under certain circumstances. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30680 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30463Uoti Urpala2010-03-091-1/+1
|\| | | | | | | | | | | Note that r30455 is wrong, that commit does not in fact change the default behavior as claimed in the commit message. It only breaks "-af-adv force=0", which was already pretty much useless though.
| * Support more qscale types in most post-processing filters.reimar2010-01-291-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30454 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30419Uoti Urpala2010-01-251-3/+9
|\|
| * Make sure that a qstride of 0 (intentional or not) does not completely breakreimar2010-01-231-3/+9
| | | | | | | | | | | | | | the code (crash if malloc(0) != NULL, otherwise wrong qscales used for B-frames). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30405 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29412Uoti Urpala2009-07-071-2/+2
|\|
| * replace "g" asm constraint by "erm" since "g" allows 64bit immediates whilegpoirier2009-06-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | the operator (cmp) using the "g"-constrained operand doesn't support 64bit immediates. Original thread: date: Tue, Jun 2, 2009 at 11:31 AM subject: [PATCH] Fix MPlayer to compile on Darwin/x86_86 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29352 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-143/+143
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-143/+143
| |
* | Merge svn changes up to r29134Uoti Urpala2009-04-021-5/+0
|\|
| * Remove unnecessary malloc.h #includes and related #ifdeffery.diego2009-04-021-5/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29126 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28641Uoti Urpala2009-02-181-8/+7
|\| | | | | | | | | | | | | | | Convert vo_x11_border (used in vo_gl/gl2 though the vo_gl_border macro) to use a wrapper macro in old-style VOs which do not provide a VO object argument. Before this function had an explicit global_vo argument in vo_gl/gl2. New vo_vdpau uses it too so use the same mechanism as most other functions.
| * Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:diego2009-02-171-1/+1
| | | | | | | | | | | | | | mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Use FFmpeg instead of MPlayer MANGLE macro, they are equivalent in thisdiego2009-02-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | particular case. Avoids the warning: In file included from libmpcodecs/vf_fspp.c:693: ./mangle.h:34:1: warning: "MANGLE" redefined In file included from libmpcodecs/vf_fspp.c:46: ./libavutil/internal.h:113:1: warning: this is the location of the previous definition git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28624 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Move FFmpeg #includes below all others so that they do not overridediego2009-02-171-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | system functions and cause the warning: In file included from libmpcodecs/vf_fspp.c:57: libmpcodecs/mp_image.h: In function 'new_mp_image': libmpcodecs/mp_image.h:214: warning: implicit declaration of function 'please_use_av_malloc' libmpcodecs/mp_image.h: In function 'free_mp_image': libmpcodecs/mp_image.h:226: warning: implicit declaration of function 'please_use_av_free' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28623 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28366Uoti Urpala2009-01-261-0/+4
|\| | | | | | | | | | | | | | | | | Contains more changes needed to sync build system with latest FFmpeg. Conflicts: Makefile configure mplayer.c
| * Fix compilation after DECLARE_ASM_CONST/DECLARE_ALIGNED moving within FFmpeg.diego2009-01-251-0/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28362 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28341Uoti Urpala2009-01-191-7/+7
|\| | | | | | | | | | | Conflicts: configure libmpcodecs/native/rtjpegn.c
| * Lots and lots of #ifdef ARCH_... -> #if ARCH_...reimar2009-01-161-7/+7
| | | | | | | | | | | | | | | | and #ifdef HAVE_MMX etc -> #if HAVE_MMX. There might be still more that need to be fixed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28325 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to 27824Uoti Urpala2008-10-251-8/+8
|\| | | | | | | | | | | | | | | | | | | Conflicts: cfg-common-opts.h libmpcodecs/dec_video.c libmpcodecs/vd.c libvo/x11_common.h mplayer.c stream/cache2.c
| * Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.diego2008-10-161-8/+8
| | | | | | | | | | | | | | Neither variant is valid C99 syntax, but __asm__ is the most portable variant. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r26783Uoti Urpala2008-05-151-17/+19
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile common.mak configure libmpcodecs/vd_ffmpeg.c libmpdemux/demux_mkv.c libvo/vo_xv.c mplayer.c
| * Use standard license headers.diego2008-05-131-17/+19
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26759 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove _s/_st suffix from some struct namesUoti Urpala2008-04-251-6/+6
|/ | | | | Since the names are always used after the keyword "struct" having a suffix as in "struct demuxer_st" is almost completely pointless.
* Do not use a global temps variable, this is ugly and does not compile with ICC.reimar2008-02-241-39/+40
| | | | | | | Place them on the stack instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26084 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless and confusing commentsreimar2008-02-241-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26082 b3059339-0415-0410-9bf9-f77b7e298cf2
* mark constants as suchreimar2008-01-301-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25934 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify: use DECLARE_ASM_CONSTreimar2008-01-301-14/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25933 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix artifacts in -vf fspp. regression in r23476.lorenm2008-01-051-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25596 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make all vf_info_t structs constreimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25249 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing header file, fixes the warnings:diego2007-11-091-0/+1
| | | | | | | | | | | | | In file included from vf_fspp.c:46: ../libavcodec/dsputil.h: In function 'copy_block2': ../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_WN16' ../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_RN16' ../libavcodec/dsputil.h: In function 'copy_block4': ../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_WN32' ../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_RN32' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25004 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove commented-out and unused fmt_list array.diego2007-10-301-17/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24894 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use fast_memcpy for small size copy, esp. when the size is constantreimar2007-06-051-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23476 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-051-6/+6
| | | | | | | for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
* count needs to be evenhenry2006-12-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21594 b3059339-0415-0410-9bf9-f77b7e298cf2
* qp height should be in macroblocks, not pixelshenry2006-11-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20601 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace asmalign.h hack by ASMALIGN cpp macros from config.h.diego2006-08-131-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19378 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unreachable code: this filter can't compile with external libavcodec ↵nicodvb2006-04-171-5/+0
| | | | | | (the Makefile rules prevent it) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18132 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for intel mac. mp3lib is not fixed yet.nplourde2006-04-151-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18105 b3059339-0415-0410-9bf9-f77b7e298cf2
* passing pts through the filter layer (lets see if pts or cola comes out at ↵michael2006-03-211-2/+2
| | | | | | the end) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move conditional compilation out of the code and into the build system.diego2006-01-311-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17524 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update licensing information: The FSF changed postal address.diego2006-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17368 b3059339-0415-0410-9bf9-f77b7e298cf2
* reverse the H264 hackhenry2005-12-191-19/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17226 b3059339-0415-0410-9bf9-f77b7e298cf2
* negative quality values allow postproc regardless of inputhenry2005-12-181-6/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17224 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not postprocess H264henry2005-12-181-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17222 b3059339-0415-0410-9bf9-f77b7e298cf2
* prevent flicker on b-frames, trivial port from vf_spphenry2005-12-071-6/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17134 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.diego2005-11-181-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* use stored dimensions instead of visible one when (vf_)get_image is callediive2005-07-201-2/+2
| | | | | | | let's see where does the cola goes :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16019 b3059339-0415-0410-9bf9-f77b7e298cf2
* sanity checks for options; treat quality > 5 as 5, not 4henry2005-06-051-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15652 b3059339-0415-0410-9bf9-f77b7e298cf2
* x86-64 fixes by Reimarhenry2005-06-041-289/+283
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15635 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable mmx code for x86-64henry2005-06-041-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15634 b3059339-0415-0410-9bf9-f77b7e298cf2
* move unchanged registers back to input spechenry2005-06-041-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15633 b3059339-0415-0410-9bf9-f77b7e298cf2
* faster spp filter by Nikolaj Poroshin <porosh3 at psu ru>henry2005-06-041-0/+2113
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15632 b3059339-0415-0410-9bf9-f77b7e298cf2