HI,
I need help for this setting: we use without problem dm648 min-driver in our application, in which acquiring a fixed image of 1024x219 pixel, but now we have to change dynamically the image size and so we follow these step :
we STOP video port driver with: status =FVID_control(vport2.chanHandle, VPORT_CMD_STOP, NULL);
we DEQUEUE all buffers and deallocate them: status =FVID_dequeue(vport2.chanHandle, &(vport2.frame));
status |=FVID_freeBuffer(vport2.chanHandle, &(vport2.frame));
then we set the new parameters and we intialize the video port: vport2.chanHandle =FVID_create("/VP2CAPTURE/A", IOM_INPUT,
&status, (Ptr)&vCapParamsChanRaw, NULL);
and finally we allocate and queue buffer and start video port: FVID_control(vport2.chanHandle, VPORT_CMD_START, NULL);
Now what we see is after some loops of these reinitialization operations the video port send black image and FVID_CONTROL result is not IOM_COMPLTED and the video port finally don't answer.
What we have to change in the using of the driver if we want to change video port parameter as image lines? for example to pass from 1024x219 image to 1024x1000?
Regards,
David