Commit Graph

126 Commits

Author SHA1 Message Date
reynaldo b4c74fb28e Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT chello DOT hu with LOTS of modifications by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18005 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-31 00:15:47 +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
nicodvb 81472a14a7 compile in the filters that depend on libavcodec/dsputil.h only when mplayer is configured to use the imported libavcodec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17883 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-16 21:56:24 +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
diego 65f186f4d0 proper support for shared libpostproc
patch by Nico Sabbi, fixes and consistency cleanups by me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17464 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-22 18:11:35 +00:00
rathann 2601de4120 massive attack: mp_msg printf format fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-12 20:04:36 +00:00
henry 1162939b3a do not set the flag when config failed
patch by Mikulas Patocka (mikulas at artax karlin mff cuni cz)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17199 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-16 18:32:58 +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
michael e9cfe4b5f6 ultra simple&slow pp filter, yes yet another spp like filter :)
this one does actually compress&decompress the video at various shifts with lavc while the other spp filters are doing optimized intra only filtering
limitations:
mpeg4 is hardcoded, all options too, pretty trivial to change though, even filtering with non dct codecs like snow could be tried ...
the qscale/qp is only taken fron the first MB of each image and then used for the whole image (would needs some small changes to lavc to let the user set the qscales for the mbs themselfs but iam to lazy ...)
this needs ALOT of cpu time and memory especially at uspp=8 ...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16947 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-08 13:15:19 +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
michael 4d802fb026 pp7 filter (spp=6 filter with 7 point dct where only the center sample is used after idct)
these differences from spp lead to a few nice symmetries which significantly reduce the computational cost
almost not mmx optimized (iam lazy ...)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15945 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-09 07:49:51 +00:00
henry 7d260263bc forgotten reference to remove-logo, 10l for Rich
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15698 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-08 15:29:26 +00:00
henry 382a3ab95b faster spp filter by Nikolaj Poroshin <porosh3 at psu ru>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15632 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-04 07:05:02 +00:00
henry 893a48026e missing return statement (1e5l for me)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14931 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-08 22:11:49 +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
syrjala c260a1139d Improved NV12/NV21 support.
- Fixed PlanarToNV12Wrapper() and made it handle NV21.
- Added yuv2nv12XinC() to handle software scaling.
- Added NV12/NV21 handling to various places.
- Removed NV12 from vf_hue and vf_spp as they don't look like they can
  actually handle it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14716 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-16 23:47:00 +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
nplourde 4e8aa8f506 Big Endian fix. Patch by Romain Dolbeau
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12516 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-31 15:07:58 +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 1b253f931b "hard" frame duplication for mencoder. this finally makes it possible
to generate valid mpeg output from avi's that have duplicate frames in
them, or when using inverse telecine filters. to use it, put the
"harddup" filter at the end of your filter chain.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12335 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-28 04:02:46 +00:00
rfelker 6b373e4077 New filter by Ville Saari (114263 at foo dot bar dot org)
for removing duplicate frames from telecined video that was
incorrectly deinterlaced. Minor bugfixes added by me.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12226 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-17 17:08:31 +00:00
rfelker 9721b82d2d vf_phase filter by Ville Saari (114263 at foo dot bar dot org)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12082 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-29 04:39:04 +00:00
henry 9a1ec976ec fix compilation without libavcodec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11999 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-26 14:41:42 +00:00
joey 7a09069daf new filter: vf_noformat.
like vf_format, but in reverse.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11928 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-06 20:31:57 +00:00
michael 9094281ecf qp change filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11922 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-05 15:56:05 +00:00
michael 4fd6abadcf rgb test pattern generator, so we could change everything to match alex's definition of rgb/bgr
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11895 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-30 17:38:15 +00:00
ranma c52bb43307 kerndeint adaptive deinterlacer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11870 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-29 09:50:17 +00:00
rik fe0b80deee vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
colorspace input supported  for now. Autocropping is also not implemented.

Example usage: mplayer -vo zr2 -vf zrmjpeg foo.avi.

vf_zrmjpeg and vo_zr2 should obsolete vo_zr and libvo/jpeg_enc.c in the future.
Problem is that it needs some paramters of the zoran card (max resolution), for
now the user needs to tell vf_zrmjpeg those parameters (which is stupid,
because zrmjpeg should be able to query vo_zr2 for that information....) The
filter currently uses code which is also present in libvo/jpeg_enc.c, in the
future the (then enhanced) ffmpeg mjpeg encoder should/will be used.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11663 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-19 22:15:37 +00:00
alex a5c024156d Yet another inverse telecine filter by Zoltan Hidvegi <mplayer@hzoli.2y.net>. Also heavily MMX centric.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11601 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-08 22:57:47 +00:00
alex 22f3851bae yuv colorspace converter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11537 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-29 19:34:26 +00:00
michael 89b9c0976e simple alternative postprocessing filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11278 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-26 23:07:21 +00:00
michael 1a6240077d vf_hue
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11250 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-23 18:36:02 +00:00
michael 2a8804cbd4 fast deinterleaver (= il filter with stride/width/height tricks)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11243 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 21:21:52 +00:00
attila bf69890466 Fix compilation when libavcodec is missing.
Patch by Nico <nsabbi@libero.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11142 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-16 08:45:10 +00:00
henry 4cabae3691 simple logo remover
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10810 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-03 22:44:28 +00:00
arpi 280fa83b42 2 new filters: tile & framestep
patch by Daniele Forghieri ( guru@digitalfantasy.it )
(little cleanup by me)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10752 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 21:41:24 +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
rfelker 48ecb3e717 clean up field flags:
1) cosmetic change, no reason these need to be mpeg2-specific
2) add a flag to tell when fields are ordered, so we don't have to
assume bff (which would usually be wrong) when field flags are not
available.
3) add other flags for future use :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10664 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-18 14:49:06 +00:00
alex 1e87b4bbaa 'tinterlace' filter (partial inverse of tfields) by Not Zed <notzed@ximian.com> (with minor fixes for current cvs by me)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10572 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-11 20:04:30 +00:00
ranma 9f62dfb2c8 Add mpeg2_flags to mp_image_t, copy flags in vd_libmpeg2.c,
and add vf_softpulldown.c.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10511 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-03 12:09:58 +00:00
arpi f0e8780594 3*100l (backported from g2)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10425 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-13 22:51:20 +00:00
rfelker 342a37ab8c 100l to me :(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10240 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-02 00:17:36 +00:00
alex c0a7d2edd3 it's still a 10l bug + 10l to me for commiting sh*t first time, and originally I wrote that tooo, so now I'm at about 1000litres? And anyway, this code isn't used :)) No, Rich, no, I will not upload a clip showing me drinking that much cola :)<EOF>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10166 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-23 14:09:19 +00:00
alex b560fb2caf 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10164 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-23 13:20:43 +00:00
rfelker 0166987078 new filter for dropping (near-)duplicate frames. can be used to fix
movies that were originally telecined but deinterlaced improperly, or
to improve quality when encoding at very low bitrates.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10151 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-22 12:38:42 +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 007449236f display size/aspect adjusting filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10007 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-27 18:55:04 +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
rfelker 4188ea6e99 1. new alternate approach to inverse telecine! much better!
2. interlaced 4:2:0 planar to 4:2:2 packer. makes it possible to watch
interlaced movies without horrible chroma artifacts, provided you have
an interlaced display device.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9934 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-19 01:39:37 +00:00