$search

dev_camera1394.cpp File Reference

libdc1394 digital camera library interface implementation More...

#include <stdint.h>
#include "yuv.h"
#include <dc1394/dc1394.h>
#include <sensor_msgs/image_encodings.h>
#include "dev_camera1394.h"
#include "camera1394/Camera1394Config.h"
Include dependency graph for dev_camera1394.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CAM_EXCEPT(except, msg)
 Macro for throwing an exception with a message.
#define CAM_EXCEPT_ARGS(except, msg,...)
 Macro for throwing an exception with a message, passing args.
#define NUM_DMA_BUFFERS   4

Functions

std::string bayer_string (dc1394color_filter_t pattern, unsigned int bits)

Detailed Description

libdc1394 digital camera library interface implementation

This device interface is partly derived from the Player 1394 camera driver.

The ROS image pipeline provides Bayer filtering at a higher level (in image_proc). In some cases it is useful to run the driver without the entire image pipeline, so libdc1394 Bayer decoding is also provided here.

Definition in file dev_camera1394.cpp.


Define Documentation

#define CAM_EXCEPT ( except,
msg   ) 
Value:
{                                                               \
    char buf[100];                                              \
    snprintf(buf, 100, "[Camera1394::%s]: " msg, __FUNCTION__); \
    throw except(buf);                                          \
  }

Macro for throwing an exception with a message.

Definition at line 61 of file dev_camera1394.cpp.

#define CAM_EXCEPT_ARGS ( except,
msg,
...   ) 
Value:
{                                                                       \
    char buf[100];                                                      \
    snprintf(buf, 100, "[Camera1394::%s]: " msg, __FUNCTION__, __VA_ARGS__); \
    throw except(buf);                                                  \
  }

Macro for throwing an exception with a message, passing args.

Definition at line 69 of file dev_camera1394.cpp.

#define NUM_DMA_BUFFERS   4

Definition at line 57 of file dev_camera1394.cpp.


Function Documentation

std::string bayer_string ( dc1394color_filter_t  pattern,
unsigned int  bits 
)

Definition at line 375 of file dev_camera1394.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


camera1394
Author(s): Jack O'Quin, Patrick Beeson, Nate Koenig, Andrew Howard, Damien Douxchamps, Dan Dennedy, Ken Tossell
autogenerated on Sat Mar 2 12:11:26 2013