Image motion compensating address generator

Abstract: An image motion compensating address generator is disclosed including a mode selector for selecting a field mode or frame mode according to a video mode signal and a slice position signal, an address selection controller for controlling the generation of addresses according to the video mode signal and a motion coding type signal, a Y-direction read address generator for producing a Y-direction read address in units of processed block, an X-direction read address generator for dividing the processed block into four phases in the X direction and generating an X-direction read address, an X-direction write address generator for delaying the processed-block position signal and a field processed-block clock signal, and generating the X-direction write address of four phases, a Y-direction write address generator for producing a Y-direction write address, and a read & write controller for selectively outputting the X-direction and Y-direction read and write addresses according to a read/write selection toggle signal and an X-direction motion vector signal.

Description: Background of the Invention The present invention relates to an image motion compensator for accepting the high level of the main profile of MPEG II (moving picture experts group II) algorithm selected by a high-definition television (HDTV), and more particularly, to an image motion compensating address generator for generating an address required in controlling a frame-unit memory. High-media products such as HDTV are based on the recently confirmed MPEG II algorithm. For this reason, an image motion compensator, which accepts the MPEG II algorithm and performs image motion compensation, is indispensable. Generally, for image motion compensation, the image motion compensator uses a frame memory. In this case, an address for controlling the frame memory must be generated. However, the high level of the main profile of the MPEG II algorithm was established recently. Therefore, there is no image motion compensator using it. For reference, the main level of the main profile of the MPEG II algorithm has been used according to a conventional technology. Recently, the high level of the main profile of the MPEG II algorithm was determined, obtaining an image output at a high resolution and high speed. Accordingly, there has become necessary an address generator, which is not merely an address generator but has a high-speed data processing capability required by the HDTV and accepts the high level of the main profile of the MPEG II algorithm. Document EP 592 261 A1 discloses a video motion compensation circuit comprising X-phase and Y-phase variation compensation sections. A single video frame is divided into four equal parts in the X-direction, to be stored in a four-phase frame memory so that real time processing can be performed with a much lower frequency system clock. Document EP 598 904 A1 discloses apparatus provided with two coding means for encoding a video signal. By alternating the coding means used between each video frame, compression and hardware benefits are realised. Summary of the Invention It is therefore desirable to provide an image motion compensating address generator for producing an address required in controlling a motion compensating frame memory and accepting the MPEG II algorithm. Accordingly, the present invention provides an image motion compensating address generator comprising: mode selector means for selecting a field mode or frame mode according to a video mode signal indicative of whether an input video signal is a frame unit or field unit and a slice position signal indicative of the position of slice, to thereby control the video signal to be processed; address selection controller means for controlling the generation of addresses according to the video mode signal and a motion coding type signal indicative of the video processing mode of a block to be processed; Y-direction read address generator means for producing a Y-direction read address in units of processed block by using the signal output from the mode selector means according to the address selection controller means, a Y-direction motion vector signal, and a vertical field selection signal; X-direction read address generator means for dividing the processed block into four phases in the X direction and generating an X-direction read address by using a processed-block position signal indicative of the position of the processed block and an X-direction motion vector signal according to the address selection controller means; X-direction write address generator means arranged to accept and delay the processed-block position signal and a field processed-block clock signal, and to use the delayed signals to generate the X-direction write address of four phases, to thereby write read-out video data; Y-direction write address generator means for producing a Y-direction write address by using the signals output from the mode selector means, the address selection controller means and the X-direction write address generator means, to thereby write read-out video data; and read & write controller means for selectively outputting the X-direction and Y-direction read and write addresses according to a read/write selection toggle signal, among the X-direction and Y-direction read and write addresses output from the Y-direction read address generator means, X-direction read address generator means, X-direction write address generator means and Y-direction write address generator means. Brief Description of the Attached Drawings Fig. 1 is a block diagram of the whole configuration of an image motion compensating address generator embodying the present invention; Fig. 2 is a detailed block diagram of the video mode selector and field/frame mode processor of Fig. 1; Fig. 3 is a detailed block diagram of the address selection controller of Fig. 1; Fig. 4 is a detailed block diagram of the Y-direction read address starting point operator of Fig. 1; Fig. 5 is a detailed block diagram of the processed-block unit Y-direction read address generator and video mode & motion coding type processing selector of Fig. 1; Fig. 6 is a detailed block diagram of the X-direction read address starting point operator of Fig. 1; Fig. 7 is a detailed block diagram of the processed-block unit X-direction read address generator of Fig. 1; Fig. 8 is a detailed block diagram of the processed-block unit X-direction write address generator of Fig. 1; Fig. 9 is a detailed block diagram of the Y-direction write address generator of Fig. 1; Fig. 10 is a detailed block diagram of the four-phase address generator of Fig. 1; Fig. 11 is a detailed block diagram of the X-direction read & write selector of Fig. 1; and Fig. 12 is a detailed block diagram of the Y-direction read & write selector of Fig. 1. Detailed Description of the Invention Hereinafter, a preferred embodiment of the present invention will be described with reference to the attached drawings. Referring to Fig. 1, an image motion compensating address generator embodying the invention comprises a mode selector 1, an address selection controller 2, a Y-direction read address generator 3, an X-direction read address generator 4, an X-direction write address generator 5, a Y-direction write address generator 6, and a read & write controller 7, Mode selector 1 comprises a video mode selector 11 for determining whether an address is generated in a field mode or frame mode according to a video mode signal pstr1 or pstr 0 indicative of whether an input video signal is frame or field unit, and a field/frame mode processor 12 for establishing the position of slice in the field mode and frame mode according to a signal output from video mode selector 11 and a slice position signal SVP indicative of the position of slice. The mode selector selects the field mode or frame mode according to input video mode signal pstr1 or pstr0 and slice position signal SVP, to thereby control the video signal to be processed. Address selection controller 2 controls the generation of addresses according to video mode signal pstr1 or pstr0 and a motion coding type signal indicative of the video processing mode of a block to be processed, that is, a macroblock, which is the unit of processing the video signal. Y-direction read address generator 3 comprises a Y-direction read address starting point operator 31 for operating the Y-direction starting point of a processed block to read, according to the signal output from field/frame mode processor 12 and a Y-direction motion vector signal mvy indicative of the degree of Y-direction motion, a processed-block unit Y-direction read address generator 32 for generating Y-direction read addresses of several modes so that the signal output from Y-direction read address starting point operator 31 coincides with the processed block, and a video mode & motion coding type processing selector 33 for including into one bit of the lower level a vertical field selection signal mvfs for selecting a upper or lower field according to motion information, out of the signals output from processed-block unit Y-direction read address generator 32 according to address selection controller 2, to thereby outputting a Y-direction read address fit for the respective modes. The Y-direction read address generator produces the Y-direction read address in units of processed block by using the signal output from field/frame mode processor 12 of mode selector 1 according to address selection controller 2, Y-direction motion vector signal mvy, and vertical field selection signal mvfs. X-direction read address generator 4 comprises an X-direction read address starting point operator 41 for operating the X-direction starting point of the processed block to read by using a processed-block position signal MBA indicative of the X-direction position of the processed block and an X-direction motion vector signal mvx indicative of the degree of X-direction motion, and a processed-block unit X-direction read address generator 42 for dividing the processed block into four phases and generating the X-direction read address by using the signal output from X-direction read address starting point operator 41 acccrding to address selection controller 2. The X-direction read address generator divides the processed block into four phases in the X direction and generates the X-direction read address by using processed-block position signal MBA and X-direction motion vector signal mvx according to address selection controller 2. X-direction write address generator 5 comprises an X-direction write address delay controller 51 for delaying processed-block position signal MBA for a predetermined time so as to rewrite read-out video data, and an X-direction write address generator 53 for dividing the processed block into four phases and generating the X-direction write address by using the signal output from X-direction write address delay controller 51. The X-direction write address generator delays processed-block position signal MBA and generates the X-direction write address of four phases, to thereby write the read-out video data. Y-direction write address generator 6 comprises a Y-direction write address generator 61 for generating a Y-direction write address in units of processed block by using the signal output from field/frame mode processor 12 of mode selector 1 according to X-direction write address delay controller 51 of X-direction write address generator 5, and a video mode & motion coding type processing selector 62 for selectively outputting the Y-direction write address fit for the respective modes among the signals output from Y-direction write address generator 61 according to address selection controller 2. In order to write the read-out video data, the Y-direction write address generator produces the Y-direction write address by using the signal output from field/frame mode processor 12 of mode selector 1 according to address selection controller 2 and X-direction write address delay controller 51 of X-direction write address generator 5. Read & write controller 7 comprises a Y-direction read & write selector 73 for selectively outputting one of the Y-direction read address and Y-direction write address output from video mode motion coding type processing selector 33 of Y-direction read address generator 3 and video mode & motion coding type processing selector 62 of Y-direction write address generator 6 according to a read/write selection toggle signal for controlling the read & write operation, a four-phase address generator 71 for compensating for the X-direction read address output from processed-block unit X-direction read address generator 42 of X-direction read address generator 4 according to the read/write selection toggle signal, and an X-direction read & write selector 72 for selecting one of the X-direction read address and X-direction write address output from the four-phase address generator 71 and X-direction write address generator 53 of X-direction write address generator 5 and dividely outputting the selected address in four phases according to the read/write selection toggle signal. The read & write controller selectively outputs the X-direction and Y-direction read and write addresses according to the read/write selection toggle signal among X-direction and Y-direction read and write addresses output from Y-direction read address generator 3, X-direction read address generator 4, X-direction write address generator 5 and Y-direction write address generator 6. The operation of the image motion compensating address generator will be explained below. A two-bit motion coding type signal indicative of the video processing mode of 16-by-16 pixels of a macroblock, that is, the processed block which is the unit of processing the video signal, is input to address selection controller 2 along with video mode signal pstr1 or pstr0 indicative of whether the input video signal is frame or field unit. In order to determine the compensating method of the processed block unit, the input signal outputs a processing selection control signal for controlling the signal to be processed according to modes, and outputs a preset signal for presetting processed-block unit X-direction read address generator 42 when it counts. Specifically, if video mode signal pstr1 or pstr0 is "11" in the frame mode and the motion coding type signal is "01," the mode becomes a field base mode in which the video signal of the processed block is processed in units of field. If video mode signal pstr1 or pstr0 is "11" in the frame mode and the motion coding type signal is "10," the mode becomes a frame base mode in which the video signal of the processed block is processed in units of frame. If video mode signal pstr1 or pstr0 is "01" or "10" in the field mode and the notion coding type signal is "01," the mode becomes the field base mode in which the video signal of the processed block is processed in units of field. If video mode signal pstr1 or pstr0 is "01" or "10" in the frame mode and the motion coding type signal is "10," the mode becomes a 16-by-8 base mode in which the processed block is processed in 16-by-8 units, which is half the macroblock. Video mode signal pstr1 or pstr0 indicative of whether the input video signal is frame or field unit determines whether video mode selector 11 of mode selector 1 generates its address in the field or frame mode. Slice position signal SVP indicative of the Y-direction position is output from field/frame mode processor 12 as a signal for setting the position of slice so that it is fit for the field mode and frame mode, according to the signal output from video mode selector 11. If video mode signal pstr1 or pstr0 is "11," the input video signal indicates the frame unit. In this case, a signal for controlling the address to be generated in the frame mode in which the video signal is processed in units of frame is output from video mode selector 11 so that slice position signal SVP passes through field/frame mode processor 12 without change. If video mode signal pstr1 or pstr0 is "01," the input video signal indicates the upper field in units of field. In this case, a signal for controlling the address to be generated in the field mode in which the video signal is processed in units of field is output from video mode selector 11 so that slice position signal SVP is doubled and thereby a signal twice slice position signal SVP is output from field/frame mode processor 12. If video mode signal pstr1 or pstr0 is "10," the input video signal indicates the lower field in units of field. in this case, a signal for controlling the address to be generated in the field mode in which the video signal is processed in units of field is output from video mode selector 11 so that slice position signal SVP is doubled and thereby a signal twice slice position signal SVP is output from field/frame mode processor 12. The operation of generating the X-direction and Y-direction read addresses according to the signals output from mode selector 1 and address selection controller 2 will be explained below. Slice position signal SVP or the signal twice slice position signal SVP output from field/frame mode processor 12 is input to Y-direction read address starting point operator 31 along with Y-direction motion vector signal mvy so that the Y-direction starting point of the processed block to read is operated. The signal output from field/frame mode processor 12 is multiplied by 16, the Y-direction size of the processed block, in Y-direction read address starting point operator 31, in case that for instance, the processed block is a macroblock of 16-by-16 pixels. The multiplied signal is added to Y-direction motion vector signal mvy so that the Y-direction starting point of the processed block to read is output. The signal corresponding to the Y-direction starting point of the processed block to read, which is the signal output from Y-direction read address operator 31, is input to processed-block unit Y-direction read address generator 32. When main clocks mclk are input as many as the pixels divided into four phases in the X direction, the signal corresponding to the Y-direction starting point of the processed block to read increases by 1 and 2, generating the Y-direction read address of the frame and field modes fit for the processed block. For instance, in case that the processed block is the macroblock of 16-by-16 pixels, whenever four main clocks mclk are applied corresponding to the number of pixels divided into four phases in the X direction, the signal corresponding to the Y-direction starting point of the processed block to read increases by 1 and 2, generating the Y-direction read address of the frame and field modes. The Y-direction read address of the frame and field modes output from processed-block unit Y-direction read address generator 32 is selected in video node & motion coding type processing selector 33 by the processing selection control signal output from address selection controller 2. Here, when the Y-direction read address of the field mode is selected by address selection controller 2, vertical field selection signal mvfs is contained in one bit of the lower level, outputting the Y-direction read address according to the upper or lower field. In case of the upper field, vertical field selection signal mvfs becomes "0." In case of the lower field, vertical field selection signal mvfs becomes "1," controlling video mode & motion coding type processing selector 33. When the processed block is the macroblock of 16-by-16 pixels, the Y-direction read address is given as shown in the following table <TABLE 1>, according to the respective modes. (A) (B) (C) (D) 0 0 1 0 1 0 1 1 2 3 2 3 2 3 2 4 5 4 5 4 5 3 6 7 6 7 6 7 4 8 9 8 9 8 9 5 10 11 10 11 10 11 6 12 13 12 13 12 13 7 14 15 14 15 14 15 8 16 17 16 17 16 17 9 0 1 18 19 0 1 10 2 ' 3 20 21 2 3 11 4 5 22 23 4 5 12 6 7 24 25 6 7 13 8 9 26 27 8 9 14 10 11 28 29 10 11 15 12 13 30 31 12 13 16 14 15 32 33 14 15 17 16 17 34 35 16 17 As indicated in <TABLE 1>, there are two kinds of form in which the Y-direction read address is generated. First, as in column (A) of <TABLE 1>, the Y-direction read addresses of the processed block all are sequentially output in the frame mode. Second, as in columns (B), (C) and (D) of <TABLE 1>, the Y-direction read addresses of the processed block are doubled and read out every other line by the multiple of 2 and a value added to the multiple of 2 by "1." If video mode signal pstr1 or pstr0 corresponding to the first case is "11" and the motion coding type signal is "10" in the frame base mode, the Y-direction read addresses are output in "0, 1, 2, 3, ...16, 17," as shown in column (A) of <TABLE 1>, regardless of vertical field selection signal mvts. Here, addresses "16 and 17" corresponding to the succeeding macroblock are generated at the end of the Y-direction addresses so that they are to be used when necessary to be read out additionally in case that the half pel compensation is employed. If video mode signal pstr1 or pstr0 corresponding to the first case is "11," the motion coding type signal is "01" in the field base mode, and vertical field selection signal mvfs is "0," as shown in column (B) of <TABLE 1>, the Y-direction read addresses are output in "0, 2, 4, 6, ...16," in the upper field. If vertical field selection signal mvfs is "1," the Y-direction read addresses are output in "1, 3, 5, 7, 9,..,17," in the lower field. Addresses "0, 2, 4, 6, ... 16" and "1, 3, 5, 7, 9, ... 17" are output again because the addresses are reset by the processing selection control signal output from address selection controller 2. Here, addresses "16 and 17" corresponding to the succeeding macroblock are generated at the end of the Y-direction read addresses so that they are to be used when necessary to be read out additionally in case that the half pel compensation is employed. If video mode signal pstr1 or pstr0 corresponding to the second case is "01" or "10," the motion coding type signal is "01" in the field base mode, and vertical field selection signal mvfs is "0," as shown in column (C) of <TABLE 1>, the Y-direction read addresses are output in "0, 2, 4, 6, ...16," in the upper field. If vertical field selection signal mvfs is "1," the Y-direction read addresses are output in "1, 3, 5, 7, 9,...17," in the lower field. sequontially, addresses "18, 20, ..., 30, 32, 34" and "19, 21, ..., 31, 33, 35" are output because the addresses are not reset by the processing selection control signal output from address selection controller 2. Here, addresses "32 and 34" and "33 and 35" corresponding to the succeeding macroblock are generated at the end of the Y-direction read addresses so that they are to be used when necessary to be read out additionally in case that the half pel compensation is employed. If video mode signal pstr1 or pstr0 corresponding to the second case is "01" or "10," the motion coding type signal is "10" in the 16-by-8 base mode, and vertical field selection signal mvfs is "0," as shown in column (D) of <TABLE 1>, the Y-direction read addresses are output in "0, 2, 4, 6, ...16," in the upper field. If vertical field selection signal mvfs is "1," the Y-direction read addresses are output in "1, 3, 5, 7, 9,...17," in the lower field. Sequentially, addresses "0, 2, 4, 6, ... 16" and "1, 3, 5, 7, 9, ... 15, 17" are output again because the addresses are reset by the processing selection control signal output from address selection controller 2. Here, addresses "16 and 17" corresponding to the succeeding macroblock are generated at the end of the Y-direction read addresses so that they are to be used when necessary to be read out additionally in case that the half pel compensation is employed. As stated above, since the address generating forms are divided into two according to one bit of the high level of the motion coding type signal, only one bit of the high level of the two bit notion coding type signal can be used in control. Processed-block position signal MBA indicative of the X-direction position of the processed block is input to X-direction read address starting point operator 41 along with X-direction motion vector signal mvx so that the X-direction starting point of the processed block to read is operated. Processed-block position signal MBA is multiplied by 16, the X-direction size of the processed block, in X-direction read address starting point operator 41, in case that for instance, the processed block is a macroblock of 16-by-16 pixels. The multiplied signal is added to X-direction motion vector signal mvx so that the X-direction starting point of the processed block to read is output. The signal corresponding to the X-direction starting point of the processed block to read, which is the signal output from X-direction read address operator 41, is input to processed-block unit X-direction read address generator 42, increasing by one whenever main clock mclk is produced. when main clocks mclk are input as many as the pixels divided into four phases in the X direction, the signal corresponding to the X-direction starting point of the processed block to read is preset according to address selection controller 2 and then increases by one whenever main clock mclk is produced. This procedure is repeated until one processed-block all is read, that is, until the Y-direction read addresses of the block all are produced, generating the X-direction read address. The process of generating the X-direction and Y-direction read addresses will be described below. First, the signal output from field/frame mode processor 12 and Y-direction motion vector signal mvy are operated in Y-direction read address starting point operator 31, outputting the Y-direction read address corresponding to the Y-direction starting point of the processed block to read. Processed-block position signal MBA and X-direction motion vector signal mvx are operated in X-direction read address starting point operator 41, outputting the X-direction read address corresponding to the X-direction starting point of the processed block to read. By doing so, the starting points of the processed block to read can be obtained. The X-direction read address corresponding to the X-direction starting point of the processed block to read is produced, increasing by one whenever main clock mclk is input in processed-block unit X-direction read address generator 42. For instance, in case that the processed block is the macroblock of 16-by-16 pixels, whenever four main clocks mclk are produced, corresponding to the number of pixels in which the processed block is divided into four phases according to address selection controller 2, the signal corresponding to the X-direction starting point is preset and increases from the beginning. Whenever the X-direction read address increases by one and is preset, that is, when four main clocks mclk are produced, the Y-direction read address corresponding to the Y-direction starting point of the processed block to read increases by one or two, corresponding to the frame mode and field mode, and then is input to video mode & motion coding type processing selector 33. The Y-direction read addresses output from processed-block unit Y-direction read address generator 32 are selected into one of the two frame mode and field mode according to the processing selection control signal output from address selection controller 2. The operation of generating the X-direction and Y-direction write addresses according to the signal output from mode selector 1 and address selection controller 2 will be described below in detail. Processed-block position signal MBA delays video data read out by X-direction write address delay controller 51 for a predetermined period for the purpose of rewriting. This can be explained in this way. The video signal is stored in a memory in units of frame. When a succeeding frame is input, video data of the preceding frame is read out and output, and video data of the current frame is read out, compensated for motion, and then stored in the memory which stores the preceding frame. The succeeding frame is stored in the memory which stores the current frame. Therefore, a predetermined time of delay is required until read video data are compensated for motion and rewritten. Here, until video data of one frame is read, compensated for motion, and rewritten in the memory, 311 main clocks mclk are generated. While the 311 main clocks mclk are generated, processed-block position signal MBA input to X-direction write address delay controller 51 must be delayed. Processed-block position signal MBA delayed and output from X-direction write address delay controller 51 is input to X-direction write address generator 53, dividing the processed block into four phases in the X direction and generating the X-direction write address according to main clock mclk. For instance, in case that the processed block is the 16-by-16 macroblock, the block is divided into four phases in the X direction. Whenever the main clock is input, the X-direction write address corresponding to processed-block position signal MBA is generated by increasing by one. When four main clocks mclk are input, the X-direction write address is preset, producing the X-direction write address corresponding to processed-block position signal MBA repeatedly from the beginning. Whenever four main clocks mclk are input, the X-direction write address is preset so that only the lower two bits are counted. Slice position signal SVP or a signal double slice position signal SVP output from field/frame mode processor 12 increases by one or two in Y-direction write address generator 61 according to X-direction write address delay controller 51, when main clock mclk is input as many as pixels in which the processed block is divided into four phases in the X direction. By doing so, the Y-direction write address of the frame mode and field mode is generated to be fit for the processed block. For instance, in case that the processed block is the 16-by-16 macroblock, whenever four main clocks mclk are applied corresponding to pixels divided into four phases in the X direction, the signal increases by one or two, generating the Y-direction write address of the frame mode and field mode. The Y-direction write address of the frame mode and field mode output from Y-direction write address generator 61 is selected into one mode in video mode & motion coding type processing selector 62, by the processing selection signal output from address selection controller 2. The operation of generating the X-direction and Y-direction write addresses will be explained below. First, in order to delay the generation of the X-direction write address as long as the time during which data read by X-direction write address delay controller 51 is rewritten in the frame-unit memory after several processes, processed-block position signal MBA is delayed and input to X-direction write address generator 53. Delayed processed-block position signal MBA increases by one whenever main clock mclk is input to X-direction write address generator 53, producing the X-direction write address. In case that the processed block is the macroblock of 16-by-16, when four main clocks mclk, which is the number of pixels in which the processed block is divided into four phases, the signal is preset so that the X-direction write address corresponding to processed-block position signal MBA increases repeatedly from the beginning. Whenever the X-direction read address increases by one and is preset, that is, whenever four main clocks mclk are produced, the Y-direction write address corresponding to the signal output from field/frame mode processor 12 increases by one and two, corresponding to the frame mode and field mode. The address is input to video mode & motion coding type processing selector 62. The Y-direction write addresses output from Y-direction write address generator 61 are selected into one of the frame mode and field mode according to the processing selection control signal output from address selection controller 2. The X-direction read address output from processed-block unit X-direction read address generator 42 is input to four-phase address generator 71 of read & write controller 7, and divided into four phases by the read/write selection toggle signal and the lower two bits bmvx 0, 1 and fmvx 0, 1 of the X-direction motion vector signals of the backward and forward frames. The sequence of compensation and reading of the addresses is determined, and then the X-direction read addresses are output sequentially in the four phases. The X-direction write address output from X-direction write address generator 53 and the four-phase X-direction read address output from four-phase address generator 71 are input to X-direction read & write selector 72 of read & write controller 7. Reading and writing of these addresses are determined and selected according to the read/write selection toggle signal. The Y-direction read address and Y-direction write address output from video mode & motion coding type processing selectors 33 and 62 are input to Y-direction read & write selector 73 of read & write controller 7. Reading and writing of these addresses are determined and selected according to the read/write selection toggle signal. The detailed configuration and operation of the respective components of the present embodiment will be described with reference to Figs. 2-12. Referring to Fig. 2, video mode selector 11 comprises a NAND gate 111 for NAND-operating video mode signal pstr1 or pstr0 and outputting it to field/frame mode processor 12. If video mode signal pstr1 or pstr0 is "11," the output of NAND gate 111 becomes "0," controlling the video signal to be processed in the frame mode. If video mode signal pstr1 or pstr0 is "01" or "10," the output of NAND gate 111 becomes "1," controlling the video signal to be processed in the field node. Field/frame mode processor 12 comprises a multiplexer 121 for selecting one of slice position signal SVP and a signal double slice position signal SVP according to the signal output from NAND gate 111 of video mode selector 11, as shown in Fig. 2. If the signal output from NAND gate 111 indicates the frame mode as "0," slice position signal SVP is output from multiplexer 121 without change. If the signal output from NAND gate 111 indicates the field mode as "1," a signal in which slice position signal SVP is shifted upward by one bit, that is, the signal double slice position signal SVP, is output from multiplexer 121. Multiplexer 121 receives slice position signal SVP and the signal in which slice position signal SVP is shifted by one bit, and selects one according to NAND gate 111. Referring to Fig. 3, address selection controller 2 comprises a control signal generator 21 for receiving video mode signal pstr1 or pstr0 and the motion coding type signal, and outputting the processing selection control signal for controlling the selection of modes and another control signal to processed-block unit X-direction read address generator 42 and video mode & motion coding type processing selectors 33 and 62, a first delay 22 for delaying a frame processed-block clock signal mbclk for processing the processed-block in frames in order for synchronization with the processing selection control signal and control signal output from control signal generator 21, a second delay 23 for delaying a field processed-block clock signal mbsync for processing the processed-block in fields in order for synchronization with the processing selection control signal and control signal output from control signal generator 21, a multiplexer 24 for selecting one of the signals output from first and second delays 22 and 23 according to the delay signal of control signal generator 21, a counter 26 for counting to preset the X-direction read address according to main clock mclk, a third delay 25 for delaying the signal output from multiplexer 24 in order for synchronization with the signal output from counter 26, and an AND gate 27 for AND-operating the signal output from third delay 25 and the signal output from counter 26 and outputting a preset signal for presetting the X-direction read address for a predetermined period. Here, counter 26 can lengthen the period of presetting the X-direction read address by using the clear port in case that the half pel is used. Control signal generator 21 comprises an AND gate 211 for AND-operating video mode signal pstr1 or pstr0, an exclusive-OR gate 213 for EXCLUSIVE-OR-operating the signal output from AND gate 211 and the motion coding type signal to thereby control multiplexer 24, and a NAND gate 212 for NAND-operating video mode signal pstr1 or pstr0 and the motion coding type signal and outputting the processing selection control signal. Video mode signal pstr1 or pstr0 is AND-operated in AND gate 211, being output as "1" in the frame mode and as "0" in the field mode. The signal output from AND gate 211 is EXCLUSIVE-OR-operated with the motion coding type signal indicative of the coding type of the processed block, controlling multiplexer 24. When the signal indicating that the motion coding type signal of the frame mode is processed in fields is output from AND gate 211, the signal is EXCLUSIVE-OR-operated in EXCLUSIVE-OR gate 213 so that multiplexer 24 is controlled to select field processed-block clock signal mbsync delayed in second delay 23. When the signal indicating that the motion coding type signal of the frame mode is processed in frames is output from AND gate 211, the signal is EXCLUSIVE-OR-operated in EXCLUSIVE-OR gate 213 so that multiplexer 24 is controlled to select frame processed-block clock signal mbclk delayed in first delay 22. When the signal indicating that the motion coding type signal of the field mode is processed in frames is output from AND gate 211, the signal is EXCLUSIVE-OR-operated in EXCLUSIVE-OR gate 213 so that multiplexer 24 is controlled to select field processed-block clock signal mbsync delayed in second delay 23. The signal output from multiplexer 24 is delayed until the signal of counter 26 is output from third delay 25. Counter 26 produces a signal for presetting the X-direction read address whenever four main clocks mclk are input which is the number of the pixels divided into four phases in the X direction. In case of the half pel compensation, whenever every five main clock mclk is input, the counter is cleared for one clock and performs counting again, reading nearby pixel data which is then used in compensation. Referring to Fig. 4, Y-direction read address starting point operator 31 comprises first, second and third serially coupled adders 311, 312 and 313 for multiplying the Y-direction size of the processed block to the signal output from field/frame mode processor 12 and adding Y-direction motion vector signal mvy, and a latch 314 for stabilizing the signal output from first, second and third adders 311, 312 and 313. The signal output from field/frame mode processor 12 and indicative of the Y-direction position of the processed block is multiplied by number 16 which is the Y-direction size ot the processed block by first, second and third adders 311, 312 and 313. Y-direction motion vector signal mvy is added to the signal, calculating the starting point where a precisely read Y-direction read address is generated. The signals output from first, second and third adders 311, 312 and 313 are synchronized and stabilized in latch 314, and output to processed-block unit Y-direction read address generator 32. Referring to Fig. 5, processed-block unit Y-direction read address generator 32 comprises a first counter 321 for receiving the signal output from latch 314 of Y-direction read address starting point operator 31 and counting to generate the Y-direction read address fit for the frame mode, and a second counter 322 for shifting the signal output from latch 314 and counting to generate the Y-direction read address fit for the field mode. First and second counters 321 and 322 of processed-block unit Y-direction read address generator 32 generate Y-direction read addresses fit for the frame mode and field mode, respectively. The signal output from latch 314 of Y-direction read address starting point operator 31 increases by one in first counter 321 whenever four main clocks mclk are generated which is the number of pixels in which the X-direction pixels of the processed block are divided into four phases, producing the Y-direction read address of the frame mode. The signal output from latch 314 increases by two in second counter 322 whenever four main clocks mclk are generated which is the number of pixels in which the X-direction pixels of the processed block are divided into four phases, producing the Y-direction read address of the field mode. Referring to Fig. 5, video mode & motion coding type processing selector 33 comprises a multiplexer 331 for selecting the Y-direction read address of one mode of the frame-mode Y-direction read address and field-mode Y-direction read address output from processed-block unit Y-direction read address generator 32 according to address selection controller 2, and if the field-mode Y-direction read address is selected, including vertical field selection signal mvfs into one bit of the lower level, and a latch 332 for stabilizing the signal output from multiplexer 331. The frame-mode Y-direction read address output from first counter 321 and the field-node Y-direction read address output from second counter 322 are selected in multiplexer 331 by the processing selection control signal output from control signal generator 21. Here, when the field-mode Y-direction read address output from second counter 322 is selected, vertical field selection signal mvfs indicative of the upper and lower fields are contained in one bit of the lower level so that the Y-direction read addresses corresponding to the upper and lower fields are output to latch 332. The Y-direction read address output from multiplexer 331 is synchronized and stabilized in latch 332 and output to Y-direction read & write selector 73 of read & write controller 7. Referring to Fig. 6, X-direction read address starting point operator 41 comprises first and second latches 411 and 412 for latching processed-block position signal MBA and X-direction motion vector signal mvx Cor the purpose of synchronization, first, second and third serially coupled adders 413, 414 and 415 for multiplying the X-direction size of the processed block unit to the signal output from first latch 411 and adding the signal output from second latch 412, and a third latch 416 for stabilizing the signal output from first, second and third adders 413, 414 and 415. The input time points of processed-block position signal MBA and X-direction motion vector signal mvx may be different. Therefore, their time points are made to coincide in first and second latches 411 and 412, respectively. The signals are multiplied by number 16 which is the X-direction size of the processed block by first, second and third adders 413, 414 and 415. X-direction motion vector signal mvx is added to the signals, calculating the starting point where a precisely read X-direction read address is generated. The signals output from first, second and third adders 413, 414 and 415 are synchronized and stabilized in third latch 416, and output to processed-block unit X-direction read address generator 42. Referring to Fig. 7, processed-block unit X-direction read address generator 42 comprises a counter 421 for receiving the signal output from third latch 416 of X-direction read address starting point operator 41, being preset according to a preset signal output from address selection controller 2, dividing the processed block in four phases in the X direction and counting to generate the X-direction read address, and a latch 422 for stabilizing the signal output from counter 421. Here, in case of the half pel, counter 421 may be preset for a period in which the value in which the processed block is divided into four phases in the X direction, that is, number 4, is added by one by counter 26 of address selection controller 2. The signal corresponding to the starting point of the X-direction read address of the processed block to read, that is, the signal output from third latch 416 of X-direction read address starting point operator 41, is input to counter 421 and increases by one whenever main clock mclk is produced. When the main clock is input as many as the pixels in which the processed block is divided into four phases in the X direction or the number in which one is added to the number of the pixels, the signal is preset according to the preset signal output from address selection controller 2. The signal increases again by one whenever main clock mclk is produced. This process is repeated until one processed block all is read. The signal output from counter 421 is synchronized and stabilized in latch 422, and input to four-phase address generator 71 of read & write controller 7. Referring to Fig. 8, X-direction write address delay controller 51 comprises a first D flipflop 511 for receiving frame processed-block clock signal mbclk for processing the processed block in frames and outputting a clock signal, a latch portion 525 having a plurality of serially coupled latches 512, 513, 514, 515, and 516 for receiving the signal output from first D flipflop 511 as a clock input and delaying processed block clock signal mbsync for processing the processed block in fields and processed-block position signal MBA for a predetermined time, a first counter 521 for receiving main clock signal mclk and performing counting, a D flipflop portion 526 having a plurality of serially coupled flipflops 517, 518, 519, and 520 for receiving the signal output from first counter 521 as a clock input and delaying field processed-block clock signal delayed and output from latch portion 525 for a predetermined time, a second D flipflop 522 for receiving main clock signal mclk as a clock input and receiving the field processed-block clock signal mbsync delayed and output from D fliprlop portion 526 as data input, an EXCLUSIVE-NOR gate 523 for EXCLUSIVE-NOR-operating the data input signal and output signal of second D flipflop 522, and a third D flipflop 524 for receiving the signal output from EXCLUSIVE-NOR gate 523 as data input and receiving main clock signal mclk as the clock input. Frame processed-block clock signal mbclk is input to the clear port of latches 512, 513, 514, 515 and 516 of latch portion 525 via first D flipflop 511, delaying processed-block position signal MBA and field processed-block clock signal mbsync. Here, processed-block position signal MBA and field processed-block clock signal mbsync are delayed while frame processed-block clock signal mbclk is input by latches 513, 514, 515 and 516, that is, while 64 main clocks are input. Since latches 513, 514, 515 and 516 delay processed-block position signal MBA and field processed-block clock signal mbsync while the 64 main clocks are input, the overall delay time of latches 513, 514, 515 and 516 becomes the time to generate 64-by-4 main clocks. Processed-block position signal MBA delayed through latch portion 525 is input to X-direction write address generator 53. Field processed-block clock signal mbsync is input to D flipflop portion 526 and delayed for a time where the 64 main clocks are not input. The output signal of first counter 521 increases by one whenever 16 main clocks mclk are generated, is input to the clock input port of D flipflops 517, 518, 519 and 520 of D flipflop portion 526, and delayed while 16 main clocks are input. D flipflops 518, 519 and 520 delay the output signal of first counter 521 while the 16 main clocks are input, the total delay time of D flipflops 518, 519 and 520 becomes the time to generate 16-by-3 main clocks. Field processed-block clock signal mbsync delayed in D flipflop portion 526 and output from D flipflop 520 is input to second D flipflop 522 to be EXCLUSIVE-NOR-operated with field processed-block clock signal mbsync delayed and output until main clock mclk is input. Then, a preset signal is generated to preset the counter in units of processed block and make the output of the counter as "0." The preset signal is delayed via third D flipflop 524 by main clock mclk, and output to X-direction write address generator 53. Referring to Fig. 8, X-direction write address generator 53 comprises a second counter 531 for counting only two bits by taking the signal output from third D flipflop 524 of X-direction write address delay controller 51 as the reset signal, a latch 533 for temporarily storing and stabilizing processed-block position signal MBA delayed and output from latch portion 525, and a delay 532 for delaying the signal output from second counter 531 for the purpose of synchronization. The signal output from third D flipflop 524 resets second counter 531 whenever four main clocks mclk are produced. Second counter 531 counts only the two bits of the lower level of the output signal of third D flipflop 524. The output of the counter is synchronized through delay 532 and becomes the X-direction write address along with processed-block position signal MBA output from latch portion 525. The address is output to X-direction read & write selector 72 of read & write controller 7. Here, second counter 531 counts only the two bits of the lower level of the output signal of third D flipflop 524 in case that the processed block is the 16-by-16 block. In this case, a signal divided into four pixels and indicative of four pixels may be output. Therefore, only the two bits of the lower level are varied sequentially and reset. Referring to Fig. 9, Y-direction write address generator 61 comprises a counter 611 preset according to the signal output from X-direction write address delay controller 51 and for multiplying the Y-direction size of the processed-block unit to the signal output from field/frame mode processor 12 of mode selector 1, and counting periodically according to main clock signal mclk. Counter 611 counts whenever the X-direction write addresses divided into four phases by main clock mclk are all generated and preset. Counter 611 uses only the higher bits of the output signal excluding the two bits of the lower level, not using the two bits of the lower level. When the signal is output from third D flipflop 524 of X-direction write address delay controller 51, counter starts operating so that the signal output from field/frame mode processor 12 increases by one or two, generating the Y-direction write address. Here, in order to increase the signal output from field/frame mode processor 12 of mode selector 1 by two, counter 611 shifts one bit of the lower level which is then output to video mode & motion coding type processing selector 62. Referring to Fig. 9, video mode & motion coding type processing selector 62 comprises a multiplexer 621 for selecting one of the output signal of counter 611 and the shifted output signal of counter 611 according to address selection controller 2, and a latch 622 for stabilizing the signal output from multiplexer 621. The frame-mode Y-direction write address in which one bit of the lower level is not shifted and the field-mode Y-direction read address in which one bit of the lower level is shifted are selected in multiplexer 621 according to the processing selection control signal output from control signal generator 21. The Y-direction write address output from multiplexer 621 is synchronized and stabilized in latch 622, and output to Y-direction read & write selector 73 of read & write controller 7. Referring to Fig. 10, four-phase address generator 71 comprises a compensation controller 710 for controlling the compensation of the X-direction read address divided into four phases by using the read/write selection toggle signal and the two bit signals bmvx0,1 and fmvx0,1 of the lower level of the X-direction motion vector signal of the backward and forward frames, first, second and third latches 711, 712 and 713 for latching the X-direction read address output from processed-block unit X-directicn read address generator 42 of X-direction read address generator 4 according to compensation controller 710, and a fourth latch 714 for latching the X-direction read address output from processed-block unit X-direction read address generator 42 of X-direction read address generator 4 according to the low-level signal 0. The four-phase address generator produces the X-direction read address divided into four phases. Compensation controller 710 comprises a first multiplexer 715 for selecting one of the lowest bit signals bmvx0 and fmvx0 of the X-direction motion vector signal of the backward and forward frames according to the read/write selection toggle signal, a second multiplexer 716 for selecting one of the second lowest bit signals bmvx1 and fmvx1 of the X-direction motion vector signal of the backward and forward frames according to the read/write selection toggle signal, an OR gate 717 for OR-operating the signals output from first and second multiplexers 715 and 716 and outputting a signal CIN1 for controlling first latch 711, a buffer 718 for delaying the signal output from second multiplexer 716 and outputting a signal CIN2 for controlling second latch 712, and an AND gate 719 for OR-operating the signals output from first and second multiplexers 715 and 716 and outputting a signal CIN3 for controlling third latch 713. The read/write selection toggle signal for changing the memory for storing the video signal data allows first and second multiplexers 715 and 716 to select one of the two bit signals bmvx0,1 and fmvx0,1 of the lower level of the X-direction motion vector signal of the backward and forward frames. Signals xpcon 0,1 selected and output from first and second multiplexers 715 and 716 are to control the X-direction address by dividing it into four phases. They are OR-operated in OR gate 717 to control first latch 711. Signal xpcon 1 output from second multiplexer 716 is delayed and synchronized in buffer 718 to control second latch 712. Signals xpcon 0,1 output from first and second multiplexers 715 and 716 are AND-operated in AND gate 719 to control third latch 713. In case that the X-direction read address is divided by 4 and its remainder is 3, first, fourth latch 714 generates the X-direction read address, and then high-level signals are output from OR gate 717, buffer 718 and AND gate 719 so that the X-direction read addresses are generated sequentially. In case that the X-direction read address is divided by 4 and its remainder is 0, low-level signals are output from OR gate 717, buffer 718 and AND gate 719 so that the X-direction read addresses are generated simultaneously in first, second, third and fourth latches 711, 712, 713 and 714. In case that the X-direction read address is divided by 4 and its remainder is 1, first, second, third and fourth latches 712, 713 and 714 generate the X-direction read address, and then low-level signals are output from buffer 718 and AND gate 719 so that the X-direction read addresses are generated sequentially. In case that the X-direction read address is divided by 4 and its remainder is 2, first, third and fourth latches 710 and 714 generate the X-direction read address, and then low-level signals are output from AND gate 719 so that the X-direction read addresses are generated sequentially. The four-phase X-direction read addresses output from first, second, third and fourth latches 711, 712, 713 and 714 are output to X-direction read & write selector 72 of read & write controller 7. Referring to Fig. 11, X-direction read & write selector 72 comprises first, second, third and fourth multiplexers 721, 722, 723 and 724 for selecting one of the X-direction read address and X-direction write address output from four-phase address generator 71 and X-direction write address generator 53 according to read/write selection toggle signal, and first, second, third and fourth latches 725, 726, 727 and 728 for stabilizing the X-direction read address and X-direction write address output from multiplexers 721, 722, 723 and 724. In case that the read/write selection toggle signal indicates a reading mode, first, second, third and fourth multiplexers 721, 722, 723 and 724 select the four-phase X-direction read addresses output from four-phase address generator 71. In case that the read/write selection toggle signal indicates a writing mode, first, second, third and fourth multiplexers 721, 722, 723 and 724 select the X-direction write addresses output from X-direction write address generator 53. The X-direction read address and X-direction write address selected by first, second, third and fourth multiplexers 721, 722, 723 and 724 are stabilized in first, second, third and fourth latches 725, 726, 727 and 728. Referring to Fig. 12, Y-direction read & write selector 73 comprises a multiplexer 731 for selecting one of the Y-direction read address and Y-direction write address output from video mode & coding type processing selectors 33 and 62 of Y-direction read address generator 3 and Y-direction write address generator 6 according to the read/write selection toggle signal, and a latch 732 for stabilizing the Y-direction read address and Y-direction write address output from multiplexer 731. In case that the read/write selection toggle signal indicates a reading mode, multiplexer 731 selects the Y-direction read addresses output from video mode & motion coding type processing selector 33 of Y-direction read address generator 3. In case that the read/write selection toggle signal indicates a writing mode, multiplexer 731 selects the Y-direction write addresses output from video mode & motion coding type processing selector 62 of Y-direction write address generator 6. The Y-direction read address and Y-direction write address selected by multiplexer 731 are stabilized in latch 732. As described above, the present embodiment implements the high level of the main profile of the MPEG II algorithm with hardware, allowing the MPEG II algorithm to be employed in HDTVs or HDVCRs. Since the standard of a digital high-definition television (HDTV) which is highly marketable in US and the like follows the high level of the main profile of the MPEG II algorithm, the described embodiment allows this algorithm to be implemented in a stabler and more commercially useful designing method, fostering the development of HDTVs and HDVCRs.

