摘要 |
PROBLEM TO BE SOLVED: To reduce an amount of operation and to make a circuit scale of a data delayer provided between operation units smaller to a considerable extent by performing block matching with regard to all prediction block candidates in a search area, obtaining a prediction block matching most to an encoding block and detecting a motion vector. SOLUTION: An encoding pixel value is once stored in an encoding memory 1 and then is horizontally inputted to operation units(PE) 6 and 7 by the block. On the other hand, a reference pixel value is once accumulated in a reference memory 2 and inputted to reference registers 4 and 5. By this reference pixel input, the reference pixels corresponding to all the prediction block candidates within a range of a horizontal direction -4 to +3 and a vertical direction -4 to +3 are inputted. In this way, the result of PE 6 is accumulation added at a PE 7 furthermore, and a sum of difference absolute value (AE) of the encoding blocks and the prediction block candidate is outputted from the PE 7. Then, a motion vector is decided with the prediction block candidate having the minimum value out of an amount of error outputting the final step PE as the prediction block. |