Forums > Jitter

Bug? Color shift when translating between color modes? (

May 24, 2012 | 9:44 pm

I’ve been using @colormode uyvy for high-speed transfer to the GPU, but today I noticed that it looks quite different than other methods.

This patch shows three different image pipelines for the display of YUV content:
(These are to demonstrate color, not speed.)

1) (default rgb colormode) –> jit.argb2uyvy –> jit.slab @file cc.uyvy2rgba.jxs

2) (default rgb colormode) –>

3) (uyvy colormode) –> jit.slab @file cc.uyvy2rgba.jxs

All 3 look different! It seems to me that #3 is the "right" representation of the data, since it matches Apple’s Preview app. Notably, this is the only one that uses’s uyvy mode. What method does use to convert to RGB? Am I missing something?

(MAX 6.0.5, Mac OS 10.6.8)

A color chart jpeg is attached.

— Pasted Max Patch, click to expand. —


  1. ColorChecker640.jpg


April 29, 2013 | 2:22 pm

I noticed the same but for me the best result is : @colormode uyvy -> context_name @colormode uyvy

jit.slab @file cc.uyvy2rgba.jxs (or uyvy2rgba.lite or uyvy2rgba.exp) gives me a colored grey.

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Jitter