cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

mihzaha
Journeyman III

different results on sdk 2.2 than 2.1

Among many other differences, the first and most visible one is the resulting image:

I have a uchar4 buffer in which I hold an image (rgbxrgbx...).

In the 2.1 it looked ok. All I did was to install the new ccc (10.8) and sdk, and the colors are all wrong: rhe red chanel (s[0]) is about half image lower than the green and blue (s[1] and s[2]), in small images (320*240) the image looks interleaved (one row of pixels ok, the other translated a bit), in medium images (640*480) only the green and blue look interleaved.

Just for testing, Image[index]=as_uchar4(index); gives interleaved lines like mentioned above. In 2.1 it showed many gradient squares from red to green and black.

Any ideeas?

and Image[index].xy=as_uchar2(ushort); crashes the compiler.



0 Likes
1 Reply
mihzaha
Journeyman III

Sorry, my fault

Didn't restart the computer after installing the new sdk and drivers, new day, new results Its good now

0 Likes