VIDEO ENCODER APPARATUS

Abstract: A line rotation encoder for use with cable or pay television systems includes a storage unit (54) having a storage capacity large enough to store only a single digitized video horizontal line of information, an ad­ dress counter (56) coupled to the storage unit and split-ad­ dress circuitry for setting the address counter to an initial value. A comparator unit (58) coupled to the address counter (56) provides an end of line signal. As each encoded video sample is read out from a storage location address­ ed by the address counter, a digitized sample for a sub­ sequent horizontal video line overwrites the value pre­ viously read out. When the encoded line has been com­ pletely read out, the next line is already stored in the storage unit.

Description: The invention pertains to a video encoder apparatus and to a method of encoding according to the precharacterizing part of claim 1 and claim 4, respectively. In pay or cable television systems, some form of signal scrambling is required to insure that only paid subscribers will receive the product. The use of signal scrambling also requires the use of receiver decoders or descramblers. The potential number of subscribers can be quite large. As a result, it becomes profitable for unauthorized organizations or companies to sell or provide unauthorized decoders or descramblers. For this reason, the scrambling system must be secure, not only against reception by normal televisions, but also against the design of inexpensive pirate receiver decoders or descramblers. Existing devices are known for encoding and decoding video signals using line-rotation video scrambling. Line-rotation video scrambling intentionally interchanges segments of each video line prior to transmission. At the transmitting end, an encoder must be used to accomplish this exchange. At the transmission end of a conventional line-rotation video scrambling system, horizontal scan lines are cut at varying points and the line segments switched in time. This, in effect, rotates the end of each line to the beginning of the same line. At the reception end, the scrambled video lines are "rotated" back into the original time sequence by the local decoder apparatus. The known encoder circuitry usable with line-rotation scrambling requires the use of two memory circuits with information alternately read out of each. Each of the memory circuits is used to temporarily store a next scrambled line of video while the other memory is reading out a current, unscrambled line of video. Line-rotation video encoding circuitry is often used in combination with other television transmitter circuitry. Since it is desirable to integrate as many circuits as possible onto a single chip, there exists a need to minimize the complexity of the encoder circuit without impairing its ability to carry out the encoding operation. There is known from EP-A1-0 127 383 a video encoder apparatus having an input-output converter unit and a control unit comprising means for storing a first plurality of data samples of video information received from the converter unit, means for addressing unique sample storage locations in the storing means, coupled to the control unit, and the storing means includes means for reading out a data sample from the first plurality prestored at a respective addressed storage location to the converter unit and means for writing into the same addressed sample storage location a respective data sample from a second plurality received from the converter unit. A disadvantage of this known encoder apparatus is that it needs storage means for more than one sampled video line. Such problems are overcome with a video encoder apparatus as defined in claim 1 and a method of encoding as defined in claim 4. In accordance with the invention, an apparatus and a method are provided for encoding information signals. The encoder apparatus includes an input-output converter unit and a control unit. The encoder apparatus further includes means for storing at least a plurality of data samples for a single digitalized horizontal line of video information received from the converter unit and means for addressing sample storage locations in the storing means. The addressing means are coupled to the control unit. The storing means includes means for reading out a video data sample prestored at a respective addressed storage location to the converter unit and for subsequently writing into the same addressed sample storage location a respective video data sample received from the converter unit. The capacity of the storing means in the encoder apparatus is essentially equal to only a single line of video information. In an embodiment of the invention, the addressing means is presettable to a predetermined value. The addressing means can further include means for sequentially addressing a plurality of storage locations of the storing means starting from the preset value. In yet a further embodiment of the invention the addressing means can include an incrementally increasing address counter or an incrementally decreasing address counter with a comparing means which includes a comparator coupled to the address counter. The address counters can be binary counters. In accordance with the invention, a method is possible of encoding an information signal in an encoder. The encoder has a storage unit and a coupled address register. The method includes the steps of storing a predetermined set of samples of an information signal in the storage unit; determining a split-address and loading the selected split-address into the address register; reading out from the storage unit a sample of encoded information at a location specified by the address in the address register; writing into the same storage location a sample of the information signal to be encoded; comparing the current address in the address register to a predetermined address value and returning to determine a new split-address, (as above), if the current address equals the predetermined end address or changing in a predetermined fashion the address in the address register if not equal and returning to read out from the storage unit (as above). In a further embodiment of the method, the selected split-address changes in a predetermined fashion for each subsequent information signal. Further, in accordance with the method each information signal can correspond to a video horizontal line signal having a predetermined number of samples. In a further embodiment of the method, the step of changing the address in the address register can include incrementing by one count the address in the address register or alternately decrementing by one count the address in the address register. In yet another embodiment of the method, wherein the video line signal to be encoded includes N samples per line, and each line is split into at least two segments at a split-address at a transmission site, then an encoder starting address would be determined in accordance with the following formula: Starting Address = (N-SP+PSA) modulo N where N is the number of samples, SP is the split-address and PSA is the previous starting address. The invention may be better understood from a reading of the following description in conjunction with the drawings in which: Fig. 1 is a block diagram schematic of a prior art line-rotation encoding apparatus; and Fig. 2 is a block diagram schematic of a line rotation encoding apparatus in accordance with the present invention. With respect to the figures, Fig. 1 illustrates in block diagram form, a prior art line-rotation encoder system 10. The system 10 is usable, for example, in connection with a television receiver. The system 10 includes an input-output conversion unit 12 which has as an input analog composite video signals to be encoded on a line 14. At a reception site, not shown, a line-rotation scrambling operation will subsequently be performed on each horizonal line signal in the composite video signal output on the line 14. The analog composite video signal is first digitized by an analog-to-digital converter (A/D) 16 in the conversion unit 12. The output of the A/D 16, in the form of 8-bit digital samples, is transmitted via an 8-bit data bus 18 to an encoder unit 20. The function of the encoder unit 20 is to preform the line-rotation scrambling operation which will be reversed at the reception site. The unit 20 includes a read-write memory 22. The memory 22 includes a plurality of locations for storing 8-bit video data samples received from the bus 18. The capacity of the memory 22 is large enough to store a set of digital samples from the bus 18 corresponding to all or part of a single horizontal video line. The read-write memory 22 may be a random access memory. The implementation of the memory 22 is conventional in the art. Video samples are stored in locations in the memory 22 under the control of a write select address counter 24. The write select counter 24 could be, for example, a 10-bit binary counter. Outputs from the write select counter 24 are coupled by a selector circuit 26 to a 10-bit address input of the memory 22. The selector circuit 26 could, for example, be a conventional multiplexor. Outputs from the write counter 24 are also coupled to a 10-bit comparator 28. A read select address counter 30 is also coupled to the data selector 26 and the comparator 28. At the same time as the memory 22 is being loaded with sampled video horizontal line data from the bus 18, samples corresponding to a previous line of video data are being read-out from a second memory 32. Ten bit address signals are supplied to the memory 32 by the read-address counter 30 via the data selector 26. The memory 32 has the same storage capacity as does the memory 22 and may be implemented in the same manner as the memory 22. The counter 30 has been preloaded with the address of the split point of the unscrambled video line by split-address circuitry 34. The split-address circuitry 34 could be implemented, for example, as a combinational circuit alone or as a combinational circuit combined with a storage register. The implementation of the split-address circuitry is conventional in the art. From this "split-address", the counter 30 is incremented to its highest address, overflows to zero, and continues incrementing to a value of "split-address-minus-1". At this time the entire previous line has been read-out from the memory 32. A second data selector, or multiplexor, 36 couples the output signals from the memory 32 to a data out bus 38. The bus 38 is in turn electrically connected to an 8-bit digital to analog converter (D/A) 40. The D/A 40 generates an encoded analog composite video signal on an output line 14 for use by a television transmitter. Conventional control logic 44 provides timing and control signals to the system 10. As is conventional in the art, the comparator 28 generates an ouput signal or indicia on a line 46 indicating when a predetermined end address has been reached by the read select counter 30. The signal on the line 46 can be used to clear the counter 30. Bits or stages of the counter 30 can then be set by the split-address circuitry 34 to a new split-address value for the next line of video information. The encoding process is now repeated with the functions of the memories 22 and 32 being interchanged by means of the data selectors 26 and 36. The memory 32 will now be loaded with video data samples from the bus 18 for the next line of video under control of the write address counter 24. The memory 22 will simultaneously read-out to the selector 36 and the output bus 38, the encoded video samples for the current horizontal line under control of the read address counter 30. The system 10 requires memories 22 and 32 for storage of data for the active portion of two video lines, address counters 24 and 30 for each respective memory 22 and 32, and two selectors or multiplexors 26 and 36. For most applications the horizontal blanking interval need not be stored in the memories 22 or 32. Figure 2 illustrates a system 50 in accordance with the present invention. The system 50 includes the same converter unit 12 and control logic 44 disclosed above and illustrated in Figure 1. The system 50 also includes an encoder unit 52 in accordance with the present invention. An important advantage of the encoder unit 52 is that the unit 52 uses the identical converter unit 12 as does the prior art encoder unit 20 of Figure 1 and has the same input-output configuration as does the system 10. However, the encoder 52 requires only one-half the storage capacity and fewer control circuits than does the encoder 20. The encoder 52 includes a memory 54 with each sample storage location capable of storing 8-bit samples received off of the input bus 18. The memory 54 is large enough to store a single, digital, horizontal line of video information. Each of the memories 22 and 32 has the same capacity as does the memory 54. The memory 54 also may be implemented as a random access memory. The exact implementation of the memory 54 is not a limitation of the present invention. Address signals are provided to the memory 54 by a 10-bit address counter 56. The address counter 56 is also coupled to a 10-bit end address comparator 58. Split-address circuit 60 provides an initial split-address for the address counter 56. The address counter 56 could be implemented, for example, as a binary up-counter or alternately as a binary down-counter. Before the beginning of an active portion of a horizontal line of video information on the bus 18, the address counter 56 is loaded with the split-address of the previous line of video information already stored in the memory 54. The previously stored data sample of video information is then read out of the location in the memory 54 addressed by the counter 56. Immediately thereafter, the contents of this storage location are overwritten by a new data sample, corresponding to a current line of video information on the bus 18. The counter 56 is then pulsed to form a new address. As each prestored sample is output to the bus 38 from an addressed location in the memory 54, that location is immediately overwritten by a new sample of video information from the bus 18. If the counter 56 is an up-counter, it sequentially is incremented to an end address. The counter 56 then clears to zero and continues to increment to a value of split-address-minus-1. At this point the entire previous line of video information has been output in time exchanged (or transposed) form to the bus 38. In addition, during this same time period, the next line of video information has been stored in the single line memory 54. The exact details of reading out a first data sample and overwriting that location immediately with a subsequent data sample are, in general, conventional in the art. Specific details readily can be provided by one of skill in the art. An output signal on a line 62 from the comparator 58 clears the address counter 56 when a predetermined end address value has been reached. The input to the comparator 58 can be obtained from the previous end address value sensed for the counter 56 and then used during the next line encoding operation. The subsequent lines are rotated in the same manner, without need of the second address counter 30, the second memory 32 or multiplexors. There exists an important operational difference between the encoder 52 and the encoder 20. The start-address value in the decoder at the receive site for a new line in the encoder 52 will be rotated along with the time correcting of the previous line. It is known with respect to the encoder 20 that the relation between the split-address at the encryption end and the start-address at the decryption end is given by the formula: STYLE=N-SP where N is the number of samples per horizontal line of video, ST is the start-address (0 to N-1), and SP is the split-address. In the converter 52, the relation becomes: STYLE=(N-SP + PSA) modulo N where PSA is the start-address used to decrypt the previous line. Thus, one additional sum and modulo operation must be performed in connection with the counter 52. However, it is done only at the horizontal line rate and can be included in the encryption control logic of the encoder as, for most applications, there will be many receivers for each transmitter. As an alternate embodiment, encryption could be hardened further by adding a decrement capability to the address counter 56. In this way the line segments could be transmitted in reverse time as well as interchanged. The segments could be independently selected for normal or reverse time. Because of the substantial reduction in the circuitry of the encoder 52, all of the necessary functions could be integrated onto a chip along with other control circuitry that could include, for example, a microprocessor type control unit. While a specific embodiment has been disclosed herein, it will be understood that the broader aspects of the invention include those alternate forms of circuits or counters as would be known to those of skill in the art.

