title: initWithCVPixelBuffer failed because the CVPixelBufferRef is not non-IOSurface backed
body: <p>I receive YUV frames (kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange) and when creating a CIImage from a CVPixelBufferRef I get:</p>
  
  <blockquote>
    <p>initWithCVPixelBuffer failed because the CVPixelBufferRef is not non-IOSurface backed.</p>
  </blockquote>
  
  <pre><code>CVPixelBufferRef pixelBuffer;
  
  size_t planeWidth[] = { width, width / 2 };
  size_t planeHeight[] = { height, height / 2};
  size_t planeBytesPerRow[] = { width, width / 2 };
  
  CVReturn ret = CVPixelBufferCreateWithBytes(
  kCFAllocatorDefault, width, height, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange,
  data, bytesPerRow, 0, 0, 0, &amp;pixelBuffer
  );
  
  if (ret != kCVReturnSuccess)
  {
      NSLog(@"FAILED");
  
      CVPixelBufferRelease(pixelBuffer);
  
      return;
  }
  
  CVPixelBufferLockBaseAddress(pixelBuffer, 0);
  
  // fails
  CIImage * image = [[CIImage alloc] initWithCVPixelBuffer:pixelBuffer];
  
  CVPixelBufferUnlockBaseAddress(pixelBuffer, 0);
  
  CVPixelBufferRelease(pixelBuffer);
  
  [image release];
  </code></pre>