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

49 Commits

Author SHA1 Message Date
Jean-Baptiste Kempf
c22b7e0ece Video Filter: use rgb to define colors 2011-10-31 00:42:19 +01:00
Kaarlo Raiha
7abc4f7cd2 Change saturaton to saturation
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-07-30 17:33:21 +03:00
Rémi Denis-Courmont
f98a66cea0 add_integer: remove callback parameter 2010-10-22 21:10:50 +03:00
Rémi Denis-Courmont
e5622718c1 Remove unused change_integer_list parameter
Changing the choice list of a configuration item is not thread-safe.
Plus it does not make much sense to use a strict choice list if the
choices change dynamically.

If ever needed, we can invent a suggestions list system later, just
like we already do for SD plugins enumeration.
2010-10-22 20:00:10 +03:00
Jean-Paul Saman
7a7cdf7d05 video_filter: colorthres.c: check return value of GetPackedYuvOffsets()
Check return value of GetPackedYuvOffsets().
2010-09-07 18:45:12 +02:00
Jean-Paul Saman
d659fcdc15 modules/video_filter/colorthres.c: set default values
The compiler complained about possible use uninitialized use of the variables
i_u_offset, i_v_offset and i_y_offset.
2010-09-07 10:26:37 +02:00
Laurent Aimar
530fe3e458 Factorized a bit colorthres code. 2010-08-11 22:09:58 +02:00
Laurent Aimar
eb07c34112 Fixed colorthres/erase/extract/gaussianblur/gradient/motionblur/motiondetect/noise/psychedelic/sharpen filters.
input and output picture pitches may not be equal (corruptions or segfaults).
2010-08-11 22:09:58 +02:00
Rémi Duraffort
8e46fdb49f video_filter_colorthres: fix a typo. 2010-02-05 12:09:25 +01:00
Rémi Denis-Courmont
22fdf98f4c Remove useless <errno.h> inclusions 2010-01-11 19:08:42 +02:00
Antoine Cellerier
10c9287911 Add colorthres support for YUV 422 packed. 2010-01-04 23:40:06 +01:00
Antoine Cellerier
c1848b08af Use %4.4s instead of %4s for fourccs cast to char *. 2010-01-04 23:40:06 +01:00
Geoffroy Couprie
c766d434b0 Add a bunch of help strings. Feel free to correct them, and add more 2010-01-03 14:19:44 +01:00
Rémi Duraffort
8bd3fb7134 colorthres: remove a call to var_GetInteger inside the filter function (use a
callback instead).
2009-06-30 21:31:50 +02:00
Rémi Duraffort
51cb4767dc Global headers. 2009-06-30 08:44:04 +02:00
Laurent Aimar
036a6a2e9e Do not uselessly include vlc_vout.h in filters. 2009-05-16 20:22:41 +02:00
Rémi Duraffort
f75c6c166f colorthres video filter: fix a typo. 2009-04-29 10:12:16 +02:00
Rémi Denis-Courmont
1f50361f07 Fix plugin strings translation 2009-01-28 23:39:00 +02:00
Rémi Denis-Courmont
f1590d98ae Trailing ; 2009-01-28 21:49:29 +02:00
Rémi Denis-Courmont
fa4bde0b26 Trailing ; 2009-01-27 23:42:49 +02:00
Rémi Duraffort
d5f2ec0de2 Don't use var_CreateGet oly to Create the variable. 2008-11-02 11:36:10 +01:00
Rémi Denis-Courmont
0549228196 Remove most stray semi-colons in module descriptions
Those multi-lines are still to be done (it's going to be fun...)
See also 5af4cc854b.
2008-10-29 22:14:26 +02:00
Antoine Cellerier
857535cbac Fix segfault on 64 bit archs. (0 != NULL) 2008-08-24 21:58:07 +02:00
Laurent Aimar
4b00ff6ec8 Use filter helpers. 2008-07-20 00:53:21 +02:00
Laurent Aimar
5d3c921b10 Use picture helpers (Yield,Release,CopyProperties). 2008-07-18 21:18:36 +02:00
Yohann Martineau
f66626b348 fixed compilation on debian etch.
config.h is now included first, before any other header.

Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
2008-06-24 09:43:12 +02:00
Rémi Duraffort
42bb236284 Remove unnedeeded msg_Error. 2008-06-22 21:41:15 +02:00
Antoine Cellerier
2085fb08ae Factorize some code in the filters. 2008-06-04 22:05:08 +02:00
Rémi Denis-Courmont
3561b9b28f Plugins: include vlc_common.h directly instead of vlc/vlc.h 2008-05-31 22:10:30 +03:00
Antoine Cellerier
0c6b8c406c This can work on all the planar YUV formats. 2008-05-31 17:19:40 +02:00
Rémi Denis-Courmont
5e15258c9e A lot of missing const in options lists 2008-05-27 22:16:52 +03:00
Rémi Denis-Courmont
13ae40b0ef Use gettext_noop() consistently 2008-05-21 20:19:25 +03:00
Rémi Denis-Courmont
27d483e9ef Include vlc_plugin.h as needed 2008-05-08 19:20:21 +03:00
Rémi Denis-Courmont
5b55ee1bb0 Use vlc_memset/vlc_memcpy 2008-05-03 17:17:30 +03:00
Pierre d'Herbemont
449fd28aaf Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.
This improves readability a lot and prevent us from reinventing the wheel.
2008-04-14 02:02:22 +02:00
Rémi Denis-Courmont
99fab9089e Don't include config.h from the headers - refs #297.
Missing some cases that I could not test.
Also ffmpeg/chroma.c is locked, so I can but leave it broken.
Fix is for the remaining modules is obvious and the issue is easy to detect.
2008-01-23 21:50:58 +00:00
Rémi Denis-Courmont
4f02842805 Revert the so-called whitelisting commits that are actually blacklisting 2008-01-16 17:51:21 +00:00
Rafaël Carré
806cf51658 input options whitelisting, step 2 (refs #1371) 2008-01-16 17:36:14 +00:00
Antoine Cellerier
1eead51a19 Video filter fixes:
* colorthres.c: validate input chroma.
 * erase.c: fix bluring application limit (prevents out of bounds access).
 * gaussianblur.c: validate input chroma and add planar YUV 4:2:2 support.
 * psychedelic.c: check image_Convert return value (it fails for I422 which would then trigger a segfault due to a NULL pointer being dereferenced).
 * rotate.c: validate input chroma, add planar YUV 4:2:2 support and misc code fixes or simplifications.
2007-12-25 22:39:00 +00:00
Rafaël Carré
6ee1e193fd Removes trailing spaces. Removes tabs. 2007-09-10 18:56:52 +00:00
Rémi Denis-Courmont
e40d134c69 Remove _GNU_SOURCE and string.h too 2007-08-20 19:10:23 +00:00
Rémi Denis-Courmont
81c5ac29fa Remove stdlib.h 2007-08-20 19:08:22 +00:00
Christophe Mutricy
ef68043487 i18n fixes 2007-06-14 22:14:12 +00:00
Antoine Cellerier
57e21062fa Enable config chain syntax and flag the vars as commands. 2007-03-31 21:25:36 +00:00
Derk-Jan Hartman
ae6af36087 * motion_detect: use playlist_Control's "lock" argument
* const string fixes 
* make a couple of functions static
2006-12-11 17:22:20 +00:00
Antoine Cellerier
4e26c57f6f Remove trailing spaces. 2006-11-26 17:49:17 +00:00
Antoine Cellerier
9ce72981b5 use pf_mem{set,cpy} when possible 2006-11-26 17:29:57 +00:00
Clément Stenac
d3fe7f2879 A bit of headers cleanup
* Headers in include must contain the structures and prototypes needed
  by the plugins and should be named vlc_*.
* Headers in include/vlc must contain the structures and prototypes
  needed by external libvlc clients

* Moved and renamed some things in headers. 
   - Removed vlc_cpu.h, vlc_error.h (merged in vlc_common)
   - Removed snapshot.h (merged in vlc_vout.h)
   - Removed vlc_spu.h (merged in vlc_osd.h)
   - Removed intf_eject.h and vlc_interaction.h (merged in vlc_interface)
   - Moved all internal headers to src
   - Merged vlc_video.h and video_output.h and move private things to src
   - Removed vlc/intf.h, vlc/aout.h, vlc/vout.h, vlc/decoder.h and vlc/input.h
     (meta headers for use in modules, and often implying too large 
     dependencies)
* Removed some useless dependencies
* Unexported a bunch of functions and structures used only in src/
  (--> Still some work here)
* Finally made input_thread_t and input_source_t (mostly) private. 
  Added input_GetItem to fetch the input_item of an input_thread
* Cleaned up deprecated entries in vlc_symbols.h and bumped up symbol 
  prefix

This commit has a 99% probability of breaking the build, 0.1% of killing
your cat and 0% of getting you hot chicks.
2006-11-26 14:20:34 +00:00
Sigmund Augdal Helberg
e83a49c062 added a color threshold filter that can make effects similar to "the
yellow guy" in sin city or the red dressed girl in the beginning of
schindlers list
2006-11-11 13:33:43 +00:00