Commit Graph

29 Commits

Author SHA1 Message Date
nplourde a3713ceb29 add support for intel mac. mp3lib is not fixed yet.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18105 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-15 20:46:54 +00:00
rathann e7db4ccf1a Patch by Stefan Huehner / stefan % huehner ! org \
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
2006-02-09 14:08:03 +00:00
rfelker eeec580edc small change to field-matching metrics which hopefully makes a big
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
2005-06-14 05:33:34 +00:00
rathann d6f4e11f1c silence gcc warning:
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
2005-04-10 20:01:54 +00:00
rfelker 5b819b022c don't buffer more future context that we need
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14974 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-20 20:37:44 +00:00
rfelker 49ccf0046d 100l, meaning of strict_breaks was backwards...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14970 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-20 20:02:45 +00:00
rfelker 63962cda21 improve handling of soft-telecined input (faster, fewer mistakes)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14952 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-16 03:39:13 +00:00
alex 2ce3fb07a3 added ecx to clobber list
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14621 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-31 11:22:11 +00:00
alex ce8f80028e adding proper parenthesing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14620 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-31 11:21:31 +00:00
aurel 798d2d1337 adapting existing mmx/mmx2/sse/3dnow optimizations so they work on x86_64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13721 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-21 11:55:20 +00:00
rfelker 04ecde13b1 strictness level -1 to 'almost' ignore breaks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13236 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-03 00:08:58 +00:00
rfelker d08eab1eca just some debugging junk i'd like to have in there for now :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13235 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-02 23:51:05 +00:00
rfelker ff86bb362e old changes in my local tree i forgot to commit - minor fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12549 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-10 05:06:34 +00:00
rfelker beb9c6afdc various updates:
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
2003-12-14 01:38:41 +00:00
rfelker 3b6504f723 fixing more stupid mistakes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11632 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-11 17:08:37 +00:00
rfelker 6ffdc2c771 simplified frame decision logic and reduced the occurrance of length=1
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
2003-12-11 07:52:57 +00:00
rfelker 50aa753a23 and remove one stupid debug printf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11628 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-11 05:07:47 +00:00
rfelker acf754f1be allow for different combing metrics to be selected (not useful yet)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11627 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-11 05:06:17 +00:00
rfelker ae72904560 change some hardcoded thresholds to match results of previous 100l bugfix (without the 100000000l this time!)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11626 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-11 05:03:52 +00:00
rfelker b3b439b7cf 100l bug found by Zoli, wasted time and unfairly delocalized the metrics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11625 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-11 04:56:19 +00:00
rathann e1dc488097 Warning fixes (approved by A'rpi).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11413 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-08 00:26:51 +00:00
rfelker c2f9ef8fb2 support for selecting which plane to use for metrics in the pullup
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
2003-09-28 03:37:42 +00:00
rfelker 5485f99b4b 10l, debug code broke compile with mmx disabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10844 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-08 17:12:31 +00:00
rfelker fc253c8c75 more mmx and fix 100l sig11 in the previous mmx commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10748 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 21:12:44 +00:00
rfelker 94b4a47fa4 1000l, mmx code was not being used because of missing config.h, and
the mmx code was broken too! :(


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10742 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 20:36:33 +00:00
rfelker a732a2b6d7 tweaks and cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10739 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 19:56:13 +00:00
rfelker 601dd91dbd 1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10738 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 19:18:21 +00:00
rfelker cfa265212a fix 10l (computation based on uninitialized data which led to
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
2003-08-31 17:46:32 +00:00
rfelker 0a378573a8 pullup -- third generation inverse telecine engine. the backend
(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
2003-08-18 15:24:08 +00:00