Pavel,
It's simple.
I just added some code in 'saLoopBackFbdev.c' to insert my video process algorithm.
The following is added test code in capture loop.
int x,y;
unsigned char * p_capt=capt.buf.m.userptr;
for(x=capt.fmt.fmt.pix.height/2;x<capt.fmt.fmt.pix.height;x++)
for(y=0;y<capt.fmt.fmt.pix.width;y++){
(*(p_capt+capt.fmt.fmt.pix.width*x*3+y*3+0))=255;
(*(p_capt+capt.fmt.fmt.pix.width*x*3+y*3+1))=255;
(*(p_capt+capt.fmt.fmt.pix.width*x*3+y*3+2))=255;
}
Problem is...
1. Screen is flickering like bellow.
2. And frame rate is so slow. It decreases from 60fps to 20fps.
thank you