摘要 |
PROBLEM TO BE SOLVED: To reduce the moving amount of data in a block matching process by providing a calculating means which calculates the differential value corresponding to each row of picture elements in a reference window and an adding means which simultaneously calculates the sum total of the differential values corresponding to each row. SOLUTION: In a cycle '0', the luminance values b0 of picture elements in a reference window are stored and, in a cycle '1', luminance values b1 are stored in the buffer 501 and the luminance values b0 are sent to a buffer 503. At the same time, the difference values c0 =|b0 -a0 | between the luminance values a0 of the picture elements of the present macro-block are stored in a buffer 502 through a cell S. In the next cycle, the difference values become C0 =|b1 -a0 | and c1 =|b0 -a1 |. In the succeeding cycles, the differential values c0 , c1 , c2 ,... corresponding to picture element rows in the reference window are successively outputted from each cell and time lags are successive adjusted and added by means of two-step buffers 504 and 505 and outputted to a terminal 506 as error function values. |