#include <vidl_vil1_io.h>
vidl_vil1_io takes care of Input / Output of videos It reads video in from filenames and creates movies or clips. It saves videos into specific codecs
Definition at line 29 of file vidl_vil1_io.h.
Static Public Member Functions | |
| static vidl_vil1_movie_sptr | load_movie (vcl_string const &fname, int start, int end, int increment, char mode= 'r') |
| Load a movie, takes a file name and return the created movie. | |
| static vidl_vil1_movie_sptr | load_movie (const vcl_list< vcl_string > &fnames, int start, int end, int increment, char mode= 'r') |
| Loads and creates movie from a list of image file names. | |
| static vidl_vil1_movie_sptr | load_movie (const vcl_vector< vcl_string > &fnames, int start, int end, int increment, char mode= 'r') |
| Loads and creates movie from a vector of image file names. | |
| static vidl_vil1_movie_sptr | load_movie (vcl_string const &fname, char mode= 'r') |
| static vidl_vil1_movie_sptr | load_movie (const vcl_list< vcl_string > &fnames, char mode= 'r') |
| static vidl_vil1_movie_sptr | load_movie (const vcl_vector< vcl_string > &fnames, char mode= 'r') |
| static vidl_vil1_clip_sptr | load_clip (vcl_string const &fname, int start, int end, int increment, char mode= 'r') |
| Load a clip, takes a file name and return the created clip. | |
| static vidl_vil1_clip_sptr | load_clip (const vcl_list< vcl_string > &fnames, int start, int end, int increment, char mode= 'r') |
| Loads and creates clip from a list of image file names. | |
| static vidl_vil1_clip_sptr | load_clip (const vcl_vector< vcl_string > &fnames, int start, int end, int increment, char mode= 'r') |
| Loads and creates clip from a list of image file names. | |
| static vidl_vil1_clip_sptr | load_clip (vcl_string const &fname, char mode= 'r') |
| static vidl_vil1_clip_sptr | load_clip (const vcl_list< vcl_string > &fnames, char mode= 'r') |
| static vidl_vil1_clip_sptr | load_clip (const vcl_vector< vcl_string > &fnames, char mode= 'r') |
| static bool | save (vidl_vil1_movie *movie, vcl_string const &fname, vcl_string const &type) |
| Save a video into a file "fname" as type "type". | |
| static vcl_list< vcl_string > | supported_types () |
| Return the list of the supported video coder/decoder types. | |
| static void | register_codec (vidl_vil1_codec *codec) |
| register a new coder. | |
| static void | close () |
| Destroy codecs. | |
| static vidl_vil1_clip_sptr | load_images (const vcl_list< vcl_string > &fnames, int start, int, int increment, char mode= 'r') |
| Functions when videos are sequences of still images. | |
| static vidl_vil1_clip_sptr | load_images (const vcl_vector< vcl_string > &fnames, int start, int, int increment, char mode= 'r') |
| load a vector of images as a clip. | |
| static vidl_vil1_clip_sptr | load_images (const vcl_list< vcl_string > &fnames, char mode= 'r') |
| static vidl_vil1_clip_sptr | load_images (const vcl_vector< vcl_string > &fnames, char mode= 'r') |
| static bool | save_images (vidl_vil1_movie *movie, vcl_string const &fname, vcl_string const &type) |
Static Public Attributes | |
| static VIDL_VIL1_DLL_DATA void(* | load_mpegcodec_callback )(vidl_vil1_codec *) |
| static vcl_list< vidl_vil1_codec_sptr > | supported_types_ |
| vidl_vil1_movie_sptr vidl_vil1_io::load_movie | ( | vcl_string const & | fname, | |
| int | start, | |||
| int | end, | |||
| int | increment, | |||
| char | mode = 'r' | |||
| ) | [static] |
Load a movie, takes a file name and return the created movie.
A starting frame, ending frame and increment number are optionals
Definition at line 49 of file vidl_vil1_io.cxx.
| vidl_vil1_movie_sptr vidl_vil1_io::load_movie | ( | const vcl_list< vcl_string > & | fnames, | |
| int | start, | |||
| int | end, | |||
| int | increment, | |||
| char | mode = 'r' | |||
| ) | [static] |
Loads and creates movie from a list of image file names.
A starting frame, ending frame and increment number are optionals
Definition at line 70 of file vidl_vil1_io.cxx.
| vidl_vil1_movie_sptr vidl_vil1_io::load_movie | ( | const vcl_vector< vcl_string > & | fnames, | |
| int | start, | |||
| int | end, | |||
| int | increment, | |||
| char | mode = 'r' | |||
| ) | [static] |
Loads and creates movie from a vector of image file names.
A starting frame, ending frame and increment number are optionals
Definition at line 91 of file vidl_vil1_io.cxx.
| static vidl_vil1_movie_sptr vidl_vil1_io::load_movie | ( | vcl_string const & | fname, | |
| char | mode = 'r' | |||
| ) | [inline, static] |
Definition at line 67 of file vidl_vil1_io.h.
| static vidl_vil1_movie_sptr vidl_vil1_io::load_movie | ( | const vcl_list< vcl_string > & | fnames, | |
| char | mode = 'r' | |||
| ) | [inline, static] |
Definition at line 72 of file vidl_vil1_io.h.
| static vidl_vil1_movie_sptr vidl_vil1_io::load_movie | ( | const vcl_vector< vcl_string > & | fnames, | |
| char | mode = 'r' | |||
| ) | [inline, static] |
Definition at line 77 of file vidl_vil1_io.h.
| vidl_vil1_clip_sptr vidl_vil1_io::load_clip | ( | vcl_string const & | fname, | |
| int | start, | |||
| int | end, | |||
| int | increment, | |||
| char | mode = 'r' | |||
| ) | [static] |
Load a clip, takes a file name and return the created clip.
A starting frame, ending frame and increment number are optionals
Definition at line 112 of file vidl_vil1_io.cxx.
| vidl_vil1_clip_sptr vidl_vil1_io::load_clip | ( | const vcl_list< vcl_string > & | fnames, | |
| int | start, | |||
| int | end, | |||
| int | increment, | |||
| char | mode = 'r' | |||
| ) | [static] |
Loads and creates clip from a list of image file names.
A starting frame, ending frame and increment number are optionals
Definition at line 171 of file vidl_vil1_io.cxx.
| vidl_vil1_clip_sptr vidl_vil1_io::load_clip | ( | const vcl_vector< vcl_string > & | fnames, | |
| int | start, | |||
| int | end, | |||
| int | increment, | |||
| char | mode = 'r' | |||
| ) | [static] |
Loads and creates clip from a list of image file names.
A starting frame, ending frame and increment number are optionals
Definition at line 193 of file vidl_vil1_io.cxx.
| static vidl_vil1_clip_sptr vidl_vil1_io::load_clip | ( | vcl_string const & | fname, | |
| char | mode = 'r' | |||
| ) | [inline, static] |
Definition at line 108 of file vidl_vil1_io.h.
| static vidl_vil1_clip_sptr vidl_vil1_io::load_clip | ( | const vcl_list< vcl_string > & | fnames, | |
| char | mode = 'r' | |||
| ) | [inline, static] |
Definition at line 113 of file vidl_vil1_io.h.
| static vidl_vil1_clip_sptr vidl_vil1_io::load_clip | ( | const vcl_vector< vcl_string > & | fnames, | |
| char | mode = 'r' | |||
| ) | [inline, static] |
Definition at line 118 of file vidl_vil1_io.h.
| bool vidl_vil1_io::save | ( | vidl_vil1_movie * | movie, | |
| vcl_string const & | fname, | |||
| vcl_string const & | type | |||
| ) | [static] |
| vcl_list< vcl_string > vidl_vil1_io::supported_types | ( | ) | [static] |
Return the list of the supported video coder/decoder types.
Definition at line 293 of file vidl_vil1_io.cxx.
| void vidl_vil1_io::register_codec | ( | vidl_vil1_codec * | codec | ) | [static] |
| void vidl_vil1_io::close | ( | ) | [static] |
Destroy codecs.
Must call this before the MPEG library is deleted, i.e. on exit.
Definition at line 312 of file vidl_vil1_io.cxx.
| vidl_vil1_clip_sptr vidl_vil1_io::load_images | ( | const vcl_list< vcl_string > & | fnames, | |
| int | start, | |||
| int | , | |||
| int | increment, | |||
| char | mode = 'r' | |||
| ) | [static] |
Functions when videos are sequences of still images.
This may go in the public area if some people know they are dealing with images
Definition at line 216 of file vidl_vil1_io.cxx.
| vidl_vil1_clip_sptr vidl_vil1_io::load_images | ( | const vcl_vector< vcl_string > & | fnames, | |
| int | start, | |||
| int | end, | |||
| int | increment, | |||
| char | mode = 'r' | |||
| ) | [static] |
load a vector of images as a clip.
This function should not be called unless you are sure you are dealing with images
Definition at line 237 of file vidl_vil1_io.cxx.
| static vidl_vil1_clip_sptr vidl_vil1_io::load_images | ( | const vcl_list< vcl_string > & | fnames, | |
| char | mode = 'r' | |||
| ) | [inline, static] |
Definition at line 162 of file vidl_vil1_io.h.
| static vidl_vil1_clip_sptr vidl_vil1_io::load_images | ( | const vcl_vector< vcl_string > & | fnames, | |
| char | mode = 'r' | |||
| ) | [inline, static] |
Definition at line 170 of file vidl_vil1_io.h.
| bool vidl_vil1_io::save_images | ( | vidl_vil1_movie * | movie, | |
| vcl_string const & | fname, | |||
| vcl_string const & | type | |||
| ) | [static] |
Definition at line 284 of file vidl_vil1_io.cxx.
VIDL_VIL1_DLL_DATA void(* vidl_vil1_io::load_mpegcodec_callback)(vidl_vil1_codec *) [static] |
vcl_list< vidl_vil1_codec_sptr > vidl_vil1_io::supported_types_ [static] |
Definition at line 138 of file vidl_vil1_io.h.
1.5.1