Claims: An image motion compensating address generator comprising: mode selector means (1) for selecting a field mode or frame mode according to a video mode signal indicative of whether an input video signal is a frame unit or field unit and a slice position signal indicative of the position of slice, to thereby control the video signal to be processed; address selection controller means (2) for controlling the generation of addresses according to the video mode signal and a motion coding type signal indicative of the video processing mode of a block to be processed; Y-direction read address generator means (3) for producing a Y-direction read address in units of processed block by using the signal output from the mode selector means (1) according to the address selection controller means (2), a Y-direction motion vector signal, and a vertical field selection signal; X-direction read address generator means (4) for dividing the processed block into four phases in the X direction and generating an X-direction read address by using a processed-block position signal indicative of the position of the processed block and an X-direction motion vector signal according to the address selection controller means (2); X-direction write address generator means (5) arranged to accept and delay the processed-block position signal and a field processed-block clock signal, and to use the delayed signals to generate the X-direction write address of four phases, to thereby write read-out video data; Y-direction write address generator means (6) for producing a Y-direction write address by using the signals output from the mode selector means (1), the address selection controller means (2) and the X-direction write address generator means (5), to thereby write read-out video data; and read & write controller means (7) for selectively outputting the X-direction and Y-direction read and write addresses according to a read/write selection toggle signal, among the X-direction and Y-direction read and write addresses output from the Y-direction read address generator means (3), X-direction read address generator means (4), X-direction write address generator means (5) and Y-direction write address generator means (6). An image motion compensating address generator as claimed in claim 1, wherein the mode selector means (1) comprises: a video mode selector (11) for determining whether an address is generated in a field mode or frame mode according to the video mode signal; and a field/frame mode processor (12) for establishing the position of slice in the field mode and frame mode according to the signal output from the video mode selector means (11) and the slice position signal. An image motion compensating address generator as claimed in claim 2, wherein the video mode selector (11) comprises a NAND gate (111) for NAND-operating the components of the video mode signal indicative of whether the input signal is a frame unit or field unit and outputting the result to the field/frame mode processor. An image motion compensating address generator as claimed in claim 2, wherein the field/frame mode processor (12) comprises a multiplexer (121) for selecting one of the slice position signal and a signal double the slice position signal according to the signal output from a NAND gate (111) of the video mode selector (11). An image motion compensating address generator as claimed in claim 1, wherein the address selection controller means (12) comprises: a control signal generator (21) for receiving the video mode signal and the motion coding type signal, and outputting a processing selection control signal for controlling the selection of modes and another control signal to the Y-direction read address generator means (3), X-direction read address generator means (4) and Y-direction write address generator means (16); a first delay (22) for delaying a frame processed-block clock signal for processing the processed-block in frames in order for synchronization with the processing selection control signal and control signal output from the control signal generator; a second delay (23) for delaying a field processed-block clock signal for processing the processed-block in fields in order for synchronization with the processing selection control signal and control signal output from the control signal generator; a multiplexer (24) for selecting one of the signals output from the first and second delays according to he delay signal of the control signal generator (21); a counter (26) for counting to preset the X-direction read address according to an input main clock; a third delay (25) for delaying the signal output from the multiplexer (24) in order for synchronization with the signal output from the counter (26); and an AND gate (27) for AND-operating the signal output from the third delay (25) and the signal output from the counter (26) and outputting a preset signal for presetting the X-direction read address. An image motion compensating address generator as claimed in claim 5, wherein the control signal generator (21) comprises: an AND gate (211) for AND-operating the components of the video mode signal indicative of whether the input signal is a frame unit or field unit; an exclusive-OR gate (213) for EXCLUSIVE-OR-operating the signal output from the AND gate and the motion coding type signal to thereby control the multiplexer (24); and a NAND gate (212) for NAND-operating the video mode signal and the motion coding type signal and outputting a processing selection control signal. An image motion compensating address generator as claimed in claim 5, wherein the counter (26) varies the period of presetting the X-direction read address by using a clear port in case that a half pel is used. An image motion compensating address generator as claimed in claim 1, wherein the Y-direction read address generator means (3) comprises: a Y-direction read address starting point operator (31) for operating the Y-direction starting point of a processed block to read, according to the signal output from the field/frame mode processor (12) of the mode selector means (1) and a Y-direction motion vector signal; a processed-block unit Y-direction read address generator (32) for generating Y-direction read addresses of several modes so that the signal output from the Y-direction read address starting point operator (31) coincides with the processed block; and a video mode & motion coding type processing selector (33) for receiving a signal output from the processed-block unit Y-direction read address generator (32) and a vertical field selection signal according to the address selection controller means (2), to thereby outputting a Y-direction read address fit for the respective modes. An image motion compensating address generator as claimed in claim 8, wherein the Y-direction read address starting point operator (31) comprises: first (311), second (312) and third (313) serially coupled adders for multiplying the Y-direction size of the processed block to the signal output from the field/frame mode processor (12) of the mode selector means (1) and adding a Y-direction motion vector signal; and a latch (314) for stabilizing the signals output from the first, second and third adders. An image motion compensating address generator as claimed in claim 8, wherein the processed-block unit Y-direction read address generator (32) comprises: a first counter (321) for receiving the signal output from the latch (314) of the Y-direction read address starting point operator (31) and counting to generate the Y-direction read address fit for the frame mode; and a second counter (322) for shifting the signal output from the latch (314) of the Y-direction read address starting point operator (31), and counting to generate the Y-direction read address fit for the field mode. An image motion compensating address generator as claimed in claim 8, wherein the video mode & motion coding type processing selector (33) comprises: a multiplexer (331) for selecting the Y-direction read address of one mode of frame-mode Y-direction read address and field-mode Y-direction read address output from the processed-block unit Y-direction read address generator (32) according to the address selection controller means (2), and if the field-mode Y-direction read address is selected, including a vertical field selection signal into one bit of the lower level; and a latch (332) for stabilizing the signal output from the multiplexer (331). An image motion compensating address generator as claimed in claim 1, where the X-direction read address generator means (4) comprises: an X-direction read address starting point operator (41) for operating the X-direction starting point of the processed block to read by using a processed-block position signal and an X-direction motion vector signal; and a processed-block unit X-direction read address generator (42) for receiving the signal output from the X-direction read address starting point operator according to the address selection controller means (2), dividing the processed block into four phases and generating the X-direction read address. An image motion compensating address generator as claimed in claim 12, wherein the X-direction read address starting point operator (41) comprises: a first latch (411) for latching the processed-block position signal for the purpose of synchronization; a second latch (412) for latching the X-direction motion vector signal for the purpose of synchronization; first (413), second (414) and third (415) serially coupled adders for multiplying the X-direction size of the processed block unit to the signal output from the first latch (411) and adding the signal output from the second latch (412); and a third latch (416) for stabilizing the signal output from the first, second and third adders. An image motion compensating address generator as claimed in claim 12, wherein the processed-block unit X-direction read address generator (42) comprises: a counter (421) for receiving the signal output from the third latch (416) of the X-direction read address starting point operator (41), being preset according to a preset signal output from the address selection controller means (2), dividing the processed block in four phases in the X direction and counting to generate the X-direction read address; and a latch (422) for stabilizing the signal output from the counter (421). An image motion compensating address generator as claimed in claim 14, wherein the counter (421) is preset for a period in which a value in which the processed block is divided into four phases in the X direction, is added by one in case of half pel. An image motion compensating address generator as claimed in claim 1, wherein the X-direction write address generator means (5) comprises: an X-direction write address delay controller (51) for delaying the processed-block position signal and field processed-block clock signal for a predetermined time so as to rewrite read-out video data; and an X-direction write address generator (53) for dividing the processed block into four phases and generating the X-direction write address by using the signal output from the X-direction write address delay controller (51). An image motion compensating address generator as claimed in claim 16, wherein the X-direction write address delay controller (51) comprises: a first D flipflop (511) for receiving a frame processed-block clock signal for processing the processed block in frames and outputting a clock signal; a latch portion (525) having a plurality of serially coupled latches (512 - 516) for receiving the signal output from the first D flipflop (511) as a clock input and delaying the processed block clock signal for processing the processed block in fields and the processed-block position signal for a predetermined time; a first counter (521) for receiving a main clock signal and performing counting; a D flipflop portion (526) having a plurality of serially coupled flipflops (517-520) for receiving the signal output from the first counter (521) as a clock input and delaying the field processed-block clock signal delayed and output from the latch portion (525) for a predetermined time; a second D flipflop (522) for receiving the main clock signal as a clock input and receiving the field processed-block clock signal delayed and output from the D flipflop portion (526) as data input; an EXCLUSIVE-NOR gate (523) for EXCLUSIVE-NOR-operating the data input signal and output signal of the second D flipflop (522); and a third D flipflop (524) for receiving the signal output from the EXCLUSIVE-NOR gate (523) as data input and receiving the main clock signal as the clock input. An image motion compensating address generator as claimed in claim 16, wherein the X-direction write address generator (53) comprises: a second counter (531) for counting only two bits by taking the signal output from the third D flipflop (524) of the X-direction write address delay controller (51) as the reset signal; a latch (533) for temporarily storing and stabilizing the processed-block position signal delayed and output from the latch portion (525); and a delay (532) for delaying the signal output from the second counter (531) for the purpose of synchronization. An image motion compensating address generator as claimed in claim 1, wherein the Y-direction write address generator means (6) comprises: a Y-direction write address generator (61) for generating a Y-direction write address in units of processed block by using the signal output from a field/frame mode processor (12) of the mode selector means (1) according to an X-direction write address delay controller (51) of the X-direction write address generator means (5); and a video mode & motion coding type processing selector (62) for selectively outputting the Y-direction write address fit for the respective modes among the signals output from the Y-direction write address generator (61) according to the address selection controller means (2). An image motion compensating address generator as claimed in claim 19, wherein the Y-direction write address generator (61) comprises: a counter (611) preset according to the signal output from the X-direction write address delay controller (51) and for multiplying the Y-direction size of the processed-block unit to the signal output from the field/frame mode processor (12) of the mode selector means (1), and counting periodically according to the main clock signal. An image motion compensating address generator as claimed in claim 19, wherein the video mode & motion coding type processing selector (62) comprises: a multiplexer (621) for selecting one of the output signal of the counter (611) and the shifted output signal of the counter (611) according to the address selection controller means (2); and a latch (622) for stabilizing the signal output from the multiplexer. An image motion compensating address generator as claimed in claim 20, wherein the counter (611) counts whenever the X-direction write addresses divided into four phases by the main clock are all generated and preset. An image motion compensating address generator as claimed in claim 22, wherein the counter (611) uses only the higher bits of an output signal excluding the two bits of the lower level, not using the two bits of the lower level. An image motion compensating address generator as claimed in claim 1, wherein the read & write controller means (7) comprises: a Y-direction read & write selector (73) for selectively outputting one of the Y-direction read address and Y-direction write address output from the Y-direction read address generator means (3) and Y-direction write address generator means (6) according to the read/write selection toggle signal; a four phase address generator (71) for compensating for the X-direction read address output from the X-direction read address generator means (4) according to the read/write selection toggle signal; and an X-direction read & write selector (72) for selecting one of the X-direction read address and X-direction write address output from the four-phase address generator (71) and X-direction write address generator means (5) and dividely outputting the selected address in four phases according to the read/write selection toggle signal. An image motion compensating address generator as claimed in claim 24, where the four-phase address generator (71) comprises: a compensation controller (710) for controlling the compensation of the X-direction read address divided into four phases by using the read/write selection toggle signal and two bit signals of the lower level of the X-direction motion vector signal of the backward and forward frames; first, second and third latches (711-713) for latching the X-direction read address output from the processed-block unit X-direction read address generator (42) of the X-direction read address generator means (4) according to the compensation controller (710); and a fourth latch (714) for latching the X-direction read address output from the processed-block unit X-direction read address generator (42) of the X-direction read address generator means (4) according to a low-level signal. An image motion compensating address generator as claimed in claim 25, wherein the compensation controller (710) comprises: a first multiplexer (715) for selecting one of the lowest bit signals of the X-direction motion vector signal of the backward and forward frames according to the read/write selection toggle signal; a second multiplexer (716) for selecting one of the second lowest bit signals of the X-direction motion vector signal of the backward and forward frames according to the read/write selection toggle signal; an OR gate (717) for OR-operating the signals output from the first and second multiplexers and outputting a signal for controlling the first latch (711) ; a buffer (718) for delaying the signal output from the second multiplexer (716) and outputting a signal for controlling the second latch (712); and an AND gate (719) for AND-operating the signals output from the first and second multiplexers and outputting a signal for controlling the third latch (713). An image motion compensating address generator as claimed in claim 24, wherein the X-direction read & write selection (72) comprises: first, second, third and fourth multiplexers (721-724) for selecting one of the X-direction read address and X-direction write address output from the four-phase address generator (71) and X-direction write address generator means (5) according to the read/write selection toggle signal; and first, second, third and fourth latches (725-728) for stabilizing the X-direction read address and X-direction write address output from the first, second, third and fourth multiplexers. An image motion compensating address generator as claimed in claim 24, wherein the Y-direction read & write selector (73) comprises: a multiplexer (731) for selecting one of the Y-direction read address and Y-direction write address output from the Y-direction read address generator means (3) and Y-direction write address generator means (6) according to the read/write selection toggle signal; and a latch (732) for stabilizing the Y-direction read address and Y-direction write address output from the multiplexer (731).

Inventors: SONG GI HWAN, SONG, GI HWAN
Applicants: LG ELECTRONICS INC, LG ELECTRONICS INC.
Application year: 1995
Main classification: H04N7
IPC codes: H04N7