home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / hp / 13188 < prev    next >
Encoding:
Text File  |  1992-11-20  |  2.4 KB  |  57 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!apollo.hp.com!cupnews0.cup.hp.com!scd.hp.com!hpscdm!hplextra!hplntx!hplabs!martins
  3. From: martins@hpl.hp.com (Henrique Martins)
  4. Subject: Re: HP VideoLive card
  5. Sender: news@hplabs.hpl.hp.com (HPL News Posting Service)
  6. Message-ID: <MARTINS.92Nov20071930@hpl.hp.com>
  7. In-Reply-To: ikeken@md.tsukuba.ac.jp's message of 20 Nov 92 07:05:22 GMT
  8. Date: Fri, 20 Nov 1992 15:19:30 GMT
  9. References: <3452@shark.md.tsukuba.ac.jp>
  10. Organization: Hewlett-Packard Laboratories, Palo Alto, CA
  11. Lines: 44
  12.  
  13. In article <3452@shark.md.tsukuba.ac.jp> ikeken@md.tsukuba.ac.jp (Ken-ichi Ikebukuro) writes:
  14.  
  15. > Recently I got HP VideoLive card for reading video signal into
  16. > my hp730.  And I'm very much surprised that there is no information
  17. > or library to control the VideoLive card directly from c or other
  18. > programming language. ...
  19.  
  20. > My purpose is to make a image processing program which can read
  21. > a video signal directly from the video camera.  So the enclosed
  22. > simple program is quit insufficient and the information to control
  23. > the LiveVideo card is necessary.
  24.  
  25. #include <std/disclaimer>
  26.  
  27.   One way of doing what you want is to use the X Window System Video
  28. Extension.
  29.  
  30.    If you got a VideoLive card from HP, are running HP-UX 8.07, and
  31. the installation process replaced your X server with one that allows the
  32. VideoLive card to run, you got an X server with the video extensions. (At
  33. 9.0 the X server will have this extensions by default.)
  34.  
  35.   The VideoLive card installation process should also have given you the
  36. video extension library, called libXv.a, and placed it in /usr/lib/X11.
  37.  
  38.   I think (and don't know why) the installation process doesn't give you
  39. the include files and man pages for the Video Extension call (I don't know
  40. whether they will come in 9.0 or not). However these can be ftp'ed from
  41. MIT. I had to do it.
  42.  
  43.   It should then be quite simple to figure out how to use the video
  44. extension calls. (The proof is that I did it :-)) I guess (form memory)
  45. that it boils down to a XQueryAdaptor, XPutSill, and XGetImage calling
  46. sequence.
  47.  
  48.   Note however that this is probably a little bit slow, as the image has to
  49. go from the X server to your process, all 640x480x4 bytes of it. There are
  50. other ways to get to the card and control it, but I'm not sure why HP
  51. and/or RasterOps aren't giving them away, and I'm not privileged with that
  52. type of information.
  53.  
  54.   -- Henrique (martins@hpl.hp.com)
  55.  
  56.  
  57.