KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
video_io.h
Go to the documentation of this file.
1 /* $Id: video_io.h 11310 2011-12-17 04:57:52Z ksimek $ */
2 /* {{{=========================================================================== *
3  |
4  | Copyright (c) 1994-2011 by Kobus Barnard (author)
5  |
6  | Personal and educational use of this code is granted, provided that this
7  | header is kept intact, and that the authorship is not misrepresented, that
8  | its use is acknowledged in publications, and relevant papers are cited.
9  |
10  | For other use contact the author (kobus AT cs DOT arizona DOT edu).
11  |
12  | Please note that the code in this file has not necessarily been adequately
13  | tested. Naturally, there is no guarantee of performance, support, or fitness
14  | for any particular task. Nonetheless, I am interested in hearing about
15  | problems that you encounter.
16  |
17  | Author: Kyle Simek
18  * =========================================================================== }}}*/
19 
20 // vim: tabstop=4 shiftwidth=4 foldmethod=marker
21 
22 #ifndef KJB_CPP_VIDEO_IO_H
23 #define KJB_CPP_VIDEO_IO_H
24 
25 #include <boost/function.hpp>
26 #include <string>
27 
28 namespace kjb
29 {
30 
31 namespace opengl
32 {
33 
38  const boost::function0<void>& draw,
39  const boost::function0<void>& tick,
40  const size_t num_frames,
41  const std::string& frame_out_fmt);
42 
47 //void generate_video(
48 // const boost::function0<void>& draw,
49 // const boost::function0<void>& tick,
50 // size_t num_frames,
51 // float frame_rate,
52 // const std::string& out_fname);
53 
54 } // namespace opengl;
55 } // namespace kjb
56 
57 #endif
void generate_video_frames(const boost::function0< void > &draw, const boost::function0< void > &tick, const size_t num_frames, const std::string &frame_out_fmt)
Definition: video_io.cpp:44