Menu

YUVFormat instead of RGBFormat

user
2005-06-16
2013-05-09
  • Nobody/Anonymous

    It seems NativeDecoder outputs YUV while it's getSupportedOutputFormats returns RGB. I think this is the reason everything looks blue I use the fobs Processor.
    Shouldn't it be YUVFormat or do some YUV2RGB conversion? BTW I think the new JOGL version includes CG, tried the OpenGL renderer with it, nice but slow, my videocard doesn't support colorspace conversion. Good job though! Keep up!

    Masato

     
    • Jose San Pedro

      Jose San Pedro - 2005-06-17

      Hi Masto,

      you're right about YUV output, but that only happens when using OpenGL renderer, because the YUV2RGB conversion takes place in the GPU (if a supported hw is present). Fobs 0.4 is really close. OpenGL implementation is completed and it automatically detects whether your GPU is capable of doing YUV2RGB or not. Only in the former case, the decoder will output YUV frames. I hope it's not that big a deal. You just have to set the Java2DRenderer as yoru default renderer to obtain standard RGBA frames!!

      Thanks for all your contributions and comments!!!

      Cheers,

      Jose San Pedro

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.