The above snippet looks correct. Is the entire frame data going to the Host? Are you getting any enumeration issues?
thanks for your reply. i did not get any enumeration issues.
one point i want to confirm with you is that the YUV420 image size is width*height*3/2, what is the correct value for Number of bits per pixel?
16,/*0x10,*/ /* Number of bits per pixel used to specify color in the decoded video frame.
do you have any recommended windows software which can support yuv420 uvc camera? i cannot get streaming using Amcap. not sure it is our fiwmare issue or windows software issue?
it works now. thanks for your great support.