摘要 |
<p>When performing a filter operation for an image that is located within a prescribed range from the right-side block boundary by using a filter size that includes the minimum number of taps in the horizontal direction perpendicular to, for example, the right-side block boundary, a memory (261) stores data on an image located in a region that is not included in the prescribed range used for the filter operation. When a filter size that does not have the minimum number of taps in the horizontal direction is selected, a filter control unit (269) identifies taps that are located within the prescribed range and taps for which no image data is stored in the memory on the basis of the positions of pixels to be filtered, and then copies the image data for the identified taps or changes a set of coefficients to be used for the filter operation, such that the filter operation is performed without using image data located within the prescribed range or image data that are not stored in the memory. Thus, the amount of memory used for loop filtering can be reduced.</p> |