Digital wipe pattern generating device

Abstract: The digital wipe pattern generating device comprises address generators (101, 108) for counting horizontal and vertical synchronization pulses (HD,VD) to generate addresses; calculator (117) for obtaining wipe address data by effecting a plurality of sorts of calculations in a digital manner while using predetermined coefficients, combining and selecting arbitrarily results of the calculations; and a device (107) for generating a wipe pattern by slicing the wipe address data at a predetermined slice level. Since all the processings are effected in a digital manner, it is easier to fabricate the device, using ASICs or ICs, and thus the scale of the circuits can be reduced.

Description: BACKGROUND OF THE INVENTION The present invention relates to a digital wipe pattern generating device used in broadcasting apparatuses, etc. In television broadcast, etc. it is often carried out to inlay a television image in another television image. This inlaid image is inlaid in various shapes. The shape of this inlaid image is called a wipe pattern, which is generated usually electronically by combining triangular wave, sawtooth wave, etc. of horizontal or vertical synchronization frequency. Fig. 1 shows the construction of a prior art wipe pattern generating device. In Fig. 1, reference numeral 1 is a horizontal synchronization pulse; 2 is a vertical synchronization pulse; 3 is a delay circuit delaying the horizontal synchronization pulse 1; and 4 is a delay circuit delaying the vertical synchronization pulse 2. 5 is a triangular wave generator, in which the output of the delay circuit 3 stated above is inputted to generate a triangular signal 5a; 6 is a sawtooth wave generator, in which the output of the delay circuit 3 is inputted to generate a sawtooth wave 6a; and 7 is a parabolic wave signal generator, in which similarly the output of the delay circuit 3 is inputted to generate a parabolic wave signal 7a. 8 is a triangular wave generator, in which the output of the delay circuit 4 is inputted to generate a triangular wave signal 8a; 9 is a sawtooth wave generator, in which the output of the delay circuit 4 is inputted to generate a sawtooth wave signal 9a; arid 10 is a parabolic wave generator, in which similarly the output of the delay circuit 4 is inputted to generate a parabolic wave signal 10a. 11 is a waveform synthesizer-selector, which combines the triangular wave signal 5a, the sawtooth wave signal 6a and the parabolic wave signal 7a as well as the triangular wave signal 8a, the sawtooth wave signal 9a and the parabolic wave signal 10a, and selects signals of various waveforms on the basis of a control signal 12a from a central processing unit (hereinbelow abbreviated to CPU) 12. 13 is a comparator, which compares the output 11a of the waveform synthesizer-selector 11 with a DC voltage 15 obtained by means of a variable resistor 14 and slices the output 11a of the waveform synthesizer-selector 11 at the level of this DC voltage 15 to output a wipe pattern 16. Then, the operation of the prior art example will be explained. The delay circuits 3 and 4 function as positioners for the wipe pattern. The delay circuit 3 delays the horizontal synchronization pulse 1 and outputs it to the triangular wave generator 5, the sawtooth wave generator 6 and the parabolic wave signal generator 7. Similarly the delay circuit 4 delays the vertical synchronization pulse 2 and outputs it to the triangular wave generator 8, the sawtooth wave generator 9 and the parabolic wave signal generator 10. In this way, the triangular wave generator 5 and 8 output the triangular signals 5a and 8a, respectively, to the waveform synthesizer-selector 11; the sawtooch wave generators 6 and 9 output the sawtooth wave signals 6a and 9a, respectively, to the waveform synthesizer-selector; and at the same time the parabolic wave signal generators 7 and 10 output the parabolic wave signals 7a and 10a, respectively, to the waveform synthesizer-selector 11. The waveform synthesizer-selector 11 combines the triangular wave signal 5a, the sawtooth wave signal 6a and the parabolic wave signal 7a as well as the triangular wave signal 8a, the sawtooth wave signal 9a and the parabolic wave signal 10a and further selects these signals on the basis of the control signal 12a from the CPU 12 to output them to the comparator 13. The comparator 13 compares the signal synthesized or selected by this waveform synthesizer-selector 11 with the DC voltage 15 set by means of the variable resistor 14 and slices the output signal of the waveform synthesizer-selector 11 at the level of this DC voltage 15 to output a wipe pattern 16. However, in the prior art wipe pattern generating device described above, capacitors having great capacities are required for the wave generators 5 to 10 and therefore there was a problem that it cannot be intended to reduce the size, when it is fabricated by using ICs. Further there was another problem that, when it is required to generate more complicated wipe patterns, more circuits are required correspondingly, which gives rise to increase in the scale of the circuit, and thus more complicated circuit design is necessary. EP-A-0329339 describes a digital wipe generator which has a digital waveform generator for generating X and Y digital waveforms from a composite sync signal. A digital wipe solid generator processes the X and Y digital waveforms to produce a digital wipe solid waveform. The waveform generator and the wipe solid generator are controlled by a microprocessor. According to the present invention there is provided a digital wipe pattern generating device in accordance with claim 1. According to the present invention, owing to the construction described above, a number of wipe patterns can be generated by selecting a combination of the calculations and all processing can be effected in a digital manner. In this way it becomes easier to fabricate the device, using ASICs or ICs and it is possible to reduce the scale of the circuits. The invention will be described now by way of example only, with particular reference to the accompanying drawings. In the drawings: Fig. 1 is an outlined block diagram of a prior art wipe pattern generating device; and Fig. 2 is an outlined block diagram illustrating a digital wipe pattern generating device of an embodiment of the present invention. DESCRIPTION OF THE PREFERRED EMBODIMENT Fig. 2 shows the construction of an embodiment of the present invention. In Fig. 2, reference numeral 101 is a counter, which counts a horizontal synchronization pulse H for every clock CLK and serves as a horizontal address generating means for generating a horizontal address in the binary form for an image; and 102 is a multiplier, which is a constituent element of a calculating circuit 117 acting as calculating means and multiplies the horizontal address generated by the counter 101 by a coefficient outputted by a CPU 115 through a line 115a to normalize the bit length of the horizontal address. The CPU 115 stated above generates a wipe pattern selection instruction to the calculating circuit 117 and various sorts of coefficients. 103 is a bit operator, which operates bits of horizontal address data outputted by the multiplier 102 by using a coefficient outputted by the CPU 115 through a line 115b and decodes the horizontal address and the vertical address together with another bit operator 110 described later to generate a grating pattern or a random pattern and to output it to a bit shifter 104. The bit shifter 104 described above shifts various sorts of wipe patterns outputted by the bit operator 103 by a number of bits determined by a coefficient outputted by the CPU 115 through a line 115c to make it possible to generate multiple wipe patterns or mosaic wipe patterns. 105 is a subtracter, which makes it possible to vary the phase of the wipe pattern outputted by the bit shifter 104 according to a coefficient outputted by the CPU 115 to position the wipe pattern. 106 is a squaring circuit, which receives the output of the subtracter 105 and outputs a round or circular wipe pattern to an adder-selector 107. On the other hand, 108 is a counter, which counts horizontal synchronization pulses HD and vertical synchronization pulses VD and serves as a vertical address generating means for generating a vertical address for an image. 109 is a multiplier, which multiplies the vertical address generated by the counter 108 by a coefficient outputted by the CPU 115 to normalize the bit length. 110 is a bit operator, which operates bits of vertical address data outputted by the multiplier 109 by using a coefficient outputted by the CPU 115 and decodes the vertical address and the horizontal address together with the bit operator 103 described above to generate a grating pattern or a random pattern. 111 is a bit shifter, which shifts various sorts of wipe patterns outputted by the bit operator 110 by a number of bits determined by a coefficient outputted by the CPU 115 to make it possible to generate multiple wipe patterns or mosaic wipe patterns. 112 is a subtracter, which makes it possible to vary the phase of the wipe pattern outputted by the bit shifter 111 according to a coefficient outputted by the CPU 115 to position the wipe pattern. 113 is a squaring circuit, which receives the output of the subtractor 112 and outputs a round wipe pattern to the adder-selector 107. The adder-selector 107 is one, which adds the horizontal address data inputted from the subtracter 105 and the squaring circuit 106 and the vertical address data inputted from-the subtracter 112 and the squaring circuit 113 and selects these horizontal address data or vertical address data by using coefficients outputted by the CPU 115. In this way the calculating circuit 117 is composed of the multipliers 102 and 109, the bit operators 103 and 110, the bit shifters 104 and 111, the subtracters 105 and 112, the squaring circuits 106 and 113, and the adder-selector 107. Further 116 is a squaring circuit for a round wipe, transforming the slice level outputted by the CPU 115 into a squared slice level, and 118 is a switch, which selects one of the squared slice level outputted by this squaring circuit 116 and the slice level outputted by the CPU 115. Furthermore 114 is a magnitude comparator, which compares either one selected by the switch 118 from the slice level outputted by the CPU 115 and the squared slice level outputted by the squaring circuit with wipe address data outputted by the adder-selector 107 to generate a wipe pattern. Now the operation of the embodiment described above-will be explained. In Fig. 2, the counter 101 counts a horizontal synchronization pulse HD, every time a clock CLK is received, and generates binary horizontal address data, when the counted number of the pulses reaches a predetermined number. Similarly the counter 108 counts a vertical synchronization pulses VD, every time a horizontal synchronization pulse HD is received, and generates binary vertical address data, when the pulses are summed up to a predetermined number. The horizontal address data are sent to the multiplier 102 and they are multiplied by the coefficient given by the CPU 115 to normalize the bit length. In the case where the wipe pattern is made round, this multiplication can vary the aspect ratio. On the other hand, the vertical address data outputted by the counter 108 are multiplied also in the multiplier 109 by the coefficient from the CPU 115 to normalize the bit length. Then outputs of these multipliers 102 and 109 are sent to the bit operators 103 and 110, respectively. The bit operator 103 effects an operation on the bits of the horizontal address data and on the other hand the bit operator 110 effects an operation on the bits of the vertical address data. The bit operation, by which the bits of the address data are operated, is e.g. an operation, by which only the most significant N bits are made pass through and all the loss significant bits are set at 0. The bit position to be operated is indicated by the coefficient given by the CPU 115 through the line 115b. In the bit operators 103 and 110, decoding of the horizontal address data and the vertical address data is effected on the basis of the coefficient coming from the CPU 115 to generate a wipe pattern such as a grating pattern, a random pattern, etc. Further, the wipe patterns outputted by the bit operators 103 and 110 are sent to the bit shifters 104 and 111, respectively. In these bit shifters 104 and 111, bits are shifted as instructed by the coefficients given by the CPU 115 through the line 115c to generate the multiple wipe patterns or mosaic wipe patterns. The size of the mosaic can be changed by varying the coefficients. The outputs of these bit shifters 104 and 111 are sent to the subtractors 105 and 112, respectively. In these subtracters 105 and 112, the phase of the wipe pattern can be varied by using the coefficient outputted by the CPU 115 through the output line 115d to position the pattern. The output of the subtracter 105 is applied to the squaring circuit 106 and the adder-selector 107. Similarly the output of the subtracter 112 is applied to the squaring circuit 113 and the adder-selector 107. These squaring circuits 106 and 113 are used for round wipes. They square the outputs of the subtracters 105 and 112 to form a round wipe pattern by being added to each other in the adder-selector 107. The adder-selector 107 selects a ratio thereof, depending on the coefficient given by the CPU 115 through the output line 115e, to determine a combination of round, oblique, vertical and horizontal wipes. In addition, the CPU 115 ouputs slice level data. These slice level data are supplied to one of the input terminals of the switch 118, and after being squared by the squaring circuit 116, they are supplied to the other input terminal of the switch 118. The switch 118 selects the output of the squaring circuit 116 for round wipe and the slice level data output from the CPU 115 for the other wipes according to the control signal from the CPU 115 to supply it as comparison data to the magnitude comparator 114. This magnitude comparator 114 compares in magnitude and slices the wipe address data provided by the calculating circuit 117 with a slice level selected from the slice level outputted by the CPU 115 and the squared slice level data obtained by the squaring circuit 116, selected by the switch 118, to generate a required wipe pattern. The squaring circuit 116 may be integrated in the CPU 115. As described above, according to the present invention, the wipe pattern generating device is so constructed that the wipe address data are obtained by inputting the horizontal address and the vertical address therein, effecting a plurality of sorts of calculations in a digital manner by using predetermined coefficients outputted by the central processing unit, combining and selecting arbitrarily results of the calculations, comparing the wipe address data with the slice level or the squared slice level, and slicing them at this slice level or squared slice level. In this way, a number of wipe patterns can be generated by selecting a combination of the calculations and all the processings can be effected in a digital manner. According to the invention, it becomes easier to fabricate the device, using ASICs or ICs arid it is possible to intend to reduce the scale of the circuits.

