— Lock the memory associated with a memory handle and make it available for use.
||OfxImageMemoryHandle memoryHandle ,|
This function locks them memory associated with a memory handle and returns a pointer to it. The memory will be 16 byte aligned, to allow use of vector operations.
Note that memory locks and unlocks nest.
After the first lock call, the contents of the memory pointer to by returnedPtr is undefined. All subsequent calls to lock will return memory with the same contents as the previous call.
Also, if unlocked, then relocked, the memory associated with a memory handle may be at a different address.
OfxImageEffectSuiteV1::imageMemoryAlloc, null is placed in returnedPtr