diff options
author | Philip Gladstone <philipjsg@users.sourceforge.net> | 2002-11-30 17:12:23 +0000 |
---|---|---|
committer | Philip Gladstone <philipjsg@users.sourceforge.net> | 2002-11-30 17:12:23 +0000 |
commit | 9d6f1d52c5e0d109c79db373e10c3632ed4886a1 (patch) | |
tree | 99b02148a989bdeacaecff8a308197d218d5ec1a /vhook | |
parent | adbc05104707bd021189abdfcf3724199bb561b6 (diff) | |
download | ffmpeg-streaming-9d6f1d52c5e0d109c79db373e10c3632ed4886a1.zip ffmpeg-streaming-9d6f1d52c5e0d109c79db373e10c3632ed4886a1.tar.gz |
Moved hook documentation into the doc directory
Originally committed as revision 1292 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook')
-rw-r--r-- | vhook/Makefile | 2 | ||||
-rw-r--r-- | vhook/hooks.html | 95 | ||||
-rw-r--r-- | vhook/hooks.texi | 49 |
3 files changed, 1 insertions, 145 deletions
diff --git a/vhook/Makefile b/vhook/Makefile index e6755cc..898dbb4 100644 --- a/vhook/Makefile +++ b/vhook/Makefile @@ -13,7 +13,7 @@ ifeq ($(HAVE_IMLIB2),yes) HOOKS += imlib2.so endif -all: $(HOOKS) hooks.html +all: $(HOOKS) install: install -s -m 755 $(HOOKS) $(INSTDIR) diff --git a/vhook/hooks.html b/vhook/hooks.html deleted file mode 100644 index 750d15c..0000000 --- a/vhook/hooks.html +++ /dev/null @@ -1,95 +0,0 @@ -<HTML> -<HEAD> -<!-- This HTML file has been created by texi2html 1.51 - from hooks.texi on 20 November 2002 --> - -<TITLE>Video Hook Documentation</TITLE> -</HEAD> -<BODY> -<H1>Video Hook Documentation</H1> -<P> -<P><HR><P> -<H1>Table of Contents</H1> -<UL> -<LI><A NAME="TOC1" HREF="hooks.html#SEC1">1 Introduction</A> -<UL> -<LI><A NAME="TOC2" HREF="hooks.html#SEC2">1.1 null.c</A> -<LI><A NAME="TOC3" HREF="hooks.html#SEC3">1.2 fish.c</A> -<LI><A NAME="TOC4" HREF="hooks.html#SEC4">1.3 imlib2.c</A> -</UL> -</UL> -<P><HR><P> - -<P> -Video Hook Documentation -<P> - -</P> - - - -<H1><A NAME="SEC1" HREF="hooks.html#TOC1">1 Introduction</A></H1> - -<P> -The video hook functionality is designed (mostly) for live video. It allows -the video to be modified or examined between the decoder and the encoder. - -</P> -<P> -Any number of hook modules can be placed inline, and they are run in the -order that they were specified on the ffmpeg command line. - -</P> -<P> -Three modules are provided and are described below. They are all intended to -be used as a base for your own modules. - -</P> -<P> -Modules are loaded using the -vhook option to ffmpeg. The value of this parameter -is a space seperated list of arguments. The first is the module name, and the rest -are passed as arguments to the Configure function of the module. - -</P> - - -<H2><A NAME="SEC2" HREF="hooks.html#TOC2">1.1 null.c</A></H2> - -<P> -This does nothing. Actually it converts the input image to RGB24 and then converts -it back again. This is meant as a sample that you can use to test your setup. - -</P> - - -<H2><A NAME="SEC3" HREF="hooks.html#TOC3">1.2 fish.c</A></H2> - -<P> -This implements a 'fish detector'. Essentially it converts the image into HSV -space and tests whether more than a certain percentage of the pixels fall into -a specific HSV cuboid. If so, then the image is saved into a file for processing -by other bits of code. - -</P> -<P> -Why use HSV? It turns out that HSV cuboids represent a more compact range of -colors than would an RGB cuboid. - -</P> - - -<H2><A NAME="SEC4" HREF="hooks.html#TOC4">1.3 imlib2.c</A></H2> - -<P> -This allows a caption to be placed onto each frame. It supports inserting the -time and date. By using the imlib functions, it would be easy to add your own -graphical logo, add a frame/border, etc. - -</P> - -<P><HR><P> -This document was generated on 20 November 2002 using the -<A HREF="http://wwwcn.cern.ch/dci/texi2html/">texi2html</A> -translator version 1.51.</P> -</BODY> -</HTML> diff --git a/vhook/hooks.texi b/vhook/hooks.texi deleted file mode 100644 index 7eb2da8..0000000 --- a/vhook/hooks.texi +++ /dev/null @@ -1,49 +0,0 @@ -\input texinfo @c -*- texinfo -*- - -@settitle Video Hook Documentation -@titlepage -@sp 7 -@center @titlefont{Video Hook Documentation} -@sp 3 -@end titlepage - - -@chapter Introduction - - -The video hook functionality is designed (mostly) for live video. It allows -the video to be modified or examined between the decoder and the encoder. - -Any number of hook modules can be placed inline, and they are run in the -order that they were specified on the ffmpeg command line. - -Three modules are provided and are described below. They are all intended to -be used as a base for your own modules. - -Modules are loaded using the -vhook option to ffmpeg. The value of this parameter -is a space seperated list of arguments. The first is the module name, and the rest -are passed as arguments to the Configure function of the module. - -@section null.c - -This does nothing. Actually it converts the input image to RGB24 and then converts -it back again. This is meant as a sample that you can use to test your setup. - -@section fish.c - -This implements a 'fish detector'. Essentially it converts the image into HSV -space and tests whether more than a certain percentage of the pixels fall into -a specific HSV cuboid. If so, then the image is saved into a file for processing -by other bits of code. - -Why use HSV? It turns out that HSV cuboids represent a more compact range of -colors than would an RGB cuboid. - -@section imlib2.c - -This allows a caption to be placed onto each frame. It supports inserting the -time and date. By using the imlib functions, it would be easy to add your own -graphical logo, add a frame/border, etc. - - -@bye |