title: Zxing camera and preview frame format (YUV, RGB...)
body: <p>I'm using the Zxing API to decode some QR Code images.
  I need to convert the YUV format to -> RGB format to be used in an other application.</p>
  
  <p>I know the camera buffer returns a byte[] under the NV21 format (YUV), but which one is it ?</p>
  
  <ul>
  <li>Do I get a <strong>YUV420</strong> format ? Or a <strong>YUV422</strong> format ?</li>
  <li>If so, how do I convert this format to an RGB888 format ? Do I need
  to convert the YUV to YUV888 before that ?</li>
  </ul>
  
  <p>Thanks for your time,</p>
  
  <p><strong>EDIT:</strong>
  One thing I do not undestand is the length of the byte[] from the YUV420 preview frame. For a 1280*720 resolution , I get 1,382,400.00 bytes. How is it calculated ?</p>