How to save buffer data in a file(playable) from vb2_buffer structure
I am learning to understand the how v4l2_based drivers work, and subsequently system calls as well. As a part of that working on decoder driver.
So I need to take the buffer data out after the qbuf system-call after it is getting transferred to the vb2_bufffer from v4l2_buffer. I am required to dump data after qbuf as there is no decoder involved by calculating the size I can verify my system call is working.
I have developed a driver which have all the required system call, but because there is no secific hardware decoder is there can’t check woth playback.
Please do suggest other ideas to debug as well.
How to save buffer data in a file(playable) from vb2_buffer structure
I am learning to understand the how v4l2_based drivers work, and subsequently system calls as well. As a part of that working on decoder driver.
So I need to take the buffer data out after the qbuf system-call after it is getting transferred to the vb2_bufffer from v4l2_buffer. I am required to dump data after qbuf as there is no decoder involved by calculating the size I can verify my system call is working.
I have developed a driver which have all the required system call, but because there is no secific hardware decoder is there can’t check woth playback.
Please do suggest other ideas to debug as well.