Claims: A digital wipe pattern generating device comprising: horizontal address generating means (101) for deriving a horizontal address for an image from horizontal synchronisation pulses; vertical address generating means (108) for counting horizontal synchronisation pulses to generate a vertical address for said image; a central processing unit (115) for generating a predetermined coefficient and a slice level; calculating means (117) for applying to said horizontal address and said vertical address a plurality of sorts of calculations, including squaring the horizontal and vertical addresses, in a digital manner while using said predetermined coefficient and selectively combining results of said calculations to obtain wipe address data; and means (114) for generating a wipe pattern by silicing said wipe address data; characterised by a squaring circuit (116) for squaring said slice level to obtain a squared slice level; a switch (118) for selectively providing an output comprising either one of said slice level and said square slice level; and said means (114) for generating a wipe pattern being arranged to slice said wipe address data at a level equal to said output of said switch, said calculating means comprising multipliers (102, 109) for normalizing said horizontal address and said vertical address respectively; bit operators (103, 104) for operating bits of respective outputs of said multipliers; bit shifters (104, 111) for shifting bits of respective outputs of said bit operators by predetermined numbers of bits, respectively; subtracters (105, 112) for subtracting a predetermined coefficient from respective outputs of said bit shifters; squaring circuits (106, 113) for squaring respective outputs of said subtracters; and an adder-selector (107) for selectively combining outputs of said subtracters and said squaring circuits to generate said wipe address data.

Inventors: KAWAMOTO SIGEHARU, KAWAMOTO, SIGEHARU
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1991
Main classification: H04N5
IPC codes: H04N5