Last change
on this file since 414 was 403, checked in by Sanahuja Guillaume, 4 years ago |
select user memory pointer (v4l) if using custom alloc function in images (ie if initdsp was called)
|
File size:
902 bytes
|
Line | |
---|
1 | // %flair:license{
|
---|
2 | // This file is part of the Flair framework distributed under the
|
---|
3 | // CECILL-C License, Version 1.0.
|
---|
4 | // %flair:license}
|
---|
5 | // created: 2012/01/19
|
---|
6 | // filename: Ps3Eye.cpp
|
---|
7 | //
|
---|
8 | // author: Guillaume Sanahuja
|
---|
9 | // Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
10 | //
|
---|
11 | // version: $Id: $
|
---|
12 | //
|
---|
13 | // purpose: objet integrant la camera Ps3Eye
|
---|
14 | //
|
---|
15 | //
|
---|
16 | /*********************************************************************/
|
---|
17 | #ifdef ARMV7A
|
---|
18 |
|
---|
19 | #include "Ps3Eye.h"
|
---|
20 |
|
---|
21 | using std::string;
|
---|
22 | using namespace flair::core;
|
---|
23 |
|
---|
24 | namespace flair {
|
---|
25 | namespace sensor {
|
---|
26 |
|
---|
27 | Ps3Eye::Ps3Eye(string name, int camera_index,bool useMemoryUsrPtr,
|
---|
28 | uint8_t priority)
|
---|
29 | : V4LCamera( name, camera_index, 320, 240,
|
---|
30 | Image::Type::Format::YUYV, useMemoryUsrPtr,priority) {
|
---|
31 | SetIsReady(true);
|
---|
32 | }
|
---|
33 |
|
---|
34 | Ps3Eye::~Ps3Eye() {}
|
---|
35 |
|
---|
36 | } // end namespace sensor
|
---|
37 | } // end namespace flair
|
---|
38 |
|
---|
39 | #endif |
---|
Note:
See
TracBrowser
for help on using the repository browser.