Hello,
i am trying to add simple test streams in to the captured data directly before resizing operation.
so that in both one shot mode and continuous mode i can be able to view my string.
for testing i am trying to do some memcopy in to captured buffer in side the kernel vpfe_imp_dma_isr() rutine or inside VIDIOC_STREAM_ON IOCTL
but nothing happens, after my memcopy it hangs up.
i think accessing the capture buffer is not correct.
i did following.
size1 = (128 * 128);
mbuf = kmalloc( size1 , GFP_KERNEL);
memset(mbuf,1,size1);
memcpy((void *)(&addr1 ), mbuf,size1);
//memset(virt_to_phys((void *)addr),0,common->curFrm->bsize);
//memset((void *)common->curFrm->baddr+addr,0,common->curFrm->bsize);
kfree(mbuf);
is the address returned by common->curFrm->baddr and common->curFrm->boff is the address where my capture buffer goes.
some one please suggest me which is the right place to access my capture buffer and insert some additional data ?