summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/pullup.c
Commit message (Collapse)AuthorAgeFilesLines
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-23/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Lots and lots of #ifdef ARCH_... -> #if ARCH_...reimar2009-01-161-4/+4
| | | | | | | | 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
* Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.diego2008-10-161-3/+3
| | | | | | | 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
* #include config.h before all other headers.diego2008-03-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a check for c->head being NULL in pullup_free_context().gpoirier2007-09-081-0/+1
| | | | | | | | | | | This fixes crashes when an invalid filter chain is built Patch by Alexander Strange % astrange A ithinksw P com % Original thread: date: Sep 7, 2007 8:47 PM subject: [MPlayer-dev-eng] [PATCH] crash in pullup with invalid filters git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24370 b3059339-0415-0410-9bf9-f77b7e298cf2
* warnig fix (blessed by Rich):diego2007-09-041-1/+1
| | | | | | | pullup.c:223: warning: 'qpcomb_y' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24339 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-08-251-1/+0
| | | | | | | | pullup.c: In function 'decide_frame_length': pullup.c:569: warning: unused variable 'f3' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24196 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix AMD64 support, patch by Reimar Doffingergpoirier2006-11-171-24/+25
| | | | | | | | | Original thread: subject: Re: [MEncoder-users] pullup filter segfaults on amd66 date: Nov 13, 2006 4:07 PM git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20977 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables, patch by Stefan Huehner, stefan ##at## huehner org.diego2006-07-091-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18981 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of unneeded alignnplourde2006-04-241-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18264 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for intel mac. mp3lib is not fixed yet.nplourde2006-04-151-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18105 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* small change to field-matching metrics which hopefully makes a bigrfelker2005-06-141-7/+88
| | | | | | | | | | | | | | | improvement to results. inter-field comparison is now counterbalanced with intra-field total (vertical) variation. this means that areas of extreme high frequency content, which become aliased within individual fields, will not interfere with field matching. examples: white noise effects, small kanji, very small latin text, ... may still need tweaking. please report regressions. this change will likely be made optional in the future (right now it's enclosed in "if (1)"... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15722 b3059339-0415-0410-9bf9-f77b7e298cf2
* silence gcc warning:rathann2005-04-101-2/+2
| | | | | | | | | pullup.c:681: warning: suggest parentheses around + or - inside shift pullup.c:682: warning: suggest parentheses around + or - inside shift approved by Rich git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15112 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't buffer more future context that we needrfelker2005-03-201-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14974 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, meaning of strict_breaks was backwards...rfelker2005-03-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14970 b3059339-0415-0410-9bf9-f77b7e298cf2
* improve handling of soft-telecined input (faster, fewer mistakes)rfelker2005-03-161-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14952 b3059339-0415-0410-9bf9-f77b7e298cf2
* added ecx to clobber listalex2005-01-311-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14621 b3059339-0415-0410-9bf9-f77b7e298cf2
* adding proper parenthesingalex2005-01-311-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14620 b3059339-0415-0410-9bf9-f77b7e298cf2
* adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64aurel2004-10-211-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13721 b3059339-0415-0410-9bf9-f77b7e298cf2
* strictness level -1 to 'almost' ignore breaksrfelker2004-09-031-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13236 b3059339-0415-0410-9bf9-f77b7e298cf2
* just some debugging junk i'd like to have in there for now :)rfelker2004-09-021-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13235 b3059339-0415-0410-9bf9-f77b7e298cf2
* old changes in my local tree i forgot to commit - minor fixesrfelker2004-06-101-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12549 b3059339-0415-0410-9bf9-f77b7e298cf2
* various updates:rfelker2003-12-141-16/+10
| | | | | | | | | | | simplify logic eliminate stupid alternative affinity calculations (gave bad results) favor output of clean duration-3 over duration-2 plus broken-1 (will give a more steady 3:2 pattern during telecine, w/ no quality loss) options to adjust strictness of tests (but no way to set them presently :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11642 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing more stupid mistakesrfelker2003-12-111-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11632 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplified frame decision logic and reduced the occurrance of length=1rfelker2003-12-111-37/+47
| | | | | | | | frames in output. this will make it easier for the caller to do timing or framerate regulation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11629 b3059339-0415-0410-9bf9-f77b7e298cf2
* and remove one stupid debug printfrfelker2003-12-111-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11628 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow for different combing metrics to be selected (not useful yet)rfelker2003-12-111-10/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11627 b3059339-0415-0410-9bf9-f77b7e298cf2
* change some hardcoded thresholds to match results of previous 100l bugfix ↵rfelker2003-12-111-2/+2
| | | | | | (without the 100000000l this time!) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11626 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l bug found by Zoli, wasted time and unfairly delocalized the metricsrfelker2003-12-111-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11625 b3059339-0415-0410-9bf9-f77b7e298cf2
* Warning fixes (approved by A'rpi).rathann2003-11-081-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11413 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for selecting which plane to use for metrics in the pulluprfelker2003-09-281-8/+10
| | | | | | | | core (one of the chroma planes could be used for much lower cpu load at the expense of some accuracy) and turning off verbose mode. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10957 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, debug code broke compile with mmx disabledrfelker2003-09-081-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10844 b3059339-0415-0410-9bf9-f77b7e298cf2
* more mmx and fix 100l sig11 in the previous mmx commitrfelker2003-08-311-3/+104
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10748 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l, mmx code was not being used because of missing config.h, andrfelker2003-08-311-13/+11
| | | | | | | the mmx code was broken too! :( git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10742 b3059339-0415-0410-9bf9-f77b7e298cf2
* tweaks and cleanuprfelker2003-08-311-9/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10739 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000lrfelker2003-08-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10738 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix 10l (computation based on uninitialized data which led torfelker2003-08-311-9/+23
| | | | | | | | | incorrect field matching) and greatly improve selection logic. the pullup core should be very accurate now, so try throwing tough samples at it and report any failures! :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10731 b3059339-0415-0410-9bf9-f77b7e298cf2
* pullup -- third generation inverse telecine engine. the backendrfelker2003-08-181-0/+567
(pullup.[ch]) is not mplayer-specific and is designed to work well with g2; vf_pullup.c is the g1 wrapper. see man page for details, and keep in mind, this is a work in progress. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10665 b3059339-0415-0410-9bf9-f77b7e298cf2