Difference between revisions of "Hacker Guide/Video Filters"

From VideoLAN Wiki
Jump to navigation Jump to search
(Initial version)
 
Line 1: Line 1:
 
== Location in source tree ==
 
== Location in source tree ==
  
Want to develop or modify filters? Look in {{VLCSourceFile|name=modules/video_filter/}}.
+
Look in {{VLCSourceFile|name=modules/video_filter/}}.
  
See {{VLCSourceFile|name=modules/video_filter/Modules.am}} for a list of video filters currently in VLC. This file tells the build system which source files go into which filter, so you may want to update it if you add new source files.
+
See {{VLCSourceFile|name=modules/video_filter/Modules.am}} for a list of video filters currently in VLC, and which source files belong to which.
  
=== Adding new source files ===
+
== Adding new source files ==
  
Update {{VLCSourceFile|name=modules/video_filter/Modules.am}}. When done, you'll probably need to go to the root of your VLC source tree, and
+
Want to develop a new filter or add new source files to an existing one?
 +
 
 +
The file {{VLCSourceFile|name=modules/video_filter/Modules.am}} tells the build system which source files go into which filter, so go ahead and update it.
 +
 
 +
When done, you'll probably need to go to the root of your VLC source tree, and do something akin to the following:
 
* <pre>find . -name .deps -exec rm -rf \{\} \;</pre>
 
* <pre>find . -name .deps -exec rm -rf \{\} \;</pre>
* <pre>bootstrap</pre>
+
* <pre>./bootstrap</pre>
* <pre>configure</pre>
+
* <pre>./configure</pre>
* <pre>compile</pre>
+
 
to get the build system to find your new files.
+
This ensures that the build system finds your new files. Then you can go on as usual:
 +
* <pre>./compile</pre>
  
 
== Individual filter docs ==
 
== Individual filter docs ==
  
The [[Documentation:Hacker's Guide/Video Filters/Deinterlace|Deinterlace]] filter has its own [[Documentation:Hacker's Guide|Hacker's Guide]] section.
+
Some filters may have their own [[Documentation:Hacker's Guide|Hacker's Guide]] sections.
 +
 
 +
Currently, the deinterlace filter has both a [[Documentation:Hacker's Guide/Video Filters/Deinterlace|Hacker's Guide section]] and [[Deinterlace|user documentation]] with some useful technical information.
  
 
== Disclaimer ==
 
== Disclaimer ==

Revision as of 00:03, 9 May 2011

Location in source tree

Look in modules/video_filter/.

See modules/video_filter/Modules.am for a list of video filters currently in VLC, and which source files belong to which.

Adding new source files

Want to develop a new filter or add new source files to an existing one?

The file modules/video_filter/Modules.am tells the build system which source files go into which filter, so go ahead and update it.

When done, you'll probably need to go to the root of your VLC source tree, and do something akin to the following:

  • find . -name .deps -exec rm -rf \{\} \;
  • ./bootstrap
  • ./configure

This ensures that the build system finds your new files. Then you can go on as usual:

  • ./compile

Individual filter docs

Some filters may have their own Hacker's Guide sections.

Currently, the deinterlace filter has both a Hacker's Guide section and user documentation with some useful technical information.

Disclaimer

This page is a stub. Please update!

This page is part of official VLC media player Documentation (User GuideStreaming HowToHacker GuideModules)
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.