Skip to content
  • Laurent Aimar's avatar
    Added YUV(planar)->RGB conversion support to opengl using a fragment program. · e262dbe2
    Laurent Aimar authored
    All planar YUV are supported (only YV12, I420, I422, I444 were tested).
    
    For now, the YUV is supposed to follow BT-709 when video height is higher
    than 576, and BT-601 otherwise. The YUV range is supposed to be TV, and
    the RGB one is supposed to be full range.
    
    In the current state, the behaviour is unchanged on macosx (ie YUY2
    is used instead), and when opengl ES is requested (RGB 16 bits).
    e262dbe2