reply to post #29:
it looks like there will be 3 input arrays and 3 output arrays at each step(YCbCr)
.........................................................................
more reply to post #29:
s = s + (alpha(p,q) * double(I(p,q)) * cosines(p,m) * cosines(q,n));
alpha and cosines are arrays defined in the sample code
double() is casting the input (I) from an int to a double(we have 3 I for each pixel Y, Cr, Cb )
p, m, & n are loop variables
............................................................................
we will do 3 operations on each pixel - one each for Y, Cr , and Cb
we will do 3 operations on each pixels at each step
................................................................................
.....