I'm doing a video processing project, and I got struck in assigning the block address for sending to the dct function.
The following line is not taking the correct assignment address as the right hand variable pointing to.
temp = (unsigned short *)((unsigned short *)(p_vqi->luma + j) + l);
so temp
does not contain the correct address pointed by the p_vqi->luma
variable, where j
and i
will be incremented 16 times on each step for a maximum of 144 and 176 respectively.