1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00
Commit Graph

46 Commits

Author SHA1 Message Date
Naohiro KORIYAMA
5c7c27cae5 yadif : Add SSSE3 and SSE2 support. porting from FFmpeg.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2011-12-21 21:36:14 +01:00
Rémi Denis-Courmont
f25efcaf2a Run-time CPU detection for ARM (meaning NEON)
Unfortunately, we cannot emit NEON opcodes when NEON is not explicitly
enabled (-mfpu=neon), contrary to MMX & SSE on x86. As a consequence,
this will not work for inline assembler in a non-optimized plugin,
namely the deinterlacer.

There is also a(n hopefully theoretical) bug whereby the compiler would
emit NEON instructions in the descriptor or activation callback of a
NEON plugin. This could then crash if NEON is not supported, even
before the NEON run-time check is reached.
2011-07-04 21:14:18 +03:00
Rémi Denis-Courmont
e539c5ce08 config.h MUST ALWAYS BE INCLUDED _FIRST_! Fix Windows warnings.
How many times does this have to be spelt?!
2011-05-07 19:44:19 +03:00
Felix Paul Kühne
91c1ce2bd5 deinterlace: fix compilation on Mac OSX 10.5, for which stdlib isn't enough 2011-05-07 12:48:23 +02:00
Felix Paul Kühne
0f0a2b2ed2 deinterlace: compilation fix 2011-05-06 18:01:42 +02:00
Rémi Denis-Courmont
2b58c0ef53 IVTC: fix undefined arithmetic 2011-05-05 23:15:57 +03:00
Juha Jeronen
b331b62931 deinterlace: some more authorship fixes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2011-05-03 01:06:23 +02:00
Juha Jeronen
0a64e3e489 deinterlace: a small factoring to DarkenField() in the Phosphor algorithm
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2011-05-02 17:18:58 +02:00
Juha Jeronen
a6456dc87d deinterlace: fixed authors for X and the Yadif glue
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2011-05-02 17:18:58 +02:00
Juha Jeronen
236fd4303c deinterlace: bugfix to CalculateInterlaceScore()
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2011-05-02 17:18:58 +02:00
Juha Jeronen
eb4b233b71 deinterlace: algo_ivtc.h: typo in comment
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2011-05-02 17:18:58 +02:00
Rémi Denis-Courmont
cbad172ff6 deinterlace: u_cpu is used only if MMXEXT can be compiled
This restores commit 45b7ce9e7c.
2011-05-01 12:44:37 +03:00
Juha Jeronen
c7d289cad5 Refactored deinterlacer module
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-05-01 12:38:59 +03:00
Clément Stenac
6265a3ae74 * Remove directories with only one source file inside
* Drop the old scope plugin (not ported to aout3)
2004-03-06 15:24:37 +00:00
Sam Hocevar
45adedc913 * Added "Id" svn:keywords property to all files containing "$Id:".
* Removed .cvsignore files and added proper svn:ignore properties.
2004-03-05 17:34:23 +00:00
Sigmund Augdal Helberg
08e84310c3 modules/video_filter/deinterlace/deinterlace.c:
* Fixed a sse2 crash related to a non-16byte aligned pointer
2004-03-04 22:47:42 +00:00
Eric Petit
5180b49d87 deinterlace.c : missing 'else' that prevented MergeAltivec from being used. 2004-02-13 10:42:24 +00:00
Laurent Aimar
4580d2dcfb * deinterlace: compilation fix. 2004-02-07 13:25:50 +00:00
Sigmund Augdal Helberg
9c08885d92 configure.ac:
* define CAN_COMPILE_MMX and CAN_COMPILE_MMXEXT if availabe
modules/video_filter/deinterlace/deinterlace.c:
 * changed how accelerated code is handled.
2004-02-03 12:49:53 +00:00
Sigmund Augdal Helberg
d1cf41c48f deinterlace.c:
* MMX and SSE2 versions of the Merge() function.
2004-02-01 16:53:11 +00:00
Derk-Jan Hartman
ffdca9af74 * Stringreview !!! 2004-01-25 20:05:29 +00:00
Eric Petit
5015984b9c + deinterlace.c : added an Altivec version of Merge() - makes the
filter more than 100% faster here (blend mode). Feel free to check
     if I haven't broken anything, first time doing Altivec ;)
