-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Frame class has a constructor :
Frame::Frame(int _width,
int _height,
Fourcc _fourcc,
int _size,
uint8_t* _data)
that can take a pointer to data. Normally such constructor looks like it can be used as a wrapper object (as cheap creating of Frame object for a a buffer) if _data is not nullptr. However this constructor actually makes the deep copy of _data pointer. More logical way if data is not null, then it will not allocate any buffer and just use where _data points as wrapper instance.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request