Functions | Variables
record_theora.cpp File Reference
#include <cstdlib>
#include <cstring>
#include <unistd.h>
#include <cstdio>
#include <csignal>
#include <ros/time.h>
#include "uvc_cam/uvc_cam.h"
#include <theora/codec.h>
#include <theora/theoraenc.h>
#include <ogg/ogg.h>
#include <vector>
#include <string>
Include dependency graph for record_theora.cpp:

Go to the source code of this file.

Functions

void logfilename (char *buf, uint32_t buf_len)
int main (int argc, char **argv)
void shutdown_encoder (th_enc_ctx **context, ogg_stream_state *oggss, FILE **f)
void sigint_handler (int)
void start_encoder (th_enc_ctx **context, ogg_stream_state *oggss, FILE **f)

Variables

static bool done = false
const unsigned FPS = 30
const unsigned HEIGHT = 480
const unsigned WIDTH = 640

Function Documentation

void logfilename ( char *  buf,
uint32_t  buf_len 
)

Definition at line 22 of file record_theora.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 109 of file record_theora.cpp.

void shutdown_encoder ( th_enc_ctx **  context,
ogg_stream_state *  oggss,
FILE **  f 
)

Definition at line 93 of file record_theora.cpp.

void sigint_handler ( int  )

Definition at line 17 of file record_theora.cpp.

void start_encoder ( th_enc_ctx **  context,
ogg_stream_state *  oggss,
FILE **  f 
)

Definition at line 30 of file record_theora.cpp.


Variable Documentation

bool done = false [static]

Definition at line 15 of file record_theora.cpp.

const unsigned FPS = 30

Definition at line 14 of file record_theora.cpp.

const unsigned HEIGHT = 480

Definition at line 14 of file record_theora.cpp.

const unsigned WIDTH = 640

Definition at line 14 of file record_theora.cpp.



corobot_camera
Author(s): Morgan Cormier/mcormier@coroware.com
autogenerated on Tue Jan 7 2014 11:39:25