3

Say I have some pixel buffer associated with variable:

CVPixelBufferRef a;

I want to clone that buffer with all it contents and assign the cloned one to another variable. What is the most correct and fast way to do that?

Peter Hosey
  • 95,783
  • 15
  • 211
  • 370
BorisV
  • 683
  • 3
  • 20

1 Answers1

2

So far I did not find a better solution than memcpy(). Hope it copies all the needed data.

BorisV
  • 683
  • 3
  • 20