> For non-MMX, my experience is that a lookup table "can't" be safely used for > YUV / YCbCr to RGB conversion. I found that most video clips would be ok, but > occasionally one frame (or even pixel) would yield a value that was way off - > mostly negative, if I remember. Since you reference outside the table in that > special case, and probably crash, lookup tables can't be used. Of cource you can use lookup tables. Pointer arithmetic works with negative values too. You can calculate the worst case, make the lookup table big enouth and you are done. Gerd -- Man muß die Software wacker hüten weil in der Welt die Hacker wüten