1. An image data filtering method for reducing blocking effect, the method comprising: obtaining transformed coefficients of a data block; checking whether any coefficient having non-zero value exist in the data block; generating filtering information indicating whether to perform deblocking filtering for the data block according to whether any coefficient having non-zero value exists in the data block; and filtering the data block passed through inverse quantization and inverse transform according to the generated filtering information.