title: How to display a raw YUV frame in a Cocoa OpenGL program
body: <p>I have been assigned wit the task to write a program that takes a sample raw YUV file and display it in a Cocoa OpenGL program.</p>
  
  <p>I am an intern at my job and I have little or no clue how to start. I have been reading wikipedia &amp; articles on YUV, but I couldn't find any good source code on how to open a raw YUV file, extract the data and convert it into RGB and display it in the view window.</p>
  
  <p>Essentially, I need help with the following aspects of the task
  -how to extract the YUV data from the sample YUV file
  -how to convert the YUV data into RGB color space
  -how to display the RGB color space in OpenGL. (This one I think I can figure out with time, but I really need help with the first two points)</p>
  
  <p>please either tell me the classes to use, or point me to places where i can learn about YUV graphic/video display</p>