"Apparatus for capturing a frame of video data for sending to a printer"
The present invention relates to apparatus for capturing a frame of video data and for presenting the frame of video data in a form for sending to a printer.
Such apparatus are known. However, in general, they tend to be relatively expensive. One of the reasons for the relative expense of such known apparatus is that they tend to use relatively expensive memories.
There is therefore a need for an apparatus for capturing a frame of video data and for presenting the frame of video data in a form for sending to a printer which is relatively less expensive than those known heretofore.
The present invention is directed towards providing such apparatus.
According to the invention there is provided apparatus for capturing a frame of video data and presenting the frame of video data in a form for sending to a printer, the apparatus comprising an input means for receiving an analogue video signal and for converting the video signal from analogue to digital form, a storing means for receiving the digital video signal from the input means and for storing the video signal, a first output means for receiving the digital video signal from the input means or the storing means, and for converting the digital video signal to analogue form for outputting to an analogue video signal receiver, a second output means for receiving a frame of the video signal in digital form for outputting to a printer for printing the frame, and a control means for controlling the operation of the apparatus, wherein the storing means comprises a dynamic random access memory having a memory architecture such that there is a different number of storage locations per line in the storage means than there are pixels per line in the video signal, a pair of input buffer means being provided for storing respective alternate video pixels for providing time to allow a row
address of the dynamic random access memory to be changed during the middle of a line of video pixels, the video pixels being alternately written to the dynamic random access memory from the respective input buffer means, and a pair of output buffer means into which alternate video pixels are written from the dynamic random access memory for transmission to the first or second output means.
Preferably, each buffer means comprises a latch.
In one embodiment of the invention a clock signal generating means is provided for generating clock signals for controlling reading and writing between the dynamic random access memory and the respective input and output buffer means, the clock signals outputted by the clock signal generating means being derived from a clock signal in the analogue video signal.
In another embodiment of the invention a plurality of dynamic random access memories are provided, each dynamic random access memory comprising a memory architecture of 256Kbytes x 16.
In a further embodiment of the invention a video address generating means is provided for generating frame and store addresses in the dynamic random access memory at which video pixels from the input means are stored or from which the video pixels are retrieved.
In a further embodiment of the invention a refresh address generating means is provided for generating frame, store and row addresses at which refresh is to occur.
The invention will be more clearly understood from the following description of a preferred embodiment thereof which is given by way of example only with reference to the accompanying drawings, in which:
Fig. 1 is a block representation of apparatus according to the invention for capturing a frame of video data and for presenting the frame of video data in a form for sending to a printer, and
Fig. 2 is a block representation of a detail of the apparatus of Fig. 1.
Referring to the drawings there is illustrated apparatus according to the invention, which is indicated generally by the reference numeral 1 for capturing a frame of video data and for presenting the frame of video data in a form for sending to a printer (not shown). The apparatus 1 comprises an input means, namely, an input unit 2 having an input terminal 3 for continuously receiving an analogue video signal of the video data. The input unit 2 comprises a digital to analogue converter (not shown) for converting the analogue video signal into digital form. Outputs 4 from the input unit 2 continuously output the video signal in digital form. A storing means, namely, a storing unit 5 which is described in detail below with reference to Fig. 2 receives and stores the video signal one frame at a time in digital form. A first output means, namely, a first output unit 6 continuously receives the video signal in digital form from the input unit 3 or from the storing unit 5 on inputs 7. The first output unit 6 comprises a digital to analogue converter (not shown) for converting the video signal in digital form into analogue form and for outputting the analogue form of the signal on an output 8 for transmission to an analogue video signal receiver, for example, a visual display unit, television monitor, or the like, none of which are shown. A second output unit 10 receives a stored frame of the video signal from the storing unit 5 for relay to a printer (not shown) in digital form on an output 11.
A control means, in this case a microprocessor 12 controls the operation of the apparatus 1, and in response to an external signal causes the storing unit 5 to output a stored frame of the video signal to the second output unit 10 for relay to the printer. Typically, the video signal is routed through the storing unit 5 from the input unit 2 to the first output unit 6, and the video signal from the first output unit 6 is displayed on a video display unit. The user may then select any frame being displayed on the video display and on a command to the microprocessor 12, the storing unit 5 downloads the currently stored frame of the video signal to the second output unit 10.
Turning now to Fig. 2 the storing unit 5 will now be described in detail. The storing unit 5 comprises a dynamic random access memory (DRAM) 15. In this embodiment of the invention the memory architecture of the DRAM 15 is 256Kbytes x 16. Thus, there are less memory locations per line in the DRAM 15 than there are pixels in a line of a video signal, since in a video signal the number of pixels per line is between 640 and 738. Thus, as the digital video signal is being written into the DRAM 15 the row address must be changed in most if not all of the video lines. In order to facilitate this, the digital video signal from the input unit 2 is written into a pair of input buffers, namely, input latches 16 and 17 in such a way that alternate pixels in the digital video signal are written into the respective input latches 16 and 17. In this way, each pixel in the digital video signal is retained in one of the latches 16 and 17 for twice its normal time. A swapping circuit 20 controls the writing of the alternate pixels into the respective latches 16 and 17 by alternately routing strobe signals to the respective latches 16 and 17. The swapping circuit 20 is controlled by the microprocessor 12, and derives its input signals from the clock signal in the video signal. The pixels in the input latches 16 and 17 are alternately written to the DRAM 15 under the control of the microprocessor 12 and clock signals from the swapping circuit 20. The video signal stored in the DRAM 15 is written from the DRAM 15 into output buffers, namely, output latches 22 and 23 in such a way that alternate pixels in the video signal are written into the respective output latches 22 and 23. The pixels are alternately read by the first and second output units 6 and 10 from the output latches 22 and 23 under the control of the microprocessor 12 and under the control of the clock signals from the swapping circuit 20.
Accordingly, by virtue of the fact that each pixel is stored in one of the input latches 16 and 17 for twice the time that it would normally be available to the DRAM 15, sufficient time is left for the DRAM row address to be changed during the middle of a video line. The output latches 22 and 23 likewise provide sufficient time for reading the DRAM row address when the stored signal is being read from the DRAM 15 through the output latches 22 and 23 by either or both of the first and
second output units 6 and 10.
A video address generating means is provided by a sub-module (not shown) which operates under the control of the microprocessor 12 for generating the frame store addresses at which the video signal is stored in the DRAM 15 or from which the video signal is retrieved for presentation to either of the first and second output units 6 and 10. A refresh address generating means is also provided by a sub-module (not shown) which operates under the control of the microprocessor 12 for generating the frame store row addresses at which refresh is to occur.
In use, where it is desired to display a video signal directly on a visual display unit (not shown) the video signal under the control of the microprocessor 12 is read by the first output unit 6 directly from the input unit 2, and thus relayed to the video display unit by the first output unit 6. Where it is intended to capture one or more frames of the video signal and print in a printer (not shown), the video signal is routed through the storing unit 5, and is read by the first output unit 6 and is relayed to a video display unit. To capture a frame of the video signal which is displayed on the video display unit a signal is inputted to the apparatus 1, and under the control of the microprocessor 12 the second output unit 10 reads that frame from the DRAM 15 through the output latches 22 and 23, and in turn downloads the frame to the printer.