|
Video Effects SDK 2.6.0.118490
AI-powered SDK for real-time video enhancement.
|
Access to the data inside IFrame. More...
#include <vb_sdk/frame.h>
Public Member Functions | |
| virtual unsigned int | bytesPerLine (int planarIndex) const =0 |
| Returns the number of bytes per line. | |
| virtual void * | dataPointer (int planarIndex)=0 |
| Returns pointer to component data. | |
| Public Member Functions inherited from tsvb::IRelease | |
| virtual void | release ()=0 |
| Releases the memory that was allocated for the object. | |
Access to the data inside IFrame.
Obtained with IFrame::lock(). Don't use the IFrame until ILockedFrameData is released.
If obtained with FrameLock::write or FrameLock::readWrite, the changes are applied after ILockedFrameData is released. If obtained with FrameLock::read, don't change the data.
|
pure virtual |
Returns the number of bytes per line.
| planarIndex | See dataPointer(). |
|
pure virtual |
Returns pointer to component data.
| planarIndex | Depends on the frame format. For FrameFormat::bgra32 and FrameFormat::rgba32 always use 0. For FrameFormat::nv12, 0 returns pointer to the Y component, 1 returns pointer to the UV component. |