Video overlay options
- From: dpekin@xxxxxxxxxxx
- Date: 24 Apr 2006 14:18:30 -0700
Hello,
I've been tasked with replacing a hardware frame grabber/camera combo
with a new USB camera & DirectX solution. This is part of a large
test and measurement system that is based on legacy code from years
past. Video display and image acquisition is supported in a video DLL.
The video dll isolates the hardware so that different types of frame
grabbers and cameras could be supported. I would like to keep the
lion's share of the changes isolated here since my changes still have
to support old hardware.
Painting the reticle lines on the video window and delineating targets
are handled outside of the video dll. Reticle lines are painted
directly on the video display window using the getDC(),
MoveTo(),LineTo() commands. Similarly the user can drag a box to
highlight a target region supported by the same type of commands. I
would like to minimize changes to this part of the code.
I've reviewed many DirectX samples but have not found what I'm looking
for. I'd like to display a live video window using DX yet still be
able to use the original getDC(), MoveTo(),LineTo() commands for
drawing the reticles & regions of interest. I understand this doesn't
fall into the graph, filter, renderer architecture. My goal is to
minimize the number of changes to the upper level code and get the USB
camera support by localizing changes to the video dll. Does anyone
know if this approach is feasible? I already have the video display
working but have not been able to find a setting that would allow the
line drawing to work. Is there a setting that would support this?
Thanks for any suggestions.
Regards,
Dave P.
.
- Follow-Ups:
- Re: Video overlay options
- From: The March Hare [MVP]
- Re: Video overlay options
- Prev by Date: Re: Find sourcefilter in graph!
- Next by Date: Re: Video overlay options
- Previous by thread: Re: Video Frames Droped
- Next by thread: Re: Video overlay options
- Index(es):
Relevant Pages
|
Loading