Sorry for my poor english!
My program is like these:
1)capture thread collect ycc16 data from ccdc, and after call ioctl(.., IPIPE_START, ..)make ipipe resize process, so the ipipe source is from sdram,then make a copy of the ipipe result, send the copy to video thread
2)video thread get the ipipe result copy to make the mpeg4 encode。
I found the ipipe process cann't work with the mpeg4 encode at the same time,the image is broken。If I put a mutex between the ipipe process and mpeg4 encode process, the image is OK !
Thanks for your help!