#include <video_recorder.h>
Public Member Functions | |
void | operator() () |
int | RecordFrame (void *img) |
VideoRecorder (const std::string &filename, int stream0_width, int stream0_height, std::string stream0_fmt, unsigned int buffer_size_bytes=1024 *1024 *100) | |
~VideoRecorder () | |
Protected Member Functions | |
void | WriteFileHeader () |
Protected Attributes | |
threadedfilebuf | buffer |
int | frames |
std::vector< VideoStream > | stream_info |
std::ostream | writer |
Definition at line 57 of file video_recorder.h.
pangolin::VideoRecorder::VideoRecorder | ( | const std::string & | filename, |
int | stream0_width, | ||
int | stream0_height, | ||
std::string | stream0_fmt, | ||
unsigned int | buffer_size_bytes = 1024*1024*100 |
||
) |
Definition at line 35 of file video_recorder.cpp.
Definition at line 51 of file video_recorder.cpp.
void pangolin::VideoRecorder::operator() | ( | ) |
int pangolin::VideoRecorder::RecordFrame | ( | void * | img | ) |
Definition at line 63 of file video_recorder.cpp.
void pangolin::VideoRecorder::WriteFileHeader | ( | ) | [protected] |
Definition at line 55 of file video_recorder.cpp.
threadedfilebuf pangolin::VideoRecorder::buffer [protected] |
Definition at line 76 of file video_recorder.h.
int pangolin::VideoRecorder::frames [protected] |
Definition at line 73 of file video_recorder.h.
std::vector<VideoStream> pangolin::VideoRecorder::stream_info [protected] |
Definition at line 74 of file video_recorder.h.
std::ostream pangolin::VideoRecorder::writer [protected] |
Definition at line 77 of file video_recorder.h.