This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: DM6446 Example V4L2 buffer

Tool/software: Linux

by use of dvsdk_2_00_00_22, I develop DM6446 application. I open device and apply for picture buffers of V4L2. Initially I think the picture buffer size relates to picture size, but indeed

it keeps a big size no matter which cmos sensor video format is given. I went back to the example in folder  dvsdk_2_00_00_22\PSP_02_00_00_140\examples\dm644x\ccdc, and 

found it had same picture buffer size. the size is 0x3f5000 while the video format is VGA(640x480). I need not so big these picture buffers, I want to make the picture zise same as the video format,

just as dm648 video driver does. I want to know whether the dm6446 V4L2 driver is able to give different  picture size according to video format from cmos sensor, and how to do it if it can.

I apply for 5 picture buffers, the details are printed into a log file.

S_STD Done

GetSTD Done WITH std = 1

S_FMT Done
initializing capture buffers

REQBUF Done
nIndex = 0
length = 3f5000, start = 4216a000, offset = 85400000
nIndex = 1
length = 3f5000, start = 4255f000, offset = 85800000
nIndex = 2
length = 3f5000, start = 42954000, offset = 85c00000
nIndex = 3
length = 3f5000, start = 42d49000, offset = 81800000
nIndex = 4
length = 3f5000, start = 4313e000, offset = 81c00000

QUERYBUF Done

Q_BUF Done
starting streaming