1
mirror of https://github.com/mpv-player/mpv synced 2024-11-07 01:47:00 +01:00
Commit Graph

46 Commits

Author SHA1 Message Date
Uoti Urpala
0885f4e5b5 Move vf_settings to options struct 2008-04-26 01:19:29 +03: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
0d59f81e54 Add option pointer to vf struct 2008-04-23 13:41:05 +03:00
diego
db85806a9c Add necessary header #includes to fix 'make checkheaders'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26179 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-06 08:34:50 +00:00
diego
8efb2fa21c Add MPLAYER_ prefix to multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-22 09:09:46 +00:00
diego
2b6af2000b Add multiple inclusion guards to all header files that lack them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 21:35:58 +00:00
reimar
eff331a805 vf_equalizer_t string is constant
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25251 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 15:22:06 +00:00
rfelker
549d3be0c7 stage 1 of applying const to vf structs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24996 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-09 06:57:24 +00:00
diego
60a8769850 Remove long-deprecated -vop option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21446 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-02 17:32:53 +00:00
uau
bd1989db0e Fix incorrect function pointer definition.
No call was made using this prototype directly so this just fixes
compiler warnings.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21179 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-22 19:33:30 +00:00
reimar
7b25afd742 Add deinterlace property, patch by Carl Eugen Hoyos
(cehoyos [at] rainbow studorg tuwien ac at) with small modifications
by me.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20989 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-17 18:16:21 +00:00
uau
45200bc6df Use vf control for reading pts from vf_vo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20922 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-14 14:02:55 +00:00
eugeni
2ddfdc85b3 Add VFCTRL_DRAW_EOSD.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19527 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-24 22:10:43 +00:00
reynaldo
4728357b58 Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18985 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-09 17:45:36 +00:00
eugeni
e15ae9a600 Initial libass release (without mencoder support).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18942 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-07 18:26:51 +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
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
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
henry
b88ca0cd1a screenshot filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16447 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-11 06:42:32 +00:00
henry
18abbb69a1 fixes for encoding of multiple files
- do not uninitialize video encoder between files
- checks for image size & format change moved from mencoder.c to vfilters

by Oded Shimon <ods15@ods15.dyndns.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14879 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 20:21:58 +00:00
reimar
c632e897a8 add the flip filter at the end of the filter chain.
Fixes -vf pp -flip and the flip option in the Gui.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14184 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-18 14:06:35 +00:00
henry
5caa6d592b fix image dimensions at filter config time
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14074 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-01 09:30:11 +00:00
iive
e5b4b495c3 add new control message, that is send after end of stream, to flush all remaining frames in the video system
required by xvid4 encoder.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13594 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-09 13:07:18 +00:00
rfelker
46ca153401 soft skipping for mencoder. rather than skipping decoding/filtering
frames that will be skipped, mencoded tells vf_softskip (if present)
that it should drop the next frame. this allows filters that need to
see every input frame (inverse telecine, denoise3d, ...) to see
skipped frames before they get dropped.

in principle, a smarter softskip filter could be written that would
buffer frames and choose to drop the one with least change, rather
than strictly dropping the next one.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12338 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-28 04:29:17 +00:00
rfelker
a02009a05a forgot this, needed for vf_harddup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12336 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-28 04:07:07 +00:00
rfelker
8b0fe12840 fix segfaults with slices. support slice rendering into a filter even
when the following filter/vo doesn't support slices. also use unified
vf->dmpi rather than having vf->priv->dmpi duplicated in every filter.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10141 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-20 17:42:33 +00:00
rfelker
63df4eb781 sort of a hack, but at least this lets the framerate-increasing
filters work in mplayer, albeit without proper timing...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10053 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-03 05:59:29 +00:00
michael
f0626e2f8d vf_clone_mpi_attributes()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9935 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-19 02:48:53 +00:00
albeu
33b62af947 Add the new -vf option wich is the same as vop in reverse order.
Syntax is we decided, so you can give the nomes or not with both
vop and vf. vf take precedence over vop.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9594 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-15 18:01:02 +00:00
arpi
0020d4b05c start_slice() added - similar to get_image(), but is called when using slices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9491 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-23 20:40:21 +00:00
arpi
ceb31765ba Fix draw_slice() in passthrough mode.
patch by Balatoni Denes <pnis@coder.hu>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8368 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-05 00:22:37 +00:00
arpi
c7944423a3 changing return type of put_image void->int
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7369 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-10 22:18:32 +00:00
arpi
d8edb8566c warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7221 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-01 14:30:55 +00:00
kmkaplan
74b1680abf Add the control VFCTRL_CHANGE_RECTANGLE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6887 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-04 02:19:20 +00:00
arpi
60d27c02ed ... removed from vf's control(), sing struct for equalizer. based on patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6833 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-28 21:30:09 +00:00
alex
2de7e08811 equalizer reworked
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6781 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-24 18:14:21 +00:00
arpi
e9d0a1d609 -vop help, patch by Julian J. M. <bandit@telecable.es>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6082 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-13 21:05:03 +00:00
arpi
a06d814fb9 filters uninit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5738 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-20 22:24:19 +00:00
arpi
588dd085f4 mpi clear func
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5662 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-17 19:05:14 +00:00
arpi
ad94b5e132 OSD handled by vf control()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5644 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-15 22:41:28 +00:00
arpi
39e3a780ce capabilities support -> automatic insertion of scale, expand, pp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5566 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-11 20:56:17 +00:00
arpi
804c9adfe3 VFCAP flags added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5563 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-11 15:41:40 +00:00
arpi
4d865e3f47 encoders
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5551 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-10 23:23:36 +00:00
arpi
0c93924494 vf control codes added, autoq support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5520 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-07 17:42:31 +00:00
arpi
1d63493c0f vf_next_uninit was Wrong Thing - thx to Fredrik Kuivinen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5509 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-06 22:46:20 +00:00
arpi
e24cd4d942 video filter layer - written from scratch, but inspired a lot by Fredrik Kuivinen's patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5508 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-06 22:05:01 +00:00