MikeG
March 9, 2007, 23:59:58
I'm using a SONY DCR-HC20 Super SteadyShot video camera with IC Imaging Control, and I also have a filter in the device path. When I call the VideoFormats method, it returns a large number of items. One of these is "RGB8 (720x480)". But when I set imagingcontrol.VideoFormat = "RGB8 (720x480)", and then display imagingcontrol.VideoFormat, it returns "YUY2 (720x480)"
If I program my filter to accept all formats, it receives data in the YUY2 format (I think), but the value returned by FrameTypeInfo::getColorFormat is 0,which presumably is eInvalidColorFormat.
But if I specify only RGB8 as a supported format, it receives data in RGB8.
Can you explain what's going on here?
Thanks,
Mike
If I program my filter to accept all formats, it receives data in the YUY2 format (I think), but the value returned by FrameTypeInfo::getColorFormat is 0,which presumably is eInvalidColorFormat.
But if I specify only RGB8 as a supported format, it receives data in RGB8.
Can you explain what's going on here?
Thanks,
Mike