Claims: A video encoder apparatus having on input-output converter unit (12) and a control unit (44), comprising means for storing a first plurality of data samples of video information received from the converter unit (12), and means for sequentially addressing unique sample storage locations in the storing means, coupled to the control unit (44), the storing means including means for reading out a data sample from the first plurality prestored at a respective addressed storage location to the converter unit (12) and means for writing into the same addressed sample storage location a respective data sample from a second plurality received from the converter unit (12), characterized in that the storing means has a capacity for storing data samples for essentially only a single line of video information, that the addressing means is presettable to a predetermined value and that the addressing means include means for said sequentially addressing a plurality of storage locations of the storing means starting from said preset value and means for comparing an address value generated by the addressing means to a second predetermined value and for generating selected indicia in response thereto. An encoder apparatus as defined in claim 1 characterized by means for setting the addressing means to the predetermined value in response to the presence of the selected indicia. An encoder apparatus as defined in claim 2 characterized in that the reading and writing means include means for overwriting the same addressed location immediately after reading said location, that the addressing means include an incrementally increasing or decreasing address counter (56) and that the comparing means include a comparator (58) coupled to the address counter (56). A method of encoding a plurality of previously digitized information signals in an encoder (52) having a storage unit (54) and an address register (56), comprising the following steps: (A) storing a predetermined set of samples of an information signal in the storage unit (54); (B) determining a split-address and loading it into the address register (56), between steps (A) and (B), (C) reading out from the storage unit (54) a sample of encoded information at a location specified by the address in the address register (56); (D) writing into the same location a sample of information to be encoded from a subsequent information signal; characterized by the following additional steps: (E) comparing the current address in the address register (56) to a predetermined end value and, if the same is reached, returning to step (B) above, otherwise, (F) changing in a predetermined fashion the address in the address register (56) and then returning to step (C) above, whereby said storage unit (54) has a capacity for storing data samples for essentially only a single line of video information. A method of encoding as defined in claim 4 characterized in that the split-address determined in step (B) changes in a predetermined fashion for each information signal. A method of encoding as defined in claim 5 characterized in that each information signal corresponds to a video horizontal line signal with a predetermined number of samples. A method of encoding as defined in claim 6 characterized in that the changing the address in the address register (56) in step (D) above includes incrementing or decrementing by one count the address in the address register (56). A method of encoding as defined in claim 6 characterized in that each video line signal includes N samples per line, that each line is split into at least two segments at a predetermind split-address in a transmission site and that the starting address of step (B) is determined in accordance with the formula: Starting Address = (N-SP + PSA) modulo N where N is the number of samples, SP is the split-address and PSA is the previous starting address.

Inventors: HAMILTON, JEFFREY SCOTT
Applicants: ITT INDUSTRIES INC.
Application year: 1986
Main classification: H04N7
IPC codes: H04N7, H04K1, G11C7