Hello , im trying to read an array[256][256] in 8x8 blocks , i need to break the array into a 8x8 matrix and send it to a funcion. This is how i was trying to do it , but it seems that only one line 8x256 is being read. Please help..
ThanksCode:
temp[8][8];
array[256][256];
for(int i=0; i<256; i+=8){
for(int x=i; x<i+8; x++)
for(int y=i; y<i+8; y++)
temp[x-i][y-i]=array[x][y];
function(temp);
//.......
//rest
//......
}