Last change
on this file since 413 was 403, checked in by Sanahuja Guillaume, 3 years ago |
select user memory pointer (v4l) if using custom alloc function in images (ie if initdsp was called)
|
File size:
1.0 KB
|
Rev | Line | |
---|
[3] | 1 | // %flair:license{
|
---|
[15] | 2 | // This file is part of the Flair framework distributed under the
|
---|
| 3 | // CECILL-C License, Version 1.0.
|
---|
[3] | 4 | // %flair:license}
|
---|
| 5 | /*!
|
---|
| 6 | * \file Ps3Eye.h
|
---|
| 7 | * \brief Class for Ps3Eye camera
|
---|
| 8 | * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
| 9 | * \date 2012/01/19
|
---|
| 10 | * \version 4.0
|
---|
| 11 | */
|
---|
| 12 |
|
---|
| 13 | #ifndef PS3EYE_H
|
---|
| 14 | #define PS3EYE_H
|
---|
| 15 |
|
---|
| 16 | #include "V4LCamera.h"
|
---|
| 17 |
|
---|
[15] | 18 | namespace flair {
|
---|
| 19 | namespace sensor {
|
---|
| 20 | /*! \class Ps3Eye
|
---|
| 21 | *
|
---|
| 22 | * \brief Class for Ps3Eye camera
|
---|
| 23 | */
|
---|
| 24 | class Ps3Eye : public V4LCamera {
|
---|
[3] | 25 |
|
---|
[15] | 26 | public:
|
---|
| 27 | /*!
|
---|
| 28 | * \brief Constructor
|
---|
| 29 | *
|
---|
| 30 | * Construct a Ps3Eye.
|
---|
[137] | 31 | * It will be child of the FrameworkManager.
|
---|
[15] | 32 | *
|
---|
| 33 | * \param name name
|
---|
| 34 | * \param camera_index index of the camera, ie /dev/videox
|
---|
[403] | 35 | * \param useMemoryUsrPtr true to use memory user pointer (ex with cmem on omap3730), false to use mmap
|
---|
[15] | 36 | * \param priority priority of the Thread
|
---|
| 37 | */
|
---|
[137] | 38 | Ps3Eye(std::string name,
|
---|
[403] | 39 | int camera_index, bool useMemoryUsrPtr,uint8_t priority);
|
---|
[3] | 40 |
|
---|
[15] | 41 | /*!
|
---|
| 42 | * \brief Destructor
|
---|
| 43 | *
|
---|
| 44 | */
|
---|
| 45 | ~Ps3Eye();
|
---|
[3] | 46 |
|
---|
[15] | 47 | private:
|
---|
| 48 | };
|
---|
[3] | 49 | } // end namespace sensor
|
---|
| 50 | } // end namespace flair
|
---|
| 51 |
|
---|
| 52 | #endif // PS3EYE_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.