Dear all, I am trying to use a library called Hermes for conversting from a yuv buffer to an rgb one. I cannot get it to work correctly, I hope that some one can help. The library requires the bitmasks for red, green and blue in the source and destionation spaces. For the destination they should be (I hope!): r=0xff0000; g=0x00ff00; b=0x0000ff; To get the input ones, it seemed quite simple to me to get the conversion matrix (from Poynton's colorFAQ) and plug in the vectors (255 0 0), (0 255 0) and (0 0 255), obtaining the following values: r=0x515af0; g=0x913622; b=0x29f06e; BUT this does not work at all, I get the conversion output wrong. Can anyone explain me why? I am quite sure that the input buffer is correctly formatted. I have also performed the conversion using the method in release 1.60 of ov511.c and it works. The Hermes library performs some of its operatin using assembly routines, so it should be faster than the c code in the ov511 module. Is this correct? Thank you very much in advance, Enrico Costanza