Hi to all. I'm writing on a simple piece of code that accepts in input a YUV422 image, encodes it with XVID and then decodes it to RGB 24 ...but I have found that the output image is in GBR24 format ...how is it possible? The input colorspace is YUY2 and the output colorspace is RGB24. Thanks, Christian
Without further data, are you sure it isn't really RGB24 thanks to endian byte order? There is no code in XviD that could reorder bytes from RGB to BGR. -h
What are you decoding/displaying the RGB data with? One test for this is to load the avi into a program which forces rgb24/rgb32 output, like VirtualDub. -h
--------------------- Begeisterter Fahrer von E-Fahrzeugen, egal ob E-Scooter, E-Roller, E-Motorrad oder E-Auto. [br]