Ignore:
Timestamp:
03/23/21 09:40:41 (3 years ago)
Author:
Sanahuja Guillaume
Message:

select user memory pointer (v4l) if using custom alloc function in images (ie if initdsp was called)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/V4LCamera.cpp

    r353 r403  
    2828 
    2929V4LCamera::V4LCamera(string name,uint8_t camera_index, uint16_t width, uint16_t height,
    30                      Image::Type::Format format, uint8_t priority)
     30                     Image::Type::Format format, bool useMemoryUsrPtr,uint8_t priority)
    3131    : Thread(getFrameworkManager(), name, priority),
    3232      Camera(name, width, height, format) {
    3333 
    34   pimpl_=new V4LCamera_impl(this,name,camera_index,width,height,format);
     34  pimpl_=new V4LCamera_impl(this,name,camera_index,width,height,format,useMemoryUsrPtr);
    3535}
    3636
Note: See TracChangeset for help on using the changeset viewer.