2004-01-23 15:36:23 +00:00
Sam Hocevar
5ca0ebcca2 * Coding style cleanup: removed tabs and trailing spaces. 2003-12-22 14:32:57 +00:00
Damien Lucas
28950fce6d . 422 deinterlacing (bob and blend filters)
This work is part of the work done by Anevia for the "Gran Theatro del
Barcelona".
2003-11-06 16:54:40 +00:00
Gildas Bazin
e53ac062b4 * include/configuration.h: some small re-work of the config declaration macros.
String choices lists can now also have a list of text descriptions associated with them.
   Added integer choices lists.
* modules/gui/wxwindows/: modified config widgets to use the new config options.
* ALL: updated for the new config options.
2003-11-05 00:39:17 +00:00
Gildas Bazin
8b784013ef * modules/video_filter/*: forward fullscreen event between children and parent. 2003-10-15 22:49:48 +00:00
Sam Hocevar
fe17002d42 * bootstrap:
+ New build system, using recursive makefiles. Due to the amount of code
      in VLC, this had become unavoidable.
    + Removed the check for OS X's stack size, since our automake targets are
      a lot less hungry now.
    + Ditto for Solaris's sed.
    + Since automake-1.6 is faster than 1.7, use it first if both are present.
  * m4/vlc.m4:
    + New AX_ADD_CPPFLAGS, AX_ADD_CFLAGS, AX_ADD_CXXFLAGS, AX_ADD_OBJCFLAGS
      and AX_ADD_LDFLAGS macros that do all the magic to detect possible
      modules and register their flags.
    + New AX_ADD_BUILTINS and AX_ADD_PLUGINS macros.
    + Some magic to generate vlc-config.
  * configure.ac:
    + Moved most code to the AX_ADD_* macros.
    + Explicitely added all target Makefiles.
  * modules/**/Modules.am:
    + Path to sources are now relative to Modules.am's directory level.
