title: How to convert a YV12 image to BGRA using opencv?
body: <p>To convert YV12 to BGRA, I do like below:</p>
  <pre><code> cv::Mat yuv(height * 3/2, width, CV_8UC1, src);
   cv::Mat dst;
   cv::cvtColor(yuv, dst, CV_YUV2BGRA_YV12);
  </code></pre>
  <p>That code will work when the &quot;src&quot; is a contiguous buffer.</p>
  <p>In case I have a YV12 buffer with its Y, U, V components stored in 3 separate planes and they are not contiguous, how can I do the conversion using cvtColor()?</p>