Commit Graph

50 Commits

Author SHA1 Message Date
mplayer-svn b615b66322 vf_yadif: fix green bottom line
Fix green bottom line on yadif with certain parity.

This implementation of the filter method needs a padding,
that mplayer allocates but never fills with data.
Do the padding properly and tweak the height alignment to
even number of lines, instead of rounding to 32.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34691 b3059339-0415-0410-9bf9-f77b7e298cf2
Author: iive
2012-08-03 01:46:43 +02:00
Diego Biurrun 017c173d74 configure: Remove checks for default inline asm features
Remove checks for compiler support of >= 10 assembler operands and
named assembler arguments. Just assume the features are always
available. These features were only missing from obsolete GCC versions
which are not supported any more.
2011-06-28 19:04:22 +03:00
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
Clément Bœsch 52743acba3 cleanup: avoid various GCC warnings 2011-04-20 04:22:53 +03:00
Clément Bœsch 83f37b54de cleanup: remove unused MEncoder-related code
Remove some code and variables that were no longer used after MEncoder
removal. Also remove some MEncoder references in comments.
2011-01-25 02:29:31 +02:00
cehoyos ee77268087 vf_yadif: modify asm to make compile with clang
Explicit wordlength for compare. Fixes compile with clang.

Patch by İsmail Dönmez, ismail namtrac org

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32437 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:18:08 +02: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
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
Uoti Urpala fa7983b236 vf: Remove unused VFCTRL_FLIP_PAGE
Nothing uses it under MPlayer any more, and under MEncoder it never
had any effect.
2009-10-21 07:35:22 +03:00
Uoti Urpala d136cf6882 Merge svn changes up to r29134 2009-04-02 23:55:13 +03:00
diego 2e903f7c75 Remove unnecessary malloc.h #includes and related #ifdeffery.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29126 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-02 09:20:48 +00:00
Uoti Urpala cf9edda1d3 Merge svn changes up to r29117 2009-04-01 02:43:47 +03:00
reimar 255bca1ecd Use x86_reg instead of long in several video filters to fix compilation on MinGW64.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29077 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-27 20:34:55 +00:00
Uoti Urpala 186e5a998c Merge svn changes up to r28641
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.
2009-02-18 01:45:36 +02:00
diego be8c67909b Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:
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
2009-02-17 11:16:19 +00:00
Uoti Urpala 79e1aa7cc7 Merge svn changes up to r28341
Conflicts:
	configure
	libmpcodecs/native/rtjpegn.c
2009-01-19 00:04:43 +02:00
reimar 97df2f9162 More #ifdef HAVE_MMX etc. missed by earlier search.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28327 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-16 09:32:54 +00:00
Uoti Urpala 38a76f7fdf core: Better -nocorrect-pts pause and filter-added frames handling
Rewrite the -nocorrect-pts frame creation code. The new version always
updates the visible frame when seeking while pausing, and supports
filter-added frames. It can not time those properly though.

Now the handling of filter-added frames in MPlayer always uses the new
method independently of the value of correct-pts but MEncoder still
expects the old behavior. Add a global variable that is set under
MEncoder only and change the filters to choose behavior based on that
instead of the correct_pts option.
2009-01-14 03:42:05 +02:00
reimar 5904de25e3 Avoid flickering OSD with -vf yadif=1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28209 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-30 10:38:29 +00:00
Uoti Urpala e46ce9c0ac Merge svn changes up to r27899 2008-11-06 20:41:40 +02:00
reimar 7a3fc5ad5a Use libavutil FFMIN etc. instead of defining our own variants.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27878 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-02 15:51:00 +00:00
Uoti Urpala 0301309425 Merge svn changes up to 27824
Conflicts:
	cfg-common-opts.h
	libmpcodecs/dec_video.c
	libmpcodecs/vd.c
	libvo/x11_common.h
	mplayer.c
	stream/cache2.c
2008-10-25 05:12:34 +03:00
diego 6b52a2e974 Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
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
2008-10-16 18:59:27 +00:00
Uoti Urpala a41db36b22 Merge svn changes up to r26783
Conflicts:

	Makefile
	common.mak
	configure
	libmpcodecs/vd_ffmpeg.c
	libmpdemux/demux_mkv.c
	libvo/vo_xv.c
	mplayer.c
2008-05-15 21:19:35 +03:00
diego 47ef593617 Use standard license headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26759 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-13 10:16:20 +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
Uoti Urpala 9b06b5ed85 Move correct_pts to options struct 2008-04-23 13:41:05 +03: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
reimar 5d02058b47 Do not use fast_memcpy for small size copy, esp. when the size is constant
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23476 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 15:09:49 +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
diego 5edd9af248 Remove some unused variables, patch by timwoj ieee org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 08:42:35 +00:00
michael b831716dbd 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22135 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 03:05:46 +00:00
michael 339929d765 skip first (green) frame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22134 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 00:46:53 +00:00
gpoirier dbbe73116c allows to de- and reactivate yadif on the fly
Patch by Carl Eugen Hoyos % cehoyos A rainbow P studorg P tuwien P ac P at %
Original thread:
date: Nov 17, 2006 7:38 PM	 
subject: [MPlayer-dev-eng] De- and reactivate yadif


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21076 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-19 19:17:51 +00:00
gpoirier 864a6c9f20 Compile fix for odd versions of binutils, namely the ones in Fedora.
Patch by Reimar
Original thread:
Date: Oct 1, 2006 4:42 PM
Subject: Re: [MPlayer-dev-eng] vf_yadif.c: fix for (probably) older binutils


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20016 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-01 19:51:04 +00:00
reimar 067c55bb46 Add forgotten emms which caused weird bugs like nan pts values.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19948 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-23 09:18:20 +00:00
reimar 9c4bdf068e Fix compilation if HAVE_MMX is defined but NAMED_ASM_ARGS isn't
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19929 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-22 09:33:30 +00:00
diego 33832856df Replace preprocessor hacks to work around compilers not supporting named
assembler arguments with a proper configure check.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-18 16:48:50 +00:00
lorenm 44a1a8ecb7 mmx implementation of yadif. 3.5x faster.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19836 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-14 04:00:49 +00:00
lorenm 4b28d2e4d4 cosmetics (indentation)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19835 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-14 03:59:48 +00:00
lorenm b30e300dca cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19834 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-14 03:59:28 +00:00
uau e2727ec797 Add a new video pts tracking mode, enabled by option -correct-pts.
This mode has the following differences:
- Video timing is correct for streams with B frames, at least with some
  demuxers.
- Video filters can modify frame timestamps and insert new frames, and
  removing frames is handled better than before.
- Some things are known to break, it's not usable as the default yet.

Things should work as before when the -correct-pts option is not used.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18922 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-06 06:58:17 +00:00
michael 790e5ae5b4 better spatial interpolation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18658 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-09 10:29:35 +00:00
michael e4c69a6919 make spatial interlacing check optional
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18627 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 17:21:45 +00:00
michael 81d95fdb6d simplify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18626 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 16:46:52 +00:00
michael b13029335f cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18624 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 14:43:34 +00:00
michael fd77a846b8 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18622 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 13:39:06 +00:00
michael 0cc1188993 simplify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18611 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-06 23:42:33 +00:00
michael 36e4ad3058 yet another deinterlacing filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18609 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-06 23:30:23 +00:00