Commit Graph

33 Commits

Author SHA1 Message Date
Rudolf Polzer fbf6885395 vf_pullup, vf_yadif: pts handling fixes
vf_pullup: continue to calculate pts after detecting a seek

vf_yadif: add pts calculation for the one-frame-becomes-two mode
          (-vf yadif=1)
2011-06-24 22:31:44 +03:00
Rudolf Polzer 994b21a80a vf_*: fix pts values passed to the next filter
Many video filters failed to calculate or even just pass through pts
values for their output frames. Fix this, and also make the two
remaining filters that called vf_next_put_image() twice for the same
input frame (vf_softpulldown, vf_telecine) use vf_queue_frame() so
that e.g. framestepping properly sees both frames.

Changed filters: vf_bmovl, vf_detc, vf_divtc, vf_filmdint, vf_ivtc,
vf_lavc, vf_phase, vf_pullup, vf_softpulldown, vf_telecine, vf_tile,
vf_tinterlace.
2011-04-24 03:55:47 +03:00
Uoti Urpala 1888e57af7 cosmetics: "struct vf_instance* vf" -> "struct vf_instance *vf"
Change 'struct vf_instance' pointer arguments to more standard style
as in the subject. Also some other minor formatting fixes.

Patch by Diego Biurrun.
2010-05-29 17:20:44 +03:00
Uoti Urpala 5099b1458d Merge svn changes up to r30683 2010-03-10 00:52:17 +02:00
Uoti Urpala b0986b3760 Merge svn changes up to r30463
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.
2010-03-09 18:59:15 +02:00
diego 28cf6ea2be Rename open() vf initialization function to vf_open().
This avoids clashes with fcntl.h under certain circumstances.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30680 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-21 13:40:49 +00:00
diego 8ba6b4eaf9 cosmetics: Remove pointless empty lines at EOF.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30675 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-20 21:02:49 +00:00
diego 23db422c3d Add missing license headers to all files in the libmpcodecs directory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 16:57:40 +00:00
Uoti Urpala 0eb321bf2c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
diego 6e9cbdc104 whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
Uoti Urpala 0e757bf9da Remove _s/_st suffix from some struct names
Since the names are always used after the keyword "struct" having a
suffix as in "struct demuxer_st" is almost completely pointless.
2008-04-25 03:34:22 +03:00
cehoyos 2fdfd41cb5 Fix typo.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25992 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-13 19:21:39 +00:00
reimar b95c80ca86 Make all vf_info_t structs const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25249 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:57:15 +00:00
rfelker ca60f3fe0f const fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24999 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 12:52:50 +00:00
rfelker 6ae8dd0e1d ack, can't believe i wrote this crap with void pointer arithmetic
gimme some cola!!!

since the code was disabled and tests had shown it was slower,
i'm just removing it rather than fixing it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24998 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 12:51:43 +00:00
diego 65a43f35ed Disable buggy unused function via #if 0, blessed by Rich.
Fixes warning:
vf_pullup.c: At top level:
vf_pullup.c:82: warning: 'get_image' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24623 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-26 22:48:59 +00:00
reimar ad164e04ee Get rid of my_memcpy_pic code duplication in many filters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23686 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-28 11:24:12 +00:00
reimar 6a09e8e2ed Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:27:54 +00:00
michael 02b199e5e9 passing pts through the filter layer (lets see if pts or cola comes out at the end)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-21 21:26:42 +00:00
diego 36e1974be0 Unify include path handling, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:39:25 +00:00
rfelker acbb150f8e 1l! mplayer's verbose variable is not a flag but a signed number
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15038 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-01 16:24:46 +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 5b9cc97d04 direct rendering support drastically improves speed, but it's buggy. :( disabled for now...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14971 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-20 20:03:41 +00:00
rfelker 13b184f35a 1000l to me: could break a/v sync and eventually cause buffer exhaustion on soft-telecined input that's ugly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14955 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-17 00:43:55 +00:00
rfelker 49a7110b03 pullup docs + new feature for slow cpus :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13268 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-06 21:25:59 +00:00
rfelker be7eef3827 configurable 'junk' borders for pullup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12550 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-10 05:20:50 +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 044d00c1db pass quantizer tables through (averaging values when fields come from
different source frames -- is there a better way?) so that
postprocessing can be used afterwards.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11630 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-11 16:07:14 +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 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 0c079bc2df direct render frames whose fields are not in a common buffer, rather
than repacking them together and exporting. slight performance boost.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10774 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-01 02:54:06 +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 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