Changeset 403 in flair-src for trunk/lib/FlairSensorActuator/src/V4LCamera_impl.cpp
- Timestamp:
- 03/23/21 09:40:41 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/V4LCamera_impl.cpp
r401 r403 37 37 38 38 V4LCamera_impl::V4LCamera_impl(V4LCamera *self,string name,uint8_t camera_index, uint16_t width, uint16_t height, 39 Image::Type::Format format ) {39 Image::Type::Format format,bool useMemoryUsrPtr) { 40 40 this->self=self; 41 41 … … 60 60 } 61 61 62 //todo: better handling of detection, only neeeded for omap/dm 63 //also in run, copy from v4l to cmem is not necessary if not using cmem... 64 #ifdef ARMV7A 65 useMemoryUsrPtr=true; 66 #else 67 useMemoryUsrPtr=false; 68 #endif 62 //todo: in run, copy from v4l to cmem is not necessary if not using cmem. (!useMemoryUsrPtr) 63 this->useMemoryUsrPtr=useMemoryUsrPtr; 64 69 65 if(useMemoryUsrPtr) { 70 66 AllocUserBuffers();
Note:
See TracChangeset
for help on using the changeset viewer.