摘要 |
<P>PROBLEM TO BE SOLVED: To minimize the loss of prediction efficiency that accompanies second-order prediction. <P>SOLUTION: In an image processing apparatus, an adjacent-pixel prediction unit 83 performs intra prediction on a target block using the differences between target adjacent pixels and reference adjacent pixels, generates a predicted image from the residual signal, and outputs the predicted image to a second-order residual generation unit 82. The second-order residual generation unit 82 outputs to a switch 84 a second-order residual, i.e. the difference between a first-order residual and the predicted image from the residual signal. Only when a motion-vector precision determination unit 77 determines that motion-vector data from a motion prediction/compensation unit 75 has integer pixel precision, the switch 84 selects the terminal on the second-order residual generation unit 82 side, and the second-order residual from the second-order residual generation unit 82 is output to the motion prediction/compensation unit 75. This method is applied for example to an image encoding device that encodes according to the H.264/AVC standard. <P>COPYRIGHT: (C)2011,JPO&INPIT |