Hello ,
I am trying to convert the interlaced output from CCDC into progressive on DM6437 EVM.
I tried to implement this by using below function
void process_image( void* currentFrame, int yRows, int xPixels)
{
int x = (xPixels * 2);
int array[480][1440];
int k;
int j;
for (j=0;j < x;j++)
{
for (k= 0; k < yRows ;k=k+2)
{
array[k][j] = (currentFrame[k][j]+currentFrame[k+1][j])/2;
currentFrame[k][j] = array[k][j];
currentFrame[k+1][j]= array[k][j];
}
}
}.
But here ia getting error : "video_preview.c", line 281: error: expression must be a pointer to a complete object type.
can i access the pixels of the framepointerbuffer like this ?
Can someone help me in this..?