Hello,
I am writing a USB camera mini-driver using
USBCAMD2. I have the basic driver working, but need to
get the video into the desired format for proper viewing
in DirectShow. The video is 8-bit grayscale, and is
interlaced (I receive two fields in one "frame" from the
camera and interlace them in the CamProcessRawVideoFrameEx
() function in my minidriver. They are displayed on the
screen using RGB8 (8-bit color.)
I would like to know how I can describe (or set
somehow) the color palette as a grayscale palette. I've
tried converting to RGB24 in the minidriver and
replicating the 8-bit pixel value that I receive from the
camera in the RGB fields. This works, but is so slow
that I'm dropping frames. Any suggestions or hints would
be appreciated.
Sincerely,
Howard M. Harte
========================
Harte Technologies, LLC.
(925) 551-0120 (voice)
(925) 551-0125 (fax)
http://www.hartetechnologies.com/