2003-06-27 13:50:13 +00:00
Sam Hocevar
07b9ad3823 * modules/**/.cvsignore: added Makefile{,.in.am} to the ignore list, as
well as .lo/.la files.
2003-06-24 09:31:16 +00:00
Gildas Bazin
92993d58e0 * src/video_output/video_output.c, modules/video_output/directx/*, modules/video_output/x11/xcommon.c: fullscreen state is now attached to the input, so it will be remembered even if the vout is restarted (switching filters, dvd menus, etc...).
* modules/video_filter/deinterlace/deinterlace.c: small change.
2003-05-25 11:31:54 +00:00
Gildas Bazin
66815e2eda * src/misc/variables.c, include/variables.h: first pass at object var inheritance.
* rc/video_output/video_output.c, modules/video_filter/deinterlace/deinterlace.c: fixes to the deinterlace object var.
2003-05-24 23:40:11 +00:00
Christophe Massiot
d5791c9cc1 * now 0.6.0-cvs
* ALL: Capitalize all preferences text strings
2003-05-15 22:27:38 +00:00
Gildas Bazin
a1e8137774 * modules/*: sanitization of the modules description strings. 2003-03-30 18:14:39 +00:00
Gildas Bazin
5d2949dc73 * modules/gui/wxwindows/*: small formating changes.
* modules/video_filter/deinterlace/deinterlace.c, src/libvlc.h: modified a couple of config option descriptions.
2003-03-30 16:26:42 +00:00
Sigmund Augdal Helberg
5a13b475ce * include/configuration.h: added a new flag to the configuration stucture to
indicate wether it is an "advanced" option or not. The goal with this is to
hide the user from all the strange options that very seldom needs to be
changed. added an extra argument to all the add_* macros to indicate wether
the item is advanced or not.
* src/libvlc.h: added an "show advanced options" config option default
disabled
* src/libvlc.c: the advanced options are not listed by vlc --help and
friends unless --advanced is used
* modules/gtk/preferences.c: the gtk/gnome preferences dialog don't show
advanced options unless advanced is set
all: set the advanced flag to VLC_FALSE or VLC_TRUE for all options, by
using some common sense. Please check and correct

note: All interfaces should still work like they used to, see the change in
modules/gtk/preferences.c to find out how to "hide" options.

second note: I think I've changed all the modules, but I could not test
everyone for compilation, expect some broken modules (the fix is to add ",
VLC_TRUE" as last argument to the add_* I forgot)
2003-02-20 01:52:47 +00:00
Gildas Bazin
cdef0915f5 * modules/video_filter/deinterlace/deinterlace.c,
modules/video_output/x11/xcommon.c: modified debug messages.
2003-01-28 13:03:13 +00:00
Gildas Bazin
f6015e9373 * src/video_output/video_output.c, include/video_output.h: modified vout_Request() to take into account the
filter chain. If the filter chain has changed, a new vout will be respawned allowing to switch filters on
the fly. This is still a bit hacky but to do it nicely will require implementing inheritance in object
variables.
* modules/video_filter/deinterlace/deinterlace.c: added a "deinterlace-mode" object variable to allow
switching deinterlace modes on the fly.
* modules/gui/gtk/menu.c: updated the deinterlace menu.
* include/vlc_common.h: compilation fixes for gtk_main and gnome_main.
2003-01-28 12:30:44 +00:00
Sam Hocevar
4da4c94a41 * ./modules/video_filter/**/*.c: mouse clicks and keyboard events are now
sent to the parent video output by all filters, and mouse coordinates are
    translated when necessary (Closes: #15).
2003-01-17 16:18:03 +00:00
Sam Hocevar
b25e0c1894 * ./modules/**/.cvsignore: added common *$(LIBEXT) values to .cvsignore. 2003-01-16 09:05:37 +00:00
Sam Hocevar
e2da42f973 * ./src/video_output/video_output.c, modules/*: factorized video output
creation code into vout_Request which looks for existing vout objects
    and spawns a new one if none was found.
2002-11-28 17:35:01 +00:00
Sam Hocevar
53cffc28bd * ./modules/access/vcd/vcd.c: changed an error to a warning in the probe
phase.
  * ./modules/video_filter/deinterlace/deinterlace.c: the bob method now
    flickers less thanks to a patch from Marian Durkovic <md@bts.sk>.
2002-10-16 11:35:53 +00:00
Sam Hocevar
37741cf811 * ./plugins/filter/deinterlace.c: fixed the green bottom line in the
linear deinterlace mode, thanks to Marian Durkovic <md@bts.sk>.
2002-10-11 21:17:29 +00:00
Sam Hocevar
7cca8d8fa0 * ./debian/rules: moved the gtk_main and gnome_main plugins to the gvlc
and gnome-vlc packages.
  * ALL: updated .cvsignore files to properly ignore automake files.
2002-09-30 15:46:47 +00:00
Sam Hocevar
2799d36bc8 * ALL: the build mechanism now uses automake. See HACKING for more details.
* ./mozilla/vlcplugin.cpp: javascript support for the Mozilla plugin.
  * debian/rules: the A52 module is now in a separate package.
2002-09-30 11:05:42 +00:00
Sam Hocevar
864128116a * ALL: added *.am files here and there for future automake support. 2002-09-30 10:00:47 +00:00
Sam Hocevar
b69c9ce127 (A few minor pending patches I had around)
* ./debian/control: gnome-vlc recommends vlc-plugin-esd, and kvlc recommends
    vlc-plugin-arts.
  * ./src/misc/messages.c: message queue now prints the current object type.
  * ./modules/*: cosmetic fixes for the --long-help output.
2002-08-26 09:12:46 +00:00
Sam Hocevar
19ea8feb6d * ./modules/*: moved plugins to the new tree. Yet untested builds include
waveout, directx, qnx, beos, win32, macosx, and the AltiVec modules.
  * ALL: removed mention of AC3 in favour of A52.
  * ./configure.in, ./Makefile*: modules can now be built deeper than 1
    directory. As a consequence, the build is even slower (but I'm fixing
    this) and make clean doesn't work anymore.
2002-08-04 17:23:44